EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 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
Loading...
Timer instructions
330
Part II IEC Instructions
ADD_TIME
Add TIME
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.
PLC types Availability of ADD_TIME (see page 1318)
Data type I/O Function
TIME 1st input augend
TIME 2nd input addend
TIME output sum
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
In this example the input variables (time_value_1 and time_value_2) have been declared. Instead,
you may enter constants directly at the input contacts of a function.
Description
ADD_TIME adds the times of the two input variables and writes the sum in the output variable.
Data types
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
Time_value_1 and time_value_2 are added. The result is written into time_value_3.
LD
ST
time_value_3:=ADD_TIME(time_value_1, time_value_2);

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals