Hour (Hour Meter) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

HOUR (Hour Meter)

HOUR
Valid Devices
Device
S1 (Source 1)
D1 (Destination 1)
D2 (Destination 2)
D3 (Destination 3)
For valid device address ranges, see "Device Addresses" on page 2-1.
Source device S1 can be designated by a data register or constant.
Source device S1, when designated by a data register, and destination device D1 occupy 3 consecutive data registers starting with the designated
device to store hour, minute, and second data.
When source device S1 is designated by a constant, the preset value can be 0 through 65,535 in hours, then minutes and seconds are set to 0.
Special internal relays cannot be designated as destination device D2.
Destination device D3 requires two data registers reserved for system work area.
Hour data can be 0 through 65,535. Minute and second data can be 0 through 59.
When the measured input ON duration value in destination device D1 reaches the preset value designated by source device S1, the comparison
output designated by destination device D2 turns on. As long as the input remains on, the measured input ON duration value continues to increase.
When the measured input ON duration value exceeds 65,535 hours 59 minutes 59 seconds, the value returns to 0 hours 0 minutes 0 seconds to
repeat another measuring cycle, with the comparison output remaining on.
When any of the hour, minute, or second data of source device S1 exceeds the valid range, a user program execution error will result, turning on
special internal relay M8004 and the ERR LED on the FC6A Series MICROSmart, but the input ON duration is measured.
When any of the hour, minute, or second data of source device S1 is changed to an invalid value after the comparison output has turned on, the
comparison output is turned off. Then a user program execution error will result, turning on special internal relay M8004 and the ERR LED on the
FC6A Series MICROSmart, but the input ON duration measurement is continued. For user program execution errors, see "User Program Execution
Errors" on page 3-10.
S1
D1
D2
*****
*****
*****
Function
Preset value
Measured input ON duration
Comparison output
System work area
FC6A S
MICROS
ERIES
S1 ↔ D1 → D2
D3
While input is on, the ON duration of the input is measured. The measured
*****
time value (hour, minute, and second) is stored to 3 consecutive data
registers assigned by destination device D1 and compared with the preset
value assigned by source device S1.
When the D1 value reaches the S1 value, an output or internal relay
assigned by destination device D2 is turned on.
The data registers specified by D3 and D3+1 are used as the system work
area.
I
Q
X
L
P
MART
ADDER
ROGRAMMING
24: C
M
R
T
C
D
P
X
X
X
M
FC9Y-B1726
ANUAL
I
LOCK
NSTRUCTIONS
Constant
Repeat
0-65,535
24-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents