Script Transfer Object

Script Transfer Object
When you create a new script of the "Transfer object" type, three predefined methods are available:
Methods in the transfer object
Method | Description |
---|---|
Initialize | The method is called once when the OPC Router is started. |
Write | The method is called after another transfer object has written data to this transfer object. It is therefore the code that is executed when this object is the target of a data transfer. |
Read | The method is called before another transfer object reads data from this transfer object. It is therefore the code that is executed when this object serves as the source of a data transfer. |
Use the "Settings - Manage parameters" menu to create the parameters and variables. You can define the following properties for the parameters:
Properties of parameters
Name | Parameter Name |
---|---|
Array | Yes |
Parameter | Data type |
---|---|
Parameters direction |
|
When you create a new script, the script editor opens automatically.