Using Protocol Macros

 

Section 5-6

 

 

 

 

 

 

 

Word

Bits

Name and Function

Classifi-

Set

Reset

 

 

 

cation

 

 

 

IR 204

00

Port 1 Tracing Flag

Tracing

Start of

Start of

 

 

According to instructions from the CX-Protocol, this flag is

 

trace

sequence or

 

 

 

 

end of trace

 

 

turned ON while time-series data for send and receive

 

 

 

 

 

 

 

 

 

 

messages is being traced.

 

 

 

 

 

 

 

 

 

 

 

 

01

Port 2 Tracing Flag

 

 

 

 

 

 

Same as IR 20400.

 

 

 

 

 

 

 

 

 

 

 

08 to 11

Port 1 Protocol Macro Error Code

Protocol

When error

Start of

 

 

The list of error codes is provided at the end of this table

macro

occurs

sequence

 

 

status

 

 

 

 

 

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.

 

 

 

 

 

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)

Sequence

When

 

 

 

 

Reception matrix case numbers 0 to 15 (0 to F hex) are

status

matrix is

 

 

 

 

 

received

 

 

 

 

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.

 

 

 

 

 

04 to 07

Port 1 Completed Step Number

 

When step

 

 

 

 

Step numbers 0 to 15 (0 to F hex) are stored for the steps

 

is executed

 

 

 

 

 

 

 

 

 

 

for which execution has been completed.

 

 

 

 

 

15

IR 204 Port 1 Data Stored Flag

Protocol

When error

 

 

 

 

0: No data stored; 1: Data stored in IR 20408 to IR 20411

macro

occurs

 

 

IR 206

00 to 03

Port 2 Executed Reception Case No. (code)

Sequence

When

 

 

 

 

Same as IR 20500 to IR 20503.

status

matrix is

 

 

 

 

 

received

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04 to 07

Port 2 Completed Step Number

 

When step

 

 

 

 

Same as IR 20504 to IR 20507.

 

is executed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IR 205

15

IR 204 Port 2 Data Stored Flag

Protocol

When error

 

 

 

 

0: No data stored; 1: Data stored in IR 20412 to IR 20415

macro

occurs

 

 

82

Page 93
Image 93
Omron CQM1H-SCB41 operation manual Port 2 Tracing Flag, Port 1 Protocol Macro Error Code, Port 2 Protocol Macro Error Code