The Alarm Modem offers the RTC time in system variables with different formats, e.g.
in the RFC822 format with "/TIMES/RFC822Date"
with format hh:mm:ss at "/TIMES/Time"
or as a date at "/TIMES/Date"
Nevertheless, there is no variable that contains only the second, minute, the day etc. One may need this, e.g. to synchronize the time of a connected PLC.
You can create these time variable by yourself, using the MID instruction to parse the time string:
[<SetConfig _="PROCCFG" ver="y">
<ProcessVars>
<Year>
<Value>
<MID _="®/TIMES/Date" start="0" length="4"/>
</Value>
</Year>
<Day>
<Value>
<MID _="®/TIMES/RFC822Date" start="4" length="2"/>
</Value>
</Day>
<Month>
<Value>
<MID _="®/TIMES/Date" start="6" length="2"/>
</Value>
</Month>
<Hour>
<Value>
<MID _="®/TIMES/Time" start="0" length="2"/>
</Value>
</Hour>
<Minute>
<Value>
<MID _="®/TIMES/Time" start="3" length="2"/>
</Value>
</Minute>
<Second>
<Value>
<MID _="®/TIMES/Time" start="6" length="2"/>
</Value>
</Second>
</ProcessVars>
</SetConfig>]
_________________
Tixi Support Team
E-Mail-Support, Mo-Fr, 9:00am - 5:00pm,
Tixi-Support@tixi.com
Support-Hotline, Mo-Fr, 9:00am - 5:00pm, +49-30-406 08 300