Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 853

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Operand Specifications
Word addresses
Area
CIO
WR
HR
C1, C2
*1
S
OK
OK
OK
R
*1 H512 to H1535 cannot be used.
*2 In the EM Area, bank D and higher cannot be used.
Flags
Name
Error Flag
Related Auxiliary Area Words and Bits
Name
Communications Port Enabled Flag
Communications Port Error Flag
Communications Port Completion Codes
Communications Responses
Code
1106 (hex)
2201 (hex)
2202 (hex)
2401 (hex)
Note Refer to the CS/CJ-series Communications Commands Reference Manual (W342) for other response codes.
Inner Board Area (CS Series Only)
Name
Port 1 Protocol Macro Execution Flag
Port 2 Protocol Macro Execution Flag
816
AR
T
C
DM
EM
*2
OK
OK
OK
OK
OK
Label
ER
• 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.
• ON if the number of words of S or R exceeds 249 (when words are specified).
• ON if PMCR(260) 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 A202.07
A219.00 to A219.07
A203 to A210
No corresponding program number
• Specified Send/Receive Sequence No. that has not been registered.
• Modify the Send/Receive Sequence No. or add the number using the CX-Programmer.
Not operable due to protocol execution
Since one protocol macro has already been executed, no further execution is accepted.
Add NC condition to program for the Protocol Macro Execution Flag.
Not operable due to stoppage
Since the protocol is being switched, no further execution is accepted.
Add NC condition to program for the Serial Setting Change Flag.
No registration table
• An error has occurred in the protocol macro data or data is being transmitted.
• Transmit the protocol macro data using the CX-Programmer.
Address
CIO 1909.15
CIO 1919.15
Indirect DM/EM
Registers
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
Operation
• ON when network communications are enabled (including PMCR(260).
• Bits 00 to 07 correspond to logical ports 0 to 7, respectively.
• A Communications Port Enabled Flag will turn OFF when network com-
munications are started and will turn ON when they are completed
(regardless of whether communications end normally or in error.
• ON when an error occurs in network communications.
• Bits 00 to 07 correspond to logical ports 0 to 7, respectively.
• Flag status will be maintained until the next network communications
start. The flag will turn OFF when communications start again even if an
error occurred for the last execution.
• Contains the completion code stored when network communications
are performed.
• Words A203 to A210 correspond to logical ports 0 to 7, respectively.
• The completion code will be 00 while the communications instruction is
being executed. The new response code will be stored when execution
has been completed.
The contents of these words is cleared when operation is started.
Contents
ON when PMCR(260) is executed. The flag will remain OFF if execution
fails.
The flag will turn OFF when the communications sequence has been
completed (either an end or abort).
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
---
Contents
Contents
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents