Class CStoAttrRefP
Version 1.0
Modified 15-JAN-2025 13:23:34.00
Kod rt_plc_macro_io.h
 Conditional Storage of Attribute Reference attribute.

 Conditional storage of an attribute reference value (parameter,
 input, or output signal) on a specified parameter in a
 local object.
 Conditional is aimed at the con-input, which is
 supposed to be connected.

 The last name segment of the object and the name of the
 parameter will be shown in the right empty part of the
 CStoAttrRefP symbol; see below.

RtBody attributes pwr_sClass_CStoAttrRefP
DataRef In VAL The input is connected to an data signal or left
open. In the latter case the In is considered to be
stored.
Boolean Cond con Specifies whether a storage will be done or not. FALSE
means no storage and TRUE means storage of an analog
value.

DevBody attributes 
AttrRef Object sts Specifies the name of the object where to store the
value.
Int32 ObjectSegments   Specifies how many segments of the actual object name
that is to be displayed in the symbol of the CStoAp
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 11
parameters[0] 2
parameters[1] 0
parameters[2] 0
parameters[3] 0
subwindows 0
graphmethod 15
graphindex 0
default_mask[0] 3
default_mask[1] 0
segname_annotation 0
devbody_annotation 1
compmethod 63
compindex 0
tracemethod 0
traceindex 1
connectmethod 7
executeordermethod 2
objname CStoAttrRefP
graphname CStoAttrRefP
debugpar Cond


Template Object
Cond 1


Attributes detail


In Input
Klass Input
Typ DataRef
Flags DEVBODYREF
GraphName VAL
Kropp RtBody
 The input is connected to an data signal or left
 open. In the latter case the In is considered to be
 stored.

Cond Input
Klass Input
Typ Boolean
Flags NOEDIT | NOINVERT
GraphName con
Kropp RtBody
 Specifies whether a storage will be done or not. FALSE
 means no storage and TRUE means storage of an analog
 value.

Object Intern
Klass Intern
Typ AttrRef
Flags
GraphName sts
Kropp DevBody
 Specifies the name of the object where to store the
 value.

ObjectSegments Intern
Klass Intern
Typ Int32
Flags
Kropp DevBody
 Specifies how many segments of the actual object name
 that is to be displayed in the symbol of the CStoAp
 object. The segments are counted from behind.
 0 and 1 both result in displaying the last segment of
 the actual object name.

PlcNode Buffer
Klass Buffer
Typ PlcNode
Flags INVISIBLE
Kropp DevBody