7.1V yellow
9v red
Powermeter
Moderator: cnckeith
-
- Posts: 106
- Joined: Sun Nov 12, 2023 1:33 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A901313
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Switzerland
-
- Posts: 106
- Joined: Sun Nov 12, 2023 1:33 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A901313
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Switzerland
Re: Powermeter
Can you display the input voltage of spindle load meter in CNC 12? I probably have the problem that the vfd doesn't output the voltage for the load 1 to 1. At 1.5A on the Vfd only a voltage of 0.45V is output. 8A would be continuous load and 8-10A would be yellow or actually red because only a maximum of 6 minutes is allowed.
Re: Powermeter
Not directly, unless you add some code to your PLC program for that purpose.
Your PLC program (the July 2023 version of Centroid_OAK_Mill_Standard-r10.src) uses variable W59 to hold the analog value that it reads from INP241-INP256. The PLC program then does multiple conversions to correct the sign (+/-) after converting to 32 bits, and to scale to a range of 0% - 100%.
If your VFD outputs a voltage less than 10VDC for full-scale load, and you cannot change that in the VFD, then you could change the scaling in your PLC program. It appears that you tried to do that -- along with some other changes -- in December, but due to several errors you would have been unable to compile the changed program.
A program stage cannot be empty. If you have a compelling reason to comment out all of the lines in a stage such as "LubeUsePumpTimersStage" or "LubeUsePLCTimersStage", then you need to comment out the stage header as well (the indented line containing only the stage name).
A line containing only a comma, such as you have on line 1794, is also an error.
Your change on line 3147 is on the right track. Changing the divider from 2048 to 1024 would have made the load meter show full scale with a 5V input, instead of with a 10V input.
Your PLC program (the July 2023 version of Centroid_OAK_Mill_Standard-r10.src) uses variable W59 to hold the analog value that it reads from INP241-INP256. The PLC program then does multiple conversions to correct the sign (+/-) after converting to 32 bits, and to scale to a range of 0% - 100%.
If your VFD outputs a voltage less than 10VDC for full-scale load, and you cannot change that in the VFD, then you could change the scaling in your PLC program. It appears that you tried to do that -- along with some other changes -- in December, but due to several errors you would have been unable to compile the changed program.
A program stage cannot be empty. If you have a compelling reason to comment out all of the lines in a stage such as "LubeUsePumpTimersStage" or "LubeUsePLCTimersStage", then you need to comment out the stage header as well (the indented line containing only the stage name).
A line containing only a comma, such as you have on line 1794, is also an error.
Your change on line 3147 is on the right track. Changing the divider from 2048 to 1024 would have made the load meter show full scale with a 5V input, instead of with a 10V input.
-
- Posts: 106
- Joined: Sun Nov 12, 2023 1:33 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A901313
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Switzerland
Re: Powermeter
I fixed the errors and compiled the file and it now works for the spindle. Without the percent display it is a little difficult to do the basic setting, but it will be possible. Piece by piece. Emergency stop on the handwheel is now also possible. Thanks for the support.