Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A sub-miniature DB-9 connector on the rear panel of the EIK CW Power Supply supports half-duplex RS-422 or RS-485 serial communication with an external computer.

Pin NumberRS-422RS-485
1N.C.N.C.
2 *
3R+R+/T+
4T+*
5GNDGND
6T-*
7RL**RL**
8 *
9R-R-/T-

*For 2-wire RS-485 operation, jumper pins 2 and 4 (R+ to T+) and pins 6 and 8 (R- to T-)

...

Command blocks are formatted as follows:

STX>01bRDEKETX01CR
Prefix AddressblankCommandSuffixChecksumTerminator

All characters are 8-bit ASCII.

...

Example message exchange:

HOST:

STX>01bRDSTATETX01CR

LOCAL:

ACKSTX>01bSTATUS=22ETXCR
  • Command block begins with PREFIX and ends with TERMINATOR
  • Command begins with SPACE and ends with SUFFIX
  • Checksum is used to test for transmission errors
  • ASCII character ">" is a delimiter
  • STX=02d (02h)
  • NAK=21d (15h)
  • ETX=03d (03h)
  • SPACE=32d (20h)
  • ACK=06d (06h)