Appearance
Y301-880 Technical Manual

Table of Contents
- Overview
- Default Settings
- Modbus Register Map
- Command Examples
- Configuration
- Linkage Rules
- Troubleshooting
1. Overview
This manual covers Modbus-RTU commands for the Y301-880 I/O module.
| Model | DI | DO | AI | Description |
|---|---|---|---|---|
| Y301-880 | 8 | 8 | 0 | Octal input + octal relay |
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 |
|---|---|
| DI1 | 0x0000 |
| DI2 | 0x0001 |
| DI3 | 0x0002 |
| DI4 | 0x0003 |
| DI5 | 0x0004 |
| DI6 | 0x0005 |
| DI7 | 0x0006 |
| DI8 | 0x0007 |
Response: 0 = no signal, 1 = signal present.
3.2 Digital Outputs (DO) — Function 0x01/0x05
| Channel | Address |
|---|---|
| DO1 | 0x0000 |
| DO2 | 0x0001 |
| DO3 | 0x0002 |
| DO4 | 0x0003 |
| DO5 | 0x0004 |
| DO6 | 0x0005 |
| DO7 | 0x0006 |
| DO8 | 0x0007 |
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
| Operation | Request (hex) |
|---|---|
| Read DI1 | 01 02 00 00 00 01 B9 CA |
| Read DI2 | 01 02 00 01 00 01 E8 0A |
| Read DI3 | 01 02 00 02 00 01 18 0A |
| Read DI4 | 01 02 00 03 00 01 49 CA |
| Read DI5 | 01 02 00 04 00 01 F8 0B |
| Read DI6 | 01 02 00 05 00 01 A9 CB |
| Read DI7 | 01 02 00 06 00 01 59 CB |
| Read DI8 | 01 02 00 07 00 01 08 0B |
4.2 Read Digital Output State
| Operation | Request (hex) |
|---|---|
| Read DO1 | 01 01 00 00 00 01 FD CA |
| Read DO2 | 01 01 00 01 00 01 AC 0A |
| Read DO3 | 01 01 00 02 00 01 5C 0A |
| Read DO4 | 01 01 00 03 00 01 0D CA |
| Read DO5 | 01 01 00 04 00 01 BC 0B |
| Read DO6 | 01 01 00 05 00 01 ED CB |
| Read DO7 | 01 01 00 06 00 01 1D CB |
| Read DO8 | 01 01 00 07 00 01 4C 0B |
4.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 |
| DO3 OFF | 01 05 00 02 00 00 6C 0A |
| DO3 ON | 01 05 00 02 FF 00 2D FA |
| DO4 OFF | 01 05 00 03 00 00 3D CA |
| DO4 ON | 01 05 00 03 FF 00 7C 3A |
| DO5 OFF | 01 05 00 04 00 00 8C 0B |
| DO5 ON | 01 05 00 04 FF 00 CD FB |
| DO6 OFF | 01 05 00 05 00 00 DD CB |
| DO6 ON | 01 05 00 05 FF 00 9C 3B |
| DO7 OFF | 01 05 00 06 00 00 2D CB |
| DO7 ON | 01 05 00 06 FF 00 6C 3B |
| DO8 OFF | 01 05 00 07 00 00 7C 0B |
| DO8 ON | 01 05 00 07 FF 00 3D FB |
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 DI3 | 01 02 00 02 00 01 18 0A |
| Read DI4 | 01 02 00 03 00 01 49 CA |
| Read DI5 | 01 02 00 04 00 01 F8 0B |
| Read DI6 | 01 02 00 05 00 01 A9 CB |
| Read DI7 | 01 02 00 06 00 01 59 CB |
| Read DI8 | 01 02 00 07 00 01 08 0B |
| 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 |
| DO3 OFF | 01 05 00 02 00 00 6C 0A |
| DO3 ON | 01 05 00 02 FF 00 2D FA |
| DO4 OFF | 01 05 00 03 00 00 3D CA |
| DO4 ON | 01 05 00 03 FF 00 7C 3A |
| DO5 OFF | 01 05 00 04 00 00 8C 0B |
| DO5 ON | 01 05 00 04 FF 00 CD FB |
| DO6 OFF | 01 05 00 05 00 00 DD CB |
| DO6 ON | 01 05 00 05 FF 00 9C 3B |
| DO7 OFF | 01 05 00 06 00 00 2D CB |
| DO7 ON | 01 05 00 06 FF 00 6C 3B |
| DO8 OFF | 01 05 00 07 00 00 7C 0B |
| DO8 ON | 01 05 00 07 FF 00 3D FB |
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
Common baud rate values:
| Baud Rate | Value |
|---|---|
| 9600 | 0x00002580 |
| 19200 | 0x00004B00 |
| 38400 | 0x00009600 |
| 115200 | 0x0001C200 |
Power cycle the device after changing baud rate.
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-880 supports DI→DO linkage. Maximum 16 rules (2 per DO).
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 |
| 5 | Cycle | DO toggles periodically; Param1=ON time, Param2=OFF time |
| 9 | Daily Timer | Execute at Param1 seconds from midnight |
| 11 | Button Mode | DO closes while DI pressed, opens when released |
| 12 | Watchdog | DO acts if DI has no signal for Param1 ms |
| 13 | Logic | AND/OR/XOR combination of multiple DI |
6.3 Example: DO1 Follows DI1
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 1 Second When DI1 Triggers
Configuration:
| Field | Value |
|---|---|
| Mode | 0x0002 (Pulse) |
| Action | 0x0001 (close) |
| DO Index | 0x0001 |
| Trigger Index | 0x0001 |
| Param1 | 0x000003E8 (1000 ms) |
| Param2 | 0x00000000 |
6.5 Example: DO1 Closes Daily at 18:00
Configuration:
| Field | Value |
|---|---|
| Mode | 0x0009 (Daily Timer) |
| Action | 0x0001 (close) |
| DO Index | 0x0001 |
| Trigger Index | 0x0000 |
| Param1 | 0x0000FD20 (64800 seconds = 18:00) |
| Param2 | 0x00000000 |
6.6 Example: DO1 Closes When DI1 AND DI2 Both Active (Logic AND)
Configuration:
| Field | Value |
|---|---|
| Mode | 0x000D (Logic) |
| Action | 0x0001 (close) |
| DO Index | 0x0001 |
| Trigger Index | 0x0000 |
| Param1 | 0x00000000 (DO mask) |
| Param2 | 0x00000003 (DI mask: DI1 + DI2) |
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–DI8 | On | Input active |
| DO1–DO8 | On | Relay closed |
- Manufacturer: Hunan Yanji Tech Co.,Ltd
- Email: hi@yengear.com
- Website: www.yengear.com
