84
Instruction Functions
Section 2-2
2-2-22 Serial Communications Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
PROTOCOL
MACRO
PMCR
@PMCR
260
Output
Required
TRANSMIT
TXD
@TXD
236
Outputs the specified number of bytes of data from the RS-232C port
built into the CPU Unit.
Output
Required
RECEIVE
RXD
@RXD
235
Reads the specified number of bytes of data from the RS-232C port
built into the CPU Unit.
Output
Required
CHANGE SERIAL
PORT SETUP
STUP
@STUP
237
Changes the communications parameters of a serial port on the CPU
Unit, Serial Communications Unit (CPU Bus Unit), or Serial Communi-
cations Board. STUP(237) thus enables the protocol mode to be
changed during PLC operation.
Output
Required
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
PMCR(260)
C1
C2
S
R
to
to
R
CPU Unit
Serial Communications Unit
External
device
Port
S
Calls and executes a communications sequence registered in a Serial
Communications Board (CS Series only) or Serial Communications
Unit.
S: 1st source
word
C: Control word
N: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
TXD(236)
S
C
N
D: 1st destination
C: Control word
N: Number of
bytes to store
0000 to 0100 hex
(0 to 256 decimal)
RXD(235)
D
C
N
word
C: Control word
(port)
S: First source
word
STUP(237)
C
S
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...