Omron SYSMAC CS Series Instruction & Reference Manual page 73

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Classification
Instruction
Mnemonic
Basic
INTELLIGENT
IORD/
I/O Unit
I/O READ
@IORD
Instructions
INTELLIGENT
IOWR/
I/O WRITE
@IOWR
Serial
PROTOCOL
PMCR/
Communications
MACRO
@PMCR
Instructions
TRANSMIT
TXD/
@TXD
RECEIVE
RXD/
@RXD
TRANSMIT VIA
TXDU/
SERIAL
@TXDU
COMMUNICA-
TIONS UNIT
RECEIVE VIA
RXDU/
SERIAL
@RXDU
COMMUNICA-
TIONS UNIT
DIRECT
DTXDU/
TRANSMIT VIA
@DTXDU
SERIAL COM-
MUNICATIONS
UNIT
DIRECT
DRXDU/
RECEIVE VIA
@DRXDU
SERIAL COM-
MUNICATIONS
UNIT
CHANGE
STUP/
SERIAL PORT
@STUP
SETUP
PROTOCOL
PMCR2/
MACRO 2
@PMCR2
Note 1. Transmission and reception by specifying the serial communications port of the serial communi-
cations board are enabled in the CS1D-CPU@@SA with unit version 4.0 or later.
2. In the CS1D CPU Units (for Duplex-CPU Systems), transmission and reception by specifying the
serial communications port of the serial communications board cannot be used.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Fun
Function
code
222
Reads the contents of memory
area of a Special I/O Unit or CPU
Bus Unit.
223
Outputs the contents of the CPU
Unit's I/O memory area to a Spe-
cial I/O Unit or CPU Bus Unit.
260
Starts a communications
sequence (protocol data) that is
registered in a Serial Communica-
tions Board (CS Series only) or
Serial Communications Unit.
236
Outputs the specified number of
bytes of data from the CPU Unit's
built-in RS-232C port or one of
the Serial Communications
Board's serial ports. (The Serial
Communications Board must be
Ver. 1.2 or later).
235
Reads the specified number of
bytes of data from the CPU Unit's
built-in RS-232C port or one of
the Serial Communications
Board's serial ports. (The Serial
Communications Board must be
Ver. 1.2 or later).
256
Outputs the specified number of
bytes of data from one of the Serial
Communications Unit's serial ports.
(The Serial Communications Unit
must be Ver. 1.2 or later).
255
Reads the specified number of
bytes of data from one of the Serial
Communications Unit's serial ports.
(The Serial Communications Unit
must be Ver. 1.2 or later).
262
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 code and end code (if any)
specified in the allocated DM
Setup Area.
This instruction sends the data to
the Serial Communications Unit
as soon as the instruction is exe-
cuted to achieve high-speed data
transmission.
261
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-
protocol mode with the start code
and end code (if any) specified in
the allocated DM Setup Area.
This instruction reads the data
from the Serial Communications
Unit as soon as the instruction is
executed to achieve high-speed
data reception.
237
Changes the communications
parameters of a serial port on the
CPU Unit, Serial Communications
Board (CS Series only), or Serial
Communications Unit (CPU Bus
Unit).
264
Starts a communications
sequence (protocol data) that is
registered in a Serial Communica-
tions Unit.
2. Instructions (Applicable CPU Units)
CJ1M
CJ1-H/
CJ2H
CJ2M
CS1-H
-CPU1@ -CPU2@
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
---
---
---
OK
OK
---
---
---
OK
OK
OK
OK
OK
OK
OK
---
---
---
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
757
OK
OK
OK
760
OK
OK
OK
766
OK
OK
OK
773
(See
(See
note
note
1.)
2.)
OK
OK
OK
779
(See
(See
note
note
1.)
2.)
Ver.
---
---
789
4.0 or
later
Ver.
---
---
796
4.0 or
later
---
---
---
803
---
---
---
809
OK
OK
OK
817
---
---
---
821
39
2

Advertisement

Table of Contents
loading

Table of Contents