Huangyang Analog control

More
8 years 7 months ago #107036 by andypugh
Replied by andypugh on topic Huangyang Analog control
It isn't quite that simple, I don't think, with the 7i76. The reason is that the enable output is set when the analogue output is enabled.
So you do rather need to configure the VFD to use "on" and "reverse" rather than "fwd" "reverse" mode.

If this is impossible then you need to use a anoither GPIO output, or do something cunning with relays.

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

More
8 years 7 months ago #107042 by Mike_Eitel
Replied by Mike_Eitel on topic Huangyang Analog control
Have not jet programed my vfd but read that there are more then only two inputs and over 10 choises for each how vfd reacts. F.x. i will change my first there to enable/direction/estop.

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

More
8 years 7 months ago #107072 by timmert
Replied by timmert on topic Huangyang Analog control
Got it working with some help of another forum

To summarize the answer I received:
ENA+ connected to FOR
DIR+ connected to REV
ENA- and DIR- connected to DCM

on vfd:
PD044 to 1
PD045 to 5


It works perfect
But the scale is off

When I enter a M3 S300 it spins 2000RPM
But when I enter M3 S1 it also spins 2000RPM

I used a 12v power supply
Do I need to configure something else?

It seems it will only run at max rpm.
Base and Max freq is set to 50Hz

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

More
8 years 7 months ago #107073 by andypugh
Replied by andypugh on topic Huangyang Analog control
What is ...7i76.0...scalemax (As you can tell, I have forgotten the actual pin name)
That needs to be set to the maximum speed of the spindle.

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

More
8 years 7 months ago #107074 by timmert
Replied by timmert on topic Huangyang Analog control
Spindle runs around 2990RPM at 75hz
I attached my HAL file

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

More
8 years 7 months ago #107075 by andypugh
Replied by andypugh on topic Huangyang Analog control
It's these:
setp hm2_5i25.0.7i76.0.0.spinout-minlim [SPINDLE_9]OUTPUT_MIN_LIMIT
setp hm2_5i25.0.7i76.0.0.spinout-maxlim [SPINDLE_9]OUTPUT_MAX_LIMIT
setp hm2_5i25.0.7i76.0.0.spinout-scalemax [SPINDLE_9]OUTPUT_SCALE

What values do you have in the INI for those parameters?

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

Time to create page: 0.160 seconds
Powered by Kunena Forum