I’ve been messing about with a S7-300 and CoDeSys WIN V3 PLC (which is a soft PLC running in windows incase you didn’t know). I am trying to interface with the S7-300 via Profinet.
I have everything configured as I would see correctly, but no data is passed between them. The WIN PLC is showing that communication is working and healthy (if I break the connection between them, the WIN PLC immediately reports a BUS fault).
What I am unsure about is the “I-Device” configuration and if I have done that correctly. So here’s the steps I took:
On the S7-300 in the hardware manager, turned on the option for I-Device
Set up an input word (700 – 701). This was given submodule address 1000 automatically
Set up an output word (700 – 701). This was given submodule address 1001 automatically
Exported the I-Device GSD in to CoDeSys
Created a Profinet slave device with the GSD file and pointed it to the ethernet port
Mapped variables in CoDeSys and Step 7 to the relative locations for Read / Write data
The above results in a connection being successfully established by the PLCs, but data is never communicated.
I am trying to write a value of W#16#1000 to PQW700 in the S7-300, but nothing is ever received by the WIN PLC.
I know that the Soft PLC can see the S7-300, and I also know that I can definitely action network commands through this PLC as the same setup to a Schneider TM251 over Modbus TCP works without issue (although they are both CoDeSys based).
It’s a long shot, but has anyone ever done this before? I only want it for a quick and dirty commissioning setup so I have something to test against