
Controlling Operation and Outputting Data with TCP No-protocol Communications
FQ2-S4 User’s Manual
409
Con
necting
throu
gh
Eth
e
rnet
9
Character Output Example
When both the data and character string are output, the character string is output after the data.
Example:
Read result 1: ABC
Read result 2: 0123
[Data output]
−
[Data 0]: 3 (Number of characters: 1)
[Data output]
−
[Data 1]: 4 (Number of characters: 2)
The following information will be output for the above. (The spaces are not actually output.)
3 field_separator 4 record_separator
ABC
field_separator 0123
record_separator CR
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>
NG String output on/off
Yes (default)
No
Sets whether to output an NG string.
• Endian
Little endian data is output.
• Code Conversion
The converted codes are outputted for the following character codes.
Parameter
Set value
Description
Note
CR
Before conversion
After conversion
LF
&h0D
&h7F
&h8541
DEL
&h8543
Character code
&h0A
&hFF
&h8542
&h8544
FF
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
Содержание FQ2-S4
Страница 1: ...User s Manual Smart Camera FQ2 S4 Cat No Z330 E1 01 ...
Страница 58: ...Setting Up Ethernet 56 FQ2 S4 User s Manual MEMO ...
Страница 214: ...Calculations and Judgements Using Inspection Item Data 212 FQ2 S4 User s Manual MEMO ...
Страница 234: ...Adjusting Judgement Parameters during Operation 232 FQ2 S4 User s Manual MEMO ...
Страница 446: ...Controlling Operation and Outputting Data with FINS TCP No protocol Commands 444 FQ2 S4 User s Manual MEMO ...
Страница 452: ...Controlling Operation and Outputting Data with RS 232C No protocol Communications 450 FQ2 S4 User s Manual MEMO ...
Страница 453: ...11 Troubleshooting Troubleshooting 11 1 Error Histories 452 11 2 Error Messages 454 11 3 Basic Troubleshooting 455 ...
Страница 458: ...Basic Troubleshooting 456 FQ2 S4 User s Manual MEMO ...
Страница 591: ...Index FQ2 S4 User s Manual 589 Index 12 ...
Страница 593: ......