Omron SYSMAC CPM2B-S001M-DRT Operation Manual page 121

Table of Contents

Advertisement

Explicit Message Communications
CMND(194) Operand Details
[CMND
CS1, CVM1, and CV-series PCs: Writing Data with CMND(194)
Downloaded from
Elcodis.com
electronic components distributor
S
D C]
• Command Words
Word
Contents
(Hex)
S
28 01
S+1
02 1C
S+2
00 2F
S+3
00 01
S+4
0A 00
S+5
28 00
• Response Words
(The results are stored as follows.)
Word
Contents
(Hex)
D
28 01
D+1
00 00
D+2
00 2A
D+3
02 9C
D+4
HH LL
to
D+23
HH LL
• Control Words
Word
Contents
(Hex)
C
00 0B
C+1
00 30
C+2
00 01
C+3
3F FE
C+4
00 00
C+5
00 64
This example shows the instruction operands and results when 20 words of
data are written through a Master mounted in a CS1, CVM1, or CV-series PC
to words IR 010 to IR 029 in a Slave.
For details on explicit messages, refer to the CS1 Series DeviceNet Unit
Operation Manual (W380) for CS1-series PCs, and refer to the DeviceNet
(CompoBus/D) Operation Manual (W267) for CVM1 and CV-series PCs. For
details on CMND(194), refer to the CS1 Series Programmable Controllers
Operation Manual (W339) for CS1-series PCs, and refer to the CVM1/CV
Series CV500/CV100/CV2000/CVM1 Programmable Controllers Operation
Manual: Ladder Diagrams (W202) for CVM1 and CV-series PCs.
EXPLICIT MESSAGE SEND command code = 2801 (Hex)
Slave node number = 02 (Hex)
READ BYTE DATA command service code = 1C (Hex)
Class ID = 002F (Hex)
Instance ID = 0001 (Hex) specifies data area
Starting read address = 000A (Hex) specifies IR 010
Address L = 0A (Hex); Address H = 00 (Hex)
Number of bytes = 28 (Hex) specifies 40 bytes
(The rightmost byte of S+5 is not used.)
EXPLICIT MESSAGE SEND command code = 2801 (Hex)
Normal completion code = 0000 (Hex)
Number of bytes received = 2A (Hex) indicates 42 bytes
(This is the number of bytes from D+3 to the end.)
Slave's node number = 02 (Hex)
READ BYTE DATA response service code = 9C (Hex)
These words contain the data read from slave words IR 010 to
IR 029. When the READ BYTE DATA command is executed
:
from an OMRON Master, the bytes are stored in the same order
(HH LL) in which they were stored in the Slave.
Number of bytes of command data beginning with word S =
0B (Hex) specifies 11 bytes
Number of bytes of response data beginning with word D =
30 (Hex) specifies 48 bytes
Destination network address = 01 (Hex)
Master's node number = 3F (Hex) specifies 63
Master's unit address = FE (Hex) specifies the local Unit
Response required
Transmission port number = 00 (Hex) specifies 0
Number of retries = 00 (Hex) specifies 0
Response monitoring time = 64 (Hex) specifies 10.0 seconds
Section 7-3
Function
Function
Function
109

Advertisement

Table of Contents
loading

Table of Contents