Setting Up Communications (Fins/Tcp) - Omron FQ2-S4 User Manual

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

● 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.
Control data item
Destination network address
Destination node address
Destination unit address
Communications port number
Serial port number
● 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
Command code
MRC (1 byte)
SRC (1 byte)
28
0F

Setting Up Communications (FINS/TCP)

Communications are set up in the same way as for TCP no-protocol communications.
Setting Up No-protocol Communications p. 402
FQ2-S4 User's Manual
Controlling Operation and Outputting Data with FINS/TCP No-protocol Commands
Setting
00 hex: Local network (The FINS commands must
be sent to the local network.)
Specify the last two digits of the IP address of the
FQ2.
Always specify 00 hex.
Specify any communications port.
Always specify 00 hex.
Vision Sensor command
code (4 bytes)
00101010
431

Advertisement

Table of Contents
loading

Table of Contents