Class ToggleDi
Version 1.0
Modified 15-JAN-2025 13:23:36.00
Kod rt_plc_macro_io.h
 Toggle Digital input.

 Toggles the value of a digital quantity on the specified
 local Di object.

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

Note!
 This object is used for simulation purposes.
 SimulFlag will be set TRUE and ReadWriteFlag FALSE
 in the IOHandler object, i.e. any physical I/O-hardware may
 not be used on the node in connection to this object.

RtBody attributes pwr_sClass_toggledi
Boolean In in The input is connected to a digital quantity or left
open. In the latter case In is default FALSE and not
adjustable in the run time system. The In attribute
specifies which value should be assigned to the
Di-signal.

DevBody attributes 
AttrRef DiObject In Used by the PLC Editor. Specifies the complete name of
the current Di object.
AttrRef SigChanCon   Used by the PLC Editor.
Int32 DiObjectSegments   Specifies how many segments of the Di object name that
is to be displayed in the symbol of the ToggleDi object.
The segments are counted from behind.
0 and 1 both result in displaying the last segment of
the signal object name.
Boolean ShowSigChanCon   Specifies if the name on the channel object (
associated with the signal object) is to be displayed
in the symbol of the ToggleDi object or not. FALSE means
no displaying and TRUE displaying.

See also SigChanConSegments.
Int32 SigChanConSegments   Specifies, when ShowSigChanCon = TRUE, how many
segments of the channel object name that is to be
displayed in the symbol of the ToggleDi object. The
segments are counted from behind.

0 and 1 both result in displaying the last segment of
the channel object name.
PlcNode PlcNode  


GraphPlcNode
object_type 118
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 38
compindex 0
tracemethod 1
traceindex 1
connectmethod 1
executeordermethod 6
objname ToggleDi
graphname ToggleDi
debugpar In


Template Object
DiObjectSegments 2
ShowSigChanCon 1
SigChanConSegments 2


Attributes detail


In Input
Klass Input
Typ Boolean
Flags RTVIRTUAL | DEVBODYREF
GraphName in
Kropp RtBody
 The input is connected to a digital quantity or left
 open. In the latter case In is default FALSE and not
 adjustable in the run time system. The In attribute
 specifies which value should be assigned to the
 Di-signal.

DiObject Intern
Klass Intern
Typ AttrRef
Flags
GraphName In
Kropp DevBody
 Used by the PLC Editor. Specifies the complete name of
 the current Di object.

SigChanCon Intern
Klass Intern
Typ AttrRef
Flags INVISIBLE
Kropp DevBody
 Used by the PLC Editor.

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

ShowSigChanCon Intern
Klass Intern
Typ Boolean
Flags
Kropp DevBody
 Specifies if the name on the channel object (
 associated with the signal object) is to be displayed
 in the symbol of the ToggleDi object or not. FALSE means
 no displaying and TRUE displaying.

 See also SigChanConSegments.

SigChanConSegments Intern
Klass Intern
Typ Int32
Flags
Kropp DevBody
 Specifies, when ShowSigChanCon = TRUE, how many
 segments of the channel object name that is to be
 displayed in the symbol of the ToggleDi object. The
 segments are counted from behind.

 0 and 1 both result in displaying the last segment of
 the channel object name.

PlcNode Buffer
Klass Buffer
Typ PlcNode
Flags INVISIBLE
Kropp DevBody