9
.
Program
55
9.2. Communications Sequence
The communications sequence that is used for the PMCR instruction in this program is
described below.
9.2.1. Communications Sequence No.
The communications sequence that is registered in the SCU is identified by a communications
sequence number. The command corresponding to the communications sequence number
specified in the PMCR instruction is executed on the Destination Device.
The protocol data used in this guide includes the following communications sequence.
No.
Command name
Description
900
Single output with
stability information
Acquires the displayed value of the Destination Device.
9.2.2. PMCR Instruction Operand Settings
The PMCR instruction operands of the communications sequence No. 900 (#0384) "single
output with stability information" are shown below.
Control word C1 setting (C1: CIO 5010)
Word
Contents (data type)
Data (description)
C1
Communications port No. (1-digit hex)
#7210 (Communications port No. 7,
Serial port No.2,
#Unit #10)
Serial port No. (1-digit hex)
Unit address of Destination Device
(2-digit hex)
Control word C2 setting (C2: CIO 5011)
Word
Contents (data type)
Data (description)
C2
Communications sequence No.
&900 (single output with stability information)
First send word S setting (S: CIO 5020)
Word
Contents (data type)
Data (description)
S
The number of send data words
(4-digit hex)
#0000 (no variable in the send
message of protocol data)
First receive word R setting (R: CIO 5500)
Word
Contents (data type)
Data (description)
R
The number of receive data words
(4-digit hex)
Stores the number of words used,
including the R word.
R
+
1
Receive data [0] (4-digit hex)
Stores the acquired value.
R
+
2
Receive data [1] (4-digit hex)
:
:
R
+
10
Receive data [49] (4-digit hex)
Содержание OMRON CJ Series
Страница 82: ...2020 0120 0120 P732 E1 01...