Receiving Explicit Messages - Omron CS1W-DRM21 Operation Manual

Sysmac cs/cj series
Hide thumbs Also See for CS1W-DRM21:
Table of Contents

Advertisement

Receiving Explicit Messages

A200
11
First Scan Flag
Execution
condition
0000
A202
1511
00
00
00
Port
Message
Commu-
Enabled
nications
Flag
Permitted
Flag
0000
A202
A219
01
00
00
Port
Port
Execution
Enabled
Error Flag
Flag
6-5

Receiving Explicit Messages

168
Program Example
(071)
BSET
#0000
D00000
D02999
(021)
MOV
#0009
D00000
(021)
MOV
#000A
D00001
(021)
MOV
#0001
D00002
(021)
MOV
#05FE
D00003
(021)
MOV
#0000
D00004
(021)
MOV
#0064
D00005
(021)
MOV
#2801
D01000
(021)
MOV
#0B0E
D01001
(021)
MOV
#0001
D01002
(021)
MOV
#0001
D01003
(021)
MOV
#0100
D01004
(021)
MOV
#0001
0000
(490)
CMND D01000
D02000
D00000
(025)
ASL
0000
(021)
MOV
A203
D00006
(026)
ASR
0000
(001)
END
This CS/CJ-series DeviceNet Unit contains a PLC Object. The Unit will
receive messages addressed to the PLC Object, process service requests
addressed to the CPU Unit, and return responses.
The following services are provided by the PLC Object.
• CPU Unit status read/write
• CPU Unit I/O memory read/write
The explicit messages can be received from the following sources:
• Masters made by other manufacturers
• PLCs with C200H-series DeviceNet Master Units (C200HW-DRM21-V1)
Sets 0000 in D00000 to D02999.
Place data into control data words to specify sending
9 bytes to node 05 (unit FE) on network 01 and to
receive 10 bytes in return.
Place the command data for EXPLICIT MESSAGE
SEND into D01000 to D01004.
Places 0001 into CIO 0000
Sends 9 bytes of command data to node 05 (unit FE) on
network 01 and receives 10 bytes of response data and
stores it in D02000.
Shifts the contents of CIO 0000 one bit to the left.
Stores the completion code in A203 to D00006.
Shifts the contents of CIO 0000 one bit to the right and
retry at next cycle (CIO 000000 ON).
Section 6-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-drm21Cs1w-drm21-v1

Table of Contents