Omron FQ2-S/CH Series User Manual page 184

Smart camera
Hide thumbs Also See for FQ2-S/CH Series:
Table of Contents

Advertisement

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
<Response Format>
If a parameter is attached, the parameter and delimiter are output when the command is processed normally,
and the command execution result is OK. A delimiter is inserted at the end of the response.
The delimiter is always CR.
Command Execution Result
Parameter
1
0
CR
Delimiter
O
K CR
Delimiter
If the command is not processed normally, the command execution result is NG.
Command Execution Result
E
R CR
Delimiter
An error occurs in the following cases.
• A non-existent command was specified.
• The number of parameters is incorrect.
• The parameter range is incorrect.
• The parameter content is incorrect.
• Operation could not be performed normally for the operation command.
182
Control and Output in No-Protocol (TCP) / No-Protocol (UDP)
Parameter 1
D
A
T
A
1
Space
(0x20)
Parameter 2
Parameter 3
0
1
0
1
Space
Space
(0x20)
(0x20)
0
0
CR
Delimiter
FQ2-S/CH User's Manual
for Communications Settings

Advertisement

Table of Contents
loading

Table of Contents