Skip to content

Y301-006/008/00G Analog Input Module Technical Manual

Y301-006Y301-008Y301-00G
Y301-006 Product ImageY301-008 Product ImageY301-00G Product Image

Manufacturer: Hunan Yanji Tech Co.,Ltd
Address: Room 21014, Unit 1, Fudixingguang Plaza, Yuhua District Yingxin Road, Changsha, Hunan, P.R. China
Email: hi@yanjiiot.com
Website: www.yanjiiot.com


Table of Contents

  1. Introduction
  2. System Overview
  3. Wiring & Installation
  4. Modbus Communication Parameters
  5. Register Map
  6. Command Reference
  7. Configuration Workflow
  8. Diagnostics & FAQ
  9. Appendix

1. Introduction

This manual provides the Modbus integration details for the Y301-006/008/00G analog input modules (derived from DAM1600AI-YD hardware). The devices aggregate 4–20 mA or 0–10 V signals and publish the raw A/D values via RS485 or RS232 serial links. Content focuses on commissioning, wiring, register interpretation, and troubleshooting for engineers integrating the modules into PLC/SCADA systems.

Key facts from the original Chinese datasheet:

  • Power: DC 7–30 V, single LED power indicator plus 16 channel LEDs.
  • AI count: Y301-006 (6), Y301-008 (8), Y301-00G (16).
  • Communication: Modbus RTU/ASCII over RS485 or RS232, 2400–38400 bps (9600 bps default).
  • Actual value conversion: Engineering Value = Register × 0.001.

2. System Overview

2.1 Hardware Summary

AttributeDetail
Enclosure100 × 70 × 35 mm, 35 mm DIN-rail
Supply VoltageDC 7–30 V with reverse-polarity protection
InputsOpto-isolated AI terminals (AI1…AI16) plus COM
Indicators1 × POWER LED, 16 × AI LEDs mirroring live state
Environment-40 °C ~ +85 °C, 5–95 % RH non-condensing

2.2 Communication Summary

  • RS485: A/B differential pair, shield recommended, up to 32 nodes on a daisy-chain bus (≤1200 m @ 9600 bps).
  • RS232: TX/RX/GND point-to-point (≤15 m).
  • Protocols: Modbus RTU (CRC-16) and Modbus ASCII (LRC).
  • Addresses: Software offset only; there is no DIP switch. Effective slave address = offset address. Broadcast address = 254.

3. Wiring & Installation

3.1 Power & Communications

TerminalDescription
VIN7–30 V DC positive
GND0 V return and shield reference
A / 485+RS485 positive line
B / 485-RS485 negative line
TXRS232 transmit (module → host)
RXRS232 receive (host → module)
  • For RS485, use twisted-shielded pair, chain A-to-A and B-to-B, common the grounds, and terminate both ends with 120 Ω.
  • For RS232, connect TX↔RX, RX↔TX, GND↔GND using straight-through wiring.

3.2 Analog Input Wiring

ModeWiring Notes
2-wire (loop powered)Insert AI+ in series with the current loop. Sensor negative goes to COM.
3-wire transmitterSensor OUT → AI+, sensor ground → COM, sensor +V → external supply.
4-wire voltage sourceSensor Vout → AI+, sensor ground → COM. V_out pin on the module is unused.

Important: Do not route both current and voltage outputs into the same channel simultaneously. Keep analog cables separate from high-voltage lines and connect shields at a single point.


4. Modbus Communication Parameters

ParameterValue
Default Format9600 bps, 8 N 1
Supported Baud Rates2400 / 4800 / 9600 / 19200 / 38400 bps
Slave Address Range0–255 (0 unused, 254 broadcast)
Function Codes0x04 (read input registers), 0x03 (read holding), 0x06 (write single), 0x10 (write multiple for configuration)

4.1 Broadcast Usage

  • Set master to address 254 (0xFE) when only one device is on the bus to discover its actual address.
  • When multiple devices are present, assign unique addresses; broadcast queries will cause bus contention.

4.2 Actual Value Conversion

A/D readings are 16-bit integers. Convert to engineering units using:

Actual Value (engineering units) = Register × 0.001

Example: Register = 12345 → 12.345 units.


5. Register Map

5.1 Input Registers (Function 0x04)

PLC AddressModbus OffsetChannelDescription
3x00010x0000AI1A/D result (counts)
3x00020x0001AI2A/D result
3x00100x000FAI16A/D result (Y301-00G only)
  • Reading multiple channels returns contiguous values in ascending order.
  • Each register is unsigned 16-bit. Apply the ×0.001 scaling to obtain the field value.

5.2 Holding Registers (Function 0x03/0x06)

