Programming the FM 452
6-10
FM 452 Electronic Cam Controller
C79000-G7076-C452-04
6.4
FC CAM_DIAG (FC 2)
Tasks
Using FC CAM_DIAG, you read out the diagnostic buffer of the module and can
make it available for display in an operator control and monitoring system or for
programmed evaluation.
Call
This function must be called cyclically. A further call in an interrupt OB is not
permitted. For complete execution of this function, at least two calls (cycles) are
required.
The function reads the diagnostic buffer when a new entry is indicated in the
diagnostic buffer by the return signal DIAG = 1. After reading the diagnostic buffer,
DIAG is set to 0 by the module.
Data Used
•
Diagnostic DB:
The module address must be entered in the diagnostic DB. The latest entry in
the diagnostic buffer is entered in the DIAG[1] structure and the oldest entry in
the DIAG[4] structure.
Jobs
You can read the diagnostic buffer whether or not there is a new entry by setting
the DIAGRD_EN trigger bit. After reading the diagnostic buffer, the trigger bit is set
to 0.
Startup
There is no startup processing associated with the function.
Call Parameters
Name
Data Type
I/O
Meaning
DB_NO
INT
I
Number of the diagnostic DB
RET_VAL
INT
O
Return value
Содержание SIMATIC FM 452
Страница 8: ...Contents viii FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 14: ...Product Overview 1 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 28: ...Installing and Removing the FM 452 3 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 36: ...Wiring the FM 452 Electronic Cam Controller 4 8 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 38: ...Installing the Software 5 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 62: ...Programming the FM 452 6 24 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 68: ...Putting the FM 452 into Operation 7 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 130: ...Settings 9 32 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 140: ...Encoders 10 10 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 146: ...Diagnostics 11 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 162: ...Samples 12 16 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 168: ...Technical Specifications A 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 174: ...Connection Diagrams B 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 200: ...Data Blocks Error Lists C 26 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...