Functional description
I IA CE
SIPLUS RIC IEC on S7 V1.5
Page 21 of 28
©SIEMENS AG 2013
‚Im_State_of_TimeStamp’ and ,IM_S7_Timestamp’ in Detail
Im_State_of
_TimeStamp
Prior the status byte serves for handing over of time status bits, which are not supported form S7 Date and
Time Format.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Res
Res
Res
LO
IV
SY
DS
TI
TI:
The TI-Bit is always set from the MAo-block.
Status bits (DS, SY, IV) are taken over from SLi-blocks only if the TI-Bit is set.
DS:
Daylight Saving Time
Direct taking over from IEC-messages with full time stamp. Otherwise:
Taking over from time status carried in the CPU (FB170-Parameter Time_DS).
SY:
Synchronized
Taking over from time status carried in the CPU (FB170-Parameter Time_SY).
The Bit is informatively and is not used in IEC-Messages
IV:
Invalid
IV arises as follows:
Receive message
IV
with partially time stamp
It is set, if the IV-Bit in the IEC-Message (TK1, TK2, TK4)
or in the time status carried in the CPU is set (FB170-
Parameter Time_IV).
without time stamp
Taking over from time status carried in the CPU (FB170-
Parameter Time_IV)
LO:
Local time is set, if the FB170-Parameter Time_Diff is <> 0.
Taking over from time status of the CPU
The Bit is informatively and is not used in IEC-Messages.
IM_S7
TimeStamp
Date and Time in S7-Format
The time arises as follows
Receive message
S7 Date and Time
with partially time stamp
The partially time from IEC-message (TK1, TK2, TK4)
is completed to full time with the time carried in the CPU
without time stamp
Taking over the time carried in the CPU
The images are initialized with the actual time of the CPU.
Info to data performance
The IEC communication blocks issue max. 1 user information per (OB1) cycle at a time. In
this cycle the information can be processed / issued also from the process blocks.
This prevents on the one hand multiple issues from the same information and with it loss of
indication changes (if the evaluation of images is carried out in the OB1 as well). On the
other hand a direct dependency from the max. data performance to the CPU cycle time
arises. This has effect with high CPU load and may lead also to congestion in the remote
station.
By
programming
a
dedicated
loop
using
the
S7_IEC_Config
parameter
‚More_Info_available’ and ‚Next_Info’ the data performance per OB1 cycle can be in-
creased. This with minor increase of the cycle time.