SERVICE
20
MAGNET POWER SUPPLY SYSTEM 8500
immunity eliminating noise to be treated as commands thereby flawing the first character after being
addressed.
NOTE!
None of the two serial lines have control signals (hand checking). Use the XON/XOFF
protocol if necessary.
3.3.3.
Programming.
The power supply communication protocol is built upon plain ASCII characters where each
command or reply is delimited by a "Carriage Return" <CR> character. However, replies have a
“Line Feed” <LF> character added before the <CR> for a friendlier display when using a terminal.
<LF> characters on commands will be ignored.
Hint. Actually the protocol allows full control of the power supply from a "dumb" terminal. In case
of a service- debug- situation a terminal can be used to tap the communication transfer by a
simple parallel connection.
Hint: When debugging, the "ERRT" command enables error messages to be given as a read able
text.
More commands may be transmitted in a chain but each single command must be trailed individually
with the delimiter character <CR>. The power supply is able to execute up to 200 commands a
second depending of the complexity of each command.
Ps.
Issuing short commands faster than the time to transmit the answer eg. “S1" will overload the
internal transmit buffer regardless of the selected baud rate.
All commands can be divided into three sections.
a)
Directive commands. Eg. the "N" command that turns the power supply ON
b)
Status commands . Eg. the "S1" that returns the power supply status
c)
Set up commands. Eg. the “ESC”<PPULS 5 that sets the ON pulse to 0.5 seconds.
Status commands always deliver a reply, whereas directive- and setup- commands only respond with
an error message if the command couldn’t be understood or if the given parameters are incorrect.
From SW version SCS110 it is possible to set the power supply to always generate an answer (see
‘esc’LINE setup for SW version SCS110). This feature is very useful when using RS485 protocol.
Hint. When using the "Always Answer" mode (‘OK’ respond from SW version SCS110) a re-
transmission of the last given command can be performed if no answer or an error message
is received. The System 8500 respond time is around 5ms after receiving the last bit of the
termination character.
DANFYSIK A/S - DK 2630 TAASTRUP - DENMARK.
DOC NO P80303Sk