Class SetDv
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Set Digital value.

 If the input signal is TRUE, the specified local
 Dv-signal is set at the execution, otherwise there will
 be no effect on the Do-signal.
 The complete name of the Dv object has to be supplied;
 its last segment is shown in the right empty part of
 the symbol.

RtBody attributes pwr_sClass_setdv
Boolean In in The input is connected to a binary signal or left open.
In the latter case In is default TRUE and the condition
not adjustable in the run time system and consequently
the function is unconditional.
Specify whether the Dv-signal is to be set or not.
FALSE means that the signal is not effected, and TRUE
means that a local Dv-signal is set.

DevBody attributes 
AttrRef DvObject In Used by the PLC Editor. Specifies the complete name of
the current Dv object.
Int32 DvObjectSegments   Specifies how many segments of the Dv object name that
is to be displayed in the symbol of the SetDv object.
The segments are counted from behind.
PlcNode PlcNode  


GraphPlcNode
object_type 76
parameters[0] 1
parameters[1] 0
parameters[2] 0
parameters[3] 0
subwindows 0
graphmethod 7 (Get,Set)
graphindex 1
default_mask[0] 1
default_mask[1] 0
segname_annotation 0
devbody_annotation 1
compmethod 11
compindex 0
tracemethod 1
traceindex 1
connectmethod 3
executeordermethod 6
objname SetDv
graphname SetDv
debugpar In


Template Object
In 1


Attributes detail


In Input
Class Input
Type Boolean
Flags STATE | RTVIRTUAL | DEVBODYREF | NOEDIT
GraphName in
Body RtBody
 The input is connected to a binary signal or left open.
 In the latter case In is default TRUE and the condition
 not adjustable in the run time system and consequently
 the function is unconditional.
 Specify whether the Dv-signal is to be set or not.
 FALSE means that the signal is not effected, and TRUE
 means that a local Dv-signal is set.

DvObject Intern
Class Intern
Type AttrRef
Flags
GraphName In
Body DevBody
 Used by the PLC Editor. Specifies the complete name of
 the current Dv object.

DvObjectSegments Intern
Class Intern
Type Int32
Flags
Body DevBody
 Specifies how many segments of the Dv object name that
 is to be displayed in the symbol of the SetDv object.
 The segments are counted from behind.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody