Panasonic FP Series Programming Manual page 933

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Timer instructions
TM_1s
The TM_1s instruction sets the ON-delay timer for 1s units (0 to 32767s).
Description
Instead of using this FP instruction, we recommend using the related IEC instruction TM_1s_FB
(see page 922).
Please refer also to Advantages of the IEC instructions in the online help.
The area used for the instruction are:
Preset (Set) value area: SV
Count (Elapsed) value area: EV
When the mode is set to RUN mode, the Preset (Set) value is transferred to the SV. If the trigger of
the timer instruction start is in the ON-state, the Preset (Set) value is transferred to the EV from the
SV.
During the timing operation, the time is subtracted from the EV.
The scan time is also subtracted from the EV in the next scan.
The timer contact T turns ON, when the EV becomes 0.
Calculation of the timing operation:
timing operation = time set value - 0 to 1/4 of units (250ms) + scan time
Example:
150s time set value and 8ms PLC scan time
Upper limit = 150000 - 0 + 8 = 150008ms
Lower limit = 150000 -250 +8 = 149758ms
The result is a timing operation from 149758ms to 158ms.
Availability of TM_1s (see page 1332)
PLC types
Data types
Variable
Data type
BOOL
start
Num*
ANY16
SV
BOOL
T
932
Timer for 1s intervals (0 to 32767s)
Function
starts timer
timer address in system registers 5 and 6
Must be a constant
set value
timer contact

Advertisement

Table of Contents
loading

Table of Contents