1-6
Section 1
Connections and Settings of External Devices
ZS Series
CompoWay/F Communication Command Reference
Section 1
About Com
m
unication Commands
Command Formats
The command format of the communication commands is shown below.
In the following section, items described with "Hex" after numerical values (ex. 02Hex) indicate
hexadecimal numbers. Those described with " " or only with numeral values indicate ASCII
characters.
(Text)
STX
NODE No.
Subaddress
SID
Command text
ETX
BCC
02Hex
FIXED
(x10
1
)
(x10
0
)
"00"
FIXED
"0"
FIXED
MRC
SRC
03Hex
FIXED
1 byte
2 bytes
2 bytes
1 byte
1 byte
1 byte
BCC calculating range
* In the example format, 1 byte = 1 ASCII character.
Elements
Details
STX
This is a code to indicate the first part of communication frames (02Hex).
Make sure to set the first byte to 02Hex..
When a controller receives STX while receiving a command, it receives the
command again starting from where it received STX.
NODE No.
This is the Node No. for the identification of the destination. It should be fixed to
"00."
* About Node No.
It refers to the connection group No. as seen from the host device (PLC). Not
only the ZS Series but other multiple devices are connected to the PLC. The
number assigned to devices connected to a PLC such as this is referred to as a
Node No.
Subaddress
This should be fixed to "00."
SID (Service ID)
This should be fixed to "0."
Command text
This is the text part of the command.
"Section 2 – Details of Commands" describes these parts by command.
ETX
This is a code to indicate the end of the text (03Hex).
BCC
This is a block check character.
The exclusive OR (XOR) of values from Node No. to ETX per byte is BCC.
Command Formats