Siemens SIMATIC FM 353 Manual page 141

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

Advertisement

Example 3
Open the example project. The block used for this example is FC 103.
The signals are in "DBEX". The signals relevant for Example 3 only are in structure
"EX3".
The program to be selected in the Example has the program number "10". This
program number is entered in Example 3.
The Read Enable, the Drive Enable, and the Controller Enable for the axis are set
in "DBEX" (OB 100: READ_EN = TRUE, DRV_EN=TRUE, SERVO_EN=TRUE),
and are transferred to the interface (AW-DB) in Example 3.
Prerequisite for successful program selection is the availability of that program in
the FM.
In order for the example to function, you must set "Auto" mode. Set the "AUTO"
mode (mode code 08) in byte MODE_IN of "DBEX". The relevant mode checkback
signal is flagged in byte MODE-OUT.
Following successful mode selection, the program with the number "10" is auto-
matically selected by setting Write request "PROGS_EN" in "AW-DB".
Set the "START" bit in "DBEX" to TRUE in structure "EX3". The selected program
is started, assuming that the axis is synchronized and has a Start Enable. Then the
"START" bit will be reset.
The program can be stopped by setting the "STOP" bit. It can be restarted by re-
setting the "STOP" bit to FALSE (and the "START" bit to TRUE).
If an operator error or traversing error occurs, it is flagged in the "OT_ERR" bit (the
bit is then TRUE). The error can be acknowledged by setting bit "OT_ERR_A" to
TRUE.
Note:
Variable table 3, which contains all the relevant signals for monitoring and control-
ling Example 3 ("control and monitor variable" tool), is located in the "Blocks" di-
rectory.
FM 353 Stepper Drive Positioning Module
6ES7 353-1AH01-8BG0
Programming the Technological Functions
6-61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents