To simplify the creation of communicating control points, instead of creating a template and reusing it, you can simply add a suffix to the template.
The format is the following:
-
pathToABog {proxyExtSlotName=DesiredTypeSpec} or
-
TypeSpec {proxyExtSlotName=DesiredTypeSpec}
You can also put this value in a variable and reuse it
Example:
$MyModbusPoint = control:BooleanWritable{proxyExt=modbusCore:ModbusClientBooleanProxyExt} will create a BooleanWritable with a ModbusClientBooleanProxyExt instead of its standard NullProxyExt
BREAKING CHANGE: since the 46.13.1 you must put the suffix between curly braces: { }
You CANNOT put $MyVar {slot name=TypeSpec} in the template cell, the brackets and their content must be IN the variable value
Example: If you have a variable $MyVar= control:BooleanWritable and you put
$MyVar{proxyExt=modbusCore:ModbusClientBooleanProxyExt}, the import won’t work
This suffix can only be used at the creation of the component, an existing component won’t be updated
To add a new sub component in a NON EXISTING slot, use the
subComponent
column, this syntax can only be used to change already present slots.
See Proxy extensions for a concrete exemple with some files