→Vendor block
The interface for a vendor block
(= vendor →function block or vendor →function)
is created in an ST-object whereas t
he implementation for a vendor block is created in →C.
Usually, a vendor block will be integrated in a custom library. But it is also possible to solely use a vendor block within the project in which the vendor block has been created.
Restrictions: The following variables are not supported in the interface of vendor blocks:
→temporary variables (VAR_TEMP...END)
If you need temporary variables without storing behavior, create them within the implementation functionality.→external variables (VAR_EXTERNAL...END)
Moreover, →methods are not supported for implementing a vendor block.
Information on creating a vendor block can be found under "Creating vendor blocks for the application or a library" .