Max3
MAX3¶
| Type Function | REAL |
| Input IN1 | REAL (input 1) |
| IN2 | REAL (input 2) |
| IN3 | REAL (input 3) |
| Output | REAL (maximum of 3 inputs) |
| The function MAX3 delivers the maximum value of 3 inputs. Basically, the in standard IEC61131-3 contained function MAX should be equipped with a variable number of inputs. However, since in some systems the MAX function is supported only two inputs, the function MAX3 is offered. |

Example:
MAX3(1,3,2) = 3.