Omron CJ Series Connection Manual page 53

General-purpose serial (rs-232c), corporation displacement sensor
Hide thumbs Also See for CJ Series:
Table of Contents
9.1.1.
Outline of Processing
The following figure shows the data flow from when PLC (SCU) issues command data to
Destination Device using serial communications until PLC receives response data from
Destination Device.
(1)The ladder program specifies the communications sequence No. 900 and executes the
PMCR instruction.
(2) The PLC receives the response data from Sensor Controller according to receive
messages defined by the communications sequence No. 900 and stores them in the
response data storage area.
(3)The Sensor Controller executes the command by receiving the command data from PLC,
and returns response data to PLC.
(4)The PLC receives the response data from Sensor Controller according to the receive
messages defined by the communications sequence No. 900, and stores them in the
response data storage area.
CPU Unit
Ladder program
PMCR
(1) Executes the PMCR
instruction.
(Specifying the sequence No.
5020 onwards
Send data
setting area
5501 onwards
Response data
storage area
PLC
SCU
Protocol macro data
Sequence No. 1
Sequence No. 2
Sequence No. 900
900)
(4) Receives the
response data and
stores them in the
specified memory.
(Sequence No. 900)
RS-232C
Sensor Controller
(2) Sends the command
data.
(Sequence No. 900)
Command data
(3) Executes the
Response data
9.Program
command and
returns the
response data.
50

Hide quick links:

Table of Contents
loading

Table of Contents