The Binary Select function allows one to two inputs to be individually enabled in any combination. The input is converted into the output.
Figure 1: BinarySelect Function Block |
Figure 2: BinarySelect - Property Sheet |
If Select is set to "false" (0) or "null" In A1 is equal to output.
If Select is set to "true" (1), it switches In A1 to In A2, and In A2 has priority.
Figure 3: BinarySelect Logic Diagram
Inputs
Input Name |
Description |
Select |
This input decides whether In A1 or In A2 is used as output. |
In A1 (In & Par) |
If Select = "0", Out = In A1. It is used as a default value. |
In A2 (In & Par) |
If Select = "1", Out = In A2. It is used as an override value. |
Table 1: Inputs of BinarySelect Function
Output
Output Name |
Description |
Out |
If Select = "0", Out = In A1. If Select = "1", Out = In A2. |
Table 2: Output of BinarySelect Function
Parameters
Parameter Name |
Description |
In A1 Par (In & Par) |
If In A1 is "null", In A1 Par is used as parameter. In A1 Par is set to "nan". In this case, it is treated like invalid. |
In A2 Par (In & P ar) |
If In A2 is "null", In A2 Par is used as parameter. In A2 Par is set to "nan". In this case, it is treated like invalid. |
Out Save |
Master Sync Enabled : If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart. Out: To enable or disable the Out feature. |
Table 3: Parameters of BinarySelect Function
Examples
If Input is "true", In A1 is set as output. If Input is "false", In A2 is set as output.
|
|
Refer to General Description for general information about IRMN4 Function Blocks.