Type:Logic ICs
Model Number:YX6052D
Condition:New
No.:YX6052D
Color classification:8 -MODBUS-RTU
Decoration and construction contents:Installation engineering
The module can detect 8 channel switching status (6 way difference and 2 way common ground), and module has RS485 bus and MODBUS-RTU protocol. It is used in various industrial measurement and control system.
I. main performance profiles
Module can detect 8 channel switching status (6 way difference and 2 way common ground), module with RS485 bus, MODBUS-RTU, ASCII protocol optional. Used in a variety of industrial measurement and control system, its functions and technical indicators are as follows:
working voltage | +8 to 24VDC, with polarity protection of power supply |
communication interface | RS-485 interface, two-wire, + 15KV, ESD protection |
Communication speed | 120024004800960019200 BPS software settings |
Postal address | 00~255, software settings |
Communication format | A start bit, 8 data bits, the minimum significant bit to send first, no parity bit, 1 stop bits, and CRC-16 check |
Transmission distance | <1200M (9600bps |
Signal input | 6 way difference and 2 way common ground, logic level 0:<1VDC, logic level 1:Three5VDC<30VDC The voltage between the signal input and the communication power is AC1000V Input impedance 3K |
LED display | 1 way LED do power / communication use, 8 way LED do switch quantity input instruction |
Outline size | 122mm*72mm * 43mm |
Installation method | DIN35mm rail clamping |
work environment | Operating temperature: -20 DEG C ~70 DEG C; storage temperature: -40 DEG C, ~85 C; relative humidity: -5%~95%, no condensation |
Two: pin definition diagram:
Pin number | Name | describe |
1 | IN5+ | Switching input channel 5+ |
2 | IN5- | Switching input channel 5- |
3 | IN6+ | Switching input channel 6+ |
4 | IN.GND | Switching input channel 6-, switch input channel 7- |
5 | IN7+ | Switching input channel 7+ |
6 | INIT* | INIT* short to GND, you can restore factory defaults |
7 | DATA+ | RS485 interface signal positive electrode |
8 | DATA- | RS485 interface signal negative pole |
9 | +VS | Power on, +8~24VDC input |
10 | GND | Negative power |
11 | IN0+ | Switching input channel 0+ |
12 | IN0- | Switching input channel 0- |
13 | IN1+ | Switching input channel 1+ |
14 | IN1- | Switching input channel 1- |
15 | IN2+ | Switching input channel 2+ |
16 | IN2- | Switching input channel 2- |
17 | IN3+ | Switching input channel 3+ |
18 | IN3- | Switching input channel 3- |
19 | IN4+ | Switching input channel 4+ |
20 | IN4- | Switching input channel 4- |
Note: LED indicator: after power on, the module is in normal operation, flashing
When the switch input signal is ON, the status indicator light is on and the time is OFF
Three, RS485 communication applications
Module communication protocol is MODBUS-RTU format, the factory default module address is 01, the speed is 9600bps, the specific protocol content please refer to MODBUS protocol detailed explanation. The address and baud rate can be modified by PK9000 series test software, and can also be modified by protocol communication.
1.Request read data communication protocol
To get the switch status, you must issue a read status command to the module as follows:
01 02 0000 0008 79 CC
A, B, C, D, e
A. module address: the switch input module is located in the address of the RS485 network
B. function: MODBUS-RTU command function, 02H indicates the read input status command
C. input status address: indicates the start status address of the input state as specified by MODBUS-RTU
D. input status number: the number of switches that start from the start address
E. except for all the transmitted data in this section, the cyclic redundancy check (CRC) value is low before the byte
2.A protocol that reads 8 switches and amounts of data
After the read command is sent to the module, 8 switching data can be obtained, and the low bit byte is in front
01 02 01 13 E0 45
A, B, C, D, e
A. module address: the switch input module is located in the address of the RS485 network
B. function: MODBUS-RTU command function, 02H indicates the read input status command
C. input byte: the number of 8 input states returned, 1 bytes here
D. input status: the 14 input states obtained, here is 0120H, low in the front, see the following table
position | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Input status | OFF | OFF | OFF | ON | OFF | OFF | ON | ON |
BIN data | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 |
HEX data | 13H | |
| | | | | | | | | |
E. except for all the transmitted data in this section, the cyclic redundancy check (CRC) value is low before the byte
3.Request to write data communication protocol
Set the module communication address, baud rate, you must issue a write command to the module, as follows:
01 06 0000 0207 C9 68
A, B, C, D, e
A. module address: the switch input module is located in the address of the RS485 network
B. function: MODBUS-RTU command function, 06H indicates preset single register
C. register address: preset single register address
D. register contents: high for module new address, low for communication rate, 03~07 stands for 1200~19200bps.
E. except for all the transmitted data in this section, the cyclic redundancy check (CRC) value is low before the byte
FourWrite data back communication protocol
When a write data command is sent to the module, the module return response is obtained
01 06 0000 E1 D9
A B C D
A. module address: the switch input module is located in the address of the RS485 network
B. function: MODBUS-RTU command function, 06H indicates preset single register
C. register address: preset single register address
D. except for all the transmitted data in this section, the cyclic redundancy check (CRC) value is low before the byte