Using Send(090), Recv(098), And Cmnd(490) - Omron CS1W-DRM21 Operation Manual

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

Advertisement

Using FINS Message Communications
6-3-5

Using SEND(090), RECV(098), and CMND(490)

Communications Flags
Type
Name
CPU Unit
Network Enabled Flag
Network Error Flag
Communications Flag Operation
Note Explicit messages can be sent to OMRON slaves and DeviceNet devices
made by other manufacturers by setting the FINS command code to 28 01.
When this is done, set the response monitoring time in C+5 to at least the
value set for the message monitoring timer (default: 2 s). If it is set to less than
the value for the message monitoring timer (default:2 s), communications may
be busy even if the next command is executed after the first one times out.
SEND(090), RECV(098), and CMND(490) instructions normally use an AND
of the Network Enabled Flag in the CPU Unit (A20200 to A2020007 corre-
sponding to ports 0 to 7) and the Online Flag (word n+11, bit 00) (or the Mes-
sage Communications Permitted Flag (word n+24, bit 12)) for the DeviceNet
Unit.
Note The Online Flag and the Message Communication Permitted Flag
perform the same operation.
Execution
condition
or
Execution
condition
Word
A202
A219
• The Network Enabled Flag turns OFF when instructions are being sent or
received (from when the instruction is issued until the response is
received) and turns ON when the execution has been completed, whether
normally or with an error.
• The Network Error Flag maintains its status until the next send or receive
is executed.
• The Network Error Flag turns OFF when the next communications
instruction is executed, regardless of whether the previous execution
ended with an error.
• The relationship between the Message Communications Permitted Flag
and the NS indicator and between the Message Communications Permit-
Online Flag
Network
Enabled Flag
SEND(090), RECV(098), or CMND(490)
word n+11, bit 00
Message
Network
Enabled Flag
Communications
Permitted Flag
SEND(090), RECV(098), or CMND(490)
word n+24, bit 12
Address
Bit
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Section 6-3
Content
0: Execution not possible (execut-
ing)
1: Execution possible (not execut-
ing)
0: Normal completion
1: Error
155

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-drm21Cs1w-drm21-v1

Table of Contents