Omron R88A-MCW151-DRT-E Operation Manual page 97

Mcw151 series motion control option board
Table of Contents

Advertisement

DeviceNet (MCW151-DRT-E only)
Using the CMD(490)
instruction to write data
82
Word
Contents (Hex)
D+6
0A 33
D+7
FF FF
Control Words (C: First Control Word)
Word
Contents (Hex)
C
00 0C
C+1
00 10
C+2
00 01
C+3
00 FE
C+4
00 00
C+5
00 64
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:
Slave network address: 1
Slave node address:
Example: Using CMND(490)
CMND
S
D
C
Command Words (S: First Command Word)
Word
Contents (Hex)
S
28 01
S+1
02 35
S+2
00 8A
S+3
00 01
S+4
00 0A
S+5
00 03
S+6
00 00
S+7
92 78
S+8
00 27
Data read from the MC Unit's VR(202).
One-word format: 2611
Data read from the MC Unit's VR(203).
One-word format: 65535
No. of bytes of command data: 12 bytes of
command data, S
No. of bytes of response data: 16 bytes of
response data, D
Destination node network address: 1
Master's node address: 0
Master's Unit address: FE Hex
Response returned, communication port
No.: 0, No. of retries: 0
Response monitoring time: 10 s
0
2
EXPLICIT MESSAGE SEND command
code: 28 01 Hex
Slave node address: 2
TABLE DATA WRITE (THREE-WORD
FORMAT) command service code: 35
Hex
Class ID: 008A Hex
Instance ID: 0001 Hex
Write start address Table(10): 000A Hex
Number of Table elements to write: 0003
Hex
Data written to the MC Unit's Table(10).
Three word format: 279278
Section 4-2
Meaning
Meaning
Meaning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R88a-mcw151-e

Table of Contents