91
General Mach Discussion / Re: Safer connection from Mach3 to X200 VFD?
« on: February 17, 2015, 08:58:50 PM »
Ok... now getting more info as to the REAL problem. The ESS running out of data and losing position fault message is not a Mach 3 problem. It's a result of the ESS not configured correctly.
First... make sure you have the latest ESS plugin from the Warp 9 site.
1) Go to the ESS config page and change the Data Rate (upper left hand side) from the default 4Khz to 1Khz or 2Khz.
2) Calculate the ESS motor step frequency (right under the data rate box) and set for lowest frequency equal to or just above the calculated value. The Warp9 website has the procedure to figure this number. Or set the motor step freq number to the lowest one which I believe is 32khz.
3) In Mach 3 set the kernel rate for 25Khz. The ESS does all the step calculations independent of Mach 3 so setting the kernel above 25khz just wastes PC CPU time and resources and adds absolutely nothing. Also... it's been reported setting the kernel higher than 25Khz can result in Mach 3 calculation, DRO and trajectory errors with ESS.
4) Use Mach 3 ver 0.62. This version works with ESS and is recommend by Warp9. Do NOT, repeat NOT use V0.66... it has problems and should be avoided.
5) Set Mach 3 Look Ahead to 200.
6) Set CV to ON and turn off all other CV settings such as CV Dist, CV Speed, CV Stop angle. CV speed and dist is broken in Mach 3 anyway.
The Ess "Running out of data fault" is caused because the ESS buffer is running out of data (make sense right?)... the PC can't supply it fast enough. If you are still getting the fault change the ESS data rate to 1Khz. BTW... if you are wondering, increasing the Mach 3 kernel rate and the look ahead will NOT fix this problem.
Now... run a G-code program and hit Mach 3 "Stop"... I bet the machine stops dead, G-code stops, Z axis goes up to home, VFD shuts off and no ESS error messages. Do NOT use Feed Hold. Then use Run From Here command... the program will start right where the Stop command was issued.
The Feed Hold function doesn't really work as one would assume unless you are running a very small look ahead buffer like 5... but this just creates other problems.
I have a ESS and run Mach 3 V0.62 with a VFD and it works good. I was getting running out of data faults after running 25 or 30 lines of code. Once I configured the ESS correctly... no more problems.
First... make sure you have the latest ESS plugin from the Warp 9 site.
1) Go to the ESS config page and change the Data Rate (upper left hand side) from the default 4Khz to 1Khz or 2Khz.
2) Calculate the ESS motor step frequency (right under the data rate box) and set for lowest frequency equal to or just above the calculated value. The Warp9 website has the procedure to figure this number. Or set the motor step freq number to the lowest one which I believe is 32khz.
3) In Mach 3 set the kernel rate for 25Khz. The ESS does all the step calculations independent of Mach 3 so setting the kernel above 25khz just wastes PC CPU time and resources and adds absolutely nothing. Also... it's been reported setting the kernel higher than 25Khz can result in Mach 3 calculation, DRO and trajectory errors with ESS.
4) Use Mach 3 ver 0.62. This version works with ESS and is recommend by Warp9. Do NOT, repeat NOT use V0.66... it has problems and should be avoided.
5) Set Mach 3 Look Ahead to 200.
6) Set CV to ON and turn off all other CV settings such as CV Dist, CV Speed, CV Stop angle. CV speed and dist is broken in Mach 3 anyway.
The Ess "Running out of data fault" is caused because the ESS buffer is running out of data (make sense right?)... the PC can't supply it fast enough. If you are still getting the fault change the ESS data rate to 1Khz. BTW... if you are wondering, increasing the Mach 3 kernel rate and the look ahead will NOT fix this problem.
Now... run a G-code program and hit Mach 3 "Stop"... I bet the machine stops dead, G-code stops, Z axis goes up to home, VFD shuts off and no ESS error messages. Do NOT use Feed Hold. Then use Run From Here command... the program will start right where the Stop command was issued.
The Feed Hold function doesn't really work as one would assume unless you are running a very small look ahead buffer like 5... but this just creates other problems.
I have a ESS and run Mach 3 V0.62 with a VFD and it works good. I was getting running out of data faults after running 25 or 30 lines of code. Once I configured the ESS correctly... no more problems.