Appearance
Y113 Seven-Segment LED Display Module Technical Manual (RS485)
This document applies to the RS485 version of the Y113. The Y113 family includes submodels with 1 to 6 display digits. For product selection and general specifications, see the Y113 Specification.
Contents
1. Scope and Submodels
| Series | Submodel | Display Digits | Protocol | Notes |
|---|---|---|---|---|
| Y113 | Y113-1 | 1 digit | Modbus RTU | Dimensions vary by digit count |
| Y113 | Y113-2 | 2 digits | Modbus RTU | Same as above |
| Y113 | Y113-3 | 3 digits | Modbus RTU | Same as above |
| Y113 | Y113-4 | 4 digits | Modbus RTU | Same as above |
| Y113 | Y113-5 | 5 digits | Modbus RTU | Same as above |
| Y113 | Y113-6 | 6 digits | Modbus RTU | Same as above |
| Item | Description |
|---|---|
| Interfaces covered by protocol materials | RS485 / RS232 / TTL, depending on the ordered version |
| Scope of this manual | RS485 version only |
| RS485 bus capacity | About 32 nodes without repeaters; up to 254 with repeaters |
Engineering notes:
- The register map is designed for the maximum 6-digit display capability, using
0000Hto0005H. - If a submodel has fewer than 6 digits, only the first
Ndigit registers are effective, whereNis the display digit count of the submodel. Writes beyond that range usually do not appear on the display. - For decimal point and flashing bitmaps, use only the valid bits for the installed submodel.
2. Hardware and Electrical Parameters
2.1 Electrical and Environmental
| Parameter | Value |
|---|---|
| Supply voltage | DC 5 to 36 V |
| Communication distance | 0 to 1200 m, extendable with repeaters |
| Operating temperature | -40 °C to +85 °C |
| Operating humidity | 0% to 95% RH, non-condensing |
| Mounting method | Snap-in mounting |
2.2 Terminal Definition (4-pin)
| Terminal Marking | Meaning on RS485 Version | Notes |
|---|---|---|
+ | Power positive | |
- | Power negative | |
A/T | RS485 A | Reused as TXD on the TTL version |
B/R | RS485 B | Reused as RXD on the TTL version |
3. Communication Protocol and Serial Settings
3.1 Protocol Capability
| Item | Description |
|---|---|
| Protocol | Modbus RTU |
| Register type | Holding register, 16-bit unsigned |
| Supported function codes | 0x03 Read Holding Registers, 0x06 Write Single Register, 0x10 Write Multiple Registers |
| Address range | 1 to 255, with 0 reserved for broadcast |
3.2 Serial Port Parameters
| Parameter | Options | Factory Default |
|---|---|---|
| Baud rate | 4800 / 9600 / 14400 / 19200 / 38400 / 56000 / 57600 / 115200 and up to 128000 / 256000 through register settings | 9600 |
| Start bit | 1 bit | 1 bit |
| Data bits | 8 bits | 8 bits |
| Stop bits | 1 / 1.5 / 2 | 1 |
| Parity | None / Odd / Even | None |
4. Holding Register Map
All addresses below are hexadecimal register addresses, for example
000AH.
| Address | Reset Value | R/W | Name | Description | Power-Loss Retention |
|---|---|---|---|---|---|
0000H | 0x30 | R/W | DIG1 | Character for digit 1, ASCII code | Yes |
0001H | 0x30 | R/W | DIG2 | Character for digit 2, ASCII code | Yes |
0002H | 0x30 | R/W | DIG3 | Character for digit 3, ASCII code | Yes |
0003H | 0x30 | R/W | DIG4 | Character for digit 4, ASCII code | Yes |
0004H | 0x30 | R/W | DIG5 | Character for digit 5, ASCII code | Yes |
0005H | 0x30 | R/W | DIG6 | Character for digit 6, ASCII code | Yes |
0006H | 0 | R/W | DATA_FMT_HI | Combined with 0007H for 24-bit numeric display. In the high byte, the upper nibble is sign control (0 positive, 1 negative), the lower nibble is decimal point count (0 to 5), and the low byte is the highest 8 bits of the 24-bit value. | Yes |
0007H | 0 | R/W | DATA_24_LO | Combined with 0006H. The high byte is the middle 8 bits of the 24-bit value, and the low byte is the lowest 8 bits. | Yes |
0008H | 0 | R/W | FLASH_MASK | Flashing bitmask. bit0 corresponds to digit 1. 1 means flashing. | No |
0009H | 0 | R/W | DISP_SAVE | Display retention. 0 = do not retain, 1 = retain all display content. | Yes |
000AH | 1 | R/W | DEV_ADDR | RS485 slave address. 1 to 255, with 0 as broadcast. | Yes |
000BH | 1 | R/W | BAUD_CFG | Baud rate code. See the table below. | Yes |
000CH | 0 | R/W | STOP_CFG | Stop bits. 0 = 1 bit, 1 = 1.5 bits, 2 = 2 bits. | Yes |
000DH | 0 | R/W | PARITY_CFG | Parity. 0 = None, 1 = Odd, 2 = Even. | Yes |
000EH | 3 | R/W | BRIGHT | Brightness, 0 to 7. 0 is the dimmest and 7 is the brightest. | Yes |
000FH | 0 | R/W | BOOT_MODE | Power-on display. 0 = show 0, 1 = show address, 2 = show retained data. | Yes |
0010H | 0 | R/W | DECIMAL_CNT | Decimal point count | Yes |
0011H | 0 | R/W | SIGN_SET | Sign setting. 0 = positive, 1 = negative, showing the minus sign. | Yes |
4.1 Baud Rate Code Table (000BH)
| Code | Baud Rate (bps) |
|---|---|
0 | 4800 |
1 | 9600 |
2 | 14400 |
3 | 19200 |
4 | 38400 |
5 | 56000 |
6 | 57600 |
7 | 115200 |
8 | 128000 |
9 | 256000 |
5. Display Data Organization
| Mode | Registers | Typical Use | Write Method |
|---|---|---|---|
| Per-digit character mode | 0000H to 0005H | Display mixed content such as A001, B002, or -12.3 | Write ASCII values by digit using 0x06 or 0x10 |
| 24-bit numeric mode | 0006H + 0007H, optionally with 0010H and 0011H | Display integers, decimals, or signed values directly | 0x10 multi-register write is recommended |
| Item | Rule |
|---|---|
| Flashing control | Controlled by the 0008H bitmask. Each bit maps to one display digit. 1 means flashing. |
| Decimal point and sign | Can be encoded in the high byte of 0006H, or configured separately through 0010H and 0011H |
| Display retention | Controlled by 0009H |
| Submodel digit-width limit | For Y113-N, only the first N digit registers should be written, where N = 1 to 6 |
6. Modbus Command Examples
The request frames below use RTU hexadecimal format. The default slave address is
01, and the CRC values are already included.
6.1 Communication and Runtime Parameter Settings (0x06)
| Purpose | Register | Value | Request Frame (Hex) |
|---|---|---|---|
Change slave address to 2 | 000AH | 0002 | 01 06 00 0A 00 02 28 09 |
Set baud rate to 19200 | 000BH | 0003 | 01 06 00 0B 00 03 B8 09 |
Set baud rate to 38400 | 000BH | 0004 | 01 06 00 0B 00 04 F9 CB |
Set stop bits to 2 | 000CH | 0002 | 01 06 00 0C 00 02 C8 08 |
| Set even parity | 000DH | 0002 | 01 06 00 0D 00 02 99 C8 |
Set brightness to 7 | 000EH | 0007 | 01 06 00 0E 00 07 A9 CB |
| Set power-on display to address | 000FH | 0001 | 01 06 00 0F 00 01 78 09 |
| Enable display retention after power loss | 0009H | 0001 | 01 06 00 09 00 01 98 08 |
| Set flashing bitmask, digits 1 and 3 flashing | 0008H | 0005 | 01 06 00 08 00 05 C8 0B |
6.2 Character Display Commands
| Purpose | Function Code | Request Frame (Hex) | Description |
|---|---|---|---|
Show 1 on digit 1 | 0x06 | 01 06 00 00 00 31 48 1E | Writes 0000H = 0x0031 |
Batch display 1234 | 0x10 | 01 10 00 00 00 04 08 00 31 00 32 00 33 00 34 5E A5 | Writes 0000H to 0003H continuously |
6.3 Numeric Display Commands (0006H + 0007H)
| Purpose | Function Code | Request Frame (Hex) | Description |
|---|---|---|---|
Display 12345 using numeric format | 0x10 | 01 10 00 06 00 02 04 00 00 30 39 A7 97 | 0006H = 0x0000, 0007H = 0x3039 |
Display 12.345 | 0x10 | 01 10 00 06 00 02 04 03 00 30 39 A7 D3 | Lower nibble of the high byte in 0006H is 3, meaning 3 decimal places |
7. Commissioning and Parameter Activation Rules
7.1 Software Commissioning Flow
| Step | Action |
|---|---|
| 1 | Open the test page for the seven-segment display |
| 2 | Select serial settings, typically starting with address 1, 9600, 8N1 |
| 3 | After a successful connection, run single-digit and batch display tests |
| 4 | Configure the slave address, baud rate, stop bits, parity, brightness, and flashing |
| 5 | Save the configuration, power-cycle the device, and verify the settings |
7.2 Notes on Parameter Activation
| Item | Rule |
|---|---|
| Communication parameter changes | After changing the address, baud rate, stop bits, or parity, the host must switch to the new settings before communication can continue |
| Parameter retention | After writing retained parameters, verify them again after a restart |
| Submodel differences | Submodels with different digit counts only differ in visible display width; the protocol is the same |
| Compatibility | Firmware may vary slightly across production batches, so reading back key parameters is recommended before volume deployment |
8. Troubleshooting
| Symptom | Possible Cause | Recommended Action |
|---|---|---|
| Cannot connect | Address or serial settings do not match | Return to the default settings of address 1, 9600, 8N1 and check each item in sequence |
| Requests sent with no response | A/B wiring reversed, poor contact, or serial port occupied | Check wiring polarity and terminal crimping, and close other serial software |
| Device appears offline after address change | Host is still using the old address | Communicate with the new address, or scan the full address range if necessary |
| Display content is lost after power-off | Display retention not enabled | Write 0009H = 1, then power-cycle and verify |
| Flashing does not work | Incorrect 0008H bitmask setting | Check the bit-to-digit mapping, where bit0 corresponds to digit 1 |
| Abnormal display on low-digit submodels | Registers beyond the available digit count were written | For Y113-N, write only the first N digit registers |
9. Support and Contact
| Item | Information |
|---|---|
| Manufacturer | Hunan YenGear Tech Co., Ltd. |
| [email protected] | |
| Website | www.yengear.com |
