Applies To:
  • CitectSCADA 4.xx, 5.xx

Summary:
I am getting MODNET driver error 0x2001 in Citect. Is this error related to the standard MODBUS exception codes?

Solution:
The MODNET protocol is very similar to MODBUS and shares the same exception codes. All of the standard exception codes are mapped to the 0x2000 range in the Citect MODNET driver. So error 0x2001 is MODBUS exception code 01 - Illegal Function.

Listed below are the standard MODNET error codes in Citect and their meaning -

0x2001 General Error

Illegal Function Address

0x2002 Generic Address Range Error

The variable address is out of range.

0x2003 Generic Address Range Error

The address/length is out of range.

0x2004 General Error

Unrecoverable error in device.

0x2005 General Error

Device taking too long to process request.

0x2006 General Error

Device busy.

0x2007 General Error

Device cannot perform function code requested.

0x2008 General Error

Device parity error reading extended memory.

0x200A GATEWAY PATH UNAVAILABLE

Gateway was unable to allocate a Modbus Plus PATH to use to process the request. Usually means that the gateway is misconfigured.

0x200B GATEWAY TARGET DEVICE FAILED TO RESPOND

Indicates that no response was obtained from the target device. Usually means that the device is not present on the network.

 

Keywords:
 

Attachments