Omron CQM1H-SCB41 Computer Hardware User Manual


 
5-6SectionUsing Protocol Macros
82
Word ResetSetClassifi-
cation
Name and FunctionBits
IR 204
00 Port 1 Tracing Flag
According to instructions from the CX-Protocol, this flag is
turned ON while time-series data for send and receive
messages is being traced.
Tracing Start of
trace
Start of
sequence or
end of trace
01 Port 2 Tracing Flag
Same as IR 20400.
08 to 11 Port 1 Protocol Macro Error Code
The list of error codes is provided at the end of this table
on page 85.
If error code 1, 2, 3, or 4 is stored, the Port 1 Protocol
Macro Execution Error Flag (IR 20111) will be turned ON,
the ERR/ALM indicator on the CPU Unit will flash, and a
non-fatal error will occur.
When an error occurs, the error code is held until the next
sequence starts.
The error must be cleared from a Programming Console or
other Programming Device after the cause of the error has
been eliminated.
Protocol
macro
status
When error
occurs
Start of
sequence
12 to 15 Port 2 Protocol Macro Error Code
Same as IR 20408 to IR 20411, but works together with
IR 20112.
IR 205
00 to 03 Port 1 Executed Reception Case No. (code)
Reception matrix case numbers 0 to 15 (0 to F hex) are
stored for which reception has been completed. The num-
ber is cleared when the sequence execution starts.
The Executed Reception Case No. is stored only when the
reception matrix is set using the RECEIVE or SEND&RE-
CEIVE command. If a reception matrix is not set, the case
number will be set to 0 (cleared) when another command
is executed.
Sequence
status
When
matrix is
received
04 to 07 Port 1 Completed Step Number
Step numbers 0 to 15 (0 to F hex) are stored for the steps
for which execution has been completed.
When step
is executed
15 IR 204 Port 1 Data Stored Flag
0: No data stored; 1: Data stored in IR 20408 to IR 20411
Protocol
macro
When error
occurs
IR 206
00 to 03 Port 2 Executed Reception Case No. (code)
Same as IR 20500 to IR 20503.
Sequence
status
When
matrix is
received
04 to 07 Port 2 Completed Step Number
Same as IR 20504 to IR 20507.
When step
is executed
IR 205 15 IR 204 Port 2 Data Stored Flag
0: No data stored; 1: Data stored in IR 20412 to IR 20415
Protocol
macro
When error
occurs