Class GetIp
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Get Integer parameter and convert to 32-bit integer.

 Fetches the value of a 32-, 16- or 8-bits integer
 attribute in arbitrary object.

 The complete name of the parameter has to be supplied.


RtBody attributes pwr_sClass_GetIp
Int32 ActVal VAL Used by the PLC Editor.

DevBody attributes 
AttrRef IpObject VAL Used by the PLC Editor. Specifies the name of the
actual attribute.
Int32 IpObjectSegments   Specifies how many segments of the actual object name
that is to be displayed in the symbol of the GetDp
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 252
parameters[0] 0
parameters[1] 0
parameters[2] 1
parameters[3] 0
subwindows 0
graphmethod 7 (Get,Set)
graphindex 0
default_mask[0] 0
default_mask[1] 1
segname_annotation 0
devbody_annotation 1
compmethod 36
compindex 0
tracemethod 0
traceindex 0
connectmethod 7
executeordermethod 2
objname GetIp
graphname Ip
debugpar


Template Object
IpObjectSegments 2


Attributes detail


ActVal Output
Class Output
Type Int32
Flags STATE | NOEDIT
GraphName VAL
Body RtBody
 Used by the PLC Editor.

IpObject Intern
Class Intern
Type AttrRef
Flags
GraphName VAL
Body DevBody
 Used by the PLC Editor. Specifies the name of the
 actual attribute.

IpObjectSegments 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 GetDp
 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