33
/
13
CE-IO1600 User Manual
00 10
Number of queries
The number of DOs to be queried
29 C9
CRC16
CRC16 checksum of the first 6 bytes of data
DO return information:
Return code: FE 01 02 00 00 AD E8
Field
Meaning
Note
FE
Device address
01
01 command
Return command: If the query is wrong, return 0x81
02
Number of bytes
All bytes of return status information. 1+(n-1)/8
00 00
Status of the query
Returns the DO status. The
return value is hexadecimal, converted to binary data, 0
means off, 1 means on.
61 9C
CRC16
CRC16 checksum of the first 6 bytes of data
4.4.3 Flash ON Flash OFF Command
Flash ON sending code
:
FE 10 00 03 00 02 04 00 04 00 0A 00 D8
Flash OFF sending code
:
FE 10 00 03 00 02 04 00 02 00 14 21 62
Field
Meaning
Note
FE
Device address
10
10 Command
Write multiple register function codes
00 03
Relay address
3+5(n-1), n represents which channel to
control, the decimal needs to be converted
to hexadecimal system
00 02
Number of control
commands
2+5(n-1), n represents the number of
controlled channels, only supports
controlling the DO action of a channel
individually
04
Bytes
4+10(n-1), n represents the number of
controlled channels, only supports
controlling the DO action of a channel
individually
00 04 / 00 02
Command
00 04: flash OFF command 00 02:
flash ON command
00 0A
Interval time
00 0A is 10 (hexadecimal converted to
decimal) The
interval time is (0.1 seconds*10)
00 D8
CRC16
Check method
Return code
:
FE 10 00 03 00 02 A5 C7
Field
Meaning
Note
FE
Device address
10
10 command
Return instruction
:
If the query is wrong,
return 0x82
Содержание CE-IO1600
Страница 1: ...1 13 CE IO1600 User Manual CE IO1600 Ethernet I O Module Manual...
Страница 8: ...8 13 CE IO1600 User Manual Open JYNetConfigEn it shows as below...
Страница 9: ...9 13 CE IO1600 User Manual Chosse Local connection Searching...
Страница 10: ...10 13 CE IO1600 User Manual Revise parameter researching...
Страница 12: ...12 13 CE IO1600 User Manual Check whether the IP to be modified by the device is occupied...
Страница 13: ...13 13 CE IO1600 User Manual Revise IP...
Страница 15: ...15 13 CE IO1600 User Manual 3 1 3 1 TCP Server 3 1 3 2 TCP Client Mode revisement...
Страница 17: ...17 13 CE IO1600 User Manual 3 1 3 3 UDP Server 3 1 3 4 UDP Client...
Страница 19: ...19 13 CE IO1600 User Manual Create a device oriented iP and port in TCP Client mode Send command test...
Страница 21: ...21 13 CE IO1600 User Manual Send command to test 3 2 2 3 UDP Server Mode Connection Example IO parameter...
Страница 24: ...24 13 CE IO1600 User Manual Send command to test After establishing communication the test is as below...
Страница 27: ...27 13 CE IO1600 User Manual...