EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - 2-2-23 Serial Communications Instructions

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
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...
104
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2-23 Serial Communications Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
PROTOCOL
MACRO
PMCR
@PMCR
260
Output
Required
847
PROTOCOL
MACRO 2
PMCR2
@PMCR2
264
(CJ2 only)
Calls and executes a communications sequence (protocol data) regis-
tered in a Serial Communications Unit.
Output
Required
898
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
854
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
860
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
a
ll
san
d
executes a commun
i
cat
i
ons sequence reg
i
stere
di
na
S
er
i
a
l
Communications Board (CS Series only) or Serial Communications
Unit.
Serial Communications Unit
Port
External
device
PMCR2(264)
C1
C2
S
R
I
C1: Control word 1
C2: Control word 2
S: First send word
R: First receive
word
I: First
communications
information word
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)

Table of Contents

Related product manuals