Why does the “Immediate value out of range” Error Occur After Routine Files were Loaded to an AB PLC by Using EtherNet/IP Communication?
Problem
When you establish the EtherNet/IP communication between the AB PLC and the vision system, after importing the routine file into the AB PLC, the following compilation error occurs.
Cause
The IO module data exceeds the index value. Connections in the EDS module of the vision system were not defined as the INT type as specified in the documentation.
Solution
-
Delete the added vision system module from the Ethernet network.
-
Add the vision system module again based on the documentation and modify the connections in module definition to the INT type.
-
Re-compile the routine program.