FactoryWiz Incorrectly Shows Pallet Loader Program as the Part ID - Macro Variable Pointer

FactoryWiz Incorrectly Shows Pallet Loader Program as the Part ID - Macro Variable Pointer

Info
FactoryWiz will show the current active program, which could be a probe cycle that you do not want to display.

To work around this, store the program number of the program you do want to display into a variable. Here we have a main program (that we do not want to display) that calls a sub program O1234:

%
O1000(MAIN PROGRAM)
M98 P1234
...
...
...
...
M30
%

%
O1234(PALLET 1 MAIN)
#600=#4115
...
...
...
...
M30
%


In this example we are dynamically storing the program number held in system variable #4115 into variable #600.

In FactoryWiz we then set:
Part ID Source = Macro Variable Pointer
Part ID Source Address = 600

This will result in FactoryWiz knowing the program number is 1234. It will then scan the directory for the name of the program 1234 and return the string part name of PALLET 1 MAIN

Here is a video of it in action: https://vimeo.com/405908667