Omron ZFX-C Command Reference Manual page 11

Smart sensor
Hide thumbs Also See for ZFX-C:
Table of Contents

Advertisement

Binary Format
The value obtained by multiplying the measurement value by 1000 is output continuously as four bytes per
single data item. Minus values are output as 2's complement. Up to 32 results can be output.
The binary format differs from the ASCII format in that data separators, such as field separator or record
separator, do not exist.
Output range: -2147483.648 to 2147483.647
Measurement value
Measurement value
of data 0 x 1000
of data 1 x 1000
4 bytes
4 bytes
Example: Data 0 "256.324" and data 1 "-1.000"
$00
$03
$E9
$44
$FF
Data 0: 256324
Data 1: -1000
(256.324 x 1000)
(-1.000 x 1000)
Note
• A value obtained by multiplying by 1000 also is output as the judgment result (JG).
OK: 0
NG: -1000 (-1 x 1000)
• When the measurement value is less than -2147483.648, "-2147483.648" is output.
When the measurement value is greater than 2147483.647, "2147483.647" is output.
ZFX-C Serial Communication Command Reference
$FF $FC $18
Measurement value
of data 31 x 1000
4 bytes
About Communication Commands
9

Advertisement

Table of Contents
loading

Table of Contents