COMMERCIAL IN CONFIDENCE
Page 9
2. ACTIONS REQUIRED TO COMMUNICATE WITH THE
INSTRUMENTS
These versions of the instruments have ModBus functions codes 1,3,5,6 and 16 implemented. Note
that although function code 16 (write multiple registers) is recognised, this cannot deal with more than
a single 2 byte register write and will return an error if more registers are attempted. There is no facility
to read multiple registers, nor to read or write multiple bits.
2.1 Notes
• Un-implemented function codes do not yet return error code 01.
• Function code 15 (read multiple registers) is not implemented.
2.2 Implementation restrictions
A number of restrictions are made :
• Multiple register reads are not implemented, since the opportunity to use them is very
limited and there is not sufficient memory to buffer long messages.
• Multiple bit reads and writes are not implemented, since we do not have any consecutive
bits available to the user.
2.3 Security Messages
To allow communications to safely manipulate t e instrument a number of security messages
ave been implemented. CAL Controls see t ese as important safety features, w ic offer a
number of advantages, especially w en configuring a safety critical application.
T e messages to enter program mode only ave to be sent once to access t e Internal
parameters of t e instrument and t en any number of adjustments can be made. T e advantage
t is offers is t at sending t e enter program mode message, causes t e pus buttons on t e
instrument to be locked out. T is feature prevents potentially dangerous conditions arising
from simultaneous adjustment of t e instrument locally w ilst adjustments are being sent over
t e communications link.
T e messages to exit program mode causes t e instrument to write back any internal
parameter c anges to t e NVram, and t en use t ese settings. T is means t at any c anges
made will not take effect until t e instrument as received t e exit program mode message. T e
advantage t is offers is t at all adjustments take place at t e same time. If for instance you are
configuring alarm functions you will not get false alarms due to setting t e alarm mode before a
valid alarm set point as been programmed, also all PID terms are implemented toget er,
w ereas separate adjustment of PID functions may cause greater control instability.
To prevent inadvertent changes a security byte must be set immediately before any security message
is transmitted - this byte is automatically reset after each message.
Each security message is numbered 1 to 6, this number must be set into the security byte immediately
prior to the message, if the security byte does not match the security message number, the message
will be ignored and no response will be issued. Messages 1 to 4 are implemented but currently have no
direct use.
Note: T e 9500 does not require t e security byte messages to be sent to enter and exit
program mode, t e messages not required are noted below.
The correct sequence to set new parameters into the instrument is as follows: