IO data for the MceBlinkSignals function.
The blink signal patterns are defined by 40 segments of each 50ms
.
Version history
0.1.0
 
deGroot
Changes
Added:
- first version
Overview
name | type | default | comment |
---|---|---|---|
bSlow | BOOL | slow blinking (1Hz) | |
bFast | BOOL | fast blinking (2Hz) | |
bDoubleFlash | BOOL | two short flashes |
Details
bSlow
BOOL
Slow blinking signal. Typically used to signal a wait situation.
// blink pattern: 1Hz
1111111111 .......... 1111111111 ..........
bFast
BOOL
Fast blinking signal. Typically used to signal a busy/pending situation.
// blink pattern: 2Hz
11111..... 11111..... 11111..... 11111.....
bDoubleFlash
BOOL
Two short flashes. Typically used to signal a standby situation.
// blink pattern: two short flashes
1...1..... .......... .......... ..........
Source code
Declarations
(*IO data for MceBlinkSignals*)
TYPE MceBlinkSignalsIO :
(*
* -----------------------------------------------------------------------------
* Name : MceBlinkSignalsIO
* Version : 0.1.0
* Date : 2022-02-11
* Author : deGroot
* Family : YaskawaMce
* Organisation : github.com/YaskawaEurope/mlx-examples
*
* -----------------------------------------------------------------------------
* IO data for MceBlinkSignals
* -----------------------------------------------------------------------------
*)
STRUCT
bSlow : BOOL; (*slow blinking (1Hz)*)
bFast : BOOL; (*fast blinking (2Hz)*)
bDoubleFlash : BOOL; (*two short flashes*)
END_STRUCT
END_TYPE