The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Submitted by Joe on Thu, 11/13/2014 - 11:38
How can I define a trigger for a compound?
Submitted by pete on Thu, 11/13/2014 - 11:50.
You will often have blocks that you wish to run only under certain conditions. You can do this with enabled compounds. All the blocks contained in the compound will only run if the enable pin to the block has a 1 (or TRUE) value supplied. If the value supplied is 0 (or FALSE) then the compound does not run. To create an enabled compound:
The compound block will have a green ball as the enable pin. It looks like this:
The enabled compound 'Safe Divide' will only execute when 'den' != 0