α
2 Simple Application Controllers
The Command String 7
7 - 7
Read message command
- When using Format B the number of communication bytes starts
from the Format No. and finishes with the Higher Byte of the Device No.
Write message command
- When using Format B the number of communication bytes starts
from the Format No. and finishes with the Device Status of the last device.
Run/Stop command -
When using Format B the number of communication bytes starts from
the Format No. and finished with the RUN/STOP command.
Received message command
- When using Format B The number of communication bytes
starts from the Format No. and finishes with the! completion control code. The number of
commutation bytes for the response data message starts from the Format No. and finishes
with the Device Status.
Error message
command
- When using Format B the number of communication bytes starts
from the Format No. and finishes with the appropriate error code.
Format B Type - READ message
The maximum number of Communication Bytes for a given message is 250 bytes. Refer to
section 7.3.6 for further details for maximum devices to be accessed.
7.3.3 Format Number
The Format number is used to differentiate format type. Either Format A or Format B is used
for the intended task.
Table 7.5: Format Type command
Format Type Instruction Command
Format A 40
Format B 41
07 = 01 + (bytes)
Computer
α
2 Controller
01 + 01 + 01 + 01 + 01 + 01
S
T
X
Command
Format No.
Station No.
Device No.
(HB)
Device code
Device No.
(LB)
Sum check
(HB)
E
T
X
Sum check
(LB)
No. comm
bytes
07H
No. of
devices
01H
03 =
(bytes)(bytes)
05
or
S
T
X
Complete flag
Format No.
Station No.
Device status
S
T
X
Sum check
(HB)
E
T
X
Sum check
(LB)
Format No.
Station No.
Command
No. comm
bytes
03H
No. comm
bytes
05H
01 + 01 + 01 = 01 + 01 + 01 + 01 + 01
04 = 01 + 01 +
N
A
K
Format No.
Station No.
S
T
X
Error Code
No. comm
bytes
04H
01 + 01 (bytes)
No. of
devices
01H