>>Message imported from previous forum - Category:Communications Products << User: mchartrand, originally posted: 2018-10-25 15:27:55 Id:222 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
**_RobQ: Hi, I am using a modem to send/receive SMSs via ClearSCADA. The incoming SMSs get stored on the SIM card. The SIM card fills up quickly and once full, will not accept any new SMSs. I've tried handling it on the modem side but the modem does not support forwarding of SMSs directly to the terminal equipment. Nor does it support storage of SMSs to the modem memory. I can call AT commands on startup of the modem to delete the messages and the modem can be restarted periodically but restarting the modem is not ideal. So I was wondering if there is a way that ClearSCADA can issue an AT command to the modem. This way once I have processed the SMS, I can delete it from the SIM so it will never fill and stop receiving messages. I know this is not ideal either but there doesnt seem to be a way to do it using this modem. The modem I am using is a MultiTech rCell MTCBA-H5-EN2. Any help is appreciated. Robert_**
natebergeron: You can use a terminal like PuTTY that supports pre-written scripts. Then execute the scripts via ClearSCADA. You'd have to work out the details but it could be worth looking in to.
**_RobQ: Hi natebergeron, The issue with that approach is that ClearSCADA has control of the port the modem is expecting the commands to come in on. So it really needs to be ClearSCADA being the one issuing the commands. I've had a reply from support about this issue and they said it cannot be done by ClearSCADA but needs to be done by the modem itself. But if anyone else can think of a way around it..._**
natebergeron: You could use a product like the moxa g3110 which supports both a serial and lan interface. Use clearscada to connect with The serial interface and use the putty terminal to connect over Ethernet.
bevanweiss: This is probably a bit old now, but...
You can enter a Modem Command in the Paging Channel config. This is generally just one AT set (ATV1E0), however the AT command set does allow you to issue several commands on the one 'line', just by placing a semi-colon between them ';' (and the subsequent commands shouldn't have the AT portion)
Which will enable some verbose error messages, disable echo, configure text mode for SMS, and then dial (using DTMF) 5551234 (with a pause between the 555 and the 1234)..
If you know the commands to flush the modems SMS data then you could put this here... it would be flushed every time the modem is 'polled for health' though