Creating a VCP Indicator Button
Posted: Tue Sep 14, 2021 4:42 pm
In the VCP 2.0 Users Manual there is a section describing how to create a button that indicated the state of a PLC memory location. I would like to have a VCP button that clearly states if my Fiber LASER in in a fault condition.
I mapped Acron's INPUT2 to "SpindleOK" using the Wizard and connected the LASER's fault output to that input. This works just as expected within the CNC12 program: input 2 going high generates SPINDLE FAULT!
But I cannot find any memory location that change with the state of that input. I have tried hooking the button state to MEM224 (SpindleOK IS MEM224) and also MEM536 (SpindleFault_M IS MEM536) buy these memory locatons are not affected by the state of the input.
One could argue that simply seeing the text SPINDLE FAULT! is a pretty clear indicator, and I can live with that. But I would like to understand what I am missing here. I would like to have this capability available for monitoring other things.
I have successfully created a number of "laser specific" VCP buttons that toggle relay outputs and this has all worked just as described in the VCP Manual.
A current report is attached.
I mapped Acron's INPUT2 to "SpindleOK" using the Wizard and connected the LASER's fault output to that input. This works just as expected within the CNC12 program: input 2 going high generates SPINDLE FAULT!
But I cannot find any memory location that change with the state of that input. I have tried hooking the button state to MEM224 (SpindleOK IS MEM224) and also MEM536 (SpindleFault_M IS MEM536) buy these memory locatons are not affected by the state of the input.
One could argue that simply seeing the text SPINDLE FAULT! is a pretty clear indicator, and I can live with that. But I would like to understand what I am missing here. I would like to have this capability available for monitoring other things.
I have successfully created a number of "laser specific" VCP buttons that toggle relay outputs and this has all worked just as described in the VCP Manual.
A current report is attached.