
USER MANUAL – Z-GPRS2-SEAL / Z-LOGGER-SEAL
172
The alert state is copied to the digital output 1: when the digital input 1 is in alert the digital output 1 is in
SET state, when the alert end the digital input 1 is in RESET state.
26.2.
Temperature Control with Logger and Alerts
We want to maintain a room temperature from 15°C to 20°C, when the temperature is over 25°C we want
to obtain an SMS Alert, also if the temperature is below 10°C we want to obtain a SMS alert.
We read the temperature from a Seneca Z-4TC Modbus module.
Connect to Output 1 a fan and to output 2 a heater.
We want to log the temperature to the micro SD card too.
We add the CH1_MEASURE register from the Z-4TC Seneca module with the first register temperature.
Then we test if the temperature value is > 20°C then we close the out1 so the fan is activated.
If the temperature is < 20°C the fan is powered off. Note that we have add a 0,5°C Hysteresis.
Similary is made for the heater when the temperature is < or > of 15°C.
The alert values will send a text alert with the “room temp too hot” or “room temp too cold” text.
We divide by a factor 10 the Z-4TC Modbus register because the value is in °C*10.
So for obtaining °C we must add a filter scale: