SmartPLC SafeLine AC4S with fieldbus interfaces
168
>
Set_TimeDate
42574
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
42408
The FB sets the system time (time and date) of the device using the transmitted input values.
>
Input parameters
42592
Parameter
Data type
Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
Don't execute FB
TRUE
Start one-time FB execution
bDay
BYTE
Day
0x01
...
0x1F
1
...
31
bMonth
BYTE
Month
0x01
...
0x0C
January
...
December
wYear
WORD
Year
0x07B3
...
0x07F5
1971
...
2037
bHour
BYTE
Hour
0x00
...
0x17
0
...
23
bMinute
BYTE
Minute
0x00
...
0x3B
0
59
bSecond
BYTE
Second
0x00
...
0x3B
0
59