Procedure For Writing The User Program (Awp) - Siemens SIMATIC FM 353 Manual

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

Advertisement

6.1.5

Procedure for writing the user program (AWP)

The sample projects "zDt13_02_FM353_EX" included in the configuring package
(for the blocks of the "FMSTSV_L" library) and "zDt13_03_FM353_EX" (for blocks
of the "FM353_354" library) will help you when creating your user program and can
be used as a template.
Suggested procedure:
1. Open your project in the SIMATIC Manager.
2. Select SIMATIC xxx > CPUxxx > S7 Program.
3. In the SIMATIC Manager, select File > Open > Projects to load the
"zDt13_02_FM353_EX" or the "zDt13_03_FM353_EX" project.
4. Select the "EXAMPLES" directory.
5. Select the "Symbols" file and copy it to your project under SIMATIC xxx >
CPUxxx > S7 Program (replacing the existing object).
6. Open the "Sources" directory and copy from all STL sources to your project's
"Sources" directory.
7. Open the "Blocks" directory and copy all blocks from it into the "Blocks" direc-
tory of your project.
8. Select the "Sources" directory in your project. Start the "LAD/STL/FBD Editor"
by double-clicking on the "OB_EXAMPLE" file.
9. Modify the appropriate input parameters (see "Block description",
Sections 6.3 and 6.4) in the POS_INIT call in OB 100 and in the POS_DIAG
call in OB 82.
10.You can insert the relevant functions from the sample project
"zDt13_02_FM353_EX" (see Section 6.7) in the "
OB 1. The functions can be activated by writing your user program to set/
reset the signals in the DB 100 (user DB for the examples) supplied.
The call for the POS_CTRL must be modified accordingly (input
parameters or appropriate instance DB).
11. The organization blocks (OB 1, OB 82, OB 100) are generated from the STL
source with the menu commands File > Save and File > Compile (warnings
from the compilation run can be ignored).
12.Close the editor.
13.Set the CPU to "STOP" and switch the CPU on.
14.In the SIMATIC Manager, select SIMATIC xxx > CPUxxx > S7 Program >
Blocks.
15.Load all the S7 blocks (including system data) into your CPU (with the CPU at
STOP) with PLC > Load.
FM 353 Stepper Drive Positioning Module
6ES7 353-1AH01-8BG0
Programming the Technological Functions
EXAMPLE CALLS
" network in
6-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents