A-1-23 Serial Communications Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Code
INTELLI-
IOWR
223
GENT I/O
@IOWR
WRITE
A-1-23
Serial Communications Instructions
Instruction
Mnemonic
Code
PROTOCOL
PMCR
260
MACRO
@PMCR
PROTOCOL-
PMCR2
264
MACRO 2
@PMCR2
TRANSMIT
TXD
236
@TXD
CJ2 CPU Unit Software User's Manual
Symbol/Operand
Outputs the contents of the CPU Unit's I/O memory area
IOWR(223)
to the Special I/O Unit or the CPU Bus Unit (see note).
C
S
D
D+1
D
C: Control data
S: Transfer source
and number of
words
D: Transfer
destination and
number of words
Symbol/Operand
Calls and executes a communications sequence registered
PMCR(260)
in a Serial Communications Board (CS Series only) or
Serial Communications Unit.
C1
C2
CPU Unit
S
R
S
to
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
R
to
Up to 64 PMCR2 instructions can be used simultaneously. They
PMCR2(264)
are otherwise the same as PMCR.
C1
C2
S
R
I
C1: Control word 1
C2: Control word 2
S: 1st send word
R: 1st receive word
I: 1st
communications
information word
Outputs the specified number of bytes of data without conversion
TXD(236)
from the RS-232C port built into the CPU Unit (no-protocol mode)
or the serial port of a Serial Communications Board or Unit with
S
unit version 1.2 or later (no-protocol mode) according to the start
C
code and end code specified for no-protocol mode in the PLC
Setup.
N
S: 1st source word
C: Control word
N: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
Function
Unit number of Special I/O Unit
Written
Desig-
nated
number
of words
written.
Function
Serial Communications Unit
Port
Communications
sequence
number
External
device
Appendices
Execution
Location
condition
Output
Required
Execution
Location
condition
Output
Required
Output
Required
Output
Required
A-61

Advertisement

Table of Contents
loading

Table of Contents