Communications Sequence - Omron E5 D Series Connection Manual

Hide thumbs Also See for E5 D Series:
Table of Contents

Advertisement

9.2. Communications Sequence

The following describes the communications sequence that is used for the PMCR instruction
in this program.
9.2.1.
Communications Sequence Number
A communications sequence that is registered in the SCU is identified by a communications
sequence number. The Destination Device executes the command corresponding to the
communications sequence number that is specified in the program for executing the PMCR
instruction.
The protocol data used in this guide includes the following communications sequence.
No.
Command name
618
Properties Read
9.2.2.
PMCR Instruction Operand Settings
The PMCR instruction operands for the communications sequence No. 618 (#026A)
"Properties Read" are shown below.
・Control word C1 setting (C1: CIO 5010)
Word
Description (data type)
Communications port No. (1-digit hex)
Serial port No. (1-digit hex)
C1
Unit address of Destination Device
(2-digit hex)
・Control word C2 setting (C2: CIO 5011)
Word
Description (data type)
C2
Communications sequence No.
・First send word S setting (S: CIO 5020)
Word
Description (data type)
S
Number of send words (4-digit hex)
Node number
S+1
・First receive word R setting (R: CIO 5500)
Word
Description (data type)
R
Number of receive words (4-digit hex)
R+1
End code (CompoWay/F) (UINT)
R+2
MRES/SRES (FINS-mini) (UINT)
R+3
Model numbers 1 and 2 (WORD)
R+4
Model numbers 3 and 4 (WORD)
R+5
Model numbers 5 and 6 (WORD)
R+6
Model numbers 7 and 8 (WORD)
R+7
Model numbers 9 and 10 (WORD)
R+8
Buffer size (WORD)
Description
Reads the properties of the Destination Device.
Data (description)
#7110 (communications port No. 7,
serial port No. 1 and
#unit number + #10)
Data (description)
&618 (Properties Read)
Data (description)
#0002 (send data: 2 words )
#0001 (destination node No.)
Data (description)
Stores the number of words used,
including the R word
Stores the CompoWay/F end code.
Stores the end code of the command
execured on the Destination Device.
Stores the read-out properties of the
Destination Device.
9.Program
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5 c seriesE5 c-t series

Table of Contents