Hello Guest it is January 20, 2022, 06:48:51 PM

Author Topic: User Led not setting  (Read 12 times)

0 Members and 1 Guest are viewing this topic.

User Led not setting
« on: January 20, 2022, 03:50:02 PM »
I've bounced all over the place online looking for a answer to this issue.
For whatever reason I cant change the state of any user defined LEDs.
If I'm not mistaken Its just SetUserLED(***,1) for on, this for whatever reason doesn't do anything to the LED, I don't know if its because I'm doing my testing on a computer that's not even connected to a cnc or what.

The script I'm using it in is supposed to find the end line for any code loaded into mach3 and once its done it should light up the led but it doesn't.
Dro 1202 is just to show that its running through, it doesn't actually do anything
Code: [Select]
Dim I
Dim textLine

Open FileName For Input As #1

While Not EOF(1)
Line Input #1, textLine
I = I + 1
SetuserDro(1202, I)

Close #1

Call SetUserDRO(1200,I)
Call SetUserLED(500, 1)