EasyManuals Logo

IDEC MICROSmart FC6A-C24R1CE Ladder Programming Manual

IDEC MICROSmart FC6A-C24R1CE
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #469 background imageLoading...
Page #469 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 24-1
24: CLOCK INSTRUCTIONS
Introduction
TADD (time addition) and TSUB (time subtraction) instructions add or subtract time data in two different modes. The data can be
selected from time (hour, minute, and second) or date/time (year, month, day, day of week, hour, minute, and second).
HTOS (HMS to s) and STOH (s to HMS) instructions perform conversion of time data between hours, minutes, seconds and
seconds.
HOUR (hour meter) instruction measures the on duration of the input and compares the total duration to a preset value. When the
preset value is reached, an output or internal relay is turned on.
TADD (Time Addition)
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
When Mode 0 is selected, source devices S1 and S2 and destination device D1 occupy 3 consecutive data registers starting with the designated
device.
When Mode 1 is selected, source device S1 and destination device D1 occupy 7 consecutive data registers starting with the designated device.
Source device S2 occupies 3 consecutive data registers starting with the designated device.
Since the TADD instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used.
S1 + S2 → D1, CY
When input is on, time data assigned by source device S2 are added to date/time data
assigned by source device S1, depending on the selected mode. The result is stored
to destination device D1 and carry (M8003).
S1
***
S2
***
D1
*****
TADD
Mode
Device Function I Q M R T C D P Constant Repeat
Mode Selection of S1 data range ———————— 0, 1 —
S1 (Source 1) Date/time data to add to — — — — — — X — — —
S2 (Source 2) Time data to add ——————X — — —
D1 (Destination 1) Destination to store results — — — — — — X — — —

Table of Contents

Other manuals for IDEC MICROSmart FC6A-C24R1CE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A-C24R1CE and is the answer not in the manual?

IDEC MICROSmart FC6A-C24R1CE Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A-C24R1CE
CategoryComputer Hardware
LanguageEnglish

Related product manuals