Maximum Cycle Time; Present Cycle Time; Arithmetic Flags - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Auxiliary Area

3-6-52 Maximum Cycle Time

3-6-53 Present Cycle Time

3-6-54 Instruction Execution Error Flag, ER

3-6-55 Arithmetic Flags

!
Caution
Carry Flag, CY
Greater Than Flag, GR
Equals Flag, EQ
Less Than Flag, LE
Words A462 and A463 contain the maximum cycle time that has occurred since
operation was started. If the maximum cycle time is exceeded, however, the pre-
vious maximum cycle time will remain in words A462 and A463. The time is re-
corded in 8-digit BCD in tenths of milliseconds (0000000.0 ms to 9999999.9
ms), as shown in the following table.
Word
15 to 12
6
A463
10
2
A462
10
Words A464 and A465 contain the present cycle time unless the maximum cycle
time is exceeded, in which case the previous cycle time will remain. The time is
recorded in 8-digit BCD in tenths of milliseconds (0000000.0 ms to 9999999.9
ms), as shown in the following table.
Word
15 to 12
6
A465
10
2
A464
10
Bit A50003 is turned ON if an attempt is made to execute an instruction with in-
correct operand data. Common causes of an instruction error are non-BCD op-
erand data when BCD data is required, or an indirectly addressed DM word that
is non-existent. When the ER Flag is ON, the current instruction will not be
executed.
The following flags are used in data shifting, arithmetic calculation, and compari-
son instructions. They are generally referred to only by their two-letter abbrevi-
ations.
These flags are all reset when the END instruction is executed, and therefore
cannot be monitored from a Programming Device.
Refer to 5-14 Shift Instructions, 5-16 Comparison Instructions, 5-18 BCD Cal-
culation Instructions, and 5-19 Binary Calculation Instructions for details.
Bit A50004 is turned ON when there is a carry in the result of an arithmetic opera-
tion or when a rotate or shift instruction moves a "1" into CY. The content of CY is
also used in some arithmetic operations, e.g., it is added or subtracted along
with other operands. This flag can be set and cleared from the program using the
SET CARRY and CLEAR CARRY instructions. This Flag is also used by the I/O
READ and I/O WRITE instructions. Refer to page 378 for details.
Bit A50005 is turned ON when the result of a comparison shows the first of two
operands to be greater than the second.
Bit A50006 is turned ON when the result of a comparison shows two operands to
be equal or when the result of an arithmetic operation is zero.
Bit A50007 is turned ON when the result of a comparison shows the first of two
operands to be less than the second.
Bits
11 to 08
07 to 04
5
4
10
10
1
0
10
10
Bits
11 to 08
07 to 04
5
4
10
10
1
0
10
10
Section 3-6
03 to 00
3
10
–1
10
03 to 00
3
10
–1
10
57

Advertisement

Table of Contents
loading

Table of Contents