I have the following components:
- Allen Bradley Compact Logix PLC (1769-L19ER-BB1B)
- Anybus X-gateway (AB7669-F)
- Modbus server running on a PC
I am attempting to connect to the Modbus server from the PLC through the gateway. I am getting the error “(Code 16#0005) Connection Request Error: Bad Class” in Studio 5000 when I bring the PLC online.
I have configured the gateway as follows using the Anybus Configuration Manager:
I have the following Module Definition for the gateway in Studio 5000:
The PLC is at IP 192.168.0.1. I have configured both sets of dip switches on the gateway to be 192.168.0.16 (I am unsure if these dip switches should be set to the same address, or if they should differ).
The Anybus web portal appears so:
I have tried tweaking the configurations every which way using the tools shown- is it possible there is another tool I need that I am unaware of?