EcoStruxure Power Operation - How to fix Modbus Gateway Exceptions 0xB
Customer Issue:
In an EcoStruxure Power Operation (EPO) SCADA system runtime, there were frequent communication failures with Modbus RS485 serial devices connected through Modbus TCP/IP gateways. A driver from the MODNET family was used to facilitate communication with these devices. In this architecture, the SCADA system acted as a Modbus TCP/IP Client, while the field devices functioned as Modbus TCP/IP Servers through the gateways.
Resolution:
Several attempts made on both SCADA side and Gateway side were not helping at all, such as:
- increasing the Polling time (Cache Time), Timeout, Retries and applying a Driver Error Masking (Citect's KB - Q5923 Driver Error 00008203 (0x0000200b) with MODNET driver when connecting via a gateway) on SCADA side,
- increasing the Response Time of Serial Port on the Modbus TCP/IP gateway side.
The gateway was replying with exception responses as if the source devices were offline: GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND_EXCEPTION = 0xB
It was happening several times during the runtime, not periodically, however, long enough to put these IODevices offline and trigger communication failure alarms.
When analysing the Modbus TCP/IP frames, it was observed that the Exception Responses were not always to the same register(s) Modbus Read Request, and were not successively persisting more than one Modbus Response, meaning that the next Modbus Read Request from SCADA was answered without error.
It looked like a problem on the Modbus Server devices.
The most efficient way to fix it was by replacing the IODevice Protocol MODNET with PwrModbus and enabling RetryException in [PWRMODBUS] section of citect.ini:
[PWRMODBUS]
RetryException = 1
Note: RetryException = 0 by default, meaning that retries on exceptions are disabled. The RetryException is a feature of the PwrModbus driver, which was not available in the MODNET driver.
More info about this parameter (which exception codes are retried) can be found in the PwrModbus Driver's help (C:\Program Files (x86)\Schneider Electric\Power Operation\v[version number]\bin\PWRMODBUSDriverhelp.chm).
The number of default retries for PwrModbus driver is 3 and is handled by the "[PWRMODBUS] retry" parameter.
In this system, a [PWRMODBUS] retry = 2 worked well, however it is parameter that can be tuned.
This resolution applies to a SCADA system matching all the conditions below:
- any Power Operation versions higher than 7.40 (Power SCADA Expert, Power SCADA Operation, Power Operation) patched or unpatched with Cumulative Updates
- any PwrModbus and MODNET driver versions compatible with the above.
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.