Inserting SIMODRIVE POSMO A
To integrate the SIMODRIVE POSMO A into the PROFIBUS subnet of your project, proceed
as follows:
1. In SIMOTION SCOUT, open the User Projects dialog box with the Project > Open menu
command. In this dialog box, select your project and confirm your choice with OK.
2. Open HW Config (by double-clicking the SIMOTION device in the project navigator of
SIMOTION SCOUT).
3. In the HW Config window, open the hardware catalog with the View > Catalog menu
command.
4. In the hardware catalog, open the PROFIBUS DP folder and the SIMODRIVE subfolder
and select SIMODRIVE POSMO A.
5. Use a drag-and-drop operation to move the SIMODRIVE POSMO A onto the PROFIBUS
subnet of your project.
The Properties - PROFIBUS Interface SIMODRIVE POSMO A dialog box is displayed. In
this dialog box, you select the address you set in the connection cover of POSMO A (see
Section "Installation and Connection" of the Distributed Positioning Motor on PROFIBUS
DP user manual) and confirm with OK.
The SIMODRIVE POSMO A positioning motor you have selected is inserted into the project.
6. Input and output addresses of the POSMO A.
When you insert the POSMO A into your SIMOTION project, the input and output addresses
are assigned default values. You can see these values when you select the inserted
POSMO A. You can read the input and output addresses in the lower part of the HW
Config window.
You must create these addresses as I/O variables in the symbol browser before calling the
function blocks; see Section Creating I/O Variables (Page 14).
2.4
Integrating the function blocks in the user project
Creating the instance of the FBs in the user project
The function blocks are part of the program library of the SIMOTION SCOUT engineering
system. For working with the blocks, an instance has to be created in the user project for each
function block used and if using the _POSMOA_rwAllParameter function block, a variable of
type Struct_POSMOA_params.
Example:
VAR_GLOBAL
...
myPosmoAControl : _POSMOA_control; // FB for controlling of POSMO A
myPosmoArwParameter : _POSMOA_rwParameter; // FB for handling single parameter
myPosmoArwAllParameter : _POSMOA_rwAllParameter; // FB for handling parameterset
myAllParaPosmoA : Struct_POSMOA_params; // Variable for structure of all
// parameters POSMO A
Description
2.4 Integrating the function blocks in the user project
Supplement to SIMODRIVE POSMO A Positioning Motor
Function Manual, 01/2015
13