Y_RW_CreateFilePath
The CreateFilePath function block concatenates path, file and extension strings to create a file path that can be used in other file management function blocks.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | Execute | BOOL | Upon the rising edge, all other inputs are read and the function is initiated. | FALSE |
| V | Path | STRING | Path of the file |
|
| V | FileName | STRING | The name of the file |
|
| V | Extension | STRING | Extension of the file |
|
| VAR_OUTPUT | ||||
| B | Done | BOOL | Set to TRUE when the commanded action has completed successfully. | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. | |
| B | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. | |
| V | FilePath | STRING | File path with extension | |
Error Description:
Refer to the Function Block ErrorID List.