Class Or
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_logic.h
 OR-gate.

 OR-gate for up to 8 inputs. Used inputs do not have to
 be chosen consecutively.
 The basic symbol has 2 inputs. By means of the
 Attribute Editor the number of inputs can be changed
 and individual inputs be inverted.

 The input signals are used without any previous
 storing.

RtBody attributes pwr_sClass_or
Boolean In1 In1 Logical inputs.
Boolean In2 In2
Boolean In3 In3
Boolean In4 In4
Boolean In5 In5
Boolean In6 In6
Boolean In7 In7
Boolean In8 In8
Boolean Status sts Status of the OR-gate.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 91
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 7
compindex 0
tracemethod 3
traceindex 1
executeordermethod 2
objname Or
graphname Or
debugpar Status


Attributes detail


In1 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In1
Body RtBody
 Logical inputs.

In2 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In2
Body RtBody

In3 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In3
Body RtBody

In4 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In4
Body RtBody

In5 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In5
Body RtBody

In6 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In6
Body RtBody

In7 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In7
Body RtBody

In8 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT
GraphName In8
Body RtBody

Status Output
Class Output
Type Boolean
Flags STATE | NOEDIT | REDUTRANSFER
GraphName sts
Body RtBody
 Status of the OR-gate.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody