Iris _

Pixsys Forum

everybody's effort for the same goal

Send SMS

Post Reply
user14306
Posts: 20
Joined: 01/12/2016, 13:51

Send SMS

Post 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
Pixsys tecnico 1
Moderatore
Posts: 1678
Joined: 29/10/2010, 10:09
Contact:

Re: Send SMS

Post 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
user14306
Posts: 20
Joined: 01/12/2016, 13:51

Re: Send SMS

Post 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
Pixsys tecnico 1
Moderatore
Posts: 1678
Joined: 29/10/2010, 10:09
Contact:

Re: Send SMS

Post 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.
user14306
Posts: 20
Joined: 01/12/2016, 13:51

Re: Send SMS

Post 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?
You do not have the required permissions to view the files attached to this post.
Pixsys tecnico 1
Moderatore
Posts: 1678
Joined: 29/10/2010, 10:09
Contact:

Re: Send SMS

Post 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
You do not have the required permissions to view the files attached to this post.
Post Reply