MaxSelectMulti Function Block

The Max Select Multi function block makes a maximum selection of the inputs A1, B1, C1, and D1. Multi means that two independent inputs are switched, like a relay with two changeover contacts. In A2 - In D2 are not used to determine the maximum; instead, they are looped through to the corresponding output with the same switching position as the maximum position.

Figure 1: MaxSelectMulti Function Block

Figure 2: MaxSelectMulti Property Sheet

 

Figure 3: MaxSelectMulti Logic Diagram

Actuator has 85% from PID controller, though frost protection is active.

Figure 4: MaxSelectMulti Logic Diagram with BinarySelect

Input

Input Name

Description

In A1

(In & Par)

This input is used for maximum selection. If another input has the same value, this input is taken with higher priority. The priority is only important for In A2 and In D2.

In B1

(In & Par)

This input is used for maximum selection. The input has higher priority than In C1 and In D1.

In C1

(In & Par)

This input is used for maximum selection. The input has higher priority than In D1.

In D1

(In & Par)

This input is used for maximum selection.

In A2

(In & Par)

If In A1 is the maximum input between In A1 - In D1, Out 2 = In A2.

In B2

(In & Par)

If In B1 is the maximum input between In A1 - In D1, Out 2 = In B2.

In C2

(In & Par)

If In C1 is the maximum input between In A1 - In D1, Out 2 = In C2.

In D2

(In & Par)

If In D1 is the maximum input between In A1 - In D1, Out 2 = In D2.

Table 1: Inputs of MaxSelectMulti Function

Output

Output Name

Description

Out1

Output = The maximum value of inputs A1, B1, C1 and D1.

Out2

This is used to output one of the input values of A2, B2, C2 and D2. The same switch position is used that comes from the maximum selection between A1, B1, C1 and D2.

Example: If In B1 is the maximum from inputs A1, B1, C1 and D1, Out 2 = In B.

Table 2: Outputs of MaxSelectMulti Function

Parameter

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 B1 Par

(In & Par)

If In B1 is "null", In B1 Par is used as parameter.

In B1 Par is set to "nan". In this case, it is treated like invalid.

In C1 Par

(In & Par)

If In C1 is "null", In C1 Par is used as parameter.

In C1 Par is set to "nan". In this case, it is treated like invalid.

In D1 Par

(In & Par)

If In D1 is "null", In D1 Par is used as parameter.

In D1 Par is set to "nan". In this case, it is treated like invalid.

In A2 Par

(In & Par)

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.

In B2 Par

(In & Par)

If In B2 is "null", In B2 Par is used as parameter.

In B2 Par is set to "nan". In this case, it is treated like invalid.

In C2 Par

(In & Par)

If In C2 is "null", In C2 Par is used as parameter.

In C2 Par is set to "nan". In this case, it is treated like invalid.

In D2 Par

(In & Par)

If In D2 is "null", In D2 Par is used as parameter.

In D2 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 MaxSelectMulti Function

Examples 

The maximum value from Input A1, B1, C1, D1 is set to Out1. And same input value from A2, B2, C2, D2 is set to Out 2.

Figure 5: MaxSelectMulti Function Block

 

Refer to General Description for general information about IRMN4 Function Blocks.