EasyManua.ls Logo

Siemens SIMATIC ET 200S - Calling the Function Block

Siemens SIMATIC ET 200S
40 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.2 Calling the function block
Procedure
Proceed as follows to work with the _ET200S_FC_control function block in your user project
(the numbers shown in the following program segment correspond to the steps listed below):
1. Create an instance of the function block.
2. Call instance of the function block.
3. Transfer input parameters.
4. The output parameters of the function block are accessed with <instance name of
FB>.<name of output parameter>.
5. The data for the I/O outputs prepared by the FB are assigned to the I/O variables.
Note
The program segment is an extract from the supplied application example. The application
example is included on the "SIMOTION Utilities & Applications" CD-ROM and is available
for various SIMOTION hardware platforms.
The "SIMOTION Utilities & Applications" CD-ROM is provided free of charge with
SIMOTION SCOUT.
If you want to control several frequency converters, you must create a new variable for the
FB instances with a new name for each module used.
Separate data structures have been created for the input and output parameters in the
example to provide a better overview.
Call example
UNIT E_FC_ctrl;
INTERFACE
TYPE
... // see example
END_TYPE
VAR_GLOBAL
Parameterization
4.2 Calling the function block
Supplement for the ET 200S frequency converter
Function Manual, 01/2015 23

Other manuals for Siemens SIMATIC ET 200S

Related product manuals