Class IDiv
Version 1.0
Modified 15-JAN-2025 13:23:37.00
Kod rt_plc_arithm.c
 Integer division.

 Integer division In1 / In2.
 The divisor In2 should not be 0. If this occurs, ActVal is set to 0.


RtBody attributes pwr_sClass_IDiv
Int32 In1 In1 Dividend.
Int32 In2 In2 Divisor.
Int32 ActVal Val The resulting quotient.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 2
parameters[1] 0
parameters[2] 1
parameters[3] 0
subwindows 0
graphmethod 10
graphindex 0
default_mask[0] 3
default_mask[1] 1
segname_annotation 1
compmethod 4
compindex 0
tracemethod 0
traceindex 0
executeordermethod 2
objname IDiv
graphname IDiv
debugpar


Attributes detail


In1 Input
Klass Input
Typ Int32
Flags REDUTRANSFER
GraphName In1
Kropp RtBody
 Dividend.

In2 Input
Klass Input
Typ Int32
Flags REDUTRANSFER
GraphName In2
Kropp RtBody
 Divisor.

ActVal Output
Klass Output
Typ Int32
Flags STATE | NOEDIT | REDUTRANSFER
GraphName Val
Kropp RtBody
 The resulting quotient.

PlcNode Buffer
Klass Buffer
Typ PlcNode
Flags INVISIBLE
Kropp DevBody