SysEthernetLEDBlink
(FUN)
FUNCTION SysEthernetLEDBlink : SysTypes.RTS_IEC_RESULT
Triggering the mechanism to blink a LED of an adapter specified by the MAC address for the specified duration. The operating system and hardware must support this feature. The function call doesn’t wait the given duration and returns as fast as possible. However the real-time capability of this call is not guranteed.
- InOut:
Scope
Name
Type
Comment
Return
SysEthernetLEDBlink
SysTypes.RTS_IEC_RESULT
Runtime system error code (see CmpErrors.library).
Input
macAddress
ARRAY [0..5] OF BYTE
MAC address of the adapter that should blink.
durationInSec
UDINT
Duration to blink the adapter in seconds