Download Print this page

Siemens SIMATIC ET 200M Operating Instructions Manual page 152

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

Advertisement

Functions
8.2 Time stamping the input signals with IM 153-2
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 135)" apply.
The parameters for the IM 153-2 must be set via the GSD file.
8.2.4.5
Configuring the time stamping
For configuring the time stamping of input signals the IM 153-2 makes available an interface
in the form of the data record 240. There you can choose your requirements accordingly,
● whether the time stamping should be generally activated / deactivated
● on which slot a module is inserted, the input signals of which should be stamped
● which signals receive a time stamp (via "DI n Enable": time stamping activated /
● which signal change will be stamped in which way (via "DI n Edge": "rising" edge as an
With DS_WRITE the data record 240 is transferred to the IM 153-2 for the configuration of
the time stamp.
150
Activity
Diagnose imminent signal
messages and save the
information.
Ensure that when a process
interrupt 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.
deactivated)
incoming signal or "falling" edge as an incoming signal).
The unselected edge is automatically the outgoing signal, i.e. both changes of a signal
are given a time stamp.
Description
When signal messages arrive the slave sends a
process 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 messages (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.
Operating Instructions, 12/2008, EWA-4NEB780600602-08
ET 200M

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Im 153-1Im 153-2Im 153-2 foIm 153-4 pn