Page 1 of 1

OAK Spindle load meter <<Answered>>

Posted: Sun Dec 10, 2017 9:45 am
by tblough
Yet another spindle issue to work through on my new machine. I'm trying to add a spindle load meter but cannot get one to display. My VFD is an ABB ACS355 with a configurable 0-20ma analog output. Right now for testing, I have configured the output to mirror the motor speed and am inputting it into ANIN across a 500 ohm precision resistor to my OAK controller.

I have verified that I'm getting 5V at the halfway point on RPM, and 10V at full motor RPM at the inputs to the OAK. Following TB296, I have verified that my PLC program contains the needed instructions, I have the control parameters set according to the TB with parameter 57 set to 32 since I want X & Z to use the control's estimated loads, but have the spindles load based on the drive feedback.

I think the parameters are set correctly and I'm displaying load boxes for the X & Z axis, but nothing is appearing for the spindle. Any ideas?
load meters.jpg

Re: Spindle load meter

Posted: Sun Dec 10, 2017 6:45 pm
by cncsnw
According to your Parameter 35 value, you have the spindle defined as Axis #6.
According to Parameter 57, you want to display a PLC-generated meter for axis #6.

According to your PLC program, you are sending the spindle load meter value to meter #5.

Re: *SOLVED* OAK Spindle load meter

Posted: Sun Dec 10, 2017 9:36 pm
by tblough
Once again SNCSNW, you were spot on. In my defense, the spindle load meter code was in the default oak-lathe-basic.src program and I did not check that the items corresponded verbatim with the code in the TSB, only confirming that code blocks that "looked" like those in the TSB were in the PLC source.

I went back and deleted the items from the PLC source, and pasted in the TSB code sections. Problem fixed!

CNCKeith - you guys may want to correct the PLC sources for the OAK board.

I love this board - two problems solved ON A SUNDAY NIGHT! Now on to getting the servo drives working....

Re: OAK Spindle load meter <<Answered>>

Posted: Fri Sep 10, 2021 4:37 pm
by cis
By searching in this forum for a solution of a problem with the load meter of the spindle, which is not visible on the display.
Same problem with load meter for the spindle in the Centroid i'm installing at the moment.
The load boxes for Z and X are displaying on the display.
Exist a detailed instruction, step by step, how to change the PLC sourses, to get the spindle load meter on the display? Or is there another way to solve this?
Attached the report with the settings.
Thx for advice and help.

Re: OAK Spindle load meter <<Answered>>

Posted: Fri Sep 10, 2021 4:56 pm
by cncsnw
Edit the file "oak-lathe-acdc-basic.src".
Go to line 2866.
Change "SV_METER_5" to "SV_METER_6".
Save your changes and exit the editor.

Open a command prompt window.
Change directories to c:\cnct
Enter the command:

Code: Select all

mpucomp  oak-lathe-acdc-basic.src  mpu.plc
Verify that the resulting messages include "Compilation successful".
Shut down and restart the computer and the control.

Also, change Machine Parameter 57 to a value of 32.0

Re: OAK Spindle load meter <<Answered>>

Posted: Sat Sep 11, 2021 7:25 pm
by Robs-shiz
Hi everyone

after reading this post it inspired me to get my load meter working. I did follow the TSB for setting the machine parameters and in the PLC I changed the spindle axis from 5 to 6 and successfully compiled. Unfortunately now when I start my machine and reset the e-stop I can manually start the spindle using the VCP for a few seconds and the load meter appears and seems to be working however it automatically e-stops and says I have 416 error spindle axis 6 differential encoder error. I do plan to add a spindle encoder in the future but at this time I do not have one. Any thoughts on how to correct this would be appreciated.

Thank You
Robbie

Re: OAK Spindle load meter <<Answered>>

Posted: Sat Sep 11, 2021 10:50 pm
by cncsnw
Change Parameter 313 to zero.

Re: OAK Spindle load meter <<Answered>>

Posted: Mon Sep 13, 2021 9:12 pm
by Robs-shiz
Thank you! Everything is working again. Has anyone been able to get x-y-z axis load meters to work with DMM DYN4 servo motors?

Re: OAK Spindle load meter <<Answered>>

Posted: Tue Sep 14, 2021 12:36 am
by cncsnw
I don't think DMM drives have an analog output.

Re: OAK Spindle load meter <<Answered>>

Posted: Sun Oct 10, 2021 6:23 pm
by Titleiiarms
I believe pin 21 is the Analog output.( AO ) Of course the DMM supplied 175.00 cable doesn't have that wire .