Panasonic FP Series Programming Manual page 296

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

SET_RTC_DT
SET_RTC_DT sets the real-time clock value in the PLC for the clock/calendar function. If the PLC
Description
has no real-time clock or if the real-time clock is not functioning, the result is an invalid date and
time value.
PLC types
Data types
Data type
DATE_AND_TIME
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:
IF
DF(bSetEdge)
SET_RTC_DT(DT_value);
END_IF;
Set the Real-Time Clock
Availability of SET_RTC_DT (see page 1330)
I/O
Function
input
date and time
THEN
Date and time instructions
295

Advertisement

Table of Contents
loading

Table of Contents