EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
92
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
974
TRANSMIT
TXD
@TXD
236
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).
Output
Required
983
RECEIVE
RXD
@RXD
235
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).
Output
Required
993
TRANSMIT VIA
SERIAL COMMU-
NICATIONS UNIT
TXDU
@TXDU
256
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
the allocated DM Setup Area.
Output
Required
1005
PMCR(260)
C1
C2
S
R
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
R
S
to
to
CPU Unit
C
alls and executes a communications sequence registered in a
S
erial
Communications Board (CS Series only) or Serial Communications
Unit.
Serial Communications Unit
Port
External
device
TXD(236)
S
C
N
S: 1st source
word
C: Control word
N: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
RXD(235)
D
C
N
D: 1st destination
word
C: Control word
N: Number of
bytes to store
0000 to 0100 hex
(0 to 256 decimal)
TXDU(256)
S
C
N
S: 1st source word
C: 1st control
word
N: Number of
bytes
0000 to 0256 BCD

Table of Contents

Related product manuals