Command Formats - Omron ZS Series Communication Command Reference

Zero smart sensor
Hide thumbs Also See for ZS Series:
Table of Contents

Advertisement

Section 1
Connections and Settings of External Devices

Command Formats

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.
STX
NODE No.
02Hex
1
(x10
)
FIXED
1 byte
2 bytes
* In the example format, 1 byte = 1 ASCII character.
Elements
STX
NODE No.
Subaddress
SID (Service ID)
Command text
ETX
BCC
ZS Series
1-6
CompoWay/F Communication Command Reference
(Text)
Subaddress
SID
"00"
0
(x10
)
FIXED
FIXED
2 bytes
1 byte
BCC calculating range
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.
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.
This should be fixed to "00."
This should be fixed to "0."
This is the text part of the command.
"Section 2 – Details of Commands" describes these parts by command.
This is a code to indicate the end of the text (03Hex).
This is a block check character.
The exclusive OR (XOR) of values from Node No. to ETX per byte is BCC.
Command text
"0"
MRC
SRC
Details
ETX
BCC
03Hex
FIXED
1 byte
1 byte

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zs-ldcZs-mdcZs-dsu

Table of Contents