axis without limits
- RobotMatic
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 21
05 Oct 2021 01:16 #222237
by RobotMatic
axis without limits was created by RobotMatic
is it possible to move an axis without limit of length?
I need to rotate a roller incrementally without having a maximum and minimum limit , it's for a hot stampin machine.
performs a single axis setup, and an .ngc file with an incremental G code, but stops when it reaches the limit of the axis
How could I tell Linuxcnc that the axis does not have machine limits, so that the roller rotates infinitely ?
Thank You
I need to rotate a roller incrementally without having a maximum and minimum limit , it's for a hot stampin machine.
performs a single axis setup, and an .ngc file with an incremental G code, but stops when it reaches the limit of the axis
How could I tell Linuxcnc that the axis does not have machine limits, so that the roller rotates infinitely ?
Thank You
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4023
- Thank you received: 1733
05 Oct 2021 07:14 #222258
by Aciera
Replied by Aciera on topic axis without limits
If the limits are undefined in the [JOINT_] and [_AXIS] sections of the ini file then the values default to +-1E99.
Please Log in or Create an account to join the conversation.
- RobotMatic
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 21
05 Oct 2021 13:10 #222277
by RobotMatic
Replied by RobotMatic on topic axis without limits
I am using 2.7.15.
It is not possible to define an axis without limitis, an out of limit error occurs.
In order to carry out this project of making a roller rotate continuously, I need to have an axis without limits, since although there is a measure to be executed, which is the length of the paper to be moved, the sum of many displacements exceeds any minimum or maximum limit. required by Linuxcnc
It is not possible to define an axis without limitis, an out of limit error occurs.
In order to carry out this project of making a roller rotate continuously, I need to have an axis without limits, since although there is a measure to be executed, which is the length of the paper to be moved, the sum of many displacements exceeds any minimum or maximum limit. required by Linuxcnc
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4023
- Thank you received: 1733
05 Oct 2021 13:21 - 05 Oct 2021 13:22 #222278
by Aciera
Replied by Aciera on topic axis without limits
Not sure about this as I only run 2.8 and later but it is stated in the documentation:
linuxcnc.org/docs/2.7/html/config/ini-co...s__lt_num_gt_section
linuxcnc.org/docs/2.7/html/config/ini-co...s__lt_num_gt_section
- MIN_LIMIT = -1000 - The minimum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MIN_LIMIT is in force. For a rotary axis with unlimited rotation having no MIN_LIMIT for that axis in the [AXIS_n] section then the value -1e99 is used.
- MAX_LIMIT = 1000 - The maximum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MAX_LIMIT is in force. For a rotary axis with unlimited rotation having no MAX_LIMIT for that axis in the [AXIS_n] section then the value 1e99 is used.
Last edit: 05 Oct 2021 13:22 by Aciera.
Please Log in or Create an account to join the conversation.
- RobotMatic
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 21
05 Oct 2021 17:19 #222295
by RobotMatic
Replied by RobotMatic on topic axis without limits
Yes, I have read that, that's why I asked if it was possible in some way to program a free axis, or define it free without limits.
thank you
thank you
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
05 Oct 2021 19:41 #222304
by BigJohnT
Replied by BigJohnT on topic axis without limits
Don't make it an axis, rather just use hal to drive the motor. Take a look at my stepper winder example.
gnipsel.com/linuxcnc/examples.html
JT
gnipsel.com/linuxcnc/examples.html
JT
Please Log in or Create an account to join the conversation.
- RobotMatic
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 21
05 Oct 2021 20:11 #222305
by RobotMatic
Replied by RobotMatic on topic axis without limits
I did not know that it could be done this way!
I will look at it!!! thanks again!!! JT
I will look at it!!! thanks again!!! JT
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4023
- Thank you received: 1733
06 Oct 2021 07:56 #222336
by Aciera
Replied by Aciera on topic axis without limits
Mind you 1E99 is a lot of paper even if you measure it in microns.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
06 Oct 2021 13:24 #222356
by andypugh
Replied by andypugh on topic axis without limits
It's 100000000000000000 x the number of atoms in the universe...Mind you 1E99 is a lot of paper even if you measure it in microns.
Please Log in or Create an account to join the conversation.
- arvidb
- Offline
- Platinum Member
Less
More
- Posts: 512
- Thank you received: 158
06 Oct 2021 14:40 - 06 Oct 2021 15:16 #222364
by arvidb
Replied by arvidb on topic axis without limits
Maybe that 1e99 default is "somewhat" too lax. Double precision floating point only guarantees 15 significant digits, so if we want to ensure correct representation of, say, 0.001 machine units, we should probably limit the limits to +/-1e12 or so.
Edit: but even 1e12 mm = a billion meters is some 25 times around the Earth, so... that would be a BIG lathe, or quite a lot of paper!
Edit2: ... unless you're making toilet paper for the entire world. Then you'd run into that 1e12 mm limit after [url=
www.theworldcounts.com/challenges/consum...let-paper/story]just a little over 4 hours[/url]! *lol* Maybe I should drop this subject now?
Edit: but even 1e12 mm = a billion meters is some 25 times around the Earth, so... that would be a BIG lathe, or quite a lot of paper!
Edit2: ... unless you're making toilet paper for the entire world. Then you'd run into that 1e12 mm limit after [url=
www.theworldcounts.com/challenges/consum...let-paper/story]just a little over 4 hours[/url]! *lol* Maybe I should drop this subject now?
Last edit: 06 Oct 2021 15:16 by arvidb.
Please Log in or Create an account to join the conversation.
Time to create page: 0.159 seconds