PLC AddressModbus OffsetParameterNotes
4x10010x03E8Baud rate selector0–5 enumeration (see below)
4x10020x03E9ReservedDo not write
4x10030x03EAOffset/Slave addressDevice address = offset

Baud Rate Enumerations (per Chinese manual):

ValueBaud
09600 bps (default)
12400 bps
24800 bps
39600 bps (legacy duplicate)
419200 bps
538400 bps

Because the original PDF lists both 0 and 3 as 9600 bps, Yanji recommends using value 0 for the default and avoiding value 3 unless explicitly required by older firmware.


6. Command Reference

6.1 Read AI Channels (RTU)

Use CaseFrame (hex)Description
Read AI1 only01 04 00 00 00 01 31 CAQuery channel 1
Read AI1–AI6 (Y301-006)01 04 00 00 00 06 70 08Returns 12 bytes
Read AI1–AI8 (Y301-008)01 04 00 00 00 08 F1 CCReturns 16 bytes
Read AI1–AI16 (Y301-00G)01 04 00 00 00 10 70 0FReturns 32 bytes

Replace the first byte (01) with the actual slave address; use FE only when a single device is attached.

6.2 Address & Baud Configuration

ActionRequest (hex)Notes
Read offset/slave address01 03 03 EA 00 01 75 D7Returns current address
Set address = 501 06 03 EA 00 05 88 0BWrite new offset
Read baud rate01 03 03 E8 00 01 14 17Returns enumeration value
Set baud = 1920001 06 03 E8 00 04 D5 D7Power-cycle after writing

6.3 Broadcast Example (single device only)

FE 04 00 00 00 08 6D C3

Reads eight channels from the device currently on the bench; remove broadcast usage once multiple nodes share the bus.


7. Configuration Workflow

  1. Bench Setup
    • Connect VIN/GND to a 12 or 24 V DC supply.
    • Wire RS485 (A/B/GND) or RS232 (TX/RX/GND) to the host or USB converter.
  2. Open JYDAM or Modbus Master
    • Set baud = 9600 bps, address = 254 (broadcast) to query the current offset.
    • Once the actual slave ID is known, switch the master to that address.
  3. Assign Permanent Address
    • Write the desired ID (1–255) to holding register 4×1003.
    • Power-cycle or send a soft reset if firmware requires it.
  4. Verify Analog Acquisition
    • Toggle sensor signals or inject known voltages/currents.
    • Read channels using function 0x04; confirm engineering values via ×0.001.
  5. Finalize Baud/Protocol (Optional)
    • Update 4×1001 for new baud, then restart.
    • Keep RTU (binary) unless ASCII integration is mandatory.

8. Diagnostics & FAQ

SymptomPossible CauseRecommended Action
RS232 link silentTX/RX wiring incorrect or wrong baudUse straight-through wiring RX↔RX, TX↔TX, verify baud/parity.
RS485 bus unstableMultiple slaves still on broadcast addressAssign unique addresses, terminate bus ends, keep stubs <1 m.
AI reads zeroOpen loop or voltage source not referencedCheck wiring to COM, ensure transmitter is powered, confirm range.
AI reads max valueInput wired to wrong mode or shorted to VINValidate sensor output type, inspect for short circuits.
Readings noisy/driftingShielding or grounding issuesUse shielded cable, single-point COM, separate power cabling.

Common Questions

  • Q: Why does the software default to address 0 but Modbus address 0 is invalid?
    A: The factory offset is 0, meaning the device must first be contacted via broadcast address 254. Set a non-zero offset (1–255) before deploying.

  • Q: Is there any built-in scaling register?
    A: No. The firmware only reports raw 12-bit data. Apply the ×0.001 multiplier on the host side to convert to engineering units.


9. Appendix

9.1 Field Commissioning Checklist

  1. Inspect power polarity and confirm POWER LED is lit.
  2. Measure RS485 A/B polarity and confirm shield continuity.
  3. Use broadcast read to verify raw data toggles when sensor is stimulated.
  4. Write permanent address, reboot, and retest.
  5. Document register snapshots and sensor wiring for maintenance logs.

9.2 Error Codes

CodeMeaning
0x01Illegal function
0x02Illegal data address
0x03Illegal data value
0x04Slave device failure

Exception responses echo the request with function code + 0x80 and append the code above.


  • Manufacturer: Hunan Yanji Tech Co.,Ltd
  • Address: Room 21014, Unit 1, Fudixingguang Plaza, Yuhua District Yingxin Road, Changsha, Hunan, P.R. China
  • Email: hi@yanjiiot.com
  • Website: www.yanjiiot.com