Hi all,
I’m doing hardware-in-the-loop testing with a Siemens S7-300 PLC and Ignition. I want Ignition to feed a real sensor value into the PLC memory/register [plc_1]MD100. In Ignition, I created an OPC tag pointing to this address with writing access, and using a timer script, the tag correctly displays the expected value.
I tried using a connection of kind M (memory) for discrete or algebraic variables. I also attempted using an input variable of type REAL, but that did not work either. Despite this, the value is not passed to the actual PLC, and in TIA Portal’s live view, [plc_1]MD100 remains 0.
For comparison, I used Booleans in a similar way to simulate button presses via Ignition, and this works perfectly.
Does anyone know why writing to [plc_1]MD100 isn’t working, and how I could properly feed a sensor value from Ignition into the PLC?