Interface, User Dbs (Aw-Dbs) - Siemens SIMATIC FM 353 Manual

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

Advertisement

Programming the Technological Functions
Parameters
The Table below lists the parameters for the POS_MSRM block.
Name
DB_NO
RETVAL
IN_MSR
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 DB number is forwarded in the DB_NO parameter.
Reading of the measured value is started by setting the IN_MSR parameter to
TRUE. When the function has executed, the block resets the parameter.
The IN_MSR parameter remains set while the function is executing. Transfer of the
data is terminated is complete when the parameter is reset (IN_MSR = FALSE).
Error evaluation
Errors are flagged in the Binary Result (BR = 0) and by RETVAL < 0.
Possible errors are as follows:
Data transfer errors during transfers with SFB 52 "RDREC". The error is made
available in the user data block AW-DB, DBW98 (see Error List, Section 6.8).
6.4.6

Interface, user DBs (AW-DBs)

User DB 1 is the user data block in the default condition of the function blocks; it's
symbolic name is IFFM_ICTRL. This DB consists of the user data interface and
the instance data of the POS_CTRL block (FB 1).
The user can access the signals and/or data on the interface using absolute or
symbolic addresses if reference is made via the symbol table of the project.
When calling POS_CTRL, the interface is transferred as an instance. With the
other standard function blocks, the interface is assigned to the appropriate
channel/axis using the DB_NO input parameter.
6-42
Data
Param.
type
type
INT
I
Data block number
INT
Q
−1
BOOL
I/Q
Start Read
I/Q = throughput parameter (initiation parameter)
Description
FM 353 Stepper Drive Positioning Module
6ES7 353-1AH01-8BG0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents