Unexpected realtime delay and genserkins

More
8 years 6 months ago #109655 by andypugh

Cornflakes wrote: I think its possible
How can check it?


There should be a genserkins.tmax HAL param.

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

More
8 years 6 months ago #109704 by Cornflakes
There is not pin "genserkins.tmax"

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

More
8 years 6 months ago #109707 by andypugh
Ah, sorry. It's not a HAL module is it?

Genserkins runs as part of motion. (and you have already looked at motion.tmax)

It might be instructive to halscope the motion function period to see if it jumps near the troublesome position.

It looks like Genserkins hasn't changed for quite a long time:
github.com/LinuxCNC/linuxcnc/commits/mas...ematics/genserkins.c

What are you actually controlling? I wonder if Pumakins might work?

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

More
8 years 6 months ago #109709 by Cornflakes
I need to control arm with serial joints. Pumakins is not valid for me.

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

More
8 years 6 months ago #109710 by PCW
Can you please post the results of this:

halcmd show param *.tmax

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

More
8 years 6 months ago #109742 by Cornflakes
After homing:

Owner Type Dir Value Name
28 s32 RW 0 hm2_7i92.0.read-request.tmax
28 s32 RW 629562 hm2_7i92.0.read.tmax
28 s32 RW 92764 hm2_7i92.0.write.tmax
31 s32 RW 51810 latensy-servo.tmax
21 s32 RW 47008 motion-command-handler.tmax
21 s32 RW 122232 motion-controller.tmax
22 s32 RW 768200 servo-thread.tmax

When G0 command starts and error appears:

Owner Type Dir Value Name
28 s32 RW 0 hm2_7i92.0.read-request.tmax
28 s32 RW 629828 hm2_7i92.0.read.tmax
28 s32 RW 116876 hm2_7i92.0.write.tmax
31 s32 RW 51810 latensy-servo.tmax
21 s32 RW 375108 motion-command-handler.tmax
21 s32 RW 13882600 motion-controller.tmax
22 s32 RW 14342798 servo-thread.tmax

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

Time to create page: 0.423 seconds
Powered by Kunena Forum