Serial Communications Instructions; Receive - Rxd - Omron C200HX Operation Manual

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Serial Communications Instructions

Address
00000
LD
00001
AND
00002
AND NOT
00003
LD
00004
KEEP(11)
00005
LD
00006
@MOV(21)
00007
@MOV(21)
00008
@MOV(21)
00009
@XFER(70)
00010
@SEND(90)
00011
LD
00012
AND
00013
OUT
00014
LD
00015
AND
00016
DIFU(13)
00017
LD
00018
AND
5-27 Serial Communications Instructions
5-27-1 RECEIVE – RXD(––)
Limitations
Description
Instruction
Operands
00000
25204
12802
12801
12800
12800
#
000A
DM
0000
#
0000
DM
0001
#
0003
DM
00002
#
0010
000
DM
0002
DM
0010
DM
0020
DM
0000
12800
25203
00200
12800
25204
12801
00001
25204
Ladder Symbols
RXD(––)
D
C
N
D and D+(N÷2)–1 must be in the same data area.
N must be BCD from #0000 to #0256.
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.
Address
Instruction
00019
AND NOT
00020
LD
00021
KEEP(11)
00022
LD
00023
AND
00024
AND NOT
00025
XFER(70)
00026
LD
00027
@MOV(21)
00028
@MOV(21)
00029
@MOV(21)
00030
@RECV(98)
00031
LD
00032
AND
00033
OUT
00034
LD
00035
AND
00036
DIFU(13)
@RXD(––)
D
C
N
Section 5-27
Operands
12800
12803
12802
12802
25204
25203
#
0016
000
DM
0030
12802
#
0010
DM
0003
#
0000
DM
0004
#
007E
DM
0005
HR
10
LR
10
DM
0003
12802
25203
00201
12802
25204
12803
Operand Data Areas
D: First destination word
IR, SR, AR, DM, HR, TC, LR
C: Control word
IR, SR, AR, DM, HR, TC, LR, #
N: Number of bytes
IR, SR, AR, DM, HR, TC, LR, #
333

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents