Class SetCond
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_grafcet.h
 Stores, in the associated object, i.e. an Order or
 Trans object, the status of a conditional window.

 A conditional window is used by Trans objects and Order
 objects with C-order attribute. For instance, the
 result of a combinational circuit is stored by a
 SetCond object. See figure below.
 SetCond in a Conditional Window

 A conditional window is executing each time when the
 PLC program executes.

RtBody attributes pwr_sClass_setcond
Boolean In in Specifies the logical quantity to be stored.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 37
parameters[0] 1
parameters[1] 0
parameters[2] 0
parameters[3] 0
subwindows 0
graphmethod 4 (special)
graphindex 11
default_mask[0] 1
default_mask[1] 0
segname_annotation 0
compmethod 20
compindex 0
tracemethod 2
traceindex 1
executeordermethod 2
objname SetCond
graphname SetCond
debugpar In


Attributes detail


In Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | INVISIBLE
GraphName in
Body RtBody
 Specifies the logical quantity to be stored.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody