Jump to content

Recommended Posts

Posted

I have problem with sms send block (SMS_poruchy). Fail bitmap (MI41) shows number 6. It should be index number from phone book for phone number that can not be reached. I have in phone book 3 numbers only. What does it mean?

  • MVP 2014
Posted

The value of 6 in the send fail bitmap means index 1 and 2 have failed to send (value 2 + 4 = 6)

Each bit of the send fail bitmap represents one phone index.

Posted

Thanks. But what is wrong? It is written: bitmap indicates index number of a phone number that cannot be reached. Is there something bad in ladder or is it something bad in GSM net? What should I do to be able to send SMS to that two phones?

  • MVP 2014
Posted

It usually means that the number is not valid. It is not related to the ladder logic, although just check that you are waiting for the message to be completely sent before performing any other modem-related actions.

Did you use the full international format for the number?

That is: + <country code> <phone number>

Check that you have typed the numbers correctly, and that you can send an SMS to that number from your mobile phone.

Also, what modem are you using?

Posted

The modem is Siemens TC65 and I use the full international format. I have In the ladder another SMS send block "hlaseni" and that is ok every time. I have a break contact "modem busy" In front of every SMS send blocks. I have 4 numbers In that SMS block "hlaseni" and 3 of them are in in the send block "poruchy".

  • MVP 2014
Posted

Can you post your Visilogic application (vlp file)? Maybe there is something in the logic that means one block works OK and the other doesn't.

Do your "poruchy" block and "hlaseni" blocks have any phone numbers in common? Can you try the numbers that fail in the "poruchy" block and see if they work in the "hlaseni" block?

Posted

Thank you for your help. The problem was two nets. In first was positive transition contact SB2 (power up) and config SMS_hlaseni and in the another net was the same but config SMS_poruchy. When I use one net with one contact and two config SMS.......it is ok. I don't understand why but it is :) .

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.