[r100]: / branches / i-campbell / mqttsparkplugb / mqttsparkplugb / SparkplugB / Function Blocks / FB_Payload_1 / FB_Payload / Pool / ClaimNextFreeDataSetType / svnobj  Maximize  Restore  History

Download this file

6 lines (5 with data), 1.9 kB

1
2
3
4
5
	ClaimNextFreeDataSetType := DataSetTypesPool[DataSetTypesPoolFreeIndex];
	DataSetTypesPoolFreeIndex := DataSetTypesPoolFreeIndex +1;
ELSE
	eError := ERROR.PayloadNotEnoughDataSetTypesPool;
END_IF