EasyManua.ls Logo

Omron R88A-MCW151-DRT-E - Page 97

Omron R88A-MCW151-DRT-E
276 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
82
DeviceNet (MCW151-DRT-E only) Section 4-2
Control Words (C: First Control Word)
Using the CMD(490)
instruction to write data
In the following example, the CMD(490) instruction is used to write data (three
word format) to Table(10) to Table(12) on the Slave Unit, from the Master
(CS1 PCs). For more information on explicit messages, refer to the DeviceNet
Master Unit Operation Manual or for information on the CMD(490) instruction,
refer to the PCs Operation Manual.
Example Conditions
Master node address: 0
Slave network address: 1
Slave node address: 2
Example: Using CMND(490)
Command Words (S: First Command Word)
D+6 0A 33 Data read from the MC Units VR(202).
One-word format: 2611
D+7 FF FF Data read from the MC Units VR(203).
One-word format: 65535
Word Contents (Hex) Meaning
C 00 0C No. of bytes of command data: 12 bytes of
command data, S
C+1 00 10 No. of bytes of response data: 16 bytes of
response data, D
C+2 00 01 Destination node network address: 1
C+3 00 FE Masters node address: 0
Masters Unit address: FE Hex
C+4 00 00 Response returned, communication port
No.: 0, No. of retries: 0
C+5 00 64 Response monitoring time: 10 s
Word Contents (Hex) Meaning
Word Contents (Hex) Meaning
S 28 01 EXPLICIT MESSAGE SEND command
code: 28 01 Hex
S+1 02 35 Slave node address: 2
TABLE DATA WRITE (THREE-WORD
FORMAT) command service code: 35
Hex
S+2 00 8A Class ID: 008A Hex
S+3 00 01 Instance ID: 0001 Hex
S+4 00 0A Write start address Table(10): 000A Hex
S+5 00 03 Number of Table elements to write: 0003
Hex
S+6 00 00 Data written to the MC Units Table(10).
Three word format: 279278
S+7 92 78
S+8 00 27
CMND
S
D
C

Table of Contents

Related product manuals