Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
- hairyMug
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 3
04 Jul 2021 14:15 #213687
by hairyMug
Y axis setup: trivkins kinematics ERROR with MAX_LIMIT was created by hairyMug
JOINT_2 & JOINT_3 are setup for my two "Y" axis:
[AXIS_Y]
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
[JOINT_2]
AXIS = Y
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
TYPE = LINEAR
SCALE = 1
STEPGEN_MAX_VEL = 156.0
STEPGEN_MAX_ACC = 600.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 2000
DIRHOLD = 2000
STEPLEN = 2000
STEPSPACE = 2000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
The config passes the configuration test OK and flashes OK but when I attempt to open config in LINUXCNC
I get a config error, and I can go no further:
check_config: (trivkins kinematics) ERROR:
[JOINT_2]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (750 < 750 750)
[JOINT_3]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (750 < 750 750)
check_config validation failed
No matter what values are entered for the MAX_LIMIT, the same error happens...
Any clues would be greatly appreciated.
Walt
[AXIS_Y]
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
[JOINT_2]
AXIS = Y
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
TYPE = LINEAR
SCALE = 1
STEPGEN_MAX_VEL = 156.0
STEPGEN_MAX_ACC = 600.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 2000
DIRHOLD = 2000
STEPLEN = 2000
STEPSPACE = 2000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
The config passes the configuration test OK and flashes OK but when I attempt to open config in LINUXCNC
I get a config error, and I can go no further:
check_config: (trivkins kinematics) ERROR:
[JOINT_2]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (750 < 750 750)
[JOINT_3]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (750 < 750 750)
check_config validation failed
No matter what values are entered for the MAX_LIMIT, the same error happens...
Any clues would be greatly appreciated.
Walt
Attachments:
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4317
- Thank you received: 1919
04 Jul 2021 14:33 - 04 Jul 2021 15:34 #213689
by Aciera
Replied by Aciera on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
Not sure if this is the problem but I don't think you should have two entries for [AXIS Y] in your ini:
I just checked on a sim configuration and having two entries for the same AXIS will produce the error you got.
[EDIT][AXIS_Y]
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
[AXIS_Y]
MIN_LIMIT = -0.01
MAX_LIMIT = 750
MAX_VELOCITY = 130
MAX_ACCELERATION = 500
I just checked on a sim configuration and having two entries for the same AXIS will produce the error you got.
Last edit: 04 Jul 2021 15:34 by Aciera. Reason: Test result
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
04 Jul 2021 14:52 #213693
by jmelson
Replied by jmelson on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
check the settings in the [TRAJ] section of the .ini file to make sure they are consistent with what you have in the [AXIS] and [JOINT]sections.
Please Log in or Create an account to join the conversation.
- hairyMug
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 3
04 Jul 2021 16:33 #213701
by hairyMug
Replied by hairyMug on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
OK, Thank you!
... My cnc has two Y axis (one reverse); How is that described in the ini?
... My cnc has two Y axis (one reverse); How is that described in the ini?
Please Log in or Create an account to join the conversation.
- hairyMug
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 3
04 Jul 2021 16:49 #213703
by hairyMug
Replied by hairyMug on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
Thanks!
the TRAJ settings agree..
the TRAJ settings agree..
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4317
- Thank you received: 1919
04 Jul 2021 17:07 #213704
by Aciera
Replied by Aciera on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
This assigns joints 2 and 3 to your Y-Gantry
and
Note that for proper homing you will need to assign identical NEGATIVE numbers (eg -1) to HOME_SEQUENCE in the [JOINT_2] and [JOINT_3] sections of your ini.
[KINS] KINEMATICS = trivkins coordinates=ZXYY kinstype=BOTH JOINTS = 4
and
[TRAJ] COORDINATES = ZXYY
Note that for proper homing you will need to assign identical NEGATIVE numbers (eg -1) to HOME_SEQUENCE in the [JOINT_2] and [JOINT_3] sections of your ini.
Please Log in or Create an account to join the conversation.
- hairyMug
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 3
05 Jul 2021 18:22 #213773
by hairyMug
Replied by hairyMug on topic Y axis setup: trivkins kinematics ERROR with MAX_LIMIT
thanks for you help...
After wasting many days attempting to adjust the files to get it working, I discovered the root issue; using the wrong software to create the files...
I seem to have gotten further using the files generated by the pncconfig tool, but I still have more work to do...
>> had I known it would be this painful to upgrade from my Tiny
g board, I am not sure if I would have attempted it...
After wasting many days attempting to adjust the files to get it working, I discovered the root issue; using the wrong software to create the files...
I seem to have gotten further using the files generated by the pncconfig tool, but I still have more work to do...
>> had I known it would be this painful to upgrade from my Tiny
g board, I am not sure if I would have attempted it...
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.089 seconds