Using Protocol Macros

 

Section 5-6

 

 

 

 

 

 

 

Word

Bits

Name and Function

Classifi-

Set

Reset

 

 

 

cation

 

 

 

IR 207

08

Port 1 Protocol Macro Executing Flag (instruction

Protocol

At

At

 

 

execution)

macro

instruction

completion

 

 

This flag is turned ON when a PMCR(––) instruction (se-

status

execution

of execution

 

 

 

 

 

 

 

 

quence) is executed. The flag will remain OFF if execution

 

 

 

 

 

 

fails.

 

 

 

 

 

 

When the sequence is completed and receive data is writ-

 

 

 

 

 

 

ten, the flag is turned OFF after all the receive data has

 

 

 

 

 

 

been written to I/O memory.

 

 

 

 

 

 

This flag is turned OFF when the sequence is completed

 

 

 

 

 

 

(either when it is ended by End, or when it is ended by

 

 

 

 

 

 

Abort).

 

 

 

 

 

 

When the scan response notification method is set for the

 

 

 

 

 

 

sequence, first a check is made to see if the received data

 

 

 

 

 

 

has been written to I/O memory before the Protocol Macro

 

 

 

 

 

 

Executing Flag is turned OFF.

 

 

 

 

 

 

 

 

 

 

 

09

Port 1 Transfer Step Error Processing Flag

Step error

At compare

Start of

 

 

This flag is turned ON when a step has ended abnormally.

 

error after

sequence

 

 

 

reception

 

 

 

 

It is turned OFF if the step ends normally as a result of a

 

 

 

 

 

 

 

 

 

 

 

retry.

 

 

 

 

 

 

1: Step ended abnormally

 

 

 

 

 

 

0: Step ended normally

 

 

 

 

 

 

 

 

 

 

 

 

10

Port 1 Sequence END Completion Flag

Sequence

End of

 

 

 

 

This flag is turned ON when a sequence is completed for

status

sequence

 

 

 

 

 

 

 

 

 

 

the next process or for an error process with an END com-

 

 

 

 

 

 

mand.

 

 

 

 

 

 

Setting END when a sequence has ended normally and

 

 

 

 

 

 

setting ABORT when the sequence has ended abnormally

 

 

 

 

 

 

enables this flag to be used to determine whether or not

 

 

 

 

 

 

the sequence execution has ended normally.

 

 

 

 

 

 

1: Sequence ended

 

 

 

 

 

 

0: Sequence not ended

 

 

 

 

 

11

Port 1 Forced Abort Bit

Abort

User-set

User-set

 

 

Protocol processing will be aborted when this bit is turned

process-

 

 

 

 

 

ing

 

 

 

 

 

ON. (Processing may be completed if the bit is turned ON

 

 

 

 

 

 

 

 

 

 

 

too late.)

 

 

 

 

 

 

 

 

 

 

 

12

Port 2 Protocol Macro Executing Flag (instruction

Protocol

At

At

 

 

execution)

macro

instruction

completion

 

 

Same as IR 20708.

status

execution

of execution

 

 

 

 

 

 

 

 

 

 

 

 

 

13

Port 2 Transfer Step Error Processing Flag

Step error

At compare

Start of

 

 

Same as IR 20709.

 

error after

sequence

 

 

 

reception

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

Port 2 Sequence END Completion Flag

Sequence

End of

 

 

 

 

Same as IR 20710.

status

sequence

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

Port 2 Forced Abort Bit

Abort

User-set

User-reset

 

 

Same as IR 20711.

process-

 

 

 

 

 

ing

 

 

 

 

 

 

 

 

 

84

Page 95
Image 95
Omron CQM1H-SCB41 Port 1 Transfer Step Error Processing Flag, Port 1 Sequence END Completion Flag, Port 1 Forced Abort Bit