!
57
3-6-52 Maximum Cycle Time
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
Bits
15 to 12
11 to 08
07 to 04
03 to 00
A463
10
6
10
5
10
4
10
3
A462
10
2
10
1
10
0
10
–1
3-6-53 Present Cycle Time
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
Bits
15 to 12
11 to 08
07 to 04
03 to 00
A465
10
6
10
5
10
4
10
3
A464
10
2
10
1
10
0
10
–1
3-6-54 Instruction Execution Error Flag, ER
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.
3-6-55 Arithmetic Flags
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.
Caution
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.
Carry Flag, CY
Greater Than Flag, GR
Equals Flag, EQ
Less Than Flag, LE
Auxiliary Area
Section 3-6
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...