About Sysmac Net Link/Sysmac Link Operations - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Network Instructions
Examples
00000
15
DM 0010
0
0
0
DM 0011
0
0
0
DM 0012
0
0
0
Flags
5-27-3

About SYSMAC NET Link/SYSMAC LINK Operations

222
This example is for a SYSMAC NET Link System. When 00000 is ON, the
following program transfers the content of IR 001 through IR 005 to LR 20
through LR 24 on node 10.
Node 10
0
5
IR 001
0
IR 002
A
IR 003
IR 004
IR 005
ER:
The specified node number is greater than 126 in a SYSMAC NET
Link System or greater than 62 in a SYSMAC LINK System.
The received data overflows the data area boundaries.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
There is no SYSMAC NET Link/SYSMAC LINK Unit.
SEND(90) and RECV(98) are based on command/response processing. That
is, the transmission is not complete until the sending node receives and ac-
knowledges a response from the destination node. Note that the
SEND(90)/RECV(98) Enable Flag is not turned ON until the first END(01)
after the transmission is completed. Refer to the SYSMAC NET Link System
Manual or SYSMAC LINK System Manual for details about command/re-
sponse operations.
If multiple SEND(90)/RECV(98) operations are used, the following flags must
be used to ensure that any previous operation has completed before attempt-
ing further send/receive SEND(90)/RECV(98) operations
SR Flag
SEND(90)/RECV(98)
Enable Flag
(SR 25204)
SEND(90)/RECV(98)
Error Flag
(SR 25203)
Address Instruction
RECV(98)
00000
001
00001
LR 20
DM 0010
LR 20
LR 21
LR 22
LR 23
LR 24
OFF during SEND(90)/RECV(98) execution (including
command response processing). Do not start a
SEND(90)/RECV(98) operation unless this flag is ON.
OFF following normal completion of SEND/RECV (i.e.,
after reception of response signal)
ON after an unsuccessful SEND(90)/RECV(98) attempt.
Error status is maintained until the next
SEND(90)/RECV(98) operation.
Error types:
Time-out error (command/response time greater than 1
second)
Transmission data errors
Section 5-27
Operands
LD
RECV(98)
LR
DM
Functions
00000
001
20
0010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents