Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84343members
353521posts

Geo Scada compatible GSM-modem

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
EC_andgus
Ensign
Ensign
0 Likes
14
3895

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

Attachments

Accepted Solutions
BevanWeiss
Spock
Spock
0 Likes
1
3191

Re: Geo Scada compatible GSM-modem

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..

See Answer In Context

14 Replies 14
AndrewScott
Commander
Commander
0 Likes
13
3889

Re: Geo Scada compatible GSM-modem

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:

https://tprojects.schneider-electric.com/GeoSCADAHelp/Geo%20SCADA%202019/Default.htm#PagerDriverGuid... 


Andrew Scott, Lead Engineer, AVEVA
EC_andgus
Ensign
Ensign
0 Likes
12
3884

Re: Geo Scada compatible GSM-modem

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

AndrewScott
Commander
Commander
0 Likes
11
3874

Re: Geo Scada compatible GSM-modem

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, Lead Engineer, AVEVA
EC_andgus
Ensign
Ensign
0 Likes
10
3872

Re: Geo Scada compatible GSM-modem

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

BevanWeiss
Spock
Spock
0 Likes
9
3814

Re: Geo Scada compatible GSM-modem

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..
EC_andgus
Ensign
Ensign
0 Likes
8
3384

Re: Geo Scada compatible GSM-modem

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

Attachments
AndrewScott
Commander
Commander
0 Likes
7
3382

Re: Geo Scada compatible GSM-modem

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, Lead Engineer, AVEVA
EC_andgus
Ensign
Ensign
0 Likes
6
3378

Re: Geo Scada compatible GSM-modem

 

The phone number has been redacted in the log.

 

I can send sms with the modem from other software.

 

/andgus

BevanWeiss
Spock
Spock
0 Likes
5
3371

Re: Geo Scada compatible GSM-modem

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..
EC_andgus
Ensign
Ensign
0 Likes
1
3370

Re: Geo Scada compatible GSM-modem

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

BevanWeiss
Spock
Spock
0 Likes
0
3315

Re: Geo Scada compatible GSM-modem

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..
EC_andgus
Ensign
Ensign
0 Likes
2
3196

Re: Geo Scada compatible GSM-modem

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

BevanWeiss
Spock
Spock
0 Likes
1
3192

Re: Geo Scada compatible GSM-modem

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..
EC_andgus
Ensign
Ensign
0 Likes
0
3185

Re: Geo Scada compatible GSM-modem

Thank you Bevan!

 

Works fine now 👍

 

/andgus