Siemens SIMATIC FM 453 Manual page 99

Servo drive / step drive positioning module
Hide thumbs Also See for SIMATIC FM 453:
Table of Contents

Advertisement

Linking the
The following figure shows you how the FM 453, the user data block (user
FM 453 into the
DB) and technology functions communicate.
User program
CPU
OB 40
OB 82
(Process inter-
(Diagnostics)
rupt)
4 bytes of OB
startup in-
formation
1)
FC MSRMENT
OB 100
Cold restart
(startup)
FC INIT_DB
1) This FC can only be called in OB 40 or in OB 1, but not in both simultaneously.
2) This FC only has to be called once in a channel. It contains
diagnostics information for all three channels (see Sections 6.4 and 11.2.2).
Fig. 6-2
Overview of Linking the FM 453 into the User Program
Tips for the User
The user requires at least FC INIT_DB in order to initialize the user DB and
FC MODE_WR for mode and write job processing.
FC RD_COM for reading data is only required if the FM data are to be pro-
cessed in the user program (e.g. for display purposes).
Regardless of which or how many technology functions you use, you need a
data block with a predefined structure (UDT 1) to contain all the necessary
data or data storage areas. This data block is implemented as a user data
block, and one way to set its default values is with the "Parameterize
FM 453" parameterization tool.
Integration of OB 83 "Remove/Insert interrupt"
In the event of an FM 453 becoming defective, to ensure that the equipment
is able to continue operating, OB 83 has to be linked into the user program.
In OB 83, when the FM 453 is removed, it must be ensured (for example, by
setting a flag which is evaluated in OB 1), that the communication in OB 1
with the FM 453 is suppressed. To ensure that the user program can resyn-
chronize itself with the FM 453, the FC INIT_DB must be linked in when the
FM 453 is reinserted (same procedure as in OB 100). The organization block
OB 122 (I/O access error OB) also has to be loaded into the CPU.
FM 453 Servo Drive / Step Drive Positioning Module
C79000-G7076-C453-01
4 bytes of OB startup information
FC DIAG_RD
OB 1
Read/write job and
read/write status
User DB
(1 DB per channel)
Programming the FM 453
2)
Control and
checkback signals
System data,
FC MODE_WR
error messages
and error specifi-
cation
FC RD_COM
1)
FC MSRMENT
FM 453
Diagnostic in-
terrupt informa-
tion
6-3

Advertisement

Table of Contents
loading

Table of Contents