Class StoATv
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_time.h
 Storage of absolute time value.

 Storage of an absolute time value on a specified
 local ATv object.

 It is not allowed, by means of a function in C or PLC
 programs, to write in any of the inputs.

RtBody attributes pwr_sClass_StoATv
Time In VAL The input is connected to a string value or left
open. In the latter case the value of In, is considered
to be stored.

DevBody attributes 
AttrRef ATvObject In Specifies the name of the object where to store the
value.
Int32 ATvObjectSegments   Specifies how many segments of the Sv object name that
is to be displayed in the symbol of the StoSv object.
The segments are counted from behind.
PlcNode PlcNode  


GraphPlcNode
object_type 277
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 30
executeordermethod 2
objname StoATv
graphname StoATv


Template Object
ATvObjectSegments 2


Attributes detail


In Input
Class Input
Type Time
Flags RTVIRTUAL | DEVBODYREF
GraphName VAL
Body RtBody
 The input is connected to a string value or left
 open. In the latter case the value of In, is considered
 to be stored.

ATvObject Intern
Class Intern
Type AttrRef
Flags
GraphName In
Body DevBody
 Specifies the name of the object where to store the
 value.

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

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody