Block writes
Block writes represent blocks of registers that are updated in a single write operation. There are two types of block writes:
- Fixed: fully specified and compiled before run time. Writing the value of ‘1’ to such a variable tag causes the specified fixed values to be written to the specified registers.
- Variable: specified on the fly. The registers and the values to be written are not fixed; they are specified during run time by the user.
Fixed block writes have the following format:
T:BWF;[D:{B|C|M|P};]S:<start_register>,<values>
where
B, C, M,or P are applicable only to Micrologic devices (otherwise the D: section is omitted) and is the module (manager) identifier (Circuit Breaker, Chassis, Metering, Protection).
<start_register> is the first register number for a contiguous block of registers.
<values> is a comma-separated list of up to 10 values that will be written to the registers starting from <start_register>.
For example:
T:BWF;S:100,1,2,3,4,-5
Variable block writes have the following format:
where
B, or C, or M, or P is applicable only to Micrologic devices (otherwise the D: section is omitted altogether) and is the module (manager) identifier (Circuit Breaker, Chassis, Metering, Protection)
For example:
T:BWV;
The start register and the values to be written follow exactly the same rules and syntax as the definition for the Fixed Block Write, however, these are specified at the time the write operation is performed. For example, specifying “S:100,1,2,3,4,-5” as the write value for the tag “T:BWV;“ would write values 1,2,3,4, and -5 to the registers 100, 101, 102, 103, and 104.