Omron C200HG Computer Hardware User Manual


 
329
Address Instruction Operands Address Instruction Operands
00000 LD 00000
00001 AND 25204
00002 AND NOT 12802
00003 LD 12801
00004 KEEP(11) 12800
00005 LD 12800
00006 @MOV(21)
# 000A
DM 0000
00007 @MOV(21)
# 0000
DM 0001
00008 @MOV(21)
# 0003
DM 00002
00009 @XFER(70)
# 0010
000
DM 0002
00010 @SEND(90)
DM 0010
DM 0020
DM 0000
00011 LD 12800
00012 AND 25203
00013 OUT 00200
00014 LD 12800
00015 AND 25204
00016 DIFU(13) 12801
00017 LD 00001
00018 AND 25204
00019 AND NOT 12800
00020 LD 12803
00021 KEEP(11) 12802
00022 LD 12802
00023 AND 25204
00024 AND NOT 25203
00025 XFER(70)
# 0016
000
DM 0030
00026 LD 12802
00027 @MOV(21)
# 0010
DM 0003
00028 @MOV(21)
# 0000
DM 0004
00029 @MOV(21)
# 007E
DM 0005
00030 @RECV(98)
HR 10
LR 10
DM 0003
00031 LD 12802
00032 AND 25203
00033 OUT 00201
00034 LD 12802
00035 AND 25204
00036 DIFU(13) 12803
5-27 Serial Communications Instructions
5-27-1 RECEIVE RXD(––)
D: First destination word
IR, SR, AR, DM, HR, TC, LR
C: Control word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
N: Number of bytes
IR, SR, AR, DM, HR, TC, LR, #
RXD(––)
D
C
N
@RXD(––)
D
C
N
Limitations D and D+(N÷2)1 must be in the same data area.
N must be BCD from #0000 to #0256.
Description When the execution condition is OFF, RXD(––) is not executed. When the
execution condition is ON, RXD(––) reads N bytes of data received at the periph-
eral port, and then writes that data in words D to D+(N÷2)1. Up to 256 bytes of
data can be read at one time.
If fewer than N bytes are received, the amount received will be read.
Serial Communications Instructions Section 5-27