![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-units-programming-05-2007/cp1h-cpu-units-programming-05-2007_operation-manual_742081676.webp)
642
Auxiliary Area Allocations by Address
Appendix D
A202
A202.00
to
A202.07
Communica-
tions Port
Enabled Flags
ON when a network instruction
(SEND, RECV, CMND, or PMCR) or
background execution can be exe-
cuted with the corresponding port
number. Bits 00 to 07 correspond to
communications ports 0 to 7.
When two or more network instruc-
tions are programmed with the same
port number, use the corresponding
flag as an execution condition to pre-
vent the instructions from being exe-
cuted simultaneously.
(The flag for a given port is turned
OFF while a network instruction with
that port number is being executed.)
ON: Network
instruction is
not being exe-
cuted
OFF: Net-
work instruc-
tion is being
executed
(port busy)
Cleared
---
---
---
A202.15 Network Com-
munications
Port Alloca-
tion Enabled
Flag
ON when there is a communications
port available for automatic alloca-
tion.
Note
Use this flag to confirm
whether a communications
port is available for automatic
allocation before executing
communications instructions
when using 9 or more com-
munications instructions
simultaneously.
ON: Port
available
OFF: Port not
available
Cleared
---
---
---
A203
to
A210
All
Communica-
tions Port
Completion
Codes
These words contain the completion
codes for the corresponding port
numbers when network instructions
(SEND, RECV, CMND, or PMCR)
have been executed.
(The corresponding word will be
cleared when background execution
has been completed.)
Words A203 to A210 correspond to
communications ports 0 to 7.
The following codes will be stored
when an Explicit Message Instruction
(EXPLT, EGATR, ESATR, ECHRD, or
ECHWR) has been executed.
If the Explicit Communications Error
Flag turns OFF, 0000 hex is stored.
If the Explicit Communications Error
Flag is ON and the Network Commu-
nications Error Flag is ON, the FINS
end code is stored.
If the Explicit Communications Error
Flag is ON and the Network Commu-
nications Error Flag is OFF, the
explicit message end code is stored.
During communications, 0000 hex
will be stored and the suitable code
will be stored when execution has
been completed. The code will be
cleared when operation is started.
(The completion code for a given
port is cleared to 0000 when a net-
work instruction with that port num-
ber is executed.)
Non-zero:
Error code
0000:
Normal condi-
tion
Retained
---
---
---
Address
Name
Function
Settings
Status
after
mode
change
Status
at star-
tup
Write
timing
Related
flags, set-
tings
Words
Bits
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...