Eurotherm Modbus RS232 Control
11 Jul 2009
03 Apr 2014)
Reads and writes information to Eurotherm controllers via Modbus RTU protocols.
function response = isvalidtempobjmaxwords(maxWords)
% ISVALIDTEMPOBJMAXWORDS checks for suitability
% currently only a simple check due to the variety of possible values -
% kept as a subfunction as unlikely to be required by any other function.
% Note that very few Modbus devices will actually be able to read/write
% this many words.
response = isnumeric(maxWords) && isscalar(maxWords) && maxWords >= 1 && maxWords <= 65535;