Class And
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_logic.h
 AND-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_and
Boolean In1 In1 Logical input.
Boolean In2 In2 Logical input.
Boolean In3 In3 Logical input.
Boolean In4 In4 Logical input.
Boolean In5 In5 Logical input.
Boolean In6 In6 Logical input.
Boolean In7 In7 Logical input.
Boolean In8 In8 Logical input.
Boolean Status sts Status of the AND-gate.

DevBody attributes 
PlcNode PlcNode  


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


Attributes detail


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

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

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

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

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

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

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

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

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

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody