Class ISub
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_arithm.c
 Integer subtraction.

 Integer subtraction In1 - In2.


RtBody attributes pwr_sClass_ISub
Int32 In1 In1 Minuend.
Int32 In2 In2 Subtrahend.
Int32 ActVal Val The result of the subtraction In1 - In2.

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 ISub
graphname ISub
debugpar


Attributes detail


In1 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In1
Body RtBody
 Minuend.

In2 Input
Class Input
Type Int32
Flags REDUTRANSFER
GraphName In2
Body RtBody
 Subtrahend.

ActVal Output
Class Output
Type Int32
Flags STATE | NOEDIT | REDUTRANSFER
GraphName Val
Body RtBody
 The result of the subtraction In1 - In2.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody