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
84248members
353347posts

GeoSCADA Serial Write Fail with Moxa NPORT

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
Teaan
Lieutenant JG
Lieutenant JG
0 Likes
5
1335

GeoSCADA Serial Write Fail with Moxa NPORT

Hi,

 

We needed to move one of our clients to a virtual enviroment after there GeoSCADA server failed, the original server connected to a Trio MR450 radio and Serial SMS modem. To interface to the serial devices now we have installed Moxa NPORT 5210 serial to ethernet devices and am using the REALCOM functionality on the server. 

 

Communicating using Trio Diagnostic software to the radios and with the SCADAPack's using the e-configurator.

 

However from GeoSCADA we almost get an immediate error that indicates channel failed, no Write in Progress. In the logs is returned as 0x40000011. This happens with all serial channels and almost happens immediately.

 

I have had this with support for more than a month now, without any resolution and have a very angry, irritated client on me. 

 

Does anybody know what this can be and have resolution for this?

 

Regards

Teaan


Accepted Solutions
AndrewScott
Commander
Commander
4
1327

Re: GeoSCADA Serial Write Fail with Moxa NPORT

The Geo SCADA drivers use Windows overlapped I/O for asynchronous reads/writes to serial ports. The "No write in progress" errors means that the serial port device driver (Real COM) has signalled an asynchronous write has completed but no write is currently in progress, so this is unexpected.

 

This could be a fault with the Real COM device driver.

 

We've seen this same issue with Comtrol RocketPort and DeviceMaster serial ports. In this case the device driver signals each asynchronous write has completed twice - this is not standard behaviour for a serial port driver. Comtrol have a setting called 'Wait on physical transmission before completing write' which disables this non-standard behaviour. It might be worth asking Moxa if they have a similar feature in their Real COM device drivers.

 

A Geo SCADA driver log with the "I/O" and "Channels" logging options enabled showing the error occurring should confirm what is happening. This log will show each individual write start and complete.


Andrew Scott, Lead Engineer, AVEVA

See Answer In Context

Teaan
Lieutenant JG
Lieutenant JG
0 Likes
3
1324

Re: GeoSCADA Serial Write Fail with Moxa NPORT

Hi @AndrewScott ,

 

Thank you so much for your answer, it was indeed a driver issue. Moxa has two types of drivers it seems that one is driven through their Administrative suite software the other is Windows Drivers Manager. We only had the Administrative Suite installed and not the Windows Drivers Manager. We only had the the first mentioned installed, installing the second piece of software allowed the drivers to show up in the OS device manager and immediately everything started working.

 

Regards

Teaan

See Answer In Context

5 Replies 5
AndrewScott
Commander
Commander
4
1328

Re: GeoSCADA Serial Write Fail with Moxa NPORT

The Geo SCADA drivers use Windows overlapped I/O for asynchronous reads/writes to serial ports. The "No write in progress" errors means that the serial port device driver (Real COM) has signalled an asynchronous write has completed but no write is currently in progress, so this is unexpected.

 

This could be a fault with the Real COM device driver.

 

We've seen this same issue with Comtrol RocketPort and DeviceMaster serial ports. In this case the device driver signals each asynchronous write has completed twice - this is not standard behaviour for a serial port driver. Comtrol have a setting called 'Wait on physical transmission before completing write' which disables this non-standard behaviour. It might be worth asking Moxa if they have a similar feature in their Real COM device drivers.

 

A Geo SCADA driver log with the "I/O" and "Channels" logging options enabled showing the error occurring should confirm what is happening. This log will show each individual write start and complete.


Andrew Scott, Lead Engineer, AVEVA
Teaan
Lieutenant JG
Lieutenant JG
0 Likes
3
1325

Re: GeoSCADA Serial Write Fail with Moxa NPORT

Hi @AndrewScott ,

 

Thank you so much for your answer, it was indeed a driver issue. Moxa has two types of drivers it seems that one is driven through their Administrative suite software the other is Windows Drivers Manager. We only had the Administrative Suite installed and not the Windows Drivers Manager. We only had the the first mentioned installed, installing the second piece of software allowed the drivers to show up in the OS device manager and immediately everything started working.

 

Regards

Teaan

Tyrone19
Lieutenant Lieutenant
Lieutenant
0 Likes
2
1225

HiRe: GeoSCADA Serial Write Fail with Moxa NPORT

Hi Teaan

 

How did you solve this? I am having the exact same problem now, ive installed both softwares however it still does not work.

Teaan
Lieutenant JG
Lieutenant JG
0 Likes
1
1215

Re: HiRe: GeoSCADA Serial Write Fail with Moxa NPORT

Hi @Tyrone19 

 

You need to go to Program Files, under the moxa folder. There should be an application called Npcom, you need to open that and under advanced settings update it as shown in the picture below. This worked for me hope it helps you as well.

 

Capture.PNG

 

Regards

Teaan

Tyrone19
Lieutenant Lieutenant
Lieutenant
0 Likes
0
1208

Re: HiRe: GeoSCADA Serial Write Fail with Moxa NPORT

Hi 

 

Thank for this- It eventually did start working however there are time the modem loses coms but reconnects after a few seconds.

 

Thank you