Giter Site home page Giter Site logo

Help with WAGO 750-343 about pyprofibus HOT 7 CLOSED

mbuesch avatar mbuesch commented on May 20, 2024
Help with WAGO 750-343

from pyprofibus.

Comments (7)

mbuesch avatar mbuesch commented on May 20, 2024

Thanks for your question.

In general it's not easy to tell why a slave doesn't like a Cfg or Prm telegram.
In your case it doesn't like your Prm telegram. Therefore, there is some option set that your slave doesn't expect or some option is missing that your slave expects. And this includes the user-part of the Prm telegram, that you define in your user code that calls into pyprofibus. In general slaves are very picky about the contents of the Cfg and Prm telegram.

The only real way forward now is to learn about the Prm telegram and its format and then see what's wrong. The actual Prm telegram sent to the device is shown as hex dump in the logs.

from pyprofibus.

TadyTheFish avatar TadyTheFish commented on May 20, 2024

I got it to work
First I pulled the GSD file of a project that the modules were working.
Next it seems I misunderstood the config file comment in section modules.
It says to define the modules that are plugged IN TO THE SLAVE
So for me it was

module_0=750-610  Supply 24 V DC/DIA
module_1=750-430  8 DI/24 V DC/3.0 ms
module_2=750-430  8 DI/24 V DC/3.0 ms
module_3=750-430  8 DI/24 V DC/3.0 ms
module_4=750-430  8 DI/24 V DC/3.0 ms
module_5=750-430  8 DI/24 V DC/3.0 ms
module_6=750-430  8 DI/24 V DC/3.0 ms
module_7=75x-530 8DO/24V DC/0.5A
module_8=75x-530 8DO/24V DC/0.5A
module_9=75x-530 8DO/24V DC/0.5A
module_10=75x-530 8DO/24V DC/0.5A
module_11=75x-530 8DO/24V DC/0.5A
module_12=75x-530 8DO/24V DC/0.5A
module_13=75x-530 8DO/24V DC/0.5A

But in the end I defined also the interface module and it started working
Like this:

module_0=750-343 No PI Channel
module_1=750-610  Supply 24 V DC/DIA
module_2=750-430  8 DI/24 V DC/3.0 ms
module_3=750-430  8 DI/24 V DC/3.0 ms
module_4=750-430  8 DI/24 V DC/3.0 ms
module_5=750-430  8 DI/24 V DC/3.0 ms
module_6=750-430  8 DI/24 V DC/3.0 ms
module_7=750-430  8 DI/24 V DC/3.0 ms
module_8=75x-530 8DO/24V DC/0.5A
module_9=75x-530 8DO/24V DC/0.5A
module_10=75x-530 8DO/24V DC/0.5A
module_11=75x-530 8DO/24V DC/0.5A
module_12=75x-530 8DO/24V DC/0.5A
module_13=75x-530 8DO/24V DC/0.5A
module_14=75x-530 8DO/24V DC/0.5A

Like I said I am a noob regarding profibus and I thought the 750-343 is considered as slave device and not the first module

If you like I can send you the files and you can include them for someone else

from pyprofibus.

mbuesch avatar mbuesch commented on May 20, 2024

I'm very sorry for the confusion.

PB slaves are highly individual and therefore the Prm of these devices naturally also are individual.
This is a perfect example of special slave behavior that we can't really predict or prevent in the pyprofibus documentation and configuration.

Thank you very much for sharing your solution to the problem.
This will help other people. :)

If you like, please attach your files to this issue.

from pyprofibus.

TadyTheFish avatar TadyTheFish commented on May 20, 2024

I will just give me a few days so I can obtain a analog input and output module. So I can add them to the configuration to make it easier for other people.

from pyprofibus.

TadyTheFish avatar TadyTheFish commented on May 20, 2024

Hello
Sorry for the delay, I had a busy two weeks :)
Anyway here is a ZIP file containing the .py .conf and .gsd
I hope this helps someone
examples_wago.zip

from pyprofibus.

mbuesch avatar mbuesch commented on May 20, 2024

Thanks! :)

from pyprofibus.

TadyTheFish avatar TadyTheFish commented on May 20, 2024

No problem😁

from pyprofibus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.