Mesa 5i24-25 stucked
- PCW
- Offline
- Moderator
Less
More
- Posts: 17907
- Thank you received: 4794
10 Dec 2022 18:04 #259118
by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
No, sserial firmware handles the enables
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
10 Dec 2022 18:12 #259119
by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
@PWC
hm2_5i24.0.gipo.0.is_ouput true
hm2_5i24.0.gipo.023.is_output true
Does It will work ?
hm2_5i24.0.gipo.0.is_ouput true
hm2_5i24.0.gipo.023.is_output true
Does It will work ?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17907
- Thank you received: 4794
10 Dec 2022 18:39 #259121
by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
That's about right, but to determine actual hardware names run:
halcmd show all hm2 > hardware.txt
When linuxcnc is running
Now you have a list of all hardware pins and parameters (in hardware.txt)
you can use as a copy/paste source for editing your hal files
halcmd show all hm2 > hardware.txt
When linuxcnc is running
Now you have a list of all hardware pins and parameters (in hardware.txt)
you can use as a copy/paste source for editing your hal files
The following user(s) said Thank You: tommylight, yrsiddhapura
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
11 Dec 2022 08:56 - 11 Dec 2022 09:51 #259185
by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
@PWC hope i am not messing your weekend.
Thank you for your all Help now i can move mine 3 axis X, Y, And Z
Thank you once again
Have a great weekend
Thank you for your all Help now i can move mine 3 axis X, Y, And Z
Thank you once again
Have a great weekend
Last edit: 11 Dec 2022 09:51 by yrsiddhapura.
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
13 Dec 2022 18:35 - 13 Dec 2022 18:41 #259343
by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
Here is a bifile for a 5i24_25 7I52s 7I52 with the last stepgen changed to a PWMgenNote that the PWM direction pin has been left as plain GPIO as this is usually the most flexible option. If you wish to do this yourself, you need the XIlinx tool chain, typicallywebpack 14.7
@PWC
Greeting!!!I am using above driver to get 5 stepgen and 1 pwmgen but i think i am not getting pwm pulse from TX5B of 7i52s.As following mesaflash's readhmid command its shows PIN 23 is PWMgen and as following 7i52s manual Pin 23 is TX5B and as following it i have connected PWM connection to P2 PIN No 21 of 7i52s and GND to P2 PIN No 17 of 7i52s for mine PWM to Voltage converter(Chines Generic module).does mine connections are wrong or i am missing any thing ?I am attaching mine HAL and INI files and readhmid output file.
Last edit: 13 Dec 2022 18:41 by yrsiddhapura.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17907
- Thank you received: 4794
13 Dec 2022 18:58 #259345
by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
I would check that PWM enable is true and the PWM value
is set to some reasonable fraction of the PWM scale setting,
then measure the output voltage at one of the TX5B pins.
A volt meter will average the PWM value so you should get
0V to 5V (or 5V to 0V depending on the pin polarity) at 0 to 100%
of full scale PWM/
is set to some reasonable fraction of the PWM scale setting,
then measure the output voltage at one of the TX5B pins.
A volt meter will average the PWM value so you should get
0V to 5V (or 5V to 0V depending on the pin polarity) at 0 to 100%
of full scale PWM/
The following user(s) said Thank You: yrsiddhapura
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
14 Dec 2022 04:29 #259416
by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
@pwc
Now i could see pwm is working but when I increase spindle speed it increases frequency but decrease voltages while connected pwm pin to TX5B and GND to GND of pin of 7i52s and when connected pwm pin to /TX5B and GND to GND of 7i52s it increases voltages when increases speed but decrease frequency.
Which connection is right or i have to give pwm to TX5B and GND to /TX5B ?
And i am gettin about 100khz frequency while mine pwm module support only 3khz where i could decrease it
Now i could see pwm is working but when I increase spindle speed it increases frequency but decrease voltages while connected pwm pin to TX5B and GND to GND of pin of 7i52s and when connected pwm pin to /TX5B and GND to GND of 7i52s it increases voltages when increases speed but decrease frequency.
Which connection is right or i have to give pwm to TX5B and GND to /TX5B ?
And i am gettin about 100khz frequency while mine pwm module support only 3khz where i could decrease it
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17907
- Thank you received: 4794
14 Dec 2022 15:52 #259470
by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
PWM has a constant frequency so I don't think its changing
You have the PWM frequency set to 20 KHz in your hal file:
setp hm2_5i24.0.pwmgen.pwm_frequency 20000
You have the PWM frequency set to 20 KHz in your hal file:
setp hm2_5i24.0.pwmgen.pwm_frequency 20000
The following user(s) said Thank You: yrsiddhapura
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
17 Dec 2022 17:14 #259743
by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
i tried to set
setp hm2_5i24.0.pwmgen.pwm_frequency 20000
to
setp hm2_5i24.0.pwmgen.pwm_frequency 3000 and even 2000 but its still same i am getting 60khz frequency and very minor changes in duty cycle as mine multi meter says(i dont have access to oscilloscope right now) i have checked PWM value and is 1100(mine required RPM) and Output rps is 18.36 (about 1100 RPM) but frequency cycle is above 60khz. And "halcmd show pin *pwm_frequency" shows nothing.
setp hm2_5i24.0.pwmgen.pwm_frequency 20000
to
setp hm2_5i24.0.pwmgen.pwm_frequency 3000 and even 2000 but its still same i am getting 60khz frequency and very minor changes in duty cycle as mine multi meter says(i dont have access to oscilloscope right now) i have checked PWM value and is 1100(mine required RPM) and Output rps is 18.36 (about 1100 RPM) but frequency cycle is above 60khz. And "halcmd show pin *pwm_frequency" shows nothing.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17907
- Thank you received: 4794
17 Dec 2022 17:48 #259750
by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
Try:
halmcd show all hm2
halmcd show all hm2
The following user(s) said Thank You: yrsiddhapura
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.089 seconds