Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

PFC200 - SMSService - Receive SMS

Damian7546
2019-10-07
2019-10-14
  • Damian7546 - 2019-10-07

    Hi,

    I am using SMSServie to send / receive sms.
    Sending sms works very well.
    I have a problem with receive sms....

    I did this that I cyclic call function to receive sms an I chec if any message is available.
    But sometimes when I run cyclic receive sms I get error :
    "No source code available for this object because it is in the compiled library 'caa behaviour model, 3.5.11.0 (caa technical workgroup)'. Do you want to browse for the original library in order to display the source code?"

    And PLC achieve stop mode and fault.

    Whe I turn off cyclic call receive sms function everything with PLC is ok.

    What can be wrong ? My cyclic call receive function ?
    It is possible receive sms for example by event ? or something similar ?

    Please helps.

     
  • Damian7546 - 2019-10-07

    Any ideas ?

     
  • i-campbell

    i-campbell - 2019-10-07

    Any error message in the log when you double click the device and look in the logs tab?

     
  • Damian7546 - 2019-10-14

    I solved part of my problem with SMS Service.
    Problem was in sending and receiving SMS in the same time.

    Now everything works good - sending,receiving and deleting sms but only about thirty minutes.
    Next sms do not work. I must turnOFF and turn ON PLC to it works SMS.
    I do not know what can be wrong.

    I get log :
    Sun Oct 13 2019 21:56:24.044584 mdmd: Signal strength below 3
    Sun Oct 13 2019 21:56:24.053324 mdmd: Signal strength below 2
    Sun Oct 13 2019 21:56:24.066340 mdmd: Signal strength 0
    Sun Oct 13 2019 21:56:24.074771 mdmd: Radio access network not registered
    Sun Oct 13 2019 21:56:26.401563 mdmd: Modem port timeout
    Sun Oct 13 2019 21:56:36.441891 mdmd: Radio access network not registered
    Sun Oct 13 2019 21:56:47.449339 mdmd: 3G radio access network registered
    Sun Oct 13 2019 21:56:47.457739 mdmd: Signal strength 1 or above
    Sun Oct 13 2019 21:56:47.469309 mdmd: Signal strength 2 or above
    Sun Oct 13 2019 21:56:47.477248 mdmd: Signal strength 3 or above
    Sun Oct 13 2019 21:56:47.488819 mdmd: Signal strength 4 or above
    Sun Oct 13 2019 21:56:47.497527 mdmd: Signal strength 5 or above

    Probably it is caused when Modem port timeout appear... why modem is timeout ?
    I tried reinit SMS form my program but it doesn't work. I must restart my PLC.

     

Log in to post a comment.