Instruction Functions
2-2-22 Serial Communications Instructions
Instruction
Symbol/Operand
Mnemonic
Code
PROTOCOL
MACRO
PMCR(260)
PMCR
@PMCR
260
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
TRANSMIT
TXD(236)
TXD
@TXD
236
S: 1st source
word
C: Control word
N: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
RECEIVE
RXD(235)
RXD
@RXD
235
D: 1st destination
word
C: Control word
N: Number of
bytes to store
0000 to 0100 hex
(0 to 256 decimal)
TRANSMIT VIA
TXDU(256)
SERIAL COMMU-
NICATIONS UNIT
TXDU
@TXDU
256
S: 1st source word
C: 1st control
word
N: Number of
bytes
0000 to 0256 BCD
92
Calls and executes a communications sequence registered in a Serial
Communications Board (CS Series only) or Serial Communications
Unit.
C1
CPU Unit
C2
S
S
R
to
R
to
Outputs the specified number of bytes of data from the RS-232C port
built into the CPU Unit or the serial port of a Serial Communications
Board (version 1.2 or later).
S
C
N
Reads the specified number of bytes of data from the RS-232C port
built into the CPU Unit or the serial port of a Serial Communications
Board (version 1.2 or later).
D
C
N
Outputs the specified number of bytes of data from the serial port of a
Serial Communications Unit (version 1.2 or later). The data is output in
no-protocol mode with the start code and end code (if any) specified in
S
the allocated DM Setup Area.
C
N
Function
Serial Communications Unit
Port
External
device
Section 2-2
Location
Page
Execution
condition
Output
975
Required
Output
984
Required
Output
994
Required
Output
1006
Required
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?
Questions and answers