Class StoAp
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Store Analog parameter. Used in run time to write in
 analog parameters.

 Stores an analog value in specified floating-point
 attribute ( scalar or element in 1-dimensional array by
 the type pwr_tFloat32) in a local object. The receiving
 attribute may not concern a pointer.
 The last name segment of the object and the name of the
 parameter will be shown in the right empty part of the
 StoAp symbol.

RtBody attributes pwr_sClass_stoap
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
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 StoAp
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 256
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 0
traceindex 0
connectmethod 7
executeordermethod 2
objname StoAp
graphname StoAp
debugpar


Template Object
ObjectSegments 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
 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 StoAp
 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