|
|
|
|
|
AddTag
|
Declare (register) tags that you want to access from scripts in an object. This allows you to:
Tag values can now be input and output using GetVal/ ReadVal/ WriteVal/ ReadRequestRefresh/ ReadRefresh/ WriteRequestRefresh/WriteRefresh. Also, when the tag value changes, the "OnTagValueChanged" event will be called.
|
○
|
○
|
×
|
DelTag
|
Unregisters a tag. Tag registration is automatically unregistered when the form is closed, so there is no need to call DelTag unless there is a specific reason.
|
○
|
○
|
×
|
ClearAllTag
|
Unsubscribe from all tags.
|
○
|
○
|
×
|
GetVal
|
Get tag values from cache (recommended, fast). Bulk loading is also possible using an array.
|
○
|
○
|
×
|
ReadVal
|
Gets the tag value (DataSource can be specified). However, only one tag can be read.
|
○
|
○
|
×
|
WriteVal
|
Write a value to a tag (single-point tag write).
|
○
|
○
|
×
|
ReadRefresh
|
Refresh the tag cache (recommended, fast). You can also specify multiple tags at once using an array.
|
○
|
○
|
×
|
WriteRefresh
|
Write tag values together and refresh the cache (recommended, fast).
|
○
|
○
|
×
|
ReadRequest
|
Make a read request (used in conjunction with ReadRequestRefresh).
|
○
|
○
|
×
|
ReadRequestRefresh
|
Execute all read requests and refresh the cache (recommended/fast).
|
○
|
○
|
×
|
WriteRequest
|
Make a write request (used in conjunction with WriteRequestRefresh).
|
○
|
○
|
×
|
WriteRequestRefresh
|
Execute all write requests and refresh the cache (recommended/fast).
|
○
|
○
|
×
|