Technical data

Table Of Contents
SFCs for Handling the System Clock
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
5-5
Parameters Declaration Data type Memory Area Description
MODE INPUT BYTE I, Q, M, D, L,
constant
Operating mode
Possible values:
B#16#01: Setting the TOD
B#16#02: Setting the TOD status
B#16#03: Setting the TOD and the TOD
status
PDT INPUT DT D, L Default TOD
CORR INPUT INT I, Q, M, D, L,
constant
Correction value (in 0.5 h pattern)
Possible values: -24 to +26
SUMMER INPUT BOOL I, Q, M, D, L,
constant
Summer/Winter Time ID:
0 = Winter Time
1 = Summer Time
ANN_1 INPUT BOOL I, Q, M, D, L,
constant
Announcement hour
1: At the next hourly change summer time is
switched over to winter time or vice versa.
RET_VAL OUTPUT INT I, Q, M, D, L Error code
Error Information
Error code
(W#16#...):
Explanation
0000 no error
8080 MODE out of the permitted value range
8081 CORR out of the permitted value range
(only for MODE = B#16#02 or MODE = B#16#03)
8082 PDT out of the permitted value range: Illegal date and or TOD
8xyy General error codes, see Evaluating Errors with Output Parameter RET_VAL