Omron fq2 User Manual page 359

Hide thumbs Also See for fq2:
Table of Contents

Advertisement

Example: When Data 0 Is 256.324 and Data 1 Is −1.000.
$ 0 0
$ 0 3
$ E 9
$ 4 4
Data 0: 256324
(256.324 × 1000)
Note
Binary output does not use data separators, i.e., field separators or record separators. These separators are used
only for ASCII output.
The following range of values can be output.
−2,147,483.648 ≤ Measured value ≤ 2,147,483.647
If the measured value is lower than −2,147,483.648, then −2,147,483.648 is output.
If the measured value is higher than 2,147,483.647, then 2,147,483.647 is output.
The following values are output if JG (Judge) is set.
OK: 0 (0 × 1000)
NG: −1000 (−1 × 1000)
Note
Data that is output after measurement is output until the last data even after the measurement is finished. Data out-
put is not interrupted midway.
Controlling the Sensor from an External Device (Procedure for No-protocol Command/Response Communications)
Command Format
This section describes the command format for no-protocol communications.
Commands defined in the command list can be used.
Set commands and parameters in ASCII.
If the command has an argument parameter, set the parameter after inserting a space (0x20).
If it has multiple parameters, insert a space before each parameter.
Place a delimiter at the end of the command. No space is required before the delimiter.
The delimiter is always CR.
<Command Format>
Command
I
T
E
M
FQ2 User's Manual
Controlling Operation and Outputting Data with TCP No-protocol Communications
$ F F
$ F F
$ F C
$ 1 8
Data 1:
1000
A delimiter will
(−1.000 × 1000)
be attached to
the end.
Parameter 1
D
A
T
A
1
Space
(0x20)
$ 0 D
Parameter 2
0
1
0
1
Space
Space
(0x20)
(0x20)
Parameter 3
0
0
CR
Delimiter
357

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents