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
336
Part II IEC Instructions
MUL_TIME_DINT
Multiply TIME by DOUBLE INTEGER
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 MUL_TIME_DINT (see page 1328)
Data type I/O Function
TIME 1st input multiplicand
DINT 2nd input multiplicator
TIME output result
Description
MUL_TIME_DINT multiplies the values of the input variables and writes the result to the output
variable.
Data types
Example
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.
POU header
In the POU header, all input and output variables are declared that are used for programming this
function.
In this example, the input variables time_value and multiplier have been declared. However, you
can write a constant directly at the input contact of the function instead.
Body
time_value_1 is multiplied by multiplier. The result is written in time_value_2.
LD
ST
When programming with structured text, enter the following:
time_value_2:=MUL_TIME_DINT(time_value_1, multiplier);

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals