Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 140

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
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
RECEIVE VIA
RXDU(255)
SERIAL COMMU-
NICATIONS UNIT
RXDU
@RXDU
255
D: 1st destination
word
C: 1st control
word
N: Number of
bytes to store
0000 to 0256 BCD
DIRECT TRANS-
MIT VIA SERIAL
DTXDU(262)
COMMUNICA-
TIONS UNIT
DTXDU
@DTXDU
262
This instruction is
S: 1st source word
supported only by
C: 1st control
CJ2H CPU Units.
word
N: Number of
bytes to store
0000 to 0256 BCD
DIRECT
DRXDU(261)
RECEIVE VIA
SERIAL COMMU-
NICATIONS UNIT
DRXDU
@DRXDU
261
This instruction is
D: 1st destination
supported only by
word
CJ2H CPU Units.
C: 1st control
word
N: Number of
bytes to store
0000 to 0256 BCD
CHANGE SERIAL
STUP(237)
PORT SETUP
STUP
@STUP
237
C: Control word
(port)
S: First source
word
102
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
Reads the specified number of bytes of data from the serial port of a
Serial Communications Unit (version 1.2 or later). The data is read in
no-protocol mode with the start code and end code (if any) specified in
D
the allocated DM Setup Area.
C
N
Outputs the specified number of bytes of data from the serial port of a
CJ1W-SCU22/SCU32/SCU42 Serial Communications Unit. The data is
output in no-protocol mode from the specified first word with the start
S
code and end code (if any) specified in the allocated DM Setup Area.
This instruction sends the data to the Serial Communications Unit as
C
soon as the instruction is executed to achieve high-speed data trans-
mission.
N
Reads the specified number of bytes of data from the serial port of a
CJ1W-SCU22/SCU32/SCU42 Serial Communications Unit to CPU
Unit memory starting at the specified first word. The data is read in no-
D
protocol mode with the start code and end code (if any) specified in the
allocated DM Setup Area.
C
This instruction reads the data from the Serial Communications Unit as
soon as the instruction is executed to achieve high-speed data recep-
N
tion.
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
C
changed during PLC operation.
S
Function
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
836
Required
Output
842
Required
Output
849
Required
Output
854
Required
Output
862
Required

Advertisement

Table of Contents
loading

Table of Contents