Class XOr
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_logic.h
 Exclusive Or Gate.

 The output is FALSE when the inputs are equal and TRUE
 when the inputs are different.

RtBody attributes pwr_sClass_xor
Boolean In1 In1 The both input quantities.
Boolean In2 In2
Boolean Status sts Current status of the object.

DevBody attributes 
PlcNode PlcNode  


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


Attributes detail


In1 Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | NOEDIT | NOREMOVE
GraphName In1
Body RtBody
 The both input quantities.

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

Status Output
Class Output
Type Boolean
Flags STATE | NOEDIT | REDUTRANSFER
GraphName sts
Body RtBody
 Current status of the object.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody