Panasonic FP Series Programming Manual page 329

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Timer instructions
TP
The function block TP allows you to program a pulse timer with a defined clock period.
Description
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
For TP declare the following:
IN
PT
Q
ET
FP2, FP2SH and FP10SH use a 32-bit value for PT.
Time
IN
chart
t
0
Q
t
0
ET
PT
t
0
1
2
+
3
PLC types
Availability of TP (see page 1332)
328
Timer with defined period
clock generator
if a rising edge is detected at IN, a clock is generated having the period
defined in PT
clock period
(16-bit value: 0 - 327.27s, 32-bit value: 0 -21,474,836.47s; resolution 10ms
each) a timer having the period PT is caused for each rising edge at IN. A
new rising edge detected at IN within the pulse period does not cause a new
2
timer (see time chart, section
signal output
is set for the period of PT as soon as a rising edge is detected at IN
elapsed time
contains the elapsed period of the timer. If PT = ET, Q will be reset
t
t
1
2
t
t
t
+ PT
1 + PT
2
2
t
t
1 + PT
2
1
2
Independent of the turn-on period of the IN signal, a clock is generated at the output
Q having a length defined by PT. The function block TP is triggered if a rising edge
is detected at the input IN.
A rising edge at the input IN does not have any influence during the processing of
PT.
)
t
t
t
t
t
3
4
5
6
7
t
t
+ PT
4
4
t
t
t
+ PT
3
4
4
3
t

Advertisement

Table of Contents
loading

Table of Contents