111/160
AB Industrietechnik srl – Via Julius Durst, 70 – 39042 BRESSANONE (BZ) Italy – Tel: +39 0472/830626 – [email protected] – www.industrietechnik.it
32. Forced outputs via Modbus
It is possible to force any output via Modbus independently of the appliance's regulation. To force this output, write the forced
key to the FORCED_OUTPUTS_KEY register (10083) and then write the appropriate value to the address corresponding to
the output to be forced.
Definition of the forced key
The forced key is a 16-bit variable comprising 2 parts: the upper weighting has a fixed value (01100110) and the lower
weighting is a variable, depending on the forcing requests.
Upper weighting
Lower weighting
from 15 to 8 bits
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01100110
fixed value
x
AO3
x
AO2
x
AO1
x
DO5
x
DO4
x
DO3
x
DO2
x
DO1
x=0 refers to an output which is not able to be forced (the output takes the value given by the regulation);
x=1 refers to an output which can be forced. The output is disconnected from the controller and takes the value imposed via
Modbus, writing to the relevant register.
Output enabled in forced mode
Modbus write register and address
AO3
OUT_C
10015
AO2
OUT_B
10014
AO1
OUT_A
10013
DO5
STATE_REL5
10012
DO4
STATE_REL4
10011
DO3
STATE_REL3
10010
DO2
STATE_REL2
10009
DO1
STATE_REL1
10008
Example:
Enabling of relay 1 in forced mode:
Forced key = 01100110 00000001 in binary, 26113 in decimal.
Write variable FORCED_OUTPUTS_KEY to 26113.
Activation of the relay: write variable STATE_REL1 to 1.
Deactivation of the relay: write variable STATE_REL1 to 0.
Enabling of analogue output
AO2
:
Forced key = 01100110 01000000 in binary, 26176 in decimal.
Write variable FORCED_OUTPUTS_KEY to 26176.
Configuration of output to 3.4 V: write variable OUT_B to 34.
It is possible to enable forced mode for one or more outputs.
Example:
Enabling of relays 2 and 3 and analogue output
AO1
in forced mode:
Forced key = 01100110 00100110 in binary, 26150 in decimal.
Write variable FORCED_OUTPUTS_KEY to 26150.
Activation of relay 2: write variable STATE_REL2 to 1.
Activation of relay 3: write variable STATE_REL3 to 1.
Configuration of output to 4.2 V: write the variable OUT_A to 42.
In forced mode, the
icon is continuously displayed on the setpoint modification menu.
To exit forced outputs mode, write variable FORCED_OUTPUTS_KEY to 0.
Note:
If the controller is connected to a master control system and the forced outputs option is selected, AB Industrietechnik
does not take responsibility for any damage caused by the incorrect command of these outputs.