Create File#
This task creates a file in OPC UA server using the File Transfer feature. To be used with OPC UA driver in Client mode.
Inputs#
| Name | Data Type | Description |
|---|---|---|
| nodeId | String | The node id where the file will be created |
| name | String | Name for the file |
| Activate | any | Activate the task |
Outputs#
| Name | Data Type | Description |
|---|---|---|
| fileNodeId | String | The newly created node id for the file |
| isNew | Boolean | The flag that specifies whether the file was created or already existed |
| Success | Boolean | If there was no problem emits a true |
| Error | Error | Error that occurred during the processing of this task |
Settings#
On the General Tab, you have the usual settings and the following settings:
| Name | Data Type | Default | Description |
|---|---|---|---|
| NodeId | String | The node id where the file will be created | |
| Fail if exists | Boolean | False | If true and the file exists, will throw an error, otherwise will output the already existing node id |
| Create File Command | String | .CreateFile | Node command syntax to be appended to the File Object node id to identify and invoke the Create File command (for example, .CreateFile, resulting in FileNodeId.CreateFile). Useful to prevent break of compatibilities. |
Behavior#
Activate will trigger a message to the driver. The contents of the message are the values received in the inputs or settings.
Remarks#
All the communication with the equipment is handled by the driver in the backend.

