Hey i wonder if anyone can help me with this,
i use a TC65 modem with a s7-226 cpu and use siemens SET5
https://support.automation.siemens....lib.csinfo&lang=en&objid=21063345&caller=view
to send SMS
and now i need to send a command so i know if the modem have connection to the network, going to do that every 1minute or so,
was asking that to siemens support and the told me this
"I’m sorry, we’ve no example for that. You can send “at+creg?” with STR_CPY to VB1796. With a block RCV you can save the answer of the modem to a value . What answers you can get you can find here:
http://www.nobbi.com/atgsm.htm#+creg
“1” means your modem is logged in. I’m sorry, I only know this German site."
and i don't know how to use str_cpy and block rcv, any one that can put me in the right direction?
i use a TC65 modem with a s7-226 cpu and use siemens SET5
https://support.automation.siemens....lib.csinfo&lang=en&objid=21063345&caller=view
to send SMS
and now i need to send a command so i know if the modem have connection to the network, going to do that every 1minute or so,
was asking that to siemens support and the told me this
"I’m sorry, we’ve no example for that. You can send “at+creg?” with STR_CPY to VB1796. With a block RCV you can save the answer of the modem to a value . What answers you can get you can find here:
http://www.nobbi.com/atgsm.htm#+creg
“1” means your modem is logged in. I’m sorry, I only know this German site."
and i don't know how to use str_cpy and block rcv, any one that can put me in the right direction?