Askpower VFD Connections

More
08 Mar 2018 15:53 #107118 by skrap58
I have been looking everywhere for this information with no luck.

The vfd says that it is a Huanyang vfd but it is in fact an Isacon which has the same configuration as the askpower vfd's out there.

The manual is not much help so I'm hoping someone else is using one of these and can hopefully point me in the correct direction.

I am trying to run a water cooled spindle 400hz 2.2KW with the 2.2kw 3hp VFD. I have an ST-V2 breakout board and I also have a RS-485 to usb adapter. I have tried without success to connect the vfd to the breakout board using the 0-10v connections and the spindle relay. Not sure on how to write the custom.hal file for that scenario.

I have also tried to connect via the RS-485 usb connection and I am not sure which terminals on the vfd should be connected.
There seems to be good information on what to do with the custom.hal file for that scenario.

The terminal page is attached.

The VFD and Spindle work as they should in manual mode. But I want to be able to control the spindle through Linuxcnc.

I'm sure my inexperience is most of the problem . Any and all help would be greatly appreciated.

Bill

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

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

More
08 Mar 2018 16:34 #107120 by andypugh
Replied by andypugh on topic Askpower VFD Connections
It doesn't appear that the VFD works with Modbus, so I think you will have to use 0-10V

Do you have a 0-10V variable voltage coming out of the break-out board?

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

More
08 Mar 2018 18:22 #107123 by skrap58
Replied by skrap58 on topic Askpower VFD Connections
Hi Andy,

Thank you for the speedy reply. Yes the ST-V2 Bob has 0-10v power supply which i believe controls the speed of the spindle. I will check the output voltage this afternoon to make sure it is correct.

Correct me if I'm wrong but I'm under the impression that I have to use a relay for Off/On also?
I am not sure what to put in the custom.hal file with this set up.

Bill

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

More
08 Mar 2018 18:27 #107124 by andypugh
Replied by andypugh on topic Askpower VFD Connections

Correct me if I'm wrong but I'm under the impression that I have to use a relay for Off/On also?


That will depend on the putput driver of your BoB. Some will work directly.

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

More
09 Mar 2018 14:17 #107149 by skrap58
Replied by skrap58 on topic Askpower VFD Connections
OK, I do have voltage coming out of the 0-10v output on the ST-V2 board. It measures .09v with nothing running.

I think my problem is with the custom.hal configuration. That is the last line Linuxcnc reads before shutting down: ./custom.hal found then shutting down. Not sure what to do. Please let me know what additional info I can post to help solve the problem

Thank you

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

More
09 Mar 2018 14:32 #107150 by andypugh
Replied by andypugh on topic Askpower VFD Connections
Is the problem that LinuxCNC does not control the spindle, or that LinuxCNC doesn't even run?
I thought it was the former, but your last message suggests the latter.

If LinuxCNC quits you can press the "selct all" button on the dialog, then Ctrl-C to copy it all, then paste it into a message here.

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

More
11 Mar 2018 14:37 #107222 by skrap58
Replied by skrap58 on topic Askpower VFD Connections
Apologies for my misleading post. Linuxcnc will not start.

wwp@cnc ~ $ linuxcnc
LINUXCNC - 2.7.10
pickconfig: installed aux examples: /usr/share/linuxcnc/aux_examples/NativeCAM
Machine configuration directory is '/home/wwp/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
Starting LinuxCNC...
Found file(REL): ./my-mill.hal
Note: Using POSIX realtime
config string '0 out'
Found file(REL): ./custom.hal
./custom.hal:9: setp requires 2 arguments, 1 given
Shutting down and cleaning up LinuxCNC...
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 66, in <module>
nf.start(app); nf.makecommand(app, "_", _)
File "/usr/lib/pymodules/python2.7/nf.py", line 119, in start
source_lib_tcl(r, "support.tcl")
File "/usr/lib/pymodules/python2.7/nf.py", line 111, in source_lib_tcl
r.tk.call("source", os.path.join(tcl_libdir, f))
KeyboardInterrupt
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@cnc ~ $

The results of starting linuxcnc from terminal.

./custom.hal
# Include your customized HAL commands here
# This file will not be overwritten when you run stepconf again


# Load the Huanyang VFD user component
loadusr -Wn vfd hy_vfd -n vfd

#net vfd-comms halui.machine.is-on => spindle-vfd.enable
setp spindle-vfd.enable
net spindle-fwd motion.spindle-forward => spindle-vfd.spindle-forward
net spindle-reverse motion.spindle-reverse => spindle-vfd.spindle-reverse
net spindle-speed-cmd motion.spindle-speed-out-abs => spindle-vfd.speed-command
net spindle-on motion.spindle-on => spindle-vfd.spindle-on
net spindle-at-speed motion.spindle-at-speed => spindle-vfd.spindle-at-speed


Thanks again Andy.

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

More
11 Mar 2018 20:38 #107230 by andypugh
Replied by andypugh on topic Askpower VFD Connections
Found file(REL): ./custom.hal
./custom.hal:9: setp requires 2 arguments, 1 given

Somewhere you have a "setp pin value" with the pin or the value missing.

Welll, actually in custom.hal line 9.

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

More
12 Mar 2018 12:16 #107239 by skrap58
Replied by skrap58 on topic Askpower VFD Connections
Hello Andy,

I see the same but I do not know how to find the pin name or value. I don't know what to put on line 9 of the custom.hal file. Any ideas?

Bill

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

More
12 Mar 2018 12:21 #107240 by andypugh
Replied by andypugh on topic Askpower VFD Connections
Well, I imagine that the pin name is there, but the numerical value is missing.

It would help to see what the line actually says.

what numerical value would you like? It's your HAL file.

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

Time to create page: 0.255 seconds
Powered by Kunena Forum