32/126
26. Outputs forced via Modbus
It is possible to force each output via Modbus indipendently from regulation. To abilitate this function write on address FORCED_
OUTPUTS_KEY (3070) the forced key and then write the required value on the register corresponding to the output.
Forced key definition
The forced key is a 16 bit variable, it has 2 parts, the high part has a constant value (01100110), and the low part is variable
based on outputs that have to be forced.
High part
Low part
bit from 15 to 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01100110
constant value
x
AO3
x
AO2
x
AO1
x
DO5
x
DO4
x
DO3
x
DO2
x
DO1
x=0 corresponds to output not abilitated to be forced (the output is set by regulation);
x=1 corresponds to output abilitated to be forced. The output is disconnected from regulation and take the value of corre
-
sponding register set by Modbus.
Output abilitated to be forced
Modbus writing register and address
AO3
OUT_C
3014
AO2
OUT_B
3013
AO1
OUT_A
3012
DO5
STATE_REL5
3011
DO4
STATE_REL4
3010
DO3
STATE_REL3
3009
DO2
STATE_REL2
3008
DO1
STATE_REL1
3007
Example:
Abilitation of output relay 1 to be forced:
Forced key = 01100110 00000001 in binary, 26113 in decimal.
Write 26113 to variable FORCED_OUTPUTS_KEY.
Relay activation: write 1 to variable STATE_REL1.
Relay deactivation: write 0 to variable STATE_REL1.
Abilitation of analog output
AO2
:
Forced key = 01100110 01000000 in binary, 26176 in decimal.
Write 26176 to variable FORCED_OUTPUTS_KEY.
Output set to 3.4V: write 34 to variable OUT_B
It is possible to abilitate more than one output in forced mode.
Example:
Abilitation of outputs relay 2, 3 and analog output
AO1
to be forced:
Forced key = 01100110 00100110 in binary, 26150 in decimal.
Write 26150 to variable FORCED_OUTPUTS_KEY.
Relay 2 activation: write 1 to variable STATE_REL2.
Relay 3 activation: write 1 to variable STATE_REL3.
Output set to 4.2V: write 42 to variable OUT_A
On forced output mode the
icon is switched on inside the menu setpoint.
To exit forced mode of output, write 0 to FORCED_OUTPUTS_KEY.
Note:
if regulator is connected to a master system control and the option of force mode is abilitated, AB Industrietechnik
will not be considerd responsible for damage due to erroneous drive of these outputs.