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

Table of Contents

Advertisement

3. Instructions
5 Unit address
• CPU Unit:
• CPU Bus Unit:
• Special I/O Unit
(except C200H-series Special I/O Units): 20 hex + unit number
• Inner Board (CS Series only):
• Computer:
• Unit connected to network
(not necessary to specify Unit):
Serial Port's unit address
• 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)
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 source 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.
904
00 hex
10 hex + unit number
E1 hex
01 hex
FE hex
unit number
unit number
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 RECV(098) 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
program execution begins.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents