From OpenSCADAWiki
We name the discrete parameter — CB102 (CB102). The parameter type set to "Logical", the parameter template select in "base.digitBlockUnif", set the flags "To enable" and "Enabled". Next, we need to configure:
- The parameter template in the "Template configuration" tab (Fig.4.3.4), which appeared:
- the "Command 'Open'" field set to value of the ModBus-bit address of the parameter — "C:100:rw";
- the "State 'Opened'" field set to value of the ModBus-bit address — "C:101";
- the "State 'Closed'" field set to value of the ModBus-bit address — "C:102";
- the "Time to hold the command" field set to — 0, because the command is not the pulse one.
- The "Attributes" tab (Fig.4.3.5) — make sure the availability of the command and states.
- Save the object.