[Solved] Help with setup 7i97T

More
22 Jun 2024 00:54 - 13 Jul 2024 21:15 #303521 by ewans
Hello guys,
I'm trying to retrofit 1986 TOS FGS32 CNC - 3 axis milling machine recently driven by Heidenhein TNC155.
I bought Mesa 7i97T and 7i84 cards and I fitted EXEs for scales and connected basics - hydraulics, oil pump, brakes, spindle and analog outputs to Simodrive 610 - motion driver.
HAL files are from Mesa Configuration Tool II.
Scales works well.
My problem is once I run machine in LinuxCNC (F2), all servos starts slowly moving. On all analog outputs is 10mV (always, even with LinuxCNC switched off). I've tried watch values in halshow, but I can't find (or maybe it's that problem) variable which controls analog output - for example these two variables was always 0:
hm2_7i97.0.pwmgen.00.value
motion.analog-out-00
FERROR and MIN_FERROR are intentionally high because of tests i made.
Do you have any suggestions how to solve this problem?
Thank you in advance
Attachments:
Last edit: 13 Jul 2024 21:15 by ewans.

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

More
22 Jun 2024 04:26 - 22 Jun 2024 17:33 #303530 by PCW
Replied by PCW on topic Help with setup 7i97T
The connections between the PID outputs and PWM values are missing.
In addition, the PWM enables are missing.

For example, this is whats missing for joint 0:

net joint.0.output => [MESA](BOARD).0.pwmgen.00.value
net joint-0-enable => [MESA](BOARD).0.pwmgen.00.enable

MAKE VERY SURE you have the drive enables working so you
disable the drives if you get a runaway and following error.

There does not seem to be a 7I97T output dedicated to drive enable
so this MUST be fixed before adding the missing PWM connections.

Edit: The PWM enables shown above will work for controlling the drive
enable pins on the 7I97Ts TB3 connector.


 
Last edit: 22 Jun 2024 17:33 by PCW.

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

More
24 Jun 2024 05:48 - 26 Jun 2024 12:33 #303666 by ewans
Replied by ewans on topic Help with setup 7i97T
Thank you for your reply. I noticed unedited version. Just for the sake of completeness I add that there was a typo, but easily recognizable from error output:
net joint.0.output => [MESA](BOARD).0.pwmgen.00.value =>
net joint.0.output => hm2_[MESA](BOARD).0.pwmgen.00.value
Enable was not necessary and TB3:ENA+,ENA- works well. I'm using them for unbraking when machine is switched on in LinuxCNC. Is it OK? Thank you for your help
Last edit: 26 Jun 2024 12:33 by ewans.

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

More
24 Jun 2024 09:55 #303680 by tommylight
Replied by tommylight on topic Help with setup 7i97T
First line is missing
hm2_

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

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