Class StoAv
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Store Analog value.

 Stores an analog value ( e.g. output signal of the type
 pwr_tFloat32) on the specified local Av object.
 Used e.g. to assign starting values to local Av objects
 at initialisation of a PLC program.

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

RtBody attributes pwr_sClass_stoav
Float32 In VAL The input is connected to an analog signal or left
open. In the latter case In is default 0.0 and not
adjustable in the run time system. The In attribute
specifies which value should be assigned to the
Av-signal.

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


GraphPlcNode
object_type 73
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 0
traceindex 0
connectmethod 6
executeordermethod 2
objname StoAv
graphname StoAv
debugpar


Template Object
AvObjectSegments 2


Attributes detail


In Input
Class Input
Type Float32
Flags RTVIRTUAL | DEVBODYREF
GraphName VAL
Body RtBody
 The input is connected to an analog signal or left
 open. In the latter case In is default 0.0 and not
 adjustable in the run time system. The In attribute
 specifies which value should be assigned to the
 Av-signal.

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

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

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody