Standard functions
SIMOCODE pro
10-26 GWA 4NEB 631 6050-22 DS 03
10.10 Timestamping
Description
SIMOCODE pro V can timestamp up to eight digital signals with high
temporal precision (10 ms). In the process, every change in the state of the
digital signal will be recorded.
Possible areas of application are:
• Precise chronological recording of faults in a procedural system
• Analysis of system interrelationships
• Recording and signaling of time-critical signal changes
Prerequisite:
To use SIMOCODE pro V timestamping, the DP master being used must
support time synchronization functions via PROFIBUS (e.g. DP master
connections for SIMATIC S7 400), or a master clock must be used (e.g.
SICLOCK).
Process in STEP 7
Activation of the time synchronization for SIMOCODE pro V occurs
in STEP 7 HW Config in the slave properties under "Time Synchronization".
Notice
The set synchronization interval must correspond to the configuration of the
clock master.
For SIMOCODE pro, transmission of time-stamped information is analogous
to transmission with SIMATIC S7 IM 153-2.
Therefore, the "FB 62 TIMESTMP" function block can be used for further
processing of time-stamped information in the CPU, to transmit time-
stamped messages from the "Standard Library > Miscellaneous Blocks"
library.
Note
The "LADDR" parameter contains the diagnostic address of the DP slave
from STEP 7 HW Config.
LADDR2 contains the diagnostic address of slot 2 of SIMOCODE pro in the
DP mode "DPV1" of the DP master (integrated via OM SIMOCODE pro). For
all other configurations, LADDR2 will contain the same address as LADDR.
In contrast to the STEP7 FB62 online help, when integrating via GSD, the
slot number of the module is transmitted with Slot 1 for signal messages,
and with Slot 0 for special messages.
You will find further information about FB 62 in the STEP7 online help.