Sharp PN-T322B Controlling the Monitor with a PC RS-232C, Communication procedure PC connection

Models: PN-T322B

1 35
Download 35 pages 12.49 Kb
Page 26
Image 26

Controlling the Monitor with a PC (RS-232C)

You can control this monitor from a PC via RS-232C (COM port) on the PC.

Communication procedure

PC connection

Connect with RS-232 straight cable between the PC’s COM port (RS-232C connector) and the RS-232C input terminal on the monitor.

nCommand format

When a command is sent from the PC to the monitor, the monitor operates according to the received command and sends a response message to the PC.

 

 

 

 

 

 

 

 

 

 

Return code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C1

 

C2

C3

 

C4

 

P1

P2

P3

P4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command field

 

 

 

Parameter field

 

 

(4 prescribed

 

 

(4 character string comprised of:

alphanumerical characters)

 

0-9, +, -, space, ?)

RS-232C input terminal

PC

To COM port

RS-232 straight cable (commercially available)

Communication conditions

Set the RS-232C communication settings on the PC to match the monitor’s communication settings as follows:

Baud rate

9600 bps

 

Stop bit

1 bit

 

 

 

 

 

Data length

8 bits

 

Flow control

None

 

 

 

 

 

Parity bit

None

 

 

 

 

 

 

 

 

Example: VOLM0030

VOLM 30

*Be sure to input 4 characters for the parameter. Pad with spaces (“ ”) if necessary.

(“ ” is a return code (0DH, 0AH or 0DH)) Wrong : VOLM30

Right : VOLM

30

If a command has “R” listed for “DIRECTION” in the “RS-232C command table” on page 26, the current value can be returned by using “?” as the parameter.

Example:

VOLM ? ? ? ?

From PC to monitor (How much

 

 

is current volume setting?).

30

From monitor to PC (Current

 

 

volume setting: 30).

E24

Page 26
Image 26
Sharp PN-T322B Controlling the Monitor with a PC RS-232C, Communication procedure PC connection, Communication conditions