Output Description¶
DONE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | TRUE / FALSE | - |
Output DONE indicates the state of execution.
It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.
ERR
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | TRUE / FALSE | - |
Output ERR indicates whether an error occurred during Function Block execution.
It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier at output ERNO.
ERNO
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | 0 … 65535 | - |
At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE. (see, error messages): Error Messages of the Function Block Libraries
MAC
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| ARRAY | - | - | - |
The output MAC provides the MAC address of the device chosen by DEV_NAME.
IP
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| DWORD | - | - | - |
The output IP provides the IP address of the device chosen by DEV_NAME.
VENDOR
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output VENDOR provides the manufacturers VENDOR ID of the device chosen by DEV_NAME.
DEVICE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output DEVICE provides the Device ID of the device chosen by DEV_NAME.
ALARM
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
If this output is TRUE an alarm is pending on the device chosen by DEV_NAME.
ACTIVE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
The inquired device is currently active. This output does not depend on the NEW output.