Skip to content

Minimal examples that make use of IgH EtherCAT Master library for driving two servomotors connected to Mecapion L7N drives.

Notifications You must be signed in to change notification settings

FUMRobotics/L7N_EtherLab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains example code (orginiated from and similar to the examples in IgH EtherCAT Master library), written for motion control of two servomotors connected to LS Mecapion L7N servo drives in CSP mode. The codes are extensively commented to facilitate the conversion process to accommodate different setups.
Additionally, in Documentation folder, you will find step-by-step procedures for installing:

and a few suggestions for improving the real-time properties of PREEMPT_RT.


To run the programs, after installing the IgH Master library, copy-and-replace each in the examples folder, and

  1. For the user example, in ~/stable-1.5/examples/usr,
    • make clean
    • make
    • ./ec_user_example to run the userspace process.
  2. For the RTAI example, in /usr/local/src/ethercat/examples/rtai,
    • make clean
    • make modules
    • insmod ec_rtai_sample.ko to load the kernel module (and start the hard real-time task).

About

Minimal examples that make use of IgH EtherCAT Master library for driving two servomotors connected to Mecapion L7N drives.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%