- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-22 04:17 AM . Last Modified: ā2023-05-03 12:08 AM
Geo Scada compatible GSM-modem
****EDIT****
Couldnāt solve this with Westermo MRD-455 so now we trying to make it work with Schneider SR2MOD02 GSM-Modem
https://www.se.com/se/sv/product/SR2MOD02/zelio-2-gsm-modem/
I have a healthy communication with the modem and I can receive sms for acknowledge and control, but I canāt send sms. I have tried with both GSM and UCS-2 but without success.
DriverPager_001
12-JAN-2021 14:21:07.674 [COM1] Error: reason unknown or not given, failing request
12-JAN-2021 14:21:07.674 [Main] Received reply (Failed 0x4000015) to Send Message request (Id:1) for "gsm.New SMS Service"
I attach the complete log files and hope you have some ideas for me to try!
/andgus
--------------------------------------------------------------------
Hi,
How can I see if a GSM-modem is compatible with Geo Scada?
With ClearScada 2017 I used a Westermo GDW-11 but this product is no longer being sold so I ordered the newer MRD-455 but I canāt get it to work.
The modem works fine with other programs and I can send/receive sms but with Geo Scada 2019 I receive āCommunications state ā Failed (GSM Modem poll failed ā Operation not supported).
I use ATV1E0 as Modem Command and in the Driver Pager COM log (attached) I receive CME ERROR: 30 (No network service).
I use the same communication settings in Geo Scada as in other working programs.
/andgus
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-25 09:47 PM
Yes, by default the R3000 routes received SMS messages internally to the 'wrong' interface for what we'd like.
So you need to send a few custom AT commands to the Quectal modem internal to the R3000.
You'll want to look at the AT+QURCCFG command, and the R3000 output sits on the usbmodem interface (not the usbat).
So you need to change that urcport.
Ideally ClearSCADA / GeoSCADA would have supported polling for received SMS messages, since it would broaden the number of supported modems. But I don't think there's much interest in such enhancements.
You might also find that you get some network registration messages which cause ClearSCADA/GeoSCADA to complain occasionally, you can suppress them with +CGREG=0
It makes for a slightly long initialisation string, but it's set and forget, so not such an issue.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-22 04:33 AM . Last Modified: ā2020-10-22 04:35 AM
The channel IO log shows the modem has generated a "CME ERROR: 303" error which is "Operation not supported", not "CME ERROR: 30" which is "No network service".
The error is being produced in response to the following AT command:
ATV1E0+CNMI=3,2
This indicates that the modem doesn't support the "+CNMI=3,2" command (this is the default command for pager SMS service).
You can change this command by modifying the "Incoming SMS Command" setting, see the following page in the help for details:
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-22 04:51 AM
Thank you Andrew!
One step closer to the solution. Now it seems to return CME ERROR: 303 at the next step (ATV1E0+CSCS="GSM) as you can se in the log.
Tx 22 bytes at 22-OCT-2020 11:45:12.922
0000 41 54 56 31 45 30 2B 43 4E 4D 49 3D 31 2C 32 2C ATV1E0+CNMI=1,2,
0010 30 2C 30 2C 30 0D .. .. .. .. .. .. .. .. .. .. 0,0,0.
Rx ACCEPTED 6 bytes at 22-OCT-2020 11:45:13.069
0000 0D 0A 4F 4B 0D 0A .. .. .. .. .. .. .. .. .. .. ..OK..
Tx 18 bytes at 22-OCT-2020 11:45:14.070
0000 41 54 56 31 45 30 2B 43 53 43 53 3D 22 47 53 4D ATV1E0+CSCS="GSM
0010 22 0D .. .. .. .. .. .. .. .. .. .. .. .. .. .. ".
Rx ACCEPTED 19 bytes at 22-OCT-2020 11:45:14.223
0000 0D 0A 2B 43 4D 45 20 45 52 52 4F 52 3A 20 33 30 ..+CME ERROR: 30
0010 33 0D 0A .. .. .. .. .. .. .. .. .. .. .. .. .. 3..
/andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-22 05:21 AM
The second error indicates the modem doesn't support the +CSCS="GSM" command which changes the TE character set to the GSM 03.38 character set.
There is no option in the pager driver to change this command.
You can discover what character sets the modem supports using the AT+CSCS=? command from a terminal connected to the modem.
The website describes this device as a 4G router rather than a simple modem:
https://www.westermo.com/products/routers/wireless-routers/mrd-455
Might it need putting into a particular 'mode' to function as a simple modem (for sending/receiving SMS text messages) rather than a router connecting to the internet?
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-22 06:13 AM
The MRD-455 is set to "Modem Emulator" but it looks like it only support IRA och UTF-8. I will contact the supplier to see if there are any options.
/andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2020-10-23 10:07 PM
My suggestion is to try to get Westermo to tell you what modem model they use internally to the device. This is typically something like a Huawei, or Quectel, or Sierra Wireless etc. Typically this is what does all the radio comms smarts for these units, so your AT SMS commands are likely being forwarded directly to the internal 4G modem chipset (i.e. Quectel BG96).
Once you know what model this is, then you can normally obtain the AT SMS manual, and see what options are supported, and what some of the conditions for the support are. Sometimes it will only support things like GSM mode if some other setting is modified first.
You might be able to get some success with UCS-2 if the GSM doesn't work.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-13 12:50 AM
Couldnāt solve this with Westermo MRD-455 so now we trying to make it work with Schneider SR2MOD02 GSM-Modem.
I have a healthy communication with the modem and I can receive sms for acknowledge and control, but I canāt send sms. I have tried with both GSM and UCS-2 but without success.
I attach the complete log files and hope you have some ideas for me to try!
/andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-13 01:48 AM
The modem is reporting an error when sending the SMS using the AT+CMGS command:
https://www.developershome.com/sms/cmgsCommand.asp
Tx 23 bytes at 12-JAN-2021 14:21:02.896
0000 41 54 2B 43 4D 47 53 3D 22 2B 34 36 37 30 31 39 AT+CMGS="+46701x
0010 30 33 39 39 34 22 0D .. .. .. .. .. .. .. .. .. xxxxx".
Rx ACCEPTED 4 bytes at 12-JAN-2021 14:21:02.919
0000 0D 0A 3E 20 .. .. .. .. .. .. .. .. .. .. .. .. ..>
Tx 24 bytes at 12-JAN-2021 14:21:02.921
0000 67 73 6D 2E 41 4C 41 52 4D 20 44 69 67 69 74 61 gsm.ALARM Digita
0010 6C 20 50 6F 69 6E 74 1A .. .. .. .. .. .. .. .. l Point.
Rx ACCEPTED 9 bytes at 12-JAN-2021 14:21:07.674
0000 0D 0A 45 52 52 4F 52 0D 0A .. .. .. .. .. .. .. ..ERROR..
Is that the actual phone number +46701xxxxxx or has this log file been redacted?
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-13 01:55 AM
The phone number has been redacted in the log.
I can send sms with the modem from other software.
/andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-13 03:24 AM
Do you have settings that align with the below FAQ?
https://www.se.com/au/en/faqs/FA232800/
If you can get a serial port capture of the messages from the other software it would likely be helpful to identify the differences.
For what it's worth, we've been using the Robustel R2000 (or R3000) modems without any issues.
In the past we've also used Intercel modems, and the Maestro M250 (I think that was the model) series.
One of our primary requirements is AT over Ethernet, so that we don't need a serial port, and can just have the modem on an ethernet network 'somewhere'. Makes things much easier when handling redundancy and diversity.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-13 04:58 AM
This is the log from the other software when I send the text TEST SMS:
2021/01/13 13:54:39.732 > AT+CMGS=21<cr>
2021/01/13 13:54:39.766 < > <cr><cr>
2021/01/13 13:54:39.771 > 07916407058099F931040B916407913099F40000AA08D4E2940A9A36A7<sub>
2021/01/13 13:54:41.800 < +CMGS: 96<cr><lf><cr><lf>
2021/01/13 13:54:41.811 < OK<cr><lf>
2021/01/13 13:54:44.821 < +CDS: 6,96,"+46701xxxxxx",145,"21/01/13,13:54:00+04","21/01/13,13:54:00+04",0<cr><lf>
/andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-15 04:41 PM
That's quite different.
Is the whole conversation available?
That doesn't appear to be using GSM messages, so I suspect it's using UCS-2 (I've never really used it, but it doesn't look ASCII-like for the message... unlike what I normally see for GSM).
Perhaps create a channel / SMS paging service from scratch for testing on the new modem. Just to make sure that the settings aren't 'weird' in the current setup.
The only things that you should really need to change would be the channel setting for baud rate (to match the modem / link speed connection), and port number etc.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-25 12:54 PM
I have the Robustel R3000 on my desk now and the send function works fine but I donāt manage to route incoming messages to Geo Scada. With +CNMI=3,2 I receive āno supportā error. I have healthy communication with +CNMI=1,2,0,0,0 but I donāt receive any messages. Perhaps it has something to do with āunless the communication link is reservedā. Not sure what this isā¦
- +CNMI=3,2āForward incoming SMS messages to the computer to which the modem is connected. Do not store the messages.
- +CNMI=1,2,0,0,0āDo not store the messages. Forward incoming SMS messages to the computer to which the modem is connected unless the communication link is reserved (that is, in online data mode). If the communication link is reserved, discard received messages.
Did you have to change any settings in the R3000 to make it route messages to Geo Scada?
I use the Connection Type TCP/IP, TCP.
Regards
andgus
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-25 09:47 PM
Yes, by default the R3000 routes received SMS messages internally to the 'wrong' interface for what we'd like.
So you need to send a few custom AT commands to the Quectal modem internal to the R3000.
You'll want to look at the AT+QURCCFG command, and the R3000 output sits on the usbmodem interface (not the usbat).
So you need to change that urcport.
Ideally ClearSCADA / GeoSCADA would have supported polling for received SMS messages, since it would broaden the number of supported modems. But I don't think there's much interest in such enhancements.
You might also find that you get some network registration messages which cause ClearSCADA/GeoSCADA to complain occasionally, you can suppress them with +CGREG=0
It makes for a slightly long initialisation string, but it's set and forget, so not such an issue.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: ā2021-01-26 12:35 AM
Thank you Bevan!
Works fine now š
/andgus
Link copied. Please paste this link to share this article on your social media post.

