› PLCGurus.NET Live & Interactive Forum › PLC Questions and Answers › Siemens, SIMotion, Profinet › Siemens S7-300 To CoDeSys WIN V3 PLC Via Profinet
- This topic has 1 reply, 2 voices, and was last updated 4 years, 6 months ago by
gbird2000.
- AuthorPosts
- June 5, 2019 at 5:46 am #4605
Lbee11
ParticipantKarma: 21Rank: PadawanHi All,
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
TIA
June 5, 2019 at 8:42 am #4612gbird2000
ParticipantKarma: 24Rank: PadawanHi Liam,
I have never tried this before but you peaked my interest. I found these threads on the Siemens support site.
LMK
- AuthorPosts
- You must be logged in to reply to this topic.