WP9038ADAM User's Manual
WP9038ADAM User's Manual
42A
WP9038ADAM
User’s Manual
Version 1.42A
1、Product description
Six current input channel: DC0~20mA / DC4~20mA
Four optoelectronic isolation digital input channel (Low level input)
Four optoelectronic isolation digital output channel (NPN collector output)
RS485 MODBUS RTU standard communication protocol
Netted with configuration software, PLC or industry touch panel
Communication, digital input and digital output status LED
Communication circuit designed for thunder protection and interference immunity
Used for signal collection and control in industrial field
2、Specification
Analog input channel 6ch
Analog input range DC0~20mA / DC4~20mA
Analog input accuracy ±0.02mA
Digital input channel 4ch (Low level input)
Digital output channel 4ch (NPN collector output, 500mA)
Working temperature -20~70℃
External power supply DC9V~30V/2W
Isolation protection DC1500V
Installation method Standard DIN slide rail or screw
Dimension 125×73×35mm
3、Interface description
5、Communication description
5.1、Communication parameter: 9600, None, 8, 1 (default setting)
Parameter Description
9600 baud rate
None check bit
8 data bit
1 stop bit
WP9038ADAM User’s Manual V1.42A
Send: 01 03 00 00 00 06 C5 C8 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
03 1 function code 03-read holding register
0000 2 register address (4X type) 0000-starting register address
0006 2 register number 0006-read 6 registers
C5C8 2 CRC check code CRC check code for all data
Receive: 01 03 0C 07 69 00 00 00 00 00 00 00 00 00 00 B6 26 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
03 1 function code 03-read holding register
0C 1 byte of data 0C-read 12 bytes
0769 12 read data 0769-analog input channel 1 data
0000 0000-analog input channel 2 data
0000 0000-analog input channel 3 data
0000 0000-analog input channel 4 data
0000 0000-analog input channel 5 data
0000 0000-analog input channel 6 data
B626 2 CRC check code CRC check code for all data
Send: 01 02 00 00 00 04 79 C9 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
02 1 function code 02-read digital input register
0000 2 register address (1X type) 0000-starting register address
0004 2 register number 0004-read 4 registers
79C9 2 CRC check code CRC check code for all data
Receive: 01 02 01 05 61 8B (example/hex)
data byte data description remark
01 1 module address address range:01-FE
02 1 function code 02-read digital input register
01 1 byte of data 01-read 1 byte
05 1 read data 05-digital input data
618B 2 CRC check code CRC check code for all data
Send: 01 0F 00 00 00 04 01 03 7E 97 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
0F 1 function code 0F-write multiple digital output register
0000 2 register address (0X type) 0000-starting register address
0004 2 register number 0004-write 4 registers
01 1 byte of data 01-write 1 byte
03 1 write data 03-digital output data
7E97 2 CRC check code CRC check code for all data
Receive: 01 0F 00 00 00 04 54 08 (example/hex)
Send: 01 05 00 00 FF 00 8C 3A (example/hex)
data byte data description remark
01 1 module address address range:01-FE
05 1 function code 05-write single digital output register
0000 2 register address (0X type) 0000-digital output channel 1 register
0001-digital output channel 2 register
0002-digital output channel 3 register
0003-digital output channel 4 register
FF00 2 write data FF00-ON, 0000-OFF
8C3A 2 CRC check code CRC check code for all data
Receive: 01 05 00 00 FF 00 8C 3A (example/hex)
Send: 01 01 00 00 00 04 3D C9 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
01 1 function code 01-read digital output register
0000 2 register address (0X type) 0000-starting register address
0004 2 register number 0004-read 4 registers
3DC9 2 CRC check code CRC check code for all data
Receive: 01 01 01 03 11 89 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
01 1 function code 01-read digital output register
01 1 byte of data 01-read 1 byte
03 1 read data 03-digital output data
1189 2 CRC check code CRC check code for all data
Send:00 06 00 64 00 01 08 04 (example/hex)
date byte data description remark
00 1 module address 00-broadcast address
06 1 function code 06-write single holding register
0064 2 register address (4X type) 0064-module address register
0001 2 write data 0001- module address, range:0001-00FE
0804 2 CRC check code CRC check code for all data
Receive:00 06 00 64 00 01 08 04 (example/hex)
This command sets module address (slave address) as “01” (default setting). This setting could be saved when power off.
This is a broadcast command. It needs to ensure that only one module is connected to the master.
When module receives correct command, it will send response back to the master.
WP9038ADAM User’s Manual V1.42A
Send:01 06 00 65 00 02 18 14 (example/hex)
data byte data description remark
01 1 module address address range:01-FE
06 1 function code 06-write single holding register
0065 2 register address (4X type) 0065-communication parameter register
0002 2 write data 0001- 4800, None, 8, 1
0002- 9600, None, 8, 1
0003- 19200, None, 8, 1
0004- 38400, None, 8, 1
0005- 4800, Even, 8, 1
0006- 9600, Even, 8, 1
0007- 19200, Even, 8, 1
0008- 38400, Even, 8, 1
1814 2 CRC check code CRC check code for all data
Receive:01 06 00 65 00 02 18 14 (example/hex)
This command sets communication parameter as “9600, None, 8, 1” (default setting). This setting could be saved when
power off.
When module receives correct command, it will send response back to the master.