Omron ZFX-C10 - COMMUNICATION Command Reference Manual page 9

Vision sensor with built-in lcd monitor
Hide thumbs Also See for ZFX-C10 - COMMUNICATION:
Table of Contents

Advertisement

Configuration of Measurement Value Data
The following explains the output format of measurement values.
To output measurement values by serial communication, the following items must be set.
Note
Output content
Set the output content as an expression.
Set the output content at [Setup] - [Support] - [Calculation] - [Data].
Output destination
Specify [RS-232C/422] or [USB] at [System] - [Output] - [Data output].
Output format
Set the output format at [System] - [Output] - [Serial output].
For detailed settings, refer to the User's Manual.
ASCII Format
Up to 32 results are output as a data structure of fixed length of up to 12 characters including the sign.
Measurement value of data 0
Sign
Number of digits of integer section
Number of digits past the decimal point
Decimal separator
Field separator
Record separator
Example: Number of digits of integer section: 7, number of digits past the decimal point: 3,
decimal separator: period
< Measurement value > < Data structure >
123456.789
4567.8
-4567.8
ZFX-C Serial Communication Command Reference
Measurement value of data 1
Field separator
Number of digits past the decimal point: max. 3
Decimal separator: 1 digit
Sign + number of digits of integer section: max. 8 digits
(Insert "0" for spaces.)
The sign of the measurement value is stored. Plus: 0/Minus: -
"0" is inserted in spaces in the integer section and digits past the decimal
point.
When a value is greater than the preset number of digits, all digits other
than the sign digit become "9".
Output range: -9999999.999 to 09999999.999
C R
0 1
2 3 4 5 6 . 7 8 9
C R
0 0
0 4 5 6 7 . 8 0 0
C R
- 0
0 4 5 6 7 . 8 0 0
Measurement value of data 31
About Communication Commands
Record
separator
7

Advertisement

Table of Contents
loading

Table of Contents