[r904]: / branches / develop / mqttsparkplug / mqttsparkplug / Sparkplug™ MQTT edge and host / Function Blocks / FB_CheckSeq / FB_CheckSeq / svnobj  Maximize  Restore  History

Download this file

8 lines (7 with data), 1.6 kB

1
2
3
4
5
6
7
FUNCTION_BLOCK FB_CheckSeq
VAR
    _PrevSeq : ULINT; // previous received SeqNum
    _CurBDSeqVal : ULINT; // Cur BDseqNum
    _PrevBDSeqVal : ULINT := 0; // previous received BDSeqNum
END_VAR
;