This function block retrieves the label of a memory medium. If a device has no label, then an empty string is returned.
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
This table describes the input variables:
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
Activation entry, executes the operation when the value is |
i_sVolumeName |
STRING[80] |
Name of the device whose free memory space must be accessed:
|
This table describes the output variables:
Output |
Data type |
Description |
---|---|---|
q_xDone |
BOOL |
Set to |
q_xBusy |
BOOL |
Set to |
q_OperationResult |
DINT |
Result of the operation, a non zero value indicates an error. |
q_sLabel |
STRING[11] |
Label of the device. |