Class Mod
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_arithm.c
 Mod calculates the reminder of dividing In1 by In2.


RtBody attributes pwr_sClass_Mod
Float32 In1 In1 Input 1.
Float32 In2 In2 Input 2.
Float32 ActVal Val The reminder of the quoutient of x and y.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 2
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 Mod
graphname Mod


Attributes detail


In1 Input
Class Input
Type Float32
Flags NOINVERT | NOREMOVE | NOEDIT | REDUTRANSFER
GraphName In1
Body RtBody
 Input 1.

In2 Input
Class Input
Type Float32
Flags NOINVERT | REDUTRANSFER
GraphName In2
Body RtBody
 Input 2.

ActVal Output
Class Output
Type Float32
Flags STATE | NOEDIT | REDUTRANSFER
GraphName Val
Body RtBody
 The reminder of the quoutient of x and y.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody