Controlling Operation and Outputting Data with FINS/TCP No-protocol Commands
FQ2-S/CH User’s Manual
for Communications Settings
189
3
Controlling Operation and Outputting Data with an
Ethernet Connection
● Setting the Destination in the CMND Instruction
To send a FINS command to the FQ2, the destination of the FINS command is specified in the control data of
the CMND instruction.
● Command Codes for the FQ2
Command codes for the FQ2 consist of a 2-byte command code (which consists of an MRC and SRC) and a 4-
byte Vision Sensor command code.
Example: Command Code for a Single Measurement Command
Setting Up FINS/TCP No-protocol Communications
Setting Network Settings in the Sensor
Set the IP address of the Sensor according to the network where the external devices, such as PLCs, are
connected.
(Setup Mode) − [Sensor settings] − [Network] − [Ethernet] − [IP address setting]
1 Press [Fixed].
2 Set the IP address and subnet mask according to the network where the external devices, such
as PLCs, are connected.
Control data item Setting
Destination network address 00 hex: Local network (The FINS commands must
be sent to the local network.)
Destination node address Specify the last two digits of the IP address of the
FQ2.
Destination unit address Always specify 00 hex.
Communications port number Specify any communications port.
Serial port number Always specify 00 hex.
Command code Vision Sensor command
code (4 bytes)
MRC (1 byte) SRC (1 byte)
28 0F 00101010
If you connect OMRON CS/CJ-series PLCs to the Ethernet, the following default IP addresses are assigned to the
PLCs.
• IP address: 192.168.250.node_address
FQ2-S_CH_comm.book 189 ページ 2014年6月26日 木曜日 午前11時47分