![background image](http://html.mh-extra.com/html/omron/v400-r2-series/v400-r2-series_connection-manual_741434049.webp)
9. Program
46
9.2. Communications sequence
This section explains the communications sequence (protocol macro data) that can be used
for the ExecPMCR instruction of this program.
9.2.1. Communications sequence No.
A communications sequence (protocol macro data) that is registered in the Serial
Communications Unit is identified by a communications sequence number. The Controller
executes the corresponding command on the destination device by specifying a
communications sequence number in the ExecPMCR instruction.
This protocol macro data includes the following communications sequence.
No.
Command name
Description
900 Reading
Trigger Issues
the
reading trigger for a code.
9.2.2. ExecPMCR instruction input variables
The ExecPMCR instruction input variables for communication sequence No.900 Reading
Trigger are set as follows.
Variable
Name (data format)
Data (explanation)
Port
Destination port specification
(_sPROT)
-
UnitNo
Unit
number
(_eUnitNo)
_eUnitNo#_CBU_No00
(Specifies the unit number for the
Serial Communications Unit.)
PhysicPortNo
Serial port number (USINT)
USINT#10#2
(Use serial port No.2.)
SeqNo
Communications sequence
number (UINT)
UINT#10#900
(Specifies Reading Trigger.)
SrcDat[] (array)
Send data array (WORD)
WORD#16#0000
(The number of words of send data
is 0.: Specifies that no parameter
is required for the command.)
DstDat[] (array)
Receive data array (WORD)
(Receive data. Setting is
unnecessary)