Time Synchronization - Siemens SIMATIC ET 200M Operating Instructions Manual

Distributed i/o device
Hide thumbs Also See for SIMATIC ET 200M:
Table of Contents

Advertisement

Step
6.
7.
8.
You can now read further data records (steps 6 to 8).
8.2.4.4

Time synchronization

For the time synchronization with time stamping outside of S7-400 the requirements
specified in the chapter "Time synchronization for time stamping (Page 134)" apply.
The parameters for the IM 153-2 must be set via the GSD file.
ET 200M
Operating Instructions, 04/2022, EWA-4NEB7806006-09
Activity
Diagnose imminent signal messag-
es and save the information.
Ensure that when a process inter-
rupt is received the block "RALRM"
is active. You must wire this block.
With the "RDREC" block, read the
signal messages from the reported
data record. You must wire this
block.
Reset the NEW bit on the "RALRM"
block.
8.2 Time stamping the input signals with IM 153-2
Description
When signal messages arrive the slave sends a pro-
cess interrupt to the master. The master then asks
for a diagnosis from the slave.
The slave responds with the diagnostic frame.
Based on this diagnostic frame, the block "RALRM"
must be started via the user program. This block
reads TINFO and AINFO in the memory. The relevant
information for this is:
diagnostic address of the slave
number of the data record
number of messages in the data record
the new bit is set from the "RALRM" block to "1" after
the data transmission.
You must ensure that the "RDREC" block is processed
in the user program. In the case of imminent mes-
sages (signaled by the new bit from the "RALRM"
block) this reads the reported data record (100 to
114) and saves it in the specified target range (e.g.
DB 46).
Before the "RDREC" block is active, the following
values from "RALRM" must be changed:
diagnostic address of INT → DINT
data record number of BYTE → INT
If the values of the data record are read and are to
be saved for further processing, the NEW bit on the
"RALRM" block must be reset.
You must carry out this step.
Functions
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents