Control and Output in No-Protocol (TCP) / No-Protocol (UDP)
176
FQ2-S/CH User’s Manual
for Communications Settings
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>
<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
If the command is not processed normally, the command execution result is NG.
Command Execution Result
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.
Parameter 3 Parameter 2 Parameter 1 Command
Space
(0x20)
Space
(0x20)
Space
(0x20)
Delimiter
D A 1 0 1 0 1 0 0
CR
T A I T E M
Delimiter
1 0
CR
Delimiter
O K
CR
FQ2-S_CH_comm.book 176 ページ 2014年6月26日 木曜日 午前11時47分