Class StoDp
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Store Digital parameter.

 Stores the value of a binary quantity in specified byte
 attribute ( scalar or element in 1-dimensional array by
 the type pwr_tBoolean) in a local object. The receiving
 attribute may not concern a pointer.

 The complete name of the Dv object have to be supplied;
 its last segment is shown in the right empty part of
 the symbol.

RtBody attributes pwr_sClass_stodp
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.

The In attribute specifies which value should be
assigned to the parameter.

DevBody attributes 
AttrRef Object sts Used by the PLC Editor. Specifies the complete name of
the current attribute.
Int32 ObjectSegments   Specifies how many segments of the actual object name
that is to be displayed in the symbol of the StoDp
object. The segments are counted from behind.

0 and 1 both result in displaying the last segment of
the actual object name.
PlcNode PlcNode  


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


Template Object
ObjectSegments 2


Attributes detail


In Input
Class Input
Type Boolean
Flags RTVIRTUAL | DEVBODYREF
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.

 The In attribute specifies which value should be
 assigned to the parameter.

Object Intern
Class Intern
Type AttrRef
Flags
GraphName sts
Body DevBody
 Used by the PLC Editor. Specifies the complete name of
 the current attribute.

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

 0 and 1 both result in displaying the last segment of
 the actual object name.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody