Fast Access To Module Data - Siemens SIMATIC FM 452 Manual

Electronic cam controller installation and parameter assignment
Table of Contents

Advertisement

Programming the FM 452
6.9

Fast Access to Module Data

Application
In special applications or in an interrupt level, particularly fast access to return and
control signals is necessary. You can obtain this data directly via the input and
output areas of the module.
To coordinate startup following each module startup (for example after inserting the
module, CPU STOP
the end of the startup is indicated by RET_VAL = 0.
Note
If you access data on the FM 452 directly, you must only use the non-internal data
described here using the method described here. Otherwise, your user program
will encounter difficulties accessing the module.
Direct Access for Reading Return Signals
The byte addresses are specified relative to the output address of the module. The
names of the bits correspond to the names in the channel DB.
In STL, you access the data with the commands PIB (read 1 byte) and PID (read
4 bytes).
Address
7
6
Byte 0
PARA intern
al
Byte 1
0
0
Byte 2
Byte 3
0
0
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
6-20
RUN), FC CAM_CTRL must be called continuously until
Bit Number
5
4
internal
DATA_ERR
0
CAM_ACT
internal
FVAL_DONE HYS
ACT_POS
TRACK_OUT
3
2
1
internal
DIAG
internal
0
0
0
GO_P
GO_M
MSR_DONE
FM 452 Electronic Cam Controller
C79000-G7076-C452-04
0
internal
0
SYNC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents