Welcome, Guest. Please login or register.
Did you miss your activation email?
July 17, 2018, 04:24:41 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Finished Plugins for Download
| | | |-+  Huanyang VFD controller plugin
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »   Go Down
Print
Author Topic: Huanyang VFD controller plugin  (Read 389413 times)
0 Members and 1 Guest are viewing this topic.
Lapin
Holding

Offline Offline

Posts: 2


View Profile
« Reply #30 on: April 11, 2010, 04:31:27 AM »

i gonna try to put up some screenies soon with serial monitor dumps.
when i enter my desired speed, like 10000 and i press enter it just jumps back to 0, i dunno why, but i should mention that i hae never used mach3 before so it could be a rookie misstake.
Logged
Matty Zee
Active Member

Offline Offline

Posts: 38


View Profile
« Reply #31 on: April 11, 2010, 07:22:03 AM »

If it's returning to zero that's a problem. You might be trying to set it in the wrong box. Depends what screenset your using but there is often a DRO for the speed setpoint and for actual speed. Try setting the other one. Or try typing in"S10000" into the manual gcode input screen to set the speed.
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #32 on: April 11, 2010, 09:00:36 AM »

i have it running ok now no problems.
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #33 on: April 11, 2010, 01:17:42 PM »

i have a new problem.
wen i run the cnc mill the program stops.
it looks like the same problem wat i had in the beginning it goed by the hy frequency of the steppers.
Logged
Matty Zee
Active Member

Offline Offline

Posts: 38


View Profile
« Reply #34 on: April 11, 2010, 06:45:34 PM »

Are you using a smooth stepper? I had a similar issue and had to add some EMI filters. See here http://www.mechmate.com/forums/showthread.php?p=28851&postcount=67
Logged
bolingerbe
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #35 on: April 15, 2010, 06:17:53 PM »

My plug-in is still not working but I have made a little progress.  I have switched to a new USB to RS485 converter and it appears to be transmitting and receiving information from the VFD.  Reviewing the serial information the plug in is sending 04 04 03 01 00 00 A1 DB and receiving DF 5F FD.  PD001 and PD002 still show 99.  Does anyone have any ideals Huh
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #36 on: April 16, 2010, 06:21:21 AM »

vfd port nr 
com nr pc.

i have to wait for some parts than i can test  it.
Logged
Matty Zee
Active Member

Offline Offline

Posts: 38


View Profile
« Reply #37 on: April 16, 2010, 06:37:41 AM »

bolingerbe, the sent message looks ok but there is not enough bytes in the reply. Can you change the VFD address to 1. It makes it much easier for me to identify incorrect comms. Can you try the same thing i suggested above, Uncheck the boxes for the speed and current. That way you can see the messages back and forth when starting/stopping the spindle and you won't have the endless stream of messages.

Logged
bolingerbe
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #38 on: April 16, 2010, 07:15:35 AM »

Matty Zee, just to make sure I understand you.  You want me to uncheck PD002.  Is that correct?
Logged
Matty Zee
Active Member

Offline Offline

Posts: 38


View Profile
« Reply #39 on: April 16, 2010, 07:26:12 AM »

nope. have a look at the pic attached. uncheck those two check boxes. It will stop teh constant flow of messages so you can see what happen when the plugin tries to start the spindle. Once that is working, you can check these boxes again.


* uncheck_these.JPG (17.76 KB, 288x411 - viewed 1247 times.)
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!