Siemens SIMATIC FM 353 Manual page 102

Stepper drive positioning module
Hide thumbs Also See for SIMATIC FM 353:
Table of Contents

Advertisement

Programming the Technological Functions
6.3.4
The POS
In the event of a fatal error, the FM 353 generates a diagnostic interrupt (OB 82
must be embedded in the user program and the interrupt parameterization of the
FM 353 must be activated) and provides the relevant information to the local data
area. For information on diagnostic interrupts, see Section 6.5.
For further information on external channel errors (operating errors), please call the
POS_DIAG block.
Call options
POS_DIAG can be called in interrupt OB 82 or in OB 1.
EN
DB_NO
IN_DIAG
Parameters
The Table below lists the parameters for the POS_DIAG block.
Name
DB_NO
RET_VAL INT
IN_DIAG
Parameter types: I = input parameter, Q = output parameter,
Function description
The function works together with an AW-DB user data block. When the function is
called, the AW-DB is forwarded with a DB_NO parameter.
Reading of the diagnostic data is started by setting the IN_DIAG parameter to
TRUE. The block resets the parameter when the request has been serviced.
The IN_DIAG parameter remains set while the request is being serviced. Transfer
of the data is terminated when the parameter is reset (IN_DIAG = FALSE).
6-22
DIAG (FC 2) block − Read diagnostic interrupt data
_
Call in LAD representation
(ladder diagram)
POS_DIAG
ENO
RET_VAL
Data
Param.
type
type
INT
I
Data block number
Q
−1
BOOL
I/Q
Initiation signal for reading of the diagnostic data; is reset
following execution of POS_DIAG.
I/Q = throughput parameter (initiation parameter)
Call in STL representation
(statement list)
CALL POS_DIAG
DB_NO
RET_VAL
IN_DIAG
Description
FM 353 Stepper Drive Positioning Module
6ES7 353-1AH01-8BG0
:=
:=
:=

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents