9
Program
9.2. Communications Sequence
The following explains the communications sequence that can be used for the PMCR
instruction in this program.
9.2.1. Communications Sequence Number
A communications sequence that is registered in SCU is identified by a communications
sequence number. The PLC executes a corresponding command on Destination Device by
specifying a communications sequence number in the PMCR instruction.
This protocol macro data includes the following communications sequence.
No. Command name Description
900 Version information
Acquires version information of Destination Device.
9.2.2. PMCR Instruction Operand Settings
The PMCR instruction operands of the communications sequence No. 900 (#0384)" version
information acquisition" are shown below.
・Control word C1 setting (C1: CIO 5010)
C1
Communications port No. (1-digit hex)
#7210 (Communications port No. 7,
Serial port No.2,
#Unit number + #10)
Serial port No. (1-digit hex)
Unit address of Destination Device
(2-digit hex)
・Control word C2 setting (C2: CIO 5011)
Communications sequence No.
&900 (Version information acquisition)
・First send word S setting (S: CIO 5020)
Number of send data words (4-digit
hex)
#0000: (No variable in send messages
of protocol macro data)
・First receive word D setting (D: CIO 5500)
Number of receive data words (4-digit
hex)
Stores the number of words used,
including the D word.
Receive data [0] (4-digit hex)
Stores acquired version information.
Receive data [1] (4-digit hex)
:
:
Receive data [49] (4-digit hex)