- Hardware & Machines
- Driver Boards
- [SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
[SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
11 Apr 2022 21:37 #239980
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
At the minimum. you would need to link the software PWM output pin in
hal to the SSR used for PWM output.
hal to the SSR used for PWM output.
Please Log in or Create an account to join the conversation.
11 Apr 2022 22:36 #239986
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Ok, but what is the pin? I have tested all of them and it doesn't work.
I'm sure it's easy but I don't see it
I'm sure it's easy but I don't see it
Please Log in or Create an account to join the conversation.
11 Apr 2022 22:52 #239992
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
pwmgen.0.pwm
so for example
net myslowpwm pwmgen.0.pwm hm2_7i96.0.ssr.00.out-03
so for example
net myslowpwm pwmgen.0.pwm hm2_7i96.0.ssr.00.out-03
Please Log in or Create an account to join the conversation.
12 Apr 2022 07:13 #240019
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
hi, i have tested it but no work
Please Log in or Create an account to join the conversation.
12 Apr 2022 13:58 #240046
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
It does work but you need to setup the PWMGen parameters and connect the
required PWM pins
Did you read the pwmgen manual page?
Can you post you current hal file here?
required PWM pins
Did you read the pwmgen manual page?
Can you post you current hal file here?
Please Log in or Create an account to join the conversation.
12 Apr 2022 19:22 #240074
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Hi, well it's already solved, I followed this manual
linuxcnc.org/docs/2.8/html/examples/spindle_en.html
The problem I had was in the parameters. Now I have another problem, I have broken the optocoupler of the spindle electronics, I did not realize it and it connects 5v directly from the source and I did not put a limiting resistor on it and I have broken the diode, tomorrow I will buy a replacement to repair it ;(
linuxcnc.org/docs/2.8/html/examples/spindle_en.html
The problem I had was in the parameters. Now I have another problem, I have broken the optocoupler of the spindle electronics, I did not realize it and it connects 5v directly from the source and I did not put a limiting resistor on it and I have broken the diode, tomorrow I will buy a replacement to repair it ;(
Please Log in or Create an account to join the conversation.
19 Apr 2022 17:11 #240668
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Hi, good day everyone, sorry by delay i'm had very work.
I repair my electronic of spindle, i have change the optocoupler and at now my spindle work fine, better than i used the previous port (TB1/TB2 port 4)
but at now i want to use the other port TB3 (output 1) for other PWM signal, i want to install a laser of 20W.
I have add other spindle at the HAL in the linerMAX_SPINDLES = 2 in the archive .INI
It's generated other PINS whit the spiendle 1
I configure all like spindle 0 but changeing few names custom.
Whe i try run the spindle 1 with command M3 S1000 $1 the menssage the LinuxCNC is invalid spindle number in spindle speed command
Can someone help me
I repair my electronic of spindle, i have change the optocoupler and at now my spindle work fine, better than i used the previous port (TB1/TB2 port 4)
but at now i want to use the other port TB3 (output 1) for other PWM signal, i want to install a laser of 20W.
I have add other spindle at the HAL in the liner
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[EMCMOT]MAX_SPINDLES
It's generated other PINS whit the spiendle 1
I configure all like spindle 0 but changeing few names custom.
Whe i try run the spindle 1 with command M3 S1000 $1 the menssage the LinuxCNC is invalid spindle number in spindle speed command
Can someone help me
Please Log in or Create an account to join the conversation.
21 Apr 2022 19:07 #240807
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Hi i'm stuck, can someone help me to set two spindles?
thank you
thank you
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 17837
- Thank you received: 5933
21 Apr 2022 21:36 #240816
by tommylight
Replied by tommylight on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Upload here the hal and ini files, please.
The following user(s) said Thank You: Nest
Please Log in or Create an account to join the conversation.
21 Apr 2022 22:29 #240829
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Ok, thanks you so much
Attachments:
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Driver Boards
- [SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
Time to create page: 0.159 seconds