EasyManua.ls Logo

Omron DRT1 Series - Page 269

Omron DRT1 Series
383 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...
253
C200H I/O Link Units Section 6-1
Control Words (C: First Control Word)
Using the IOWR
Instruction to Read Data
(C200HX/HE PLCs)
n the example, the IOWR instruction is used to read words IR 010 to IR 029
(20 words) on the Slave Unit, and store them in the Master (C200HX/HG/HE
PLCs) from DM 2000 onwards. For more detailed information on explicit mes-
sages, refer to the DeviceNet Master Unit Operation Manual. For information
on the IOWR instruction, refer to the SYSMAC C200HX/HG/HE PLCs Opera-
tion Manual.
Example Conditions
Master node address: 63
Master’s Unit address: 0
Slave node address: 2
Example: Using the IOWR Instruction
C: Control Words (C: First Control Word)
Source Words (S: First Source Word)
D+2 00 02 No. of received bytes (data length after D+3):
2 bytes
D+3 02 9E Slave node address: 2
BYTE DATA WRITE response service code:
9E Hex
Word Contents (Hex) Meaning
C 00 32 No. of bytes of command data: 50 bytes of
command data, S
C+1 00 08 No. of bytes of response data: 8 bytes of
response data, D
C+2 00 01 Destination node network address: 1
C+3 3F FE Master’s node address: 63
Master’s Unit address: FE Hex
C+4 00 00 Response returned, communications port
No.: 0, No. of retries: 0
C+5 00 64 Response monitoring time: 10 s
Word Contents (Hex) Meaning
Word Contents (Hex) Meaning
C 3F FE Master’s node address: 63
Master’s Unit address: FE Hex
Word Contents (Hex) Meaning
S 82 07 Response storage words: DM2000
82 Hex: DM Area, 0700 Hex: 2000 words
(For more detail, refer to the PLC Operation
Manual.)
S+1 D0 00
S+2 00 64 Response monitoring time: 10 s
S+3 00 0B No. of bytes of command data: 11 bytes (No.
of bytes from S+4 onwards.)
S+4 28 01 EXPLICIT MESSAGE SEND command
code: 28 01 Hex
S+5 02 1C Slave node address: 2
BYTE DATA READ response service code:
1C Hex
S+6 00 2F Class ID: 002F Hex

Table of Contents

Related product manuals