I am new to Ignition and I’m trying to connect an S7-1500 PLC to Ignition via Ethernet. The PLC is in run mode and I entered the parameters as defined in the Connecting to S7 Devices Tutorial, but Ignition will not connect. Is there anything on the PLC side that I need to configure? Or does there have to be a functional program running on the PLC?
Thanks for the support. I’ve got the PLC connected and configured per the link you sent, but I’m having trouble retrieving data. I’m trying to retrieve an integer at offset 4 at DB10.DBW4 and my OPC item path is [S71500]DB10,I2 but my value is null and has bad quality. Any advice?
If you right click on the tag Input2 and choose tag diagnostics, what is it say?
In Simatic integer is 16bit, in Ignition integer is 32 bit. So in Ignition you must choose Short as Data Type.
Also if you want negative numbers you choose I4 (-32767 to 32767), if you want only positive numbers you choose W4 (65536)…
The tag diagnostics show “Bad Quality.” I get the same results when I try to read in the booleans I have mapped to DB11. Would I get “Bad Quality” if a sensor weren’t connected correctly. I made the change to a short but that didn’t fix it.
Hi Craig. Yes, the gateway shows the PLC as connected, the optimized access is disabled and the get/push option is enabled. Correct, I named the PLC ‘S71500’.