Programming via SIMATIC controller
8.4 General structure of the function blocks
SIMATIC RF650R/RF680R/RF685R
Configuration Manual, 03/2018, C79000-G8976-C386-06
115
The library is now linked in and the required blocks and data types have been created in
your project. The "IID_HW_CONNECT" data type has also been created and addressed.
You can now start programming and configuring the blocks.
Note
Configuring "IID_CMD_STRUCT"
If you work with the Ident profile or with the "AdvancedCmd" block, you also need to create a
further element with the data type "IID_CMD_STRUCT" (Array [1...10]) in the data block you
have already created.
8.4
General structure of the function blocks
Structure of the blocks based on the sample block "FB"
The following graphic shows an example of a block with input and output parameters as they
exist in the same way in all blocks.
①
Input parameters
②
Output parameters
Data type: Bit
Data type: Byte, Word, DWORD, INT
Figure 8-4
Example of a block