EasyManua.ls Logo

Matrix PEL-8000 Series - Page 29

Matrix PEL-8000 Series
37 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26
Request frame
Byte length
value
Additional address
1
1~200
function code
1
0x01
initial address
2
0~0xFFFF
Number of coils
2
1~16
Check code
2
Reply frame
Byte length
value
Additional address
1
1~200
function code
1
0x01
Byte count
1
1~2
Coil status
n
Check code
2
Abnormal frame
Byte length
value
Additional address
1
1~200
function code
1
0x81
Abnormal code
1
1~4
Check code
2
Example: Load communication address is 1, read load input state ISTATE
Table 4.8.7 Table ISTAT address known as 0x0510
Send request: 0x01 0x01 0x05 0x10 0x00 0x01 0xFC 0xC3
Get normal reply 0x01 0x01 0x01 0x48 0x51 0xBE
Wherein, 0x48 is the data that is read back, and the lowest bit is 0, then the input status ISTATE of the load is
OFF.
2. Write the coil:
Request frame
Byte length
value
Additional address
1
1~200
function code
1
0x05
initial address
2
0~0xFFFF
output value
2
0x0000 or 0xFF00
Check code
2
Reply frame
Byte length
value
Additional address
1
1~200
function code
1
0x01
Output address
2
0~0xFFFF
output value
2
0x0000 or 0xFF00
Check code
2
Abnormal frame
Byte length
value
Additional address
1
1~200
function code
1
0x85
Abnormal code
1
1~4
Check code
2

Table of Contents

Related product manuals