- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Markux wrote: Hello
Another question about the el7041: is there a way to do the commissioning part (current limit and nominal voltage settings) through LinuxCNC and this driver?
I had a successful test run on a motor but I had to do this part through TwinCAT since I didn't know how to do it through our setup.
I was wondering that maybe someone here does.
I would ideally like to bypass using TwinCAT; quite user friendly but I'd have to switch every time I change the parameters and it poses some limits on the hardware as well (works only with intel chipsets as far as I know).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
rogerz6217 wrote: Dear all,
However, when i use .hal file with linuxcnc, the statusword stuck in 0x650 no matter how i set the controlword.
My .hal file as below.Code:#load the XML config & the ethercat hal parser. loadusr -W lcec_conf /home/lab428/hiwin.xml loadrt lcec #load the motion component loadrt trivkins loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES #add the function we need to the servo-thread addf lcec.read-all servo-thread #check if the state is in OP mode then enable emc and go to switched on state. net ready_to_switch lcec.state-op => iocontrol.0.emc-enable-in => lcec.0.0.drivecontrol-0
Thanks for help.
Please Log in or Create an account to join the conversation.
narogon wrote: I've just make a pull request to sasha to add the posibility of using additional attributes in xml files.
Editing the el7041 component file, it wouldn't be so difficult define some sdo commands using the parameters defined on the xml file.
Please Log in or Create an account to join the conversation.
narogon wrote: Editing the el7041 component file, it wouldn't be so difficult define some sdo commands using the parameters defined on the xml file.
I've just included the parameters to the component, check my fork github.com/narogon/linuxcnc-ethercat
Just have to useCode:<slave idx="0" type="EL7041-1000" nomVoltage="numberyouwant" maxCurrent="numberyouwant">.....
Please Log in or Create an account to join the conversation.