Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1016

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Serial Communications Instructions
Description
Flags
Area
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
PMCR(260) will execute the communications sequence specified in C2 using
the logical port specified in bits 12 to 15 of C1 and the physical port specified
in bits 8 to 11 of C1 for the unit address specified in bits 0 to 7 of C1.
If a symbol is specified as the operand for a send message, the number of
send words specified in S and beginning from S+1 will be used as the send
area. If a symbol is specified as the operand for a receive message, receive
data is placed in memory staring with R+1 and the number of words received
is automatically written to R if the transmission is successful.
If the transmission fails, the data (R+1 onward) set before PMCR(260) was
executed will be read from the receive buffer and stored in the R+1 onward
again.
CPU Unit
to
R
to
Name
Label
Error Flag
ER
C1
C2
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Specified
0000 to
values only
03E7Hex
(0 to 999)
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Serial Communications Unit
Port
Operation
ON if the Communications Port Enabled Flag is OFF for
the specified logical port when PMCR(260) is executed.
ON if C1 is not within the specified ranges. (Error flag will
not turn ON if the C2 data is outside the specified ranges.
The end code will be stored in the Communications Port
Completion Code (A203 to A210) of the auxiliary area.)
ON if the number of words of S or R exceeds 249 (when
words are specified).
OFF in all other cases.
Section 3-24
S
R
#0000 (binary)
---
External
device
977

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents