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.
Constructs a TcSymbol
, which is designed to interface with a BOOL
Symbol on the Target
PLC.
The Path of this Symbol, relative to its origin point
Potential parent of this TcSymbol
and to whom events will propagate to
The memory location of the Target PLC Symbol
The Type parameters of this BOOL
Symbol
If enabled, will produce debug information
Access the TcBinding
of this TcSymbol
Returns the boolean value of this TcSymbol
from the Target PLC BOOL
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 boolean value to the Target PLC Symbol, and when completed returns what was written to the Target PLC Symbol
The boolean 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 the TcBinding
of this symbol, as well as, if a callback as provided
in case of invalidation - will invoke it
Generated using TypeDoc
Class representing an instance of a PLC Symbol of Type
BOOL
.