Ethercat AX5206 stuck in SAFEOP

More
7 years 3 days ago #149066 by chimeno
hello cman1024,
I'm glad things worked for you and I could help you.

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

More
7 years 2 days ago #149179 by BICHLER
Hi
i am new to linuxcnc and i want beckhoff ethercat
use ax5000.
please ask for an explanation step by step.
Thank you very much

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

More
6 years 11 months ago - 6 years 11 months ago #149553 by chimeno
Hi BICHILER,
It is very difficult to give you a step-by-step manual on, although I will give you a summary:
1 - Install ISO kernel version RT-PREEMPT "linuxcnc.org/testing-stretch-rtpreempt/"
2 - Install the IGH driver version in two ways
   - Simple EC-DEBIANIZE "github.com/sittner/ec-debianize"
   - Complicated "github.com/ribalda/ethercat"
   - Create your own configuration "etherlab.org/en/ethercat/"
3 - install linuxcnc-ethercat
  - Simple "github.com/sittner/linuxcnc-ethercat"
4 -WINDOWS PC installs TWINCAT3 "beckhoff.com/twincat3"
5-you need an INTEL card to work in real time on the WINDOWS PC with TWINCAT3.
5 -WIRESHARK Installation "wireshark.org/"
6- Configure your AX5000 with SERVOMOTOR has to work in TWINCAT3 without configuration errors
7-Activate the WIRESHARK recorder to capture data from the NETWORK port and see the order in which the SOE packet configuration is sent, the order of the BYTES is correct to pass to linuxcnc-ethercat.
8- pass the configuration in an .XML file
9-configure linuxcnc-ethercat with a generic or predefined controller, there are examples
10-to run !!
The manual is a bit simple, but search, test, modify, and when you don't know more, ask!
I hope I have helped you
Regards
Chimeno
Last edit: 6 years 11 months ago by chimeno.
The following user(s) said Thank You: tommylight, BICHLER

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

More
6 years 9 months ago - 6 years 9 months ago #155105 by Stoneland
Hi, cman1024

I have trouble getting a Beckhoff AX5203 with AX5801 safety card to work.

Ethercat driver is working ok and beckhoff io cards with EK1100 are working ok.
AX5203 works with twincat drive manager.

Can you (or anyone) share ethercat config, drive config and hal files?
Last edit: 6 years 9 months ago by Stoneland.

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

More
6 years 9 months ago - 6 years 9 months ago #155277 by chimeno
Hi Stoneland,
For the AX5801 Safety Card, you only need to configure the safey parameter, look for your .xml file, look for this configuration.
Code:
<InitCmd> <Transition>PS</Transition> <Comment><![CDATA[Configured safety option]]></Comment> <Timeout>0</Timeout> <OpCode>3</OpCode> <DriveNo>0</DriveNo> <IDN>34768</IDN> <Elements>64</Elements> <Attribute>0</Attribute> <Data>0100</Data> </InitCmd>
then you just have to power pins 1-3 at 0v and 2-4 at 24v
regards
Chimeno
Last edit: 6 years 9 months ago by chimeno.

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

More
6 years 8 months ago #156646 by Stoneland
Hello,

Safety card is ok, and AX5203 both channels with motors woks with twincat drive config.

When I start linuxcnc, ethercat slaves look like this:
0 0:0 OP + EK1100 EtherCAT-Koppler (2A E-Bus)
1 0:1 OP + EL1008 8K. Dig. Eingang 24V, 3ms
2 0:2 OP + EL2004 4K. Dig. Ausgang 24V, 0.5A
3 0:3 PREOP + AX5203-0000 EtherCAT Drive (SoE, 2 Ch.)

AX5203_drive_config.xlm is exported from twincat.

I try to get servo drive to transit op mode with drive-config_AX5203.xml
File witch is basically same than drive-config before I just replaced Drive parameters with My
startup parameter (from that exported twincat file).

Here is also .hal file.. I don't know how to configure/use AX5203 hal pins...

Drive stays in PREOP and there is no errors, I haven't been able to find reason why drive is not
transit to op mode.

Br
Stoneland

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

Time to create page: 0.255 seconds
Powered by Kunena Forum