Hello,
I am having trouble getting a LED that I have Added to the User Extense Page. What I am trying to accomplish is for the M10/M11 Call will change the state of the LED.
M10 LED ON M11 LED OFF so that I can Make a Brain to communicate with a PLC that will operate a pneumatic solenoid to open and close a collet chuck .
Steps I have Taken are.
Created a UserLed (2000) added to User Exts Page
Modified the M10.m1s
Dim FrontCloser As Integer
FrontCloser=(2000)
SetUserLED(Frontcloser,1)
Modified the M11.m1s
Dim FrontCloser As Integer
FrontCloser=(2000)
SetUserLED(Frontcloser,0)
Thanks for your valuable help.