Omron C200HE Computer Hardware User Manual


 
323
Examples This example is for a SYSMAC NET Link System. When 00000 is ON, the follow-
ing program transfers the content of IR 001 through IR 005 to LR 20 through LR
24 on node 10.
0005
0000
000A
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
SEND(90)
001
LR 20
DM 0010
00000
Node 10
Address Instruction Operands
00000 LD 00000
00001 SEND(90)
001
LR 20
DM 0010
Flags ER: The specified node number is greater than 126 in a SYSMAC NET Link
System, greater than 62 in a SYSMAC LINK System, or greater than
127 in an Ethernet or Controller Link System.
The sent data overruns 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/PC Card/Controller
Link Unit.
5-26-2 NETWORK RECEIVE RECV(98)
S: Source beginning word
IR, SR, AR, DM, HR, TC, LR
D: Destination beginning word
IR, SR, AR, DM, HR, TC, LR
Operand Data Areas
C: First control data word
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
RECV(98)
S
D
C
@RECV(98)
S
D
C
Limitations C through C+2 must be within the same data area and must be within the values
specified below. To be able to use RECV(98), the system must have a SYSMAC
NET Link, SYSMAC LINK Unit, or PC Card Unit mounted.
When the execution condition is OFF, RECV(98) is not executed. When the
execution condition is ON, RECV(98) transfers data beginning at S from a node
on the SYSMAC NET Link, SYSMAC LINK, Ethernet System to words beginning
at D. The control words, beginning with C, provide the number of words to be
received, the source node, and other transfer parameters.
The status of bit 15 of C+1 determines whether the instruction is for a SYSMAC
NET Link System or a SYSMAC LINK/Ethernet System.
Description
Network Instructions Section 5-26