Ethercat - Rtelligent ECR60 + outputs

More
3 years 4 days ago #283995 by Bocnc
I did try to set but 16/17 of subindex 01 but not of the subindex 02. if this is the output activate bit it might do the trick.
I will be able to try this tomorrow, at least on Monday.

Thank you for your effort and fast help!

And yes I couldn’t find any information in the englisch manuals. Just came across the object on the XML file.

Please Log in or Create an account to join the conversation.

More
3 years 3 days ago #284001 by rodw
2005:01, 2005:02 sets the output type Set to 0 for general output
2006 bit 0 and 1 sets if its normally open or normally closed. It does not trigger anything
204A is the output pins as per my XML

You probably want to set one output to be Alarm and connect it to joint.n.amp-fault-in

Please Log in or Create an account to join the conversation.

More
3 years 3 days ago - 3 years 3 days ago #284005 by Hakan
Here is the translated description. The first line is ....  obviously wrong?
Last edit: 3 years 3 days ago by Hakan.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
3 years 2 days ago #284125 by Bocnc
Sadly didn´t work for me. I set the 2005 register to 0 but nevertheless I can´t set the output state. I tried register 204A as well as 60FE (01:02). I tried bits 1-2 as well as 16-17 of reg. 60FE. No success. Any more ideas would be great.

Please Log in or Create an account to join the conversation.

More
3 years 2 days ago #284146 by Bocnc
Got it, thanks to some help;)

So for others:
Set set outputs to custom control:
SDO: 2005:01/02 to 00 00
Set the output bitmask:
SDO: 60FE:2 to 00 00 03 00

And then control the state of the output by:
PDO: 60FE:01
Where the fist 16 bits are meaningless, followed by two bits for output 1/2 respectively, followed by another 14 bits.

As mentioned by Hakan before, the online version of the manual ist not up to date.

Please Log in or Create an account to join the conversation.

More
3 years 1 day ago #284169 by rodw
if 60FE is the correct location, I think it would look like
          <pdoEntry idx="60FE" subIdx="1" bitLen="32" halType="complex">
            <complexEntry bitLen="16"/>
            <complexEntry bitLen="1" halPin="out-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-2" halType="bit"/>
            <complexEntry bitLen="14"/>
          </pdoEntry>
          <pdoEntry idx="60FE" subIdx="2" bitLen="32" halType="complex">
            <complexEntry bitLen="16"/>
            <complexEntry bitLen="1" halPin="out-1-enable" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-2-enable" halType="bit"/>
            <complexEntry bitLen="14"/>
          </pdoEntry>

You would need to setp the enables

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum