
56
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
WM4-96
V1 R3
Page
7.6.1 Active working mode
WM4 is able to call up to 5 different phone numbers and send an SMS message in case of
activation or deactivation of up to 4 alarms.
The connection between WM4 and the GSM modem is to be carried out after storing on the Flash
memory the phone number to which the messages are to be sent and the text messages to be
associated both to the alarm activation and alarm deactivation (see paragraph 5.2).
The text messages associated to the alarms will be sent only if this function is enabled (see
EEPROM addresses 2078h and 207Ah). It is required to specify the number of telephone number
towards which the messages are to be sent (maximum 5, see EEPROM address 207Ch). The
messages will be sent to every selected phone numbers in the specified order.
7.6.2 Passive working mode
WM4 is able to answer to a SMS message, sending the required values of the selected variables
(instantaneous variables, data logging variables, energy meters or alarm status).
The connection between WM4 and the GSM modem is to be carried out after storing the 3–digit
password value to be used to identify the instrument (see EEPROM address 207Eh).
The instrument can be interrogated by means of a SMS message whose fixed text is to be inferred
by the following table.
Variables to be read Request SMS text Answer SMS text
VL1, VL2. VL3, VLΣ
WM4.xxx.VN
WM4.xxx:
V1-2, V2-3, V3-1, VΣ
WM4.xxx.VL
WM4.xxx:
AL1, AL2, AL3, AΣ
WM4.xxx.A
WM4.xxx:
WL1, WL2, WL3, WΣ
WM4.xxx.W
WM4.xxx:
VAL1, VAL2, VAL3, VAΣ
WM4.xxx.VA
WM4.xxx:
varL1, varL2, varL3, varΣ
WM4.xxx.VAR
WM4.xxx:
PFL1, PFL2, PFL3, PFΣ
WM4.xxx.PF
WM4.xxx:
Wdmd, VAdmd, vardmd, PFdmd
WM4.xxx.DMD
WM4.xxx:
Log1, Log2, Log3, Log4, Log5,
Log6, Log7, Log8
WM4.xxx.LOG
WM4.xxx:
Total kWh+, kvar+ , kWh-, kvar-
WM4.xxx.TOTAL
WM4.xxx:
Winter kWh+, kvar+ , kWh-, kvar-
WM4.xxx.ENGWn
WM4.xxx:
Summer kWh+, kvar+ , kWh-, kvar-
WM4.xxx.ENGSn
WM4.xxx:
Holiday KWh+, Kvar+ , KWh-, Kvar-
WM4.xxx.ENGHn
WM4.xxx:
Status Alarm1, Alarm2, …..
WM4.xxx.ALARM
WM4.xxx:
Where:
“xxx” is the SMS password
"ENGW1" .... "ENGH4" are the partial energy meter of each season: for example ENGW1
means “energy meter winter tariff1”; ENGH4 means “energy meter holiday tariff4”.
“Log1” … “Log8” are the last logged variables stored on the Flash memory.
Example 26: dmd variables request (SMS password 123)
Request SMS text: WM4.123.DMD
Answer SMS text: WM4.123.DMD.12.45KW dmd, 16.04KVA dmd, 3.45Kvar dmd, 0.79PF
Comentarios a estos manuales