Y axis setup: trivkins kinematics ERROR with MAX_LIMIT

More
04 Jul 2021 14:15 #213687 by hairyMug
 

File Attachment:

File Name: linuxcnc_report.txt
File Size:4 KB
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

File Attachment:

File Name: m7i96.ini
File Size:4 KB
Attachments:

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

More
04 Jul 2021 14:33 - 04 Jul 2021 15:34 #213689 by Aciera
Not sure if this is the problem but I don't think you should have two entries for [AXIS Y] in your ini:

[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

[EDIT]

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.

More
04 Jul 2021 14:52 #213693 by jmelson
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.

More
04 Jul 2021 16:33 #213701 by hairyMug
OK, Thank you!
... 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.

More
04 Jul 2021 16:49 #213703 by hairyMug
Thanks!
the TRAJ settings agree..

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

More
04 Jul 2021 17:07 #213704 by Aciera
This assigns joints  2 and 3  to your Y-Gantry
[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.

More
05 Jul 2021 18:22 #213773 by hairyMug
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...

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

Moderators: PCWjmelson
Time to create page: 0.076 seconds
Powered by Kunena Forum