Skip to content

Roll Call

AutomationDirect edited this page Jan 3, 2020 · 5 revisions

Roll Call


Description

Check which P1 Modules were found in P1 Module initialization. Returns the number of Modules that match.


Usage

Use this block to check if the P1 modules found in module initialization match the string values in the 'name' entries. From top to bottom, each 'name' corresponds to the position of the module (from left to right in reference to the P1AM-CPU). The 'number of modules' parameter is the number of P1 modules that you are using. The value returned by the 'Roll Call' block is the number of module names that match.

Use this block with the 'P1 Program' block, or after an 'Initialize P1 Modules' block.


Notes

  • Using this block in a program that does not initialize P1 modules will result in errors.

Clone this wiki locally