Date: Thu, 28 Mar 2024 17:23:01 +0000 (UTC) Message-ID: <2081633157.121.1711646581726@6bf000190eb4> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_120_2069087269.1711646581725" ------=_Part_120_2069087269.1711646581725 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Here, the
Moreover, the AlarmManager library is added to the Libra= ry Manager:
Edit the PLC_PRG POU as follows:
Declaration
VAR xDemoAlarm : BOOL; sDateFormat : STRING :=3D 'dd.MM.yyyy'; sTimeFormat : STRING :=3D 'HH:mm:ss'; END_VAR
Implementation
AlarmMa= nager.g_sDateFormat :=3D sDateFormat; AlarmManager.g_sTimeFormat :=3D sTimeFormat;
Now, if you change the formatting of the constants, the default will be ac=
cepted when the alarm is triggered again.
The 'yyyy/MM/dd' and 'HH:mm t=
t' specifications result in a rotated date and a time display withou=
t seconds in English style.
Milliseconds can be specified with "ms":