Jump to content
  • entries
    10
  • comments
    30
  • views
    27,341

Wago 750-307 CanOpen Node Example


tmoulder

5,507 views

Was this code module helpful to you?  

6 members have voted

  1. 1. Was this code module helpful to you?

    • Yes, as written
      2
    • Yes, with some modifications
      4
    • No
      0
    • Who wrote this buggy junk?
      0

Notice: This is an example program, instead of an importable module. The way CanOpen is confgured in Unitronics makes an importable module for this impractical.

The program is an example of communication with a Wago 750-307 IO node. The node I used to develop it has 16 digital inputs and 10 relay outputs. Refer to the documentation of the node to see how to set the Unit ID for the node, the program looks for node 1.

I designed the NMT section of the program to mainly to handle automatic launch from Pre-Operational to Operational mode at power-up, and to recover if the node is disconnected. Error messages are checked against the error register to see if they are legit, and an alarm bit in the PLC is set if this is the case. Otherwise they are ignored. PDOs are not processed until the node is seen as operational in response to the Node Guard request.

The 307 uses Node Guarding, and the scheme is designed around this. I noticed a change between Unitronics' processing of Node Guard signals (Toggle Bit no longer toggles, Received bit is triggered) in the latest OS, vs the previous one. It's actually an improvement, but I don't know if they will go back to the old method. It works with OS 3.3.3 on the 570.

I hope you find it useful. If anybody can think of a good way to make it importable, please share!

TM

Wago 750_307 Module.vlp

4 Comments


Recommended Comments

Thanks TM

Like I said in my PM's this has been a great help. For the benefit of others this is also the identical comm's structure to the Beckhoff BK5120 I/O module's. CanOpen Documentation here: http://www.tritek.co.../io/bk51x0e.pdf

Question: NMT status Integer (MI125 in your example) Where do I find a list of stati? (Plural of status!) I have looked through Uni and CanOpen documentation, but missed it.

Ziwi

Link to comment

Good Evening Tim,

It's still possible to download the project example?  I'm struggling reading 16bit Input from copley drives via PDO and your manual could help me a lot.

Thanks in advice 

Best Regards

Link to comment
  • External Moderators
On 1/18/2022 at 12:06 PM, Riccardo said:

Good Evening Tim,

It's still possible to download the project example?  I'm struggling reading 16bit Input from copley drives via PDO and your manual could help me a lot.

Thanks in advice 

Best Regards

Hi Ricardo,

I just happened to pop in here and saw this.  I've corrected the posts so the files are reachable by link now.  Good luck!

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...