Memory Assignments For Plc Link Communications - Omron FQ2-S/CH Series User Manual

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

Advertisement

Memory Assignments for PLC Link Communications

This section describes the assignments for the Command, Response, and Data Output Areas.
 Command Area
PLC (Master) to Sensor (Slave)
First
Bits
word
15
14
13
12
+0
ERRCLR Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv EXE Control sig-
+1
Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv Resv DSA
+2
+3
+4
+5
+6
+7
+8
+9
Signal
Signal name
EXE
Control Command
Execution Bit
DSA
Data Output Request
Bit
ERRCLR
Clear Error
Command code
Command code
Parameters 1 to 3
Command parameters These I/O ports store the command parameters.
 Response Area
Sensor (Slave) to PLC (Master)
FQ2-S/CH User's Manual
for Communications Settings
11
10
9
8
7
Command code
Parameter 1
Parameter 2
Parameter 3
Turn ON this signal from the PLC to send a control
command for the Sensor to execute.
Turn OFF the EXE signal from the PLC when the
Control Command Completed (FLG) signal from
the Sensor turns ON. (Set the control command
code and parameters before you turn ON this sig-
nal.)
Turn ON this signal from the PLC to request data
output. When this signal turns ON, the Sensor out-
puts data.
Turn OFF the DSA signal from the PLC when the
Data Output Completed (GATE) signal from the
Sensor turns ON.
Turn ON this signal to turn OFF the error (ERR)
signal from the Sensor.
Turn OFF this signal from PLC when the error
(ERR) signal goes OFF.
This I/O port stores the command code.
Controlling Operation and Outputting Data with PLC Link Communications
6
5
4
3
2
Function
Contents
1
0
nals (32
bits)
Command
code (32
bits)
Parameter
(integer)
Spare (inte-
ger)
Spare (inte-
ger)
Application
Command/
response commu-
nications
Data output after
measurements
Command/
Response Commu-
nications
Command/
Response Commu-
nications
133

Advertisement

Table of Contents
loading

Table of Contents