Panasonic FP Series Programming Manual page 328

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data types
Data type
BOOL (IN)
TIME (PT)
BOOL (Q)
TIME (ET)
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables which are used for programming the function block TON are declared
in the POU header. This also includes the function block (FB) itself. By declaring the FB you create
a copy of the original FB. This copy is saved under copy_name. A separate data area is reserved
for this copy.
Body
If start is set (status = TRUE), the input signal is transferred to signal_output with a delay by the
time period set_value.
LD
ST
When programming with structured text, enter the following:
copy_name( IN:=
PT:=
Q=>
ET=>
I/O
Function
input
internal timer starts at rising edge
input
switch on delay
output
signal output set if PT = ET
output
elapsed time
start
,
set_value
,
signal_output
,
current_value
);
Timer instructions
327

Advertisement

Table of Contents
loading

Table of Contents