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

Table of Contents

Advertisement

2-2-23 Serial Communications Instructions
Instruction
Symbol/Operand
Mnemonic
Code
PROTOCOL
MACRO
PMCR(260)
PMCR
C1
@PMCR
260
C2
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
PROTOCOL
PMCR2(264)
MACRO 2
C1
PMCR2
@PMCR2
C2
264
S
(CJ2 only)
R
I
C1: Control word 1
C2: Control word 2
S: First send word
R: First receive
word
I: First
communications
information word
TRANSMIT
TXD(236)
TXD
@TXD
236
S: 1st source
word
C: Control word
N: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
RECEIVE
RXD(235)
RXD
@RXD
235
D: 1st destination
word
C: Control word
N: Number of
bytes to store
0000 to 0100 hex
(0 to 256 decimal)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Calls and executes a communications sequence registered in a Serial
Communications Board (CS Series only) or Serial Communications
Unit.
CPU Unit
S
S
R
to
R
to
Calls and executes a communications sequence (protocol data) regis-
tered in a Serial Communications Unit.
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).
S
C
N
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).
D
C
N
2. Summary of Instructions
Function
Serial Communications Unit
Port
External
device
Location
Page
Execution
condition
Output
814
Required
2
Output
865
Required
Output
821
Required
Output
827
Required
101

Advertisement

Table of Contents
loading

Table of Contents