rtlabs-com / p-net

PROFINET device stack for embedded devices
http://www.rt-labs.com
Other
482 stars 194 forks source link

Sample App GSDML #1

Closed svenhaitjema closed 4 years ago

svenhaitjema commented 5 years ago

Dear Hans-Erik,

Would it be possible to upload a sample GSDML file that matches the code in the sample_app directory?

Kind regards,

Sven-Erik

nakarlsson commented 5 years ago

I'm working on it

svenhaitjema commented 5 years ago

Thank you very much! I can setup a test with TIA 15 and S7-1200 PLC. Please let me know if you need any feedback from that test :)

jstavats commented 4 years ago

Hi,

Any chance you could give a quick description of what is needed to be done to use this sample? I've updated the IP address and the ethernet device (eth0) to match my machine, but the PLC is giving a "Module configured but not available (inserted and configured module types are not the same) - Expected type: IO Device (12345) - Current Type: Not Available". The sample looks to be setting the iodevice to 12345.

Thanks, Jay

svenhaitjema commented 4 years ago

Dear @jstavats,

There is a known issue with the library + GSDML file when used with Siemens TIA. Could you specify what your setup is? ( So PLC brand/type, and software studio version? )

Please see the conversation in this pull request, maybe it relates to the error you are observing: https://github.com/rtlabs-com/p-net/pull/4

Kind regards,

jstavats commented 4 years ago

Hi,

My current test setup is older, the PLC is Siemens CPU315-2 PN/DP and Software is SIMATIC STEP 7 Professional 2010 v5.5 +SP3.

Jay