Mesa 7i97 setup problem
31 Aug 2020 13:16 #180156
by shadab
Replied by shadab on topic Mesa 7i97 setup problem
Thanks will try it out.
Please Log in or Create an account to join the conversation.
17 Dec 2021 07:51 #229271
by mydani
Replied by mydani on topic Mesa 7i97 setup problem
Did you suceed? I tried the same, but using the given options, I can see P1 and P2 tab, but no obvious possibility to assign the analog outputs to the axis or spindle drive.
And then pncconf of course complains "no stepper or pwm signal assigned..."
Regards
Daniel
And then pncconf of course complains "no stepper or pwm signal assigned..."
Regards
Daniel
Please Log in or Create an account to join the conversation.
17 Dec 2021 15:40 #229298
by PCW
Replied by PCW on topic Mesa 7i97 setup problem
Since the 7I97 is not supported by pncconf its best to start out with a basic hal/ini file set
and modify it to suit your hardware, here is a very basic hal/ini file set for a 7I97:
and modify it to suit your hardware, here is a very basic hal/ini file set for a 7I97:
The following user(s) said Thank You: mydani
Please Log in or Create an account to join the conversation.
21 Jan 2022 19:34 - 21 Jan 2022 19:39 #232673
by mydani
Replied by mydani on topic Mesa 7i97 setup problem
@PWC, do you see any chance to correct the analog servo "drift" via software/hal?
The servo drive seems to not have a potentiometer for setting the drift.
The PWM offset is only a bit, so no chance their either.
Regards
Daniel
BTW: this is for an open loop test setup, there is no encoder feedback.
The servo drive seems to not have a potentiometer for setting the drift.
The PWM offset is only a bit, so no chance their either.
Regards
Daniel
BTW: this is for an open loop test setup, there is no encoder feedback.
Last edit: 21 Jan 2022 19:39 by mydani.
Please Log in or Create an account to join the conversation.
21 Jan 2022 19:55 - 21 Jan 2022 19:56 #232675
by PCW
Replied by PCW on topic Mesa 7i97 setup problem
You can use the PID offset to get within 1/2 bit (~2.5 mV) so that should get
down to say 0.5 RPM, but note that analog drives will always drift when open loop
(and the drift may change with temperature etc)
down to say 0.5 RPM, but note that analog drives will always drift when open loop
(and the drift may change with temperature etc)
Last edit: 21 Jan 2022 19:56 by PCW.
Please Log in or Create an account to join the conversation.
22 Jan 2022 14:06 - 22 Jan 2022 14:07 #232786
by mydani
Replied by mydani on topic Mesa 7i97 setup problem
Just to ensure - for a "normal" -10/10V analog interface, I do connect the drive to the corr. GND + AOUT of the 7i97 and use this setup:
setp [HMOT](CARD0).pwmgen.02.output-type 1 #PWM pin0
setp [HMOT](CARD0).pwmgen.02.offset-mode 1 # offset mode so 50% = 0
setp [HMOT](CARD0).pwmgen.02.scale [JOINT_2]OUTPUT_SCALE
I had to support someone via remote, we checked encoder scaling and position + velocity feedback - which is correct. The motors stand still with enable connected an on, and w/o connection of the analog voltage of the mesa.
After connection of the Mesa analog output, the motor runs away.
Small P value, no I/D/FFx. Just to be sure I also inverted the output scale but it ran away, same direction.
I wonder whether there is some connection issue / pwm offset or similar. Seems I have to travel there...
Regards,
Daniel
setp [HMOT](CARD0).pwmgen.02.output-type 1 #PWM pin0
setp [HMOT](CARD0).pwmgen.02.offset-mode 1 # offset mode so 50% = 0
setp [HMOT](CARD0).pwmgen.02.scale [JOINT_2]OUTPUT_SCALE
I had to support someone via remote, we checked encoder scaling and position + velocity feedback - which is correct. The motors stand still with enable connected an on, and w/o connection of the analog voltage of the mesa.
After connection of the Mesa analog output, the motor runs away.
Small P value, no I/D/FFx. Just to be sure I also inverted the output scale but it ran away, same direction.
I wonder whether there is some connection issue / pwm offset or similar. Seems I have to travel there...
Regards,
Daniel
Last edit: 22 Jan 2022 14:07 by mydani.
Please Log in or Create an account to join the conversation.
22 Jan 2022 19:22 #232809
by PCW
Replied by PCW on topic Mesa 7i97 setup problem
That looks correct
I would unlink the PWM value pin from the PID output in the hal file
and try setting analog output values directly (via setp in halcmd) to test.
I would unlink the PWM value pin from the PID output in the hal file
and try setting analog output values directly (via setp in halcmd) to test.
Please Log in or Create an account to join the conversation.
25 Jan 2022 08:04 - 25 Jan 2022 08:08 #233040
by F0R3WER
Replied by F0R3WER on topic Mesa 7i97 setup problem
Hello guys!
I have new 7i97 card. All axis can work. I make a ladder to hidraulic l, lube, and some options. All working. But i have problem with my card. First 4 Axis enable channels are bad. I use HAL config window on Linuxcnc software. If i type "setp hm2_7i97.0.pwmgen.00.enable 1"
the motion control first 4 (pwm.en.0,1,2,3) channel up to 5V. If i try it another one (1,2, or 3) motion control do nothing, but i can see on HAL pin watch window the output is active.
So teh first 4 pwm en channel I can control with pwm.00 signal. 00 signal turn on all 4 channel on the board. In HAL cfg window only the 00 on 1.
I have new 7i97 card. All axis can work. I make a ladder to hidraulic l, lube, and some options. All working. But i have problem with my card. First 4 Axis enable channels are bad. I use HAL config window on Linuxcnc software. If i type "setp hm2_7i97.0.pwmgen.00.enable 1"
the motion control first 4 (pwm.en.0,1,2,3) channel up to 5V. If i try it another one (1,2, or 3) motion control do nothing, but i can see on HAL pin watch window the output is active.
So teh first 4 pwm en channel I can control with pwm.00 signal. 00 signal turn on all 4 channel on the board. In HAL cfg window only the 00 on 1.
Last edit: 25 Jan 2022 08:08 by F0R3WER.
Please Log in or Create an account to join the conversation.
25 Jan 2022 15:40 - 25 Jan 2022 15:40 #233080
by PCW
Replied by PCW on topic Mesa 7i97 setup problem
That's correct, PWM 0 ENA enables the first 4 analog channels.
(0..3). PWM enables 4 and 5 are available individually for applications
like spindle control.
If you get a voltage output on enabled channels with a 0 PWM setting
it may be that you do not have the PWM offset mode enabled
on that channel.
(0..3). PWM enables 4 and 5 are available individually for applications
like spindle control.
If you get a voltage output on enabled channels with a 0 PWM setting
it may be that you do not have the PWM offset mode enabled
on that channel.
Last edit: 25 Jan 2022 15:40 by PCW.
The following user(s) said Thank You: F0R3WER
Please Log in or Create an account to join the conversation.
- nighteagle
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 6
10 Feb 2022 18:15 - 10 Feb 2022 18:19 #234499
by nighteagle
Replied by nighteagle on topic Mesa 7i97 setup problem
Hello,
so i ran in the same problem with Pncconf and 7i97.
Have setup over Pncconf the 7i92 and 7i77x2 with one 7x77.
Then the P1, P2, 7i77 I/o, 7i77 Analog etc. appear fine.
Then i have set Encoders, Switches and PWM - last saved the hole thing...
If i start the ini-file with LinuxCNC then the Debug Report show
hm2_7i92.0.watchdog.timeout_ns not found
Okay - i read in the report they have found 7i97 - so then the ini-file is to change and all is fine - my thoughts - but it is not.
If i change inif-file the Name of the card from 7i92 to 7i97 they can not open input devices.
waitpid failed hal_input
hal_input exited without becoming ready
I the hal-file the Card is not named - only the variable for the name
[HMOT](CARD0).watchdog.timeout_ns
So it should be fine...!?
Is there another place to change the Card-Name?
I have checked the box with the ini-name change on the beginning of the Pncconf-setup...
BTW:
I have upgraded to LinuxCNC 2.9 (Master)
so i ran in the same problem with Pncconf and 7i97.
Have setup over Pncconf the 7i92 and 7i77x2 with one 7x77.
Then the P1, P2, 7i77 I/o, 7i77 Analog etc. appear fine.
Then i have set Encoders, Switches and PWM - last saved the hole thing...
If i start the ini-file with LinuxCNC then the Debug Report show
hm2_7i92.0.watchdog.timeout_ns not found
Okay - i read in the report they have found 7i97 - so then the ini-file is to change and all is fine - my thoughts - but it is not.
If i change inif-file the Name of the card from 7i92 to 7i97 they can not open input devices.
waitpid failed hal_input
hal_input exited without becoming ready
I the hal-file the Card is not named - only the variable for the name
[HMOT](CARD0).watchdog.timeout_ns
So it should be fine...!?
Is there another place to change the Card-Name?
I have checked the box with the ini-name change on the beginning of the Pncconf-setup...
BTW:
I have upgraded to LinuxCNC 2.9 (Master)
Last edit: 10 Feb 2022 18:19 by nighteagle. Reason: Mistake in Report
Please Log in or Create an account to join the conversation.
Time to create page: 0.110 seconds