222
Examples
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.
0
0
0
5
0
0
0
0
0
0
0
A
IR 001
IR 002
IR 003
IR 004
IR 005
LR 20
LR 21
LR 22
LR 23
LR 24
DM 0010
DM 0011
DM 0012
15
0
RECV(98)
001
LR 20
DM 0010
00000
Node 10
Address
Instruction
Operands
00000
LD
00000
00001
RECV(98)
001
LR
20
DM
0010
Flags
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.
5-27-3
About SYSMAC NET Link/SYSMAC LINK Operations
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
Functions
SEND(90)/RECV(98)
Enable Flag
(SR 25204)
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.
SEND(90)/RECV(98)
Error Flag
(SR 25203)
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
Network Instructions
Section 5-27
Содержание SYSMAC C1000H
Страница 1: ...Cat No W140 E1 04 Programmable Controllers SYSMAC C1000H C2000H...
Страница 2: ...C1000H C2000H Programmable Controllers Operation Manual Revised May 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 395: ...Cat No W140 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 396: ...Cat No W140 E1 04 SYSMAC C1000H C2000H Programmable Controllers OPERATION MANUAL...