Siemens SIMATIC ET 200S Manuale delle funzioni - Pagina 23

Sfoglia online o scarica il pdf Manuale delle funzioni per Apparecchiature industriali Siemens SIMATIC ET 200S. Siemens SIMATIC ET 200S 40. Distributed i/o digital electronic module 4do dc24v/2a hf
Anche per Siemens SIMATIC ET 200S: Manuale dell'operatore (18 pagine), Manuale (16 pagine), Manuale d'uso (16 pagine), Manuale d'uso (26 pagine), Manuale (37 pagine), Manuale (24 pagine), Istruzioni per l'uso (4 pagine), Istruzioni per l'uso originali (19 pagine), Istruzioni per l'uso originali (20 pagine), Manuale (34 pagine), Manuale (14 pagine), Manuale (24 pagine), Istruzioni per l'uso originali (17 pagine), Istruzioni per l'uso originali (19 pagine), Manuale (16 pagine), Manuale (28 pagine), Manuale (12 pagine), Manuale (32 pagine), Manuale (18 pagine), Manuale (12 pagine), Manuale (28 pagine), Manuale (22 pagine), Manuale (22 pagine), Manuale (36 pagine), Manuale (16 pagine)

Siemens SIMATIC ET 200S Manuale delle funzioni
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
...
END_TYPE
VAR_GLOBAL
Supplement for the ET 200S frequency converter
Function Manual, 01/2015
// see example
Parameterization
4.2 Calling the function block
23