Handling the Compilation Error "Immediate value out of range" in AB PLC EtherNet IP Standard Interface


After importing the AB plc EtherNet IP standard interface routine into the PLC, a compilation error occurs: Immediate value out of range.


Error message: The IO module data exceeds the index value. Connections in the vision EDS module were not defined as INT type as per the usage documentation.

Troubleshooting steps:

  1. Delete the added vision module from the Ethernet network.

  2. Refer to the documentation and re-add the vision module. Modify the module definition Connections to INT type according to the steps (as shown in the image below):

  3. Re-compile the program routine. The error log should no longer appear.