Appearance
Y301-110/200/020 Technical Manual
| Y301-110 | Y301-200 | Y301-020 |
|---|---|---|
![]() | ![]() | ![]() |
Table of Contents
- Overview
- Default Settings
- Modbus Register Map
- Command Examples
- Configuration
- Linkage Rules
- Troubleshooting
1. Overview
This manual covers Modbus-RTU commands for Y301-110, Y301-200, and Y301-020 I/O modules.
| Model | DI | DO | Description |
|---|---|---|---|
| Y301-110 | 1 | 1 | Single input + single relay |
| Y301-200 | 2 | 0 | Dual input monitoring |
| Y301-020 | 0 | 2 | Dual relay control |
Frame Format: [Slave ID][Function][Data][CRC Lo][CRC Hi]
All examples use slave address 0x01. Replace with your device address.
2. Default Settings
| Parameter | Default |
|---|---|
| Slave Address | 1 |
| Baud Rate | 9600 bps |
| Data Bits | 8 |
| Parity | None |
| Stop Bits | 1 |
3. Modbus Register Map
3.1 Digital Inputs (DI) — Function 0x02
| Channel | Address | Models |
|---|---|---|
| DI1 | 0x0000 | Y301-110, Y301-200 |
| DI2 | 0x0001 | Y301-200 |
Response: 0 = no signal, 1 = signal present.
3.2 Digital Outputs (DO) — Function 0x01/0x05
| Channel | Address | Models |
|---|---|---|
| DO1 | 0x0000 | Y301-110, Y301-020 |
| DO2 | 0x0001 | Y301-020 |
Write value: 0x0000 = open (OFF), 0xFF00 = close (ON).
3.3 Configuration Registers — Function 0x03/0x06
| Address | Parameter | Range | Default |
|---|---|---|---|
| 0x003E | Slave Address | 1–255 | 1 |
| 0x0057 | Baud Rate | 600–230400 | 9600 |
| 0x0059 | Data Bits | 8 or 9 | 8 |
| 0x005A | Stop Bits | 1 or 2 | 1 |
| 0x005B | Parity | 0=none, 1=odd, 2=even | 0 |
4. Command Examples
4.1 Read Digital Input
Read DI1 (Y301-110, Y301-200):
Request: 01 02 00 00 00 01 B9 CA
Response: 01 02 01 [status] [CRC]Read DI2 (Y301-200):
Request: 01 02 00 01 00 01 E8 0A4.2 Read Digital Output State
Read DO1:
Request: 01 01 00 00 00 01 FD CA
Response: 01 01 01 [status] [CRC]Read DO2 (Y301-020):
Request: 01 01 00 01 00 01 AC 0A4.3 Control Digital Output
| Action | Command |
|---|---|
| DO1 OFF | 01 05 00 00 00 00 CD CA |
| DO1 ON | 01 05 00 00 FF 00 8C 3A |
| DO2 OFF | 01 05 00 01 00 00 9C 0A |
| DO2 ON | 01 05 00 01 FF 00 DD FA |
4.4 Quick Reference Table
| Operation | Request (hex) |
|---|---|
| Read DI1 | 01 02 00 00 00 01 B9 CA |
| Read DI2 | 01 02 00 01 00 01 E8 0A |
| Read DO1 | 01 01 00 00 00 01 FD CA |
| Read DO2 | 01 01 00 01 00 01 AC 0A |
| DO1 OFF | 01 05 00 00 00 00 CD CA |
| DO1 ON | 01 05 00 00 FF 00 8C 3A |
| DO2 OFF | 01 05 00 01 00 00 9C 0A |
| DO2 ON | 01 05 00 01 FF 00 DD FA |
5. Configuration
5.1 Change Slave Address
Set slave address to 5:
Request: 01 06 00 3E 00 05 E8 00
Response: 01 06 00 3E 00 05 E8 00After changing, use the new address for subsequent commands.
5.2 Change Baud Rate
Set baud rate to 19200:
Request: 01 06 00 57 00 00 4B 00 [19200 as 32-bit]Common baud rate values:
| Baud Rate | Value |
|---|---|
| 9600 | 0x00002580 |
| 19200 | 0x00004B00 |
| 38400 | 0x00009600 |
| 115200 | 0x0001C200 |
After changing baud rate, power cycle the device.
5.3 Factory Reset
Hold the Reload button for 3–15 seconds. The device restores:
- Slave address → 1
- Baud rate → 9600
- All parameters → factory defaults
6. Linkage Rules
Y301-110 supports DI-to-DO linkage. Y301-200 and Y301-020 do not support linkage (no DO or no DI).
6.1 Linkage Register Map
Rules start at address 0x0080. Each rule uses 8 registers (16 bytes).
| Offset | Field | Description |
|---|---|---|
| +0 | Mode | Rule type (see below) |
| +1 | Action | 0=open, 1=close, 2=toggle |
| +2 | DO Index | Target relay (1-based) |
| +3 | Trigger Index | Source DI (1-based) |
| +4–5 | Param1 | Mode-specific (32-bit) |
| +6–7 | Param2 | Mode-specific (32-bit) |
6.2 Linkage Modes
| Mode | Name | Description |
|---|---|---|
| 0 | DI Follow | DO mirrors DI state |
| 1 | DI Reverse | DO inverts DI state |
| 2 | Pulse | DO pulses for Param1 ms when DI triggers |
| 3 | Delay On | DO closes Param1 ms after DI closes |
| 4 | Delay Off | DO opens Param1 ms after DI opens |
6.3 Example: DO1 Follows DI1
When DI1 closes, DO1 closes. When DI1 opens, DO1 opens.
Configuration:
| Field | Value |
|---|---|
| Mode | 0x0000 (DI Follow) |
| Action | 0x0001 (close when DI=1) |
| DO Index | 0x0001 |
| Trigger Index | 0x0001 |
| Param1 | 0x00000000 |
| Param2 | 0x00000000 |
Modbus Command:
01 10 00 80 00 08 10 00 00 00 01 00 01 00 01 00 00 00 00 00 00 00 00 0D FE6.4 Example: DO1 Pulses 500ms When DI1 Triggers
Configuration:
| Field | Value |
|---|---|
| Mode | 0x0002 (Pulse) |
| Action | 0x0001 (close) |
| DO Index | 0x0001 |
| Trigger Index | 0x0001 |
| Param1 | 0x000001F4 (500 ms) |
| Param2 | 0x00000000 |
7. Troubleshooting
| Symptom | Cause | Solution |
|---|---|---|
| No response | Wrong address or baud rate | Verify settings; try broadcast address 0 |
| CRC error | Wiring issue or noise | Check RS485 A/B polarity; add termination |
| DO not switching | Relay load exceeds rating | Reduce load; check contact rating |
| DI always shows 0 | Wiring incorrect | Verify COM/DI connection; check input voltage |
LED Indicators
| LED | State | Meaning |
|---|---|---|
| POWER | Steady | Power OK |
| TX | Blink | Sending data |
| RX | Blink | Receiving data |
| DI1/DI2 | On | Input active |
| DO1/DO2 | On | Relay closed |
- Manufacturer: Hunan Yanji Tech Co.,Ltd
- Email: hi@yengear.com
- Website: www.yengear.com



