7.1 RS-232 protocol

About RS-232 protocol

The communication protocol of the monitor is based upon user oriented commands and factory oriented commands. The following description is related to the user oriented commands and is based on the MDSC-8358 monitors user commands.

Notes:

<ESC> stands for the ASCII code 1B hex

<ACK> stands for the ASCII code 06 hex

<NACK> stands for the ASCII code 15 hex

<CR> stands for the ASCII code 0D hex

<LF> stands for the ASCII code 0A hex

Communication settings:
Available commands:
1a) Get Model Number:

PC > monitor: <ESC> rh

monitor > PC: “string” <ACK>

where “string” is: 12 digits ASCII string with 12NC model number (example: “991932051391”).

1b) Get Serial Number:

PC > monitor: <ESC> rs

monitor > PC: “string” <ACK>

where “string” is: 14 digits ASCII string with 14NC serial number (example: “AN000631000001”).

1c) Get Hardware Release:

PC > monitor: <ESC> r1 <CR>

monitor > PC: “string” <CR><LF>

where “string” is: an ASCII string with the hardware release (example: “VEGA-LP1”).

1d) Get Firmware Release:

PC > monitor: <ESC> r2 <CR>

monitor > PC: “string” <CR><LF>

where “string” is: an ASCII string with the firmware release (example: “FW 1.05”).

2a) Get Current Transfer Function:

PC > monitor: <ESC> O <CR>

monitor > PC: (character) <CR><LF>

where (character) has the following meaning:

(character)Current Transfer Function
0 (zero)NATIVE
1DICOM
2GAMMA 1
3GAMMA 2
Note: the character O in the command sequence is the letter “o” in uppercase.
2b) Set Transfer Function:

PC > monitor: <ESC> O (character)

monitor > PC: <ACK>

where (character) has the following meaning:

(character)Current Transfer Function
0 (zero)NATIVE
1DICOM
2GAMMA 1
3GAMMA 2
3a) Get Current Backlight Brightness:

PC > monitor: <ESC> b

monitor > PC: “string” <ACK>

where “string” is a 3 character ASCII string with the current backlight brightness in the range from 200 to 350 (cd/m²) (example: “300”).

3b) Set Backlight Brightness:

PC > monitor: <ESC> b “string”

monitor > PC: <ACK>

where “string” is a 3 character ASCII string with the desired backlight brightness in the range from 200 to 350 (cd/m²) (example: “300”).

4a) Keylock enable/disable:

PC > monitor: <ESC> k (character)

monitor > PC: <ACK>

where (character) has the following meaning:

(character)Keylock
0 (zero)Disable
1Enable
4b) Keylock status:

PC > monitor: <ESC> k?

monitor > PC: (character)

where (character) has the following meaning:

(character)Keylock
0 (zero)Disable
1Enable
4c) Keylock code:

PC > monitor: <ESC> v????

monitor > PC: <ACK>

where “?” is a number between 1 and 4 which codifies the key according to the following table:

“?” characterkey
1
2
3☼–
4☼+
5) FPGA Release:

PC > monitor: <ESC> r3 <CR>

monitor > PC: “string” <CR><LF>

where “string” is: an ASCII string with the FPGA release (example: “FPGA REV: 3”).

6) Working hours of the monitor:

PC > monitor: <ESC> rWH <CR>

monitor > PC: “string” <CR> <LF>

where “string” is: an ASCII string with the working hours number (example “67”).

7a) Power supplies status:

PC > monitor: <ESC> sP <CR>

monitor > PC: “string” <CR> <LF>

where “string” is: an ASCII string with the power supplies status (example: “OK”).

7b) Fans status:

PC > monitor: <ESC> sF <CR>

monitor > PC: “string” <CR> <LF>

where “string” is: an ASCII string with the fans status (example: “OK”).

7c) Internal temperature status:

PC > monitor: <ESC> sT <CR>

monitor > PC: “string” <CR> <LF>

where “string” is: an ASCII string with the temperature sensor status (example: “OK”).