Constructor for a Binding with no information on memory location, but definition of its components and different parameters, used by derived classes
The TcContext
which owns this binding
The TcSymbol
which owns this binding
Parent Emitter, to whom a event will be propagate to
Alias, which to use in place of 'set'
Alias, which to use in place of 'get'
Alias, which to use in place of 'cleared'
Alias, which to use in place of 'changed'
If enabled, will produce debug information
Get all the Data Packages, needed to perform a clear operation
The TcContext
owner of this TcBinding
Index Group of this TcBinding
Index Offset of this TcBinding
Flag, when if true, TcBinding
is valid
Flag, when if true, TcBinding
is ReadOnly an no write operation can be invoked
Get all the Memory Pointers, needed to perform a read operation
Size of the Symbol, this TcBinding
points to
The TcSymbol
owner of this TcBinding
Checks the input, to see if it valid and can be safely written to the Target PLC
The value to check for validity
Clears the data of all non-ReadOnly TcBindings
, which belong to this TcBinding
Emits an event of eventName
with data e
and if parent is present
will propagated that event to it, unless stopped
The event name to emit
The Data associated with this event
Emits a 'changed' event, unless it was aliased to a custom name
The data, to pass along with the event
Emits a 'cleared' event, unless it was aliased to a custom name
The data, to pass along with the event
Emits a 'get' event, unless it was aliased to a custom name
The data, to pass along with the event
Emits a 'set' event, unless it was aliased to a custom name
The data, to pass along with the event
Converts Data Packages from ADS to Values
The ADS Data packages, that are to be transformed
Performs a read of all the Memory Pointers, belonging to this TcBinding
TcBinding
Performs a subscription of this TcBinding
for monitoring value change
The speed at which change is detected
Callback, which is invoked when a change does happened
Converts Values to ADS Data Packages
The value which is to be converted
Unsubscribes this TcBinding
from monitoring value changes
Performs a write operation by converting values to memory locations and data to send,
which are part of this TcBinding
The value that is to be written to the TcBinding
TcBinding
Invalidates the provided TcBinding
The TcBinding
, which is to be invalidated
Generated using TypeDoc
Class which acts as an abstraction layer between a
TcSymbol
and theTcCom
layer. It is responsible for value conversion to Data and from it, as well as Type Checking, storing all the Memory location which must be read, how to execute clearing of a Symbol.By itself, the
TcBinding
also acts as a Symbol Pointer, which is used for subscribing for change notificationsLastly, it is also the EventEmitter for the
TcSymbol