TcSymbols are indexable, in case they are structured types, and can nest children TcSymbols
.
Alternatively, if a TcSymbol
has Rpc Methods enabled, this methods can be also invoked over
the index.
This TcSymbol
deduces its IndexOffset, IndexGroup and Size, based on the provided children
Constructs a TcSymbol
, which is designed to interface a namespace Symbol on the Target
PLC.
The Path of this Symbol, relative to its origin point
The TcContext
, that this namespace is apart of
Parent Emitter, to whom errors are propagated to
If enabled, will produce debug information
Access the TcBinding
of this TcSymbol
Returns the structured value of this TcSymbol
from the Target PLC namespace Symbol,
which the TcSymbol.$binding
is linked to.
Access the potential parent of this TcSymbol
Access the path of this TcSymbol
from its origin point
Returns true if this TcSymbol
is ReadOnly
Clears the data of the Target PLC Symbol to their implicit default values, or the explicitly specified ones
Removes a listener from the specified event
The event name, from which the listener is to be removed
The listener, which is to be removed from the specified event
Attached a listener to an event, which is only invoked once. For the full list
of events, see TcSymbol.$on()
The event name, which the listener will listen for
The listener, which is called when the event is emitted
Writes the provided structured value to the Target PLC Symbol, and when completed returns what was written to the Target PLC Symbol
The structured value that is to be written to the Target PLC Symbol
Activates value change detection of the Target PLC Symbol. The sampling rate can be explicitly set, in case the value changes uneseceraly too fast.
The speed at which change in the Target PLC Symbol value is detected
Deactivated value change detection of the Target PLC Symbol. Does not remove the event handlers though, they simply will not be invoked.
Invalidates all the TcSymbol
Children, before invalidating itself
Generated using TypeDoc
Class representing an instance of a PLC Symbol, which is the initial entry point to the
TcSymbol
map. These namespaces are usuallyPROGRAMS
and different Variable Lists.This
TcSymbol
deduces its IndexOffset, IndexGroup and Size, based on the provided children