Omron SYSMAC FH Series User Manual page 412

For communication settings
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

2 Methods for Connecting and Communicating with External Devices
Outputting Binary Data
Set the output format as Binary in Output form of the Data Output processing item.
l Output Format
Measured value x 1000 of Data 0
4 bytes
The measurement data is multiplied by 1000 and output is continuous with 4 bytes per data item.
Negative numbers are output in 2's complement format.
For details of 2's Complement, refer to Definitions of Basic Terms in the Vision System FH/FHV
Series User's Manual (Cat. No.Z365).
Example: When Data 0 is 256.324, and data 1 is -1.0000.
$00
$03
Data 0: 256324
(256.324 x 1000)
Additional Information
Unlike ASCII output, binary output has no separators between data, such as field separators or
record separators.
For details, refer to Output Format (Data Output) on page 2 - 327
The range of values that can be output is as follows:
−2147483.648 ≤ Measurement value ≤ 2147483.647
When measurement value < -2147483.648, -2147483.648 is output.
When measurement value > 2147483.647, 2147483.647 is output.
When JG (Judgement) is set, the following values are output.
OK: 1000 (1 × 1000)
NG: -1000 (−1 × 1000)
Additional Information
After the measurement was completed, the measured data is continuously output until all the
data is output. Note that the output cannot be interrupted.
2 - 350
Measured value x 1000 of Data 1
$E9
$44
$FF
$FF
Data 1: -1000
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
4 bytes
$FC
$18
(-1.000 x 1000)
Measured value x 1000 of Data 7
4 bytes

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents