![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681053.webp)
1014
Serial Communications Instructions
Section 3-24
3-24-6 RECEIVE VIA SERIAL COMMUNICATIONS UNIT: RXDU(255)
Purpose
Reads the specified number of bytes of data from one of the Serial Communi-
cations Unit’s serial ports. (The Serial Communications Unit must be Ver. 1.2
or later).
Ladder Symbol
Variations
Applicable Program Areas
Operands
The contents of the control words, C and C+1, are as shown below.
Note
The serial port’s unit address can be specified directly by setting the serial
port number to 0 and setting the destination unit address to the serial port’s
unit address. (Set the destination unit address to 80 hex + 4
×
unit number for
port 1 or 81 hex + 4
×
unit number for port 2.)
RXDU(255)
D
C
N
D
: First destination word
C
:
First control word
N
: Number of bytes
0000 to 0100 hex (0 to 256)
Variations
Executed Each Cycle for ON Condition
RXDU(255)
Executed Once for Upward Differentiation
@RXDU(255)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program
areas
Step program
areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
15
8
0
11
3
7
4
12
C
15
8
0
11
3
7
4
12
C+1
Destination unit address (See note.)
Serial Communications Unit's unit
address (unit 10 hex)
Serial port number
0: Specify directly. (See note.)
1: Port 1
2: Port 2
Port number specifier
(Internal logical port)
Specify 0 to 7 or F.
(F: Automatic allocation)
Always 00
Byte order
0: Most significant bytes first
1: Least significant bytes first
RS and ER signal control
0: No RS and ER signal control
1: RS signal control
2: ER signal control
3: RS and ER signal control
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...