of E10.01 is 0A01H.
For example E05.06, the group number before the radix point of
and get the state information and relative function parameters.
sent by the master)
command sent by the master )
Communication Protocol
138
ASCII master command message (the
ASCII slave response message (the message
CMD
'1'
CMD
'1'
'0'
'0'
High bit of starting
address
'0'
High bit of starting
address
'0'
'0'
'0'
Low bit of starting
address
'0'
Low bit of starting
address
'0'
'4'
'4'
High bit of data number
'0'
High bit of data number
'0'
'0'
'0'
Low bit of data number
'0'
Low bit of data number
'0'
'2'
'2'
Byte number
'0'
LRC CHK Hi
'E'
'4'
LRC CHK Lo
'8'
High bit of data 0004H
content
'1'
END Hi
CR
'3'
END Lo
LF
Low bit of data 0004H
content
'8'
'8'
High bit of data 0005H
content
'0'
'0'
Low bit of data 0005H
content
'3'
'2'
LRC CHK Hi
'1'
LRC CHK Lo
'7'
END Hi
CR
END Lo
LF
9.5 The definition of data address
The address definition of the communication data in this part is to control the running
9.5.1 The rules of parameter address of the function codes
The parameter address occupies 2 bytes with the fact that the high bit is in the front and the low bit
is in the behind. The range of high and low byte are: high byte
—
00
–
ffH; low byte
—
00
–
ffH. The
high byte is the group number before the radix point of the function code and the low byte is the
number after the radix point. But both the high byte and the low byte should be changed into hex.
the function code is 05, then the
high bit of the parameter is 05, the number after the radix point 05, then the low bit of the parameter
is 06, then the function code address is 0506H and the parameter address
E10.00
Simple PLC
means
0: Stop after running once.
1: Run at the final value after running
once.
2. Cycle running.
0
○