Constructs a binding with information of the Symbol location, and the default Type Parameters
The TcSymbol
which owns this binding
The memory location in the PLC, where the Symbol is located
Symbol Type data
The parent of this Symbol, to whom events are propagated
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
Internal method, for adding a Child TcBinding
as part of this TcComplexBinding
The Child that is to be added
Will attempt to invoke the provided method, based on the variable path and the method name, with the provided arguments.
As of now, no type checking is performed on the passed arguments, and this function acts as a simple through put
to the TcCom
Module
The full path to the Function_Block
, whose method is called
The method name, that is to be called
All the arguments, as an object, that are passed to the method
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 Data Packages from ADS to Values
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
TcBinding
for attaching toStructures
,Function_Blocks
orUnions
PLC Symbols