Attributes
In this section will be described basic block Attributes.
#
BlockUniversal 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.
#
DestinationDefines where the block will be placed in the Tia folder structure.
note
Use '/' or '", "' to separate directory.
#
ScopeBase 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.