Omron CJ - INSTRUCTIONS Reference Manual page 965

Table of Contents

Advertisement

5 The unit address indicates the Unit, as shown in the following table.
CPU Unit
CPU Bus Unit
Special I/O Unit (except C200H-series Special I/O Units)
Inner Board (CS Series only)
Computer
Unit connected to network (not necessary to specify Unit)
Direct specification of the serial port's unit address
6 When the destination node number is set to FF (broadcast transmission), there will be no response even if bits 12 to
15 are set to 0.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
D
OK
OK
OK
C
* The D bank of the EM Area can be specified only for CJ2 CPU Units. The D bank and higher cannot be specified in the pro-
gram in a CS/CJ-series CPU Unit even if the destination is a CJ2 CPU Unit.
Flags
Name
Error Flag
Related Auxiliary Area Words and Bits
Name
Communications Port Enabled
Flag
Communications Port Error Flag
Communications Port Completion
Codes
Note Refer to the FINS command response codes in the CS/CJ Series Communications Commands Reference Manual
(W342) for details on the completion codes for network communications.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Unit
AR
T
C
DM
EM
*
OK
OK
OK
OK
OK
Label
ER
• ON if the serial port number specified in C+1 is not within the range of 00 to 04.
• ON if the Communications Port Enabled Flag is OFF for the communications port number specified in
C+3.
• ON if SEND(090) is executed in an interrupt task for a CJ2 CPU Unit with high-speed interrupt func-
tion enabled.
• OFF in all other cases.
Address
A202.00 to
These flags are turned ON to indicate that network instructions, including PMCR(260) may be executed
A202.07
for the corresponding ports (00 to 07).
A flag is turned OFF when a network instruction is being executed for the corresponding port and turned
ON again when the instruction is completed.
A219.00 to
These flags are turned ON to indicate that an error has occurred at the corresponding ports (00 to 07)
A219.07
during execution of a network instruction.
The flag status is retained until the next network instruction is executed. The flag will be turned OFF
when the next instruction is executed even if an error occurred previously.
A203 to
These words contain the completion codes for the corresponding ports (00 to 07) following execution of
A210
a network instruction.
The corresponding word will contain 0000 while the network instruction is being executed and the
completion code will be written when the instruction is completed. These words are cleared when an
instruction is executed.
00 hex
10 hex + unit number
20 hex + unit number
E1 hex
01 hex
FE hex
Serial Communications Unit ports
Port 1: 80 hex + 4
Port 2: 81 hex + 4
Serial Communications Board ports
Port 1: E4 hex (228 decimal)
Port 2: E5 hex (229 decimal)
CPU Unit ports
Peripheral port: FD hex (253 decimal)
RS-232C port: FC hex (252 decimal)
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
Operation
3. Instructions
Unit address setting
unit number
unit number
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
927

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF