![](/html/29/29ff/29ff25969cc47dbf0095e15cc9528abb5de4d1ca757e42f898e353204b333b34/bg1.png)
3-810-592-11 (1)
Trinitron
Color V ideo Monitor
Interface Manual for Programmers
Before operating the unit, please read this manual
thoroughly and retain it for future reference.
PVM-20M7MDE
1995 by Sony Corporation
![](/html/29/29ff/29ff25969cc47dbf0095e15cc9528abb5de4d1ca757e42f898e353204b333b34/bg2.png)
Table of Contents
Introduction ..............................................................................................3
Controlling the Color Video Monitor...............................................3
RS-232C Main Control Functions....................................................3
Communication via the RS-232C Interface ...........................................3
Connector Pin Assignment...............................................................3
Communication Parameters .............................................................3
Command Block Format ..................................................................4
Communication Protocol..................................................................4
Starting Up the Monitor ...................................................................4
Control Commands ..................................................................................5
Command Table ...............................................................................5
Command Description .............................................................................6
Input Config (21H)...........................................................................6
On Switch Function (29H) ...............................................................6
Off Switch Function (2AH)..............................................................7
Select Display (2BH) .......................................................................7
Select RGB Mode (2FH)..................................................................7
White Balance Data (40H) ...............................................................8
NV RAM Save (45H)....................................................................... 8
Sub Control Data (4CH)...................................................................9
Landing Data (4DH).........................................................................9
Reset Data (4EH) .............................................................................9
Input Config Sense (60H) ..............................................................10
White Balance Sense (61H) ...........................................................10
Sub Control Sense (6BH)...............................................................10
Landing Sense (6CH) .....................................................................10
Status Sense (6DH) ........................................................................10
Status Remote (6EH)......................................................................10
Input Config Reply (70H) .............................................................. 11
White Balance Reply (71H) ...........................................................11
Sub Control Reply (7BH)...............................................................11
Landing Reply (7CH).....................................................................11
Status Reply (7DH) ........................................................................11
Status Remote Reply (7EH) .............................................Back cover
ACK Reply (04H) ............................................................Back cover
NAK Reply (05H) ............................................................Back cover
2
![](/html/29/29ff/29ff25969cc47dbf0095e15cc9528abb5de4d1ca757e42f898e353204b333b34/bg3.png)
Communication via the
Introduction
Controlling the Color Video Monitor
The color video monitor can be controlled in two
ways:
• Control from the operation panel of the monitor
• Control from the externally connected computer via
the RS-232C interface.
This interface manual explains the control method via
the RS-232C interface. For details on control from the
operation panel of the monitor, refer to the instruction
manual supplied with the color video monitor.
RS-232C Main Control Functions
This serial protocol provides the following features
when individual monitors are controlled via the RS232C interface.
• Parameters of the monitor can be changed without
changing the nonvolatile RAM settings.
These parameters include using sub controls to
adjust volume, contrast, aperture, brightness and
chroma, white balance, landing data and input
configuration.
• All functions that are available with the switches on
the monitor’s operation panel can be changed
remotely.
• Settings and adjustments normally made with the
monitor’s on-screen menu can be made remotely.
• The current monitor’s parameters can be saved into
nonvolatile RAM.
• Status information can be got from the monitor by
sending the Sense commands.
RS-232C Interface
Connector Pin Assignment
The RS-232C connector is on the back of the monitor.
The signal assignment for the monitor are shown in the
table below.
Connector pin assignment
Pin number
1
2
3
4
5
6
7
8
9
Communication Parameters
Communication parameters should be set as follows.
Transmission mode : Asynchronous, bit
Data communication baud rate : 9600 bps
Parity: : Even
Stop bit length : 1
Transfer sequence : Transmission from
Signal
Unused
RX
(Monitor M Computer)
TX
(Monitor m Computer)
Unused
GND
Unused
Unused
Unused
TALLY ON/OFF
serial signal
lowest bit (LSB)
Contents
Receive Data
Transmit Data
Signal Ground
The bit composition is as follows:
1 start bit + 8 DATA bits + 1 PARITY bit + 1 STOP
bit
1
(Mark)
Start
Bit 0
bit
Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
(LSB)
(MSB)
Parity
bit
Stop
bit
0
(Space)
3
![](/html/29/29ff/29ff25969cc47dbf0095e15cc9528abb5de4d1ca757e42f898e353204b333b34/bg4.png)
Communication via the RS-232C Interface
Command Block Format
Data is sent between the computer and the monitor in
the following format.
STX Byte
1 byte 1 byte 1 byte 1 byte n bytes 1 byte
STX
Start of text code value: 02H (the suffix “H” indicates
a hexadecimal (16) number)
Byte Count
This indicates the number of data bytes (maximum 255
bytes) which have been inserted between this byte and
the checksum byte.
Values 00H, 01H and 02H are illegal values.
Destination address
One byte address value which defines where data
composed of the above format is transmitted to. Value
02H should be specified when the command is sent
from the computer to the monitor.
count
Destination
address
Source
address
Command block
Checksum
computer, it sends back the following responses
corresponding to the commands sent from the
computer within 9 milliseconds of receiving the
commands.
• NAK (05H)
When the received command is an undefined
command or a communication error occurs.
• Specific Code + DATA
When the received command is a question requiring
a reply.
• ACK
When the received command is anything other than
the above two.
The remote control should not issue any other
commands until the response has been received from
the monitor.
The remote control should not leave a gap between
bytes to be transmitted of more than ten milliseconds.
Otherwise the monitor will treat the message as
received in error.
If the remote control unit receives a NAK from the
monitor it must wait more than ten milliseconds before
transmitting any more messages.
Source address
One byte address which defines where the data was
sent from. This defines where the response
corresponding to commands sent will be returned
from. Values from 41H to 7FH should be specified.
when the command is sent from the computer to the
monitor.
Command block
This designates a particular command.
For detailed information, see “Command Description” on
page 6.
Checksum
This value is set to make the lower eight bits of the
sum of all bytes from the Byte Count to the Checksum
inclusive zero.
Communication Protocol
The computer takes the initiative in communication
between the computer and the monitor.
When the monitor receives a command from the
4
Starting Up the Monitor
To start up the monitor, proceed as follows.
1 Connect the serial cable to the RS-232C connector
on the back of the monitor and connect the other
end to the computer.
2 Turn on the power on the monitor.
3 Turn on the power on the computer.
4 Set the serial parameters for the computer’s RS-
232C interface.
The monitor can then be controlled from the computer.
It can also be controlled from the operation panel of
the monitor. The monitor is factory-set to LOCAL
mode. In this mode, the monitor cannot be controlled
from the computer. You should set the monitor to
REMOTE (FRONT LOCK) or REMOTE & LOCAL
mode to control the monitor from the computer using
the monitor’s on-screen menu.
For detailed information on how to select REMOTE or
REMOTE & LOCAL mode, refer to the instruction manual
supplied with the monitor.