- Posts: 32
- Thank you received: 0
Unexpected realtime delay and genserkins
- Cornflakes
- Topic Author
- Offline
- Junior Member
-
Less
More
8 years 6 months ago #109301
by Cornflakes
Replied by Cornflakes on topic Unexpected realtime delay and genserkins
I have problem when command G0 is running
There is no errror when homing
Dummy config brings nothing
There is no errror when homing
Dummy config brings nothing
Please Log in to join the conversation.
8 years 6 months ago #109302
by PCW
Replied by PCW on topic Unexpected realtime delay and genserkins
What version of LinuxCNC and how did you install LinuxCNC?
Also can you get those numbers I mentioned before and after the first G0?
An easy way to get the max times of all functions is this:
halcmd show param *.tmax
Also can you get those numbers I mentioned before and after the first G0?
An easy way to get the max times of all functions is this:
halcmd show param *.tmax
Please Log in to join the conversation.
8 years 6 months ago #109649
by andypugh
Replied by andypugh on topic Unexpected realtime delay and genserkins
Coming late to this...
Note that tmax is in clocks, not nS.
Perhaps genserkins itself is getting stuck in an iteration loop and taking too long to compute a result?
Note that tmax is in clocks, not nS.
Perhaps genserkins itself is getting stuck in an iteration loop and taking too long to compute a result?
Please Log in to join the conversation.
- Cornflakes
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
8 years 6 months ago #109653
by Cornflakes
I think its possible
How can check it?
Replied by Cornflakes on topic Unexpected realtime delay and genserkins
andypugh wrote:
Perhaps genserkins itself is getting stuck in an iteration loop and taking too long to compute a result?
I think its possible
How can check it?
Please Log in to join the conversation.
8 years 6 months ago #109655
by andypugh
There should be a genserkins.tmax HAL param.
Replied by andypugh on topic Unexpected realtime delay and genserkins
Cornflakes wrote: I think its possible
How can check it?
There should be a genserkins.tmax HAL param.
Please Log in to join the conversation.
- Cornflakes
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
8 years 6 months ago #109704
by Cornflakes
Replied by Cornflakes on topic Unexpected realtime delay and genserkins
There is not pin "genserkins.tmax"
Please Log in to join the conversation.
8 years 6 months ago #109707
by andypugh
Replied by andypugh on topic Unexpected realtime delay and genserkins
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?
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 to join the conversation.
- Cornflakes
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
8 years 6 months ago #109709
by Cornflakes
Replied by Cornflakes on topic Unexpected realtime delay and genserkins
I need to control arm with serial joints. Pumakins is not valid for me.
Please Log in to join the conversation.
8 years 6 months ago #109710
by PCW
Replied by PCW on topic Unexpected realtime delay and genserkins
Can you please post the results of this:
halcmd show param *.tmax
halcmd show param *.tmax
Please Log in to join the conversation.
- Cornflakes
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
8 years 6 months ago #109742
by Cornflakes
Replied by Cornflakes on topic Unexpected realtime delay and genserkins
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
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 to join the conversation.
Time to create page: 0.350 seconds
