Page 1 of 1

Send SMS

Posted: 08/02/2021, 14:43
by user14306
Hello,

To send an SMS with Movicon you must use the "2200.20.002" modem or can I use the "2200.20.008" modem?

Thank you in advance

Re: Send SMS

Posted: 08/02/2021, 14:55
by Pixsys tecnico 1
Hi,
sending SMS using Movicon is not possible due to hw limitation.

Possibilities:
- send e-mails using "Alarm dispatcher" function in Movicon (need Movicon license upgrade cod. 2400.35.003)
- send SMSs using LogicLab PLC code and 2200.20.002 GSM modem

Re: Send SMS

Posted: 09/07/2021, 8:19
by user14306
Hello,

I am trying to send sms with the "2200.20.002" modem but I can't. The message "The destination may be too small to store current result" appears when I compile the project.
Do you have any idea of the problem?

Thanks in advance

Re: Send SMS

Posted: 09/07/2021, 8:43
by Pixsys tecnico 1
Hi,
that warning is related to the input/output variables you are using with the FunctionBlock. I think it is not the problem.
Please check connection between HMI and modem, the cable must be complete (not only TX-RX-GND) because the modem need RTS/CTS signals.
Please check also that the FB mus be used in a program assigned to the background task, not in the fast.

Re: Send SMS

Posted: 09/07/2021, 9:27
by user14306
My wiring must be correct though, I managed on my pc with the "at" commands to send a sms but not with the HMI.
Maybe it's due to the fact that my variables are global variables?

Re: Send SMS

Posted: 09/07/2021, 11:09
by Pixsys tecnico 1
Hi,
I think is not a problem of global variables (is normal to use), the important thing is that these variables are not empty.
With this configuration it is working well:
sms.jpg
Are you sure to have assigned the task in background?
Keep in mind also that the phone number must have the international prefix but without the "+" symbol.

You can also try to impost this FB (sms_alert.pll), to be used with PLC/HMI with fw version 2.6.11 or new.
SMS_ALERT.zip