Skip to content

Y301-600/800/G00 Technical Manual

Y301-600Y301-800Y301-G00
Y301-600 Product ImageY301-800 Product ImageY301-G00 Product Image

Contents

  1. Overview
  2. Default Settings
  3. Modbus Register Map
  4. Command Examples
  5. Parameter Configuration
  6. Troubleshooting

1. Overview

This manual explains the Modbus mapping and typical commissioning commands for the Y301-600, Y301-800, and Y301-G00 digital input modules.

ModelDIDOAIAO
Y301-6006000
Y301-8008000
Y301-G0016000

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

All commands in this document are shown in hexadecimal.


2. Default Settings

ParameterDefault
Slave address1
Broadcast address254
Baud rate9600 bps
Data bits8
ParityNone
Stop bits1
ProtocolModbus RTU (also compatible with Modbus ASCII)

3. Modbus Register Map

3.1 Discrete Inputs (DI) - Function Code 0x02

ChannelPLC AddressPDU Address (0-based)Supported Models
DI11x00010x0000Y301-600/800/G00
DI21x00020x0001Y301-600/800/G00
DI31x00030x0002Y301-600/800/G00
DI41x00040x0003Y301-600/800/G00
DI51x00050x0004Y301-600/800/G00
DI61x00060x0005Y301-600/800/G00
DI71x00070x0006Y301-800/G00
DI81x00080x0007Y301-800/G00
DI91x00090x0008Y301-G00
DI101x00100x0009Y301-G00
DI111x00110x000AY301-G00
DI121x00120x000BY301-G00
DI131x00130x000CY301-G00
DI141x00140x000DY301-G00
DI151x00150x000EY301-G00
DI161x00160x000FY301-G00

Returned bit definition: 0 = inactive, 1 = active.

3.2 Holding Registers (Configuration Parameters) - Function Code 0x03/0x06

ParameterPLC AddressPDU Address (0-based)Description
Communication baud rate4x10010x03E8Baud-rate code (see 3.3)
Reserved4x10020x03E9Reserved
Offset address4x10030x03EADevice address = offset address + DIP address
Operating mode4x10040x03EBUser data register
Delay time4x10050x03ECUser data register

3.3 Baud-Rate Code Table

CodeBaud Rate (bps)
09600
12400
24800
39600
419200
538400

4. Command Examples

4.1 Read All DI States by Model

ModelRequest (broadcast address FE)
Y301-600 (6DI)FE 02 00 00 00 06 EC 07
Y301-800 (8DI)FE 02 00 00 00 08 6D C3
Y301-G00 (16DI)FE 02 00 00 00 10 6D C9

Typical Y301-800 response:

text
Request:  FE 02 00 00 00 08 6D C3
Response: FE 02 01 01 50 5C

In the response, the fourth byte 01 indicates one status byte is returned. In the status byte 01, bit0=1 means DI1 is active.

4.2 Read a Single DI Channel (DI1 Example)

text
Request:  01 02 00 00 00 01 B9 CA
Response: 01 02 01 [status byte] [CRC]

4.3 Read All DI States by Slave Address (0x01)

ModelRequest
Y301-60001 02 00 00 00 06 F8 08
Y301-80001 02 00 00 00 08 79 CC
Y301-G0001 02 00 00 00 10 79 C6

4.4 DI Status Byte Mapping

  • First status byte: bit0-bit7 map to DI1-DI8
  • Second status byte (16DI only): bit0-bit7 map to DI9-DI16

5. Parameter Configuration

5.1 Read and Write the Offset Address (4x1003)

Read the offset address:

text
Request:  01 03 03 EA 00 01 98 7A
Response: 01 03 02 00 01 [CRC]    // example: current offset address = 1

Set the offset address to 5:

text
Request:  01 06 03 EA 00 05 68 79
Response: 01 06 03 EA 00 05 68 79

5.2 Read and Write the Baud Rate (4x1001)

Read the baud-rate code:

text
Request:  01 03 03 E8 00 01 39 BA
Response: 01 03 02 00 03 [CRC]    // example: code = 3

Set the baud-rate code to 4 (19200 bps):

text
Request:  01 06 03 E8 00 04 08 79
Response: 01 06 03 E8 00 04 08 79

After changing the baud rate, restart the device and update the host serial settings accordingly.

5.3 Addressing and Bus Recommendations

  1. Broadcast address 254 can be used during single-device setup.
  2. In multi-drop networks, every device must use a unique slave address. Do not use the broadcast address for normal polling.
  3. Address 0 is not used for normal communication.

6. Troubleshooting

SymptomPossible CauseRecommendation
Cannot read DI statusAddress or baud rate mismatchVerify address, baud rate, and parity settings
No RS485 responseReversed A/B wiring or missing ground referenceCheck A/B polarity and common ground; add termination if needed
No RS232 responseSerial pinout mismatchVerify the TX/RX/GND connection against the host definition
Abnormal response on multi-drop busAddress conflict or use of broadcast pollingAssign a unique address to each device and disable broadcast polling

LED Indicator

LEDStatusMeaning
POWERSolid onPower is normal

  • Manufacturer: Hunan YenGear Tech Co., Ltd.
  • Address: Room 21014, Building 1, Fudi Xingguang Tiandi, Yingxin Road, Yuhua District, Changsha, Hunan, China
  • Email: hi@yengear.com
  • Website: www.yengear.com