Hi @gary14,
Given this scenario, I would recommend that you use an “execution condition” to start the macro when the initialization macro is finished. Here is an example:
-
Within the macro that will run continuously enable “Periodic execution”:
-
Enable “use execution condition”:
-
Configure the “condition” such that some LB register must be “On” in order for the macro to run:
-
Click “Ok” and “Save & Compile” when finished:
-
Within the “Initialization” macro use the “SetData()” function to set this LB bit on:
I hope this helps! Please let me know if you have any additional questions.