Command Formats - Omron ZFV-C Command Reference Manual

Compoway/f communication
Hide thumbs Also See for ZFV-C:
Table of Contents

Advertisement

Section 1

Command Formats

Command Formats

The command format of the communication commands is shown below.
In the following section, numerical values appended with "Hex" (e.g. 02Hex) indicate
hexadecimal numbers. Those annotated by " " or only numeral values indicate ASCII
characters.
STX
02Hex
fixed
1 byte
* In the example format, 1 byte = 1 ASCII character.
STX
Node No.
Subaddress
SID (service ID)
Command text
ETX
BCC
ZFV-C
1-4
CompoWay/F Communication Command Reference
Node No.
Subaddress
"00"
1
0
(x 10
) (x 10
)
fixed
2 bytes
2 bytes
Element
This code indicates the start of a communication frame (02Hex).
Be 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 identifying the destination. It should be fixed to "00."
* About node No.
This node No. indicates the connection group No. as seen from the host
device (PLC). Not only ZFV-C but also two or more devices can be
connected to the programmable controller. The No. 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 section of the command.
"Section 2 - Details of Commands" describes these sections by each individual
command.
This code indicates the end of the text (03Hex).
This is the block check character.
The exclusive OR (XOR) of values from node No. to ETX per single byte is
BCC.
(Text)
SID
Command text
"0"
MRC
SRC
fixed
1 byte
BCC calculating range
Description
ETX
BCC
03Hex
fixed
1 byte
1 byte

Advertisement

Table of Contents
loading

Table of Contents