Attributes
In this section will be described basic block Attributes.
Block#
Universal attribute for all blocks (DB,FC,FB,OB,IDB) defining base properties, such as Name, Comment, Version ...
note
Use arguments in the format {0,1 ...} to write it with "params string[] args"
note
If name or Block attribute is not used. Name will be taken from class name.
Destination#
Defines where the block will be placed in the Tia folder structure.
note
Use '/' or '", "' to separate directory.
Scope#
Base on name from attribute will be generated number for block. Connection between name and number must be defined by AddressScopeDefinition in PlcClient class.
warning
When in block properties (attribute) 'number' is defined Scope will be ignored.