Changing Local num data

  • I currently have a program that lifts parts from a pallet but different suppliers use different pallet heights which causes me to have to manually update heights within each routines(Prog1-40). There is about 40 part routines that change the global values used within the production routine using local data. Currently within each routine I define the local data (nPalHeight) and use it change the global value (nHeight) like such nHeight:=nPalHeight so that the production routine can call nHeight. I want to setup a menu so that an operator can see the current part routine (Prog1-40) running, the current nHeight value and change the nPalHeight within the current Prog. So for example if running part 1 you can see and change PalHeight within Prog1 but Prog2 will maintain its own unique PalHeight. Any ideas?

Advertising from our partners