Code covered by the BSD License  

Highlights from
Eurotherm Modbus RS232 Control

Eurotherm Modbus RS232 Control

by

 

11 Jul 2009 (Updated )

Reads and writes information to Eurotherm controllers via Modbus RTU protocols.

isvalidtempobjmaxwords(maxWords)
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;

Contact us