Panasonic FP Series Programming Manual page 287

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Date and time instructions
CONCAT_DT_INT
CONCAT_DT_INT concatenates the INT values of year, month, day, hour, minute, second, and
Description
millisecond. The result is stored in the output variable of the data type DATE_AND_TIME. The
Boolean output ERROR is set if the input values are invalid date or time values.
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.
Inverse instruction: SPLIT_DT_INT (see page 296)
PLC types
Availability of CONCAT_DT_INT (see page 1318)
Data types
Data type
INT
DATE_AND_TIME
BOOL
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.
286
Concatenate INT values to form date and time
I/O
Function
1st input
year
2nd input
month
3rd input
day
4th input
hour
5th input
minute
6th input
second
7th input
millisecond
output
result
output
The Boolean output ERROR is set if the input values
are invalid date or time values.

Advertisement

Table of Contents
loading

Table of Contents