hit counter script

Panasonic FP Series Programming Manual page 152

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

UDINT_TO_INT
UDINT_TO_INT converts a value of the data type Unsigned DOUBLE INTEGER into a value of the
Description
data type INT.
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 UDINT_TO_INT (see page 1332)
Data types
Data type
UDINT
INT
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
ST
When programming with structured text, enter the following:
INT_value
Unsigned DOUBLE INTEGER into INTEGER
I/O
Function
Input
input data type
Output
conversion result
:= UDINT_TO_INT(UDINT_value);
Conversion instructions
151

Advertisement

Table of Contents
loading

Table of Contents

Save PDF