Serial Communications Instructions - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

2. Summary of Instructions

2-2-23 Serial Communications Instructions

Instruction
Symbol/Operand
Mnemonic
Code
PROTOCOL
MACRO
PMCR(260)
PMCR
@PMCR
260
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
PROTOCOL
PMCR2(264)
MACRO 2
PMCR2
@PMCR2
264
(CJ2 only)
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)
102
Calls and executes a communications sequence registered in a Serial
Communications Board (CS Series only) or Serial Communications
Unit.
C1
CPU Unit
C2
S
S
R
to
R
to
Calls and executes a communications sequence (protocol data) regis-
tered in a Serial Communications Unit.
C1
C2
S
R
I
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
Function
Serial Communications Unit
Port
External
device
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
828
Required
Output
879
Required
Output
835
Required
Output
841
Required

Advertisement

Table of Contents
loading

Table of Contents