3 Achs Fräse mit MESA 7C80 und Raspi 4

More
2 years 2 months ago #307046 by PCW
You must apply an external voltage (5 to 15 VDC)
between SPINDLE+ and SPINDLE-. This voltage typically
comes from the VFD. (the potentiometer supply) It is best
that this comes from the VFD so the you do not introduce
VFD switching  noise into the rest of the system.

The output voltage on SPINDLE OUT will vary from SPINDLE-
to SPINDLE+ as  the PWM duty cycle varies from 0 to 100%
(0 RPM to full RPM)

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

More
2 years 2 months ago #307065 by captain-panda
Thank you PCW!

Not sure I understand that fully.
There's no VFD in my setup - what I'm looking for is a generic PWM signal - pulses - that I want to feed to this spindle driver board:

www.mikroe.com/pwm-driver-click

The board needs 5V power supply itself, which I currently take from the 7C80.
Now, if I hook up SINDLE- to GND and SPINDLE+ to +5V, will there be 5V pulses on SPINDLE OUT?

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

More
2 years 2 months ago #307097 by PCW
The spindle output is _not_ a PWM output but rather
an isolated analog output used to replace the potentiometer
of a VFD.

If you need a 5V PWM signal, you would need firmware
that includes a pwmgen with an output on a 5V pin

7c801p_5abobd.bit

Is one, this replaces STEP5 with a PWM output

 

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

More
2 years 2 months ago - 2 years 2 months ago #307122 by captain-panda
Okay!
Thank you for this clarification.
I'm considering changing my control concept rather than the firmware.
The larger Gravograph machines have AC spindle motors anyway, and I can use the analog signal for those as well ...
Would this other firmware only turn STEP5 into a PWM output, or affect other functions and/or pinout of the 7C80 as well?
Last edit: 2 years 2 months ago by captain-panda.

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

More
2 years 2 months ago #307124 by PCW
The firmware changes STEP5 to PWM and DIR5 to GPIO
it also sets up the parallel expansion port (P1) to interface
with a standard 5 Axis breakout. This should not make any
operational differences.
The following user(s) said Thank You: captain-panda

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

More
2 years 2 months ago - 2 years 2 months ago #307941 by HPW
Hallo.

Meine 3 Achs Fräse läuft jetzt. Homing funktioniert. Referenzschalter sind eingebaut und funktionieren. Handrad funktioniert (fast). Jetzt möchte ich noch, dass spindle-at-speed mit einem Eingang verknüpft wird, der gesetzt wird (high) wenn die Zielfrequenz der Spindel am FU anliegt. Wie mache ich das? Mein FU schaltet ein Relais durch und damit liegt auf einem Eingang 24V an. Das Signal kommt an und der Eingang wird auch geschaltet. Nur wie mache ich jetzt die Verknüpfung zu spindle-at-speed?

Hat mir da jemand einen tipp?

LG

Hans Peter
Last edit: 2 years 2 months ago by HPW.

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

Moderators: Muecke
Time to create page: 0.097 seconds
Powered by Kunena Forum