Skip to content

Y301-110/200/020 Technical Manual

Y301-110Y301-200Y301-020
Y301-110 Product ImageY301-200 Product ImageY301-020 Product Image

Contents

  1. Overview
  2. Default Settings
  3. Modbus Register Map (Modbus Address Only)
  4. Command Examples (CRC Included)
  5. Parameter Configuration
  6. Automation Rules
  7. Troubleshooting

1. Overview

This manual describes the Modbus RTU communication commands for the Y301-110, Y301-200, and Y301-020 I/O modules.

ModelDIDODescription
Y301-11011Single input + single relay
Y301-20020Dual input monitoring
Y301-02002Dual relay control

Frame format: [slave address][function code][data][CRC low][CRC high]

The examples below use slave address 0x01. Replace it with the actual device address in your application.


2. Default Settings

ParameterDefault
Slave address1
Baud rate9600 bps
Data bits8
Stop bits1
ParityNone
Output state holdKeep after soft reboot (0x0040 = 1)
Pulse counting edgeRising edge (0x0041 = 1)
Pulse debounce50 ms (0x0042 = 50)

3. Modbus Register Map (Modbus Address Only)

3.1 Digital Input (DI) - Function Code 0x02

ChannelModbus AddressSupported ModelsR/W
DI10x0000Y301-110, Y301-200RO
DI20x0001Y301-200RO

Return value: 0 = inactive, 1 = active.

3.2 Digital Output (DO) - Function Code 0x01/0x05/0x0F

ChannelModbus AddressSupported ModelsR/W
DO10x0000Y301-110, Y301-020RW
DO20x0001Y301-020RW

Write value: 0x0000 = open, 0xFF00 = closed.

3.3 Common Holding Registers - Function Code 0x03/0x06/0x10

Modbus AddressParameterBytesR/WRange / EnumDefault
0x002ARuntime slave address2RO0-255-
0x002BDIP offset address2RO0-310
0x003ESlave address2RW1-2551
0x003FBroadcast mode2RW0/1/20
0x0040Output state hold2RW0/1/21
0x0041Pulse count edge2RW0/11
0x0042Pulse debounce (ms)2RW5-25550
0x0055RTC Unix time4RWuint32-
0x0057Baud rate4RW600-2304009600
0x0059Data bits2RW8 or 98
0x005AStop bits2RW1 or 21
0x005BParity2RW0/1/20

3.4 DI Pulse Counter Registers

ChannelModbus AddressBytesR/WSupported ModelsDescription
DI1 count0x0500 (0x0500~0x0501)4RWY301-110, Y301-200Only 0 is allowed for write (clear)
DI2 count0x0502 (0x0502~0x0503)4RWY301-200Only 0 is allowed for write (clear)

3.5 Automation Rule Register Groups

Rule groups = DO * 2:

ModelDO CountRule GroupsStart Addresses
Y301-110120x0080, 0x0088
Y301-20000N/A
Y301-020240x0080, 0x0088, 0x0090, 0x0098

4. Command Examples (CRC Included)

Tip: command blocks include a built-in copy icon in VitePress.

4.1 Read Digital Inputs

OperationRequestSupported Models
Read DI101 02 00 00 00 01 B9 CAY301-110, Y301-200
Read DI201 02 00 01 00 01 E8 0AY301-200
Read DI1~DI2 in one shot01 02 00 00 00 02 F9 CBY301-200

4.2 Read Digital Output Status

OperationRequestSupported Models
Read DO101 01 00 00 00 01 FD CAY301-110, Y301-020
Read DO201 01 00 01 00 01 AC 0AY301-020
Read DO1~DO2 in one shot01 01 00 00 00 02 BD CBY301-020

4.3 Control Digital Outputs

OperationRequestSupported Models
Open DO101 05 00 00 00 00 CD CAY301-110, Y301-020
Close DO101 05 00 00 FF 00 8C 3AY301-110, Y301-020
Open DO201 05 00 01 00 00 9C 0AY301-020
Close DO201 05 00 01 FF 00 DD FAY301-020

Multi-channel control (0x0F):

OperationRequestSupported Models
Close DO1 and DO2 together01 0F 00 00 00 02 01 03 9E 96Y301-020
Open DO1 and DO2 together01 0F 00 00 00 02 01 00 DE 97Y301-020

4.4 Parameter Read/Write

OperationRequest
Read slave address (0x003E)01 03 00 3E 00 01 E5 C6
Write slave address = 501 06 00 3E 00 05 28 05
Read baud rate (0x0057, 2 regs)01 03 00 57 00 02 75 DB
Write baud rate = 115200 (0x0001C200)01 10 00 57 00 02 04 00 01 C2 00 B7 D5
Write 8N1 (0x0059~0x005B)01 10 00 59 00 03 06 00 08 00 01 00 00 85 EF

4.5 DI Pulse Counter Read/Write

OperationRequestSupported Models
Read DI1 count (0x0500, 2 regs)01 03 05 00 00 02 C4 C7Y301-110, Y301-200
Read DI2 count (0x0502, 2 regs)01 03 05 02 00 02 65 07Y301-200
Clear DI1 count (write 0)01 10 05 00 00 02 04 00 00 00 00 CC FFY301-110, Y301-200

5. Parameter Configuration

5.1 Runtime Slave Address

Runtime slave address = configured address (0x003E) + DIP offset (0x002B).

5.2 Serial Settings

  • Baud rate is a 32-bit value at 0x0057, use 0x10 to write 2 registers.
  • Data/stop/parity are located at 0x0059~0x005B.
  • Changing serial parameters or slave address requires reboot.

6. Automation Rules

Y301-110 supports DI -> DO local automation (1DI + 1DO).
Y301-200 has no DO, and Y301-020 has no DI, so local DI-triggered rules are not applicable.

6.1 Automation Register Map

Rules start at address 0x0080. Each rule uses 8 registers (16 bytes).

OffsetFieldDescription
+0ModeRule type (see table below)
+1Action0=open, 1=close, 2=toggle
+2DO indexTarget relay, starting from 1
+3Trigger indexSource DI, starting from 1
+4-5Parameter 1Mode-dependent, 32-bit
+6-7Parameter 2Mode-dependent, 32-bit

6.2 Rule Modes

ModeNameDescription
1DI followDO follows DI in normal/inverse direction
2Pulse outputDO returns after pulse duration
3Delayed controlDO action executes after delay

6.3 Rule Command Examples (Y301-110)

  • Case 1: DI Follow (Mode 1): DO1 follows DI1
FieldValueDescription
Mode0x0001DI follow
Action0x0001Forward follow
DO index0x0001DO1
DI index0x0001DI1
Parameter 10x00000000Not used
Parameter 20x00000000Not used
text
01 10 00 80 00 08 10 00 01 00 01 00 01 00 01 00 00 00 00 00 00 00 00 CC FE
  • Case 2: Pulse Output (Mode 2): DO1 normally open, auto-recover after 500 ms close
FieldValueDescription
Mode0x0002Pulse output
Action0x0000Normally open
DO index0x0001DO1
DI index0x0000Not used
Parameter 10x000001F4500 ms
Parameter 20x00000000Not used
text
01 10 00 80 00 08 10 00 02 00 00 00 01 00 00 00 00 01 F4 00 00 00 00 88 7B

7. Troubleshooting

SymptomCauseSolution
No responseWrong address or baud rateCheck settings and try broadcast address 0
CRC errorWiring issue or interferenceCheck RS485 polarity and add termination resistors
DO does not switchLoad exceeds ratingReduce the load and verify contact ratings
DI always reads 0Wiring errorCheck COM/DI wiring and input voltage

LED Indicators

LEDStatusMeaning
POWERSolid onPower is normal
TXFlashingData is being transmitted
RXFlashingData is being received
DI1/DI2OnInput is active
DO1/DO2OnRelay is closed