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
    • Related Articles

    • Macro Variable Part Counter

      How to count with macro variables When manufacturing multiple parts per cycle, it is often easier to count them using macro variables instead of the machine counter (CNC Resettable Counter). You will need to find a spare variable in the CNC to use, ...
    • Configuring Part ID on Fanuc Controllers

      Part ID Troubleshooting How to configure Part-ID on Fanuc controllers Some machines will run tool change and pallet change programs, which we are not interested in, we just want to know the PART ID, we can do this with a macro statement at the header ...
    • 8.7.14 Machine Macro Variables (Advanced)

      In addition to logging and notifying users of state changes, FactoryWiz™ Monitoring can also be configured to monitor macro variables and log and notify users of changes to those variables. Use the Macro Variables (ADVANCED) pane to configure these ...
    • Haas NGC DPRNT Part Name and Part Count

      For information on configuring the Haas and FactoryWiz with DPRNT, please see this KB Article. Part Name The default part name captured from the Haas NGC is the O number (example O01234). To capture something more meaningful, we can use DPRNT. Make ...
    • Fanuc Part Count

      Determining part counts for Fanuc machines Standard Machines (not looping the program) Fanuc machines will either part count on M30/M02 or a custom M code specified. To enable the machine to count on and M30/M02 parameter 6700#0(PCM) must be 0. If ...