Class IMax
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_arithm.c
 Integer maximum function.

 Get maximum of up to 8 integer inputs.


RtBody attributes pwr_sClass_IMax
Int32 In1 In1 Integer input.
Int32 In2 In2 Integer input.
Int32 In3 In3 Integer input.
Int32 In4 In4 Integer input.
Int32 In5 In5 Integer input.
Int32 In6 In6 Integer input.
Int32 In7 In7 Integer input.
Int32 In8 In8 Integer input.
Int32 ActVal Val Maximum value.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 8
parameters[1] 0
parameters[2] 1
parameters[3] 0
subwindows 0
graphmethod 1 (standard, common attributes)
graphindex 0
default_mask[0] 3
default_mask[1] 1
segname_annotation 1
compmethod 4
compindex 0
tracemethod 0
traceindex 0
executeordermethod 2
objname IMax
graphname IMax
debugpar


Template Object
In1 INT_MIN
In2 INT_MIN
In3 INT_MIN
In4 INT_MIN
In5 INT_MIN
In6 INT_MIN
In7 INT_MIN
In8 INT_MIN


Attributes detail


In1 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In1
Body RtBody
 Integer input.

In2 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In2
Body RtBody
 Integer input.

In3 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In3
Body RtBody
 Integer input.

In4 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In4
Body RtBody
 Integer input.

In5 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In5
Body RtBody
 Integer input.

In6 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In6
Body RtBody
 Integer input.

In7 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In7
Body RtBody
 Integer input.

In8 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In8
Body RtBody
 Integer input.

ActVal Output
Class Output
Type Int32
Flags STATE | NOEDIT | REDUTRANSFER
GraphName Val
Body RtBody
 Maximum value.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody