LinuxCNC S-Curve Accelerations

More
1 year 6 months ago #326987 by Grotius
@Pcw,

Thanks for your effort. Not everything is installed by the makefile.
I think you need to look at the ./installer file, wich install's locally :

libclothoid3d
libscurve

segment.h is part off libclothoid3d and is installed in /usr/local/include

Then finally there is done a ldconfig.
I hope it works for you then.

 
The following user(s) said Thank You: zmrdko

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

More
1 year 6 months ago #326992 by Grotius
@Rod,

In the mean time, have done some reading about the cia-402.
  • The
    Code:
    0x6065
    : following error window is not used or set by linuxcnc.
  • Velocity mode in combination with a tuned linuxcnc pid could be a try out.


@Tia,
if you want to access my machine remotely i can give you access
We could verify iff all is installed ok. Like the libclothoid is in place etc.
But i think you already used the ./installer. It can be the installer failed at some step.
For the rest i don't know much about the cia-402.
The following user(s) said Thank You: zmrdko

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

More
1 year 6 months ago #326995 by rodw
Replied by rodw on topic LinuxCNC S-Curve Accelerations
hmm, I am not seeing 6065 in my drives manual.

0x603F reports any errors including following errors which are described as Closed-loop mode tracking error over limit

In practice, a drive error is thrown and this pin can be referred to to determine the error . I have seen a few following errors here.
 
The following user(s) said Thank You: Grotius

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

More
1 year 6 months ago #327000 by Hakan
It's pretty rudimentary. There are these basic PDOs
Code:
      <syncManager idx="2" dir="out">         <pdo idx="1600">           <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>           <pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>           <pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="target-position" halType="s32"/>         </pdo>       </syncManager>       <syncManager idx="3" dir="in">         <pdo idx="1a00">           <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32"/>           <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="opmode-display" halType="s32"/>           <pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="actual-position" halType="s32"/>         </pdo>
so basically one send a wanted position to the drive and read the current position back. That's all.
Following error is calculated in linuxcnc.
The cia402 module basically just passes position after scaling to the drive. And reads back actual position.
It also does the state machine walking, but that's in the beginning, then that idles.
 
The following user(s) said Thank You: Grotius

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

More
1 year 6 months ago #327004 by Grotius
Hi,

Can we test the cia-402 and shortcut linuxcnc pos-cmd to pos-feedback so
there is no ferror in linuxcnc that can trigger a motion stop? 
Or test it by hooking the cia-402 to a stepgen or pid without closed loop feedback. 


 

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

More
1 year 6 months ago - 1 year 6 months ago #327006 by tiagounderground

Hi,

Can we test the cia-402 and shortcut linuxcnc pos-cmd to pos-feedback so
there is no ferror in linuxcnc that can trigger a motion stop? 
Or test it by hooking the cia-402 to a stepgen or pid without closed loop feedback. 



 

 
hi
in my last test there was no following error on gcode running, the problem was the very low acceleration.
following errors appears on homing procedure

edit
testing now in axis tab manual controll it disable the drivers, i can only run when in MDI tab
Controll word in all drivers is
15 before hit start
Then all goes 6 and then 4 very quickly
 
Last edit: 1 year 6 months ago by tiagounderground.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum