2 Instructions
2-374 CP1E CPU Unit Instructions Reference Manual(W483)
RXD
Applicable Program Areas
Operands
C: Control Word
Operand Specifications
Flags

Instruction Mnemonic Variations Function

code Function

RECEIVE RXD @RXD 235

Reads the specified number of bytes of data from

the CPU Unit’s built-in RS-232C port or the Serial

Option Board port.

Symbol
RXD
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
D First destination word UINT Variable
C Control word UINT 1
N Number of bytes to store 0000 to 0100 hex (0 to 256 decimal) UINT 1
Area Word addresses Indirect DM addresses Constants CF
Pulse
bits TR bits
CIO WR HR AR T C DM @DM *DM
DOK OK OK OK OK OK OK OK OK --- --- --- ---
C, N OK
Name Label Operation
Error Flag P_ER ON if no-protocol mode is not set in the PLC Setup.
ON if the value of C is not within range.
ON if the value for N is not between 0000 and 0100 hex.
OFF in all other cases.
RXD(235)
D
C
N
D: First destination word
C: Control word
N: Number of bytes to store
0000 to 0100 hex (0 to 256 decimal)
C
812 3415 0711
Byte order
0 Hex: Most significant byte to least significant byte
1 Hex: Lest significant byte to most significant byte
CS and DR signal monitoring
0: No CS and DR signal monitoring
1: CS signal monitoring
2: DR signal monitoring
3: CS and DR signal monitoring.
Always 0
Serial port specifier
1: CPU Unit’s RS-232C port
2: Serial Option Board port