Functions
8.2 Time stamping the input signals with IM 153-2
ET 200M
150
Operating Instructions, 12/2008, EWA-4NEB780600602-08
Step
Activity
Description
6.
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.
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.
7.
With the "RDREC" block, read the
signal messages from the reported
data record. You must wire this
block.
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
8.
Reset the NEW bit on the "RALRM"
block.
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.
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 /
deactivated)
●
which signal change will be stamped in which way (via "DI n Edge": "rising" edge as an
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.
With DS_WRITE the data record 240 is transferred to the IM 153-2 for the configuration of
the time stamp.
Содержание IM 153-4 PN
Страница 186: ...Functions 8 9 SNMP ET 200M 184 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 226: ...Interrupt error and system messages 9 2 PROFINET IO ET 200M 224 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 254: ...Order Numbers for the ET 200M ET 200M 252 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...
Страница 268: ...Glossary ET 200M 266 Operating Instructions 12 2008 EWA 4NEB780600602 08 ...