KerryP
Member
I have G3 Kadet that needs to navigate to a specific screen when the PLC tells it to do so. I wrote a short program -
[FONT="]while (true){
Sleep(500);
if( Assembly_DS.ScreenControl == 1)
GotoPage(Red_Rabbit_Alert);
}
On the Global Actions page I put the name of the program into the On Startup field. I also tried putting it in the On Power Up field.
I am displaying the value of [/FONT][FONT="]Assembly_DS.ScreenControl on a display page and I can see the value change from 0 to 1 in the PLC.
My question has to do with translation. When I translate the program, the diamond/square icon for the program goes from yellow to gray and not green. The translator does not throw any warnings or errors. I have not found a reference that explains the meaning of the gray program icon.
Thanks in advance for any and all assistance.[/FONT]
[FONT="]while (true){
Sleep(500);
if( Assembly_DS.ScreenControl == 1)
GotoPage(Red_Rabbit_Alert);
}
On the Global Actions page I put the name of the program into the On Startup field. I also tried putting it in the On Power Up field.
I am displaying the value of [/FONT][FONT="]Assembly_DS.ScreenControl on a display page and I can see the value change from 0 to 1 in the PLC.
My question has to do with translation. When I translate the program, the diamond/square icon for the program goes from yellow to gray and not green. The translator does not throw any warnings or errors. I have not found a reference that explains the meaning of the gray program icon.
Thanks in advance for any and all assistance.[/FONT]