EasyManua.ls Logo

Siemens SIMATIC FM 351 - FC ABS_DIAG (FC2)

Siemens SIMATIC FM 351
204 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming the FM 351
6-11
FM 351 Positioning Module
C79000-G7076-C351-02
6.4 FC ABS_DIAG (FC2)
Tasks
Using FC ABS_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
The function must be called cyclically (for example OB 1). An additional call in an
interrupt OB is not permitted. For complete execution of this function, at least two
calls (cycles) are required.
The function reads out the diagnostic buffer when a new entry is indicated in the
diagnostic buffer by the return signal DIAG = 1 in the channel DB. After the
diagnostic buffer has been read, the DIAG bit in the channel DB is set to 0 by the
module.
Data Block 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[9] structure.
Call Parameters
Name Data Type P Type Meaning
DB_NO INT IN Number of the diagnostic DB
RET_VAL INT OUT Return value

Table of Contents

Other manuals for Siemens SIMATIC FM 351

Related product manuals