- Configuring LinuxCNC
- Basic Configuration
- INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
03 Jun 2019 20:50 #135796
by Clive S
Replied by Clive S on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
You seem to have HOME_SEQUENCE = 1 for all axis. I believe they should start at 0 usually for the Z so that it homes first, then the next say Y (for a gantry type with two motors) this needs to be a minus ie HOME_SEQUENCE = -1 for both joints and the last would be X with a 2.
I think that you cannot miss a number out and start with 1
This is assuming you are using 2.8
I think that you cannot miss a number out and start with 1
This is assuming you are using 2.8
Please Log in or Create an account to join the conversation.
03 Jun 2019 20:58 #135797
by BigJohnT
Dewey, the OP put those values in and my tool failed to verify that the number was actually a valid float.
JT
Replied by BigJohnT on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Errors like:
INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105
are due to the following bogus ini file entries:... [JOINT_0] HOME = Xmin ... [JOINT_1] HOME = YLeftMax ... [JOINT_2] HOME = YRightMax ... [JOINT_3] HOME = ZMax ...
The values for HOME= must be numeric.
If these lines were created by a configuration tool,
it is broken.
Dewey, the OP put those values in and my tool failed to verify that the number was actually a valid float.
JT
Please Log in or Create an account to join the conversation.
03 Jun 2019 22:52 #135803
by rodw
You don't need gantry at all with version 2.8. Its essentially obsolete. Just follow the correct V 2.8 documents to set up homing.
Please confirm the version in use. Earlier you said you were using V2.8.
You still don't have HOME_SEQUENCE = -1 for joints 1 and 2 so homing will not square your gantry.
I noticed a couple of things in the ini file which are probably from John's configurator
Initially, I thought this should have been XYZ but I see it is now valid to be formatted like this in the docs:
I'm not seeing AXIS = n is valid in the joint section but it won't break anything. It probably should be commented out.
Replied by rodw on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
One question: I'm looking at the gantry docs. Do I need to include that in my config? Things seem to be working without it, but it seems like it offers some things I want.
You don't need gantry at all with version 2.8. Its essentially obsolete. Just follow the correct V 2.8 documents to set up homing.
Please confirm the version in use. Earlier you said you were using V2.8.
You still don't have HOME_SEQUENCE = -1 for joints 1 and 2 so homing will not square your gantry.
I noticed a couple of things in the ini file which are probably from John's configurator
Initially, I thought this should have been XYZ but I see it is now valid to be formatted like this in the docs:
[TRAJ]
COORDINATES = XYYZ
I'm not seeing AXIS = n is valid in the joint section but it won't break anything. It probably should be commented out.
[JOINT_0]
AXIS = X
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
03 Jun 2019 23:05 #135806
by tommylight
Replied by tommylight on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Just to be clear as the message seems to get lost somewhere somehow:
You must have. -1. For the axis with two joints for home sequence in the INI file.
Now change that before you bend something beyond repair.
Oh and press home all, it does work properly , after you fix the above.
You must have. -1. For the axis with two joints for home sequence in the INI file.
Now change that before you bend something beyond repair.
Oh and press home all, it does work properly , after you fix the above.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
03 Jun 2019 23:12 - 03 Jun 2019 23:15 #135808
by BigJohnT
Replied by BigJohnT on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Just to be even more clear from the 2.8 documents
Negative HOME_SEQUENCE values indicate that joints in the sequence should synchronize the final move to [JOINT_n]HOME by waiting until all joints in the sequence are ready. If any joint has a negative HOME_SEQUENCE value, then all joints with the same absolute value (positive or negative) of the HOME_SEQUENCE item value will synchronize the final move.
linuxcnc.org/docs/devel/html/config/ini-....html#_home_sequence
JT
Negative HOME_SEQUENCE values indicate that joints in the sequence should synchronize the final move to [JOINT_n]HOME by waiting until all joints in the sequence are ready. If any joint has a negative HOME_SEQUENCE value, then all joints with the same absolute value (positive or negative) of the HOME_SEQUENCE item value will synchronize the final move.
linuxcnc.org/docs/devel/html/config/ini-....html#_home_sequence
JT
Last edit: 03 Jun 2019 23:15 by BigJohnT.
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
04 Jun 2019 23:39 #135880
by JetForMe
Replied by JetForMe on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Ah, I see why negative is important. I had gotten it in my head that "-1" meant somehow excluding that joint/axis from homing altogether.
I'd argue that it would be a lot clearer to have a separate configuration parameter for specifying that two or more joints should be synchronized, and how they should be synchronized. This would allow joint-mode jogging, for example, if I could tell linuxcnc that two joints must always be synchronized.
I'm also worried that specifying -1 won't be enough, as it only synchronizes the final move, but (evidently) not the search for home or the latch move.
Lastly, to tommylight, I've been reluctant to "home all" precisely because I'm not sure everything is configured right. Having said that, it's working pretty well now, and I've been using Home All successfully even without the proper sequence configuration. I'll be making that change next.
I'd argue that it would be a lot clearer to have a separate configuration parameter for specifying that two or more joints should be synchronized, and how they should be synchronized. This would allow joint-mode jogging, for example, if I could tell linuxcnc that two joints must always be synchronized.
I'm also worried that specifying -1 won't be enough, as it only synchronizes the final move, but (evidently) not the search for home or the latch move.
Lastly, to tommylight, I've been reluctant to "home all" precisely because I'm not sure everything is configured right. Having said that, it's working pretty well now, and I've been using Home All successfully even without the proper sequence configuration. I'll be making that change next.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
04 Jun 2019 23:49 #135881
by tommylight
Replied by tommylight on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
I do understand your reluctance as I was in that same position some time ago, with a big industrial machine with a gantry weighing in at over 400kg, I had my finger twitching over the e-stop for nearly an hour till I convinced myself that it is working properly and loosen up.
Glad you got it working.
Regards,
Tom.
Glad you got it working.
Regards,
Tom.
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
05 Jun 2019 00:27 #135889
by rodw
Replied by rodw on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Its perfectly fine. I've been using it for about 3 -4 years. What happens is the first side that hits the home sensor stops and waits for the other to catch up. Then they both go through the sequence together. Its quite amazing to watch if you rack the gantry, particularly at slow homing velocities. Final squaring can be done via the offsets in the .ini file
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
05 Jun 2019 06:34 #135912
by Clive S
To be clear the negative sign makes sure that when homing both gantry motors are driven together until one of them hits its own home switch then that motor stops and the other caries on until that hits its own home switch.
Then the magic happens and both motors go to their respective home offsets (as setup in the in file) So one could offset to say 2mm and the other to 2.3mm (or what ever it is the gantry is out of square by)
Replied by Clive S on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Ah, I see why negative is important. I had gotten it in my head that "-1" meant somehow excluding that joint/axis from homing altogether.
I'm also worried that specifying -1 won't be enough, as it only synchronizes the final move, but (evidently) not the search for home or the latch move.
To be clear the negative sign makes sure that when homing both gantry motors are driven together until one of them hits its own home switch then that motor stops and the other caries on until that hits its own home switch.
Then the magic happens and both motors go to their respective home offsets (as setup in the in file) So one could offset to say 2mm and the other to 2.3mm (or what ever it is the gantry is out of square by)
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
05 Jun 2019 22:59 #135981
by tommylight
Replied by tommylight on topic INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Clive, nicely explained. Thank you.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Basic Configuration
- INIFILE: ERR_CONVERSION for gantry configuration (2.8.0-pre1-4740-g60416609a)
Time to create page: 0.146 seconds