EtherCAT driver for a 6 axis robot

More
4 years 3 months ago #247849 by ftree

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

More
4 years 3 months ago #247867 by db1981
Replied by db1981 on topic EtherCAT driver for a 6 axis robot
yes, similar to this but only for the robots complete control pins and the axis enables...

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

More
4 years 3 months ago #247922 by db1981
Replied by db1981 on topic EtherCAT driver for a 6 axis robot
oh, i have not noticed a few of the last posts.

-initial values would be set with the inital data at variable initialization in c.


I don't know if this is practicable in the whole system but my way of implementation would be:

safty chain (estop btn, power_on btn implemented in Hardware)

estop case : ctrl.deactivate = 1; motion.set-point 0
safty chain on (estop disabled) :
-ctrl.deactivate = 0;ctrl.activate = 1
-wait for status.activated -> set ctrl.home
-wait for status.homed -> reset ctrl.home, at this moment in time first set emc-enable-in true (the power on btn in gui will gets accesable)
-now set this
setp lcec.0.Meca500.vel-command 21
setp lcec.0.Meca500.motion.set-point 1
setp lcec.0.Meca500.motion.move-id 0


for lcnc homing use absolute encoders...

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

More
4 years 3 months ago #247928 by ftree

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

More
4 years 3 months ago #247929 by ftree
Replied by ftree on topic EtherCAT driver for a 6 axis robot

I don't know if this is practicable in the whole system but my way of implementation would be:

This is where my experience and knowlege of the workings of lcnc falls off a cliff.  If you're available for contract work let me know.  The resulting work would be open source.
 

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

More
4 years 3 months ago - 4 years 3 months ago #247931 by ftree
Replied by ftree on topic EtherCAT driver for a 6 axis robot
Would you also check for the robot existence on the EtherCAT bus as part of the safety chain?

lcec.0.Meca500.slave-online
lcec.0.Meca500.slave-oper
lcec.0.Meca500.slave-state-op
lcec.0.Meca500.slave-state-preop
lcec.0.Meca500.slave-state-safeop
Last edit: 4 years 3 months ago by ftree.

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

Time to create page: 0.244 seconds
Powered by Kunena Forum