Planar RS232, PS5580 User Manual

Planar PS5580 RS232 and LAN Command Protocol
Copyright © 4 Feb 2014 by Planar Systems, Inc. All rights reserved.
Contents of this publication may not be reproduced in any form without permission of Planar Systems, Inc.
Trademark Credits
Windows™ is a trademark of Microsoft Corp. All other names are trademarks or registered trademarks of their respective companies.
Disclaimer
The information contained in this document is subject to change without notice.
Planar Systems, Inc., makes no warranty of any kind with regard to this material. While every precaution has been taken in the preparation of this manual, the Company shall not be liable for errors or omissions contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Warranty and Service Plans
Planar warranty and service plans will help you maximize your investment by providing great support, display uptime, and performance optimization. From post-sale technical support to a full suite of depot services, our services are performed by trained Planar employees. When you purchase a Planar product, you get more than a display, you get the service and support you need to maximize your investment. To find the latest warranty and service information regarding your Planar product, please visit:
http://www.planarcontrolroom.com/support
Part Number: 020-1253-00C

Table of Contents

Command Protocol Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Command Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Communications Link. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Directly Addressed Command Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Broadcast Command Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Command / Response Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Commands Supported in the PS5580 Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Notes for Commands Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Get LCD Status Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
PS5580 RS232 and LAN Command Protocol

Command Protocol

Command Protocol Description

This document specifies the protocols used on the PS5580 RS232 and LAN connectors.
Command Protocol

Communications Link

Communication between the host and the display can be either a standard RS232 connection or a standard LAN connection.

Communication Settings

The RS232 connections uses these settings:
• Straight-thru DB9 male-to-female cable
• 115200 baud rate
• 8 data bits
• 1 stop bit
• No parity bit
• No HW (RTS/CTS or SW (XON/XOFF) flow control
The LAN connections is used by initiating a TCP connection to port 9761.

Directly Addressed Command Format

Commands that are sent to only one display are directly addressed commands. Directly addressed commands and responses have the following format:
STX Command Length GroupID MultiID Mode Data Checksum ETX SendtoDisplay 1byte 1byte 1byte 1byte 1byte 1byte nbytes N/A 1byte ReceivedfromDisplay 1byte 1byte 1byte 1byte 1byte 1byte nbytes 1byte 1byte
PS5580 RS232 and LAN Command Protocol 1

Broadcast Command Format

Definition of terms in Directly Addressed Command Format table:
Broadcast Command Format
STX is the ascii STX character (0x02).
Command is the command code.
Length is the number of bytes in the Group ID, Multi ID, Mode and Data fields.
Group ID is the Group ID value in the display’s Option menu. A=1, B=2, C=3, etc.
Multi ID is the Monitor ID value in the display’s Tiling menu.
Mode selects whether the command is a Read command or a Write command.
• Read = 0x00
• Write = 0x02
Data contains values specific to the selected command.
Checksum is the one's complement of the following response fields: STX, Command, Length, Group ID, Multi ID, Mode, Data (i.e. the sum of these fields and the checksum field, modulo 256, will be 0xFF).
ETX is the ascii ETX character (0x03).
Commands that are sent to all displays are broadcast commands. They have the this format:
STX Command Length GroupID MultiID Data ETX
SendtoDisplay 1byte 1byte 1byte 1byte 1byte nbytes 1byte
Definition of terms in Broadcast Command Format table:
STX is the ascii STX character (0x02).
Command is the command code.
Length is the number of bytes in the Group ID, Multi ID and Data fields.
Group ID is set to 0x00.
Multi ID is set to 0x00
Data contains values specific to the selected command.
ETX is the ascii ETX character (0x03).
The displays do not send responses to broadcast commands.

Command / Response Examples

Example: Power query when unit is powered on (Group ID = A, Multi ID = 4)
STX CMD LEN GID MID MOD DAT CHK ETX
Command 021003010400 03
Response 02 10 04 01 04 00 01 E3 03
PS5580 RS232 and LAN Command Protocol 2
Command / Response Examples
Example: Set power to off (Group ID = B, Multi ID = 1)
Command 021103020102 03
Response 02 11 03 02 01 02 E4 03
Example: Set power to off (broadcast)
Command 0211020000 03
Response [None]
STX CMD LEN GID MID MOD DAT CHK ETX
STX CMD LEN GID MID MOD DAT CHK ETX
PS5580 RS232 and LAN Command Protocol 3

Commands Supported in the PS5580 Display

Name
Auto Calibration 0x61 Y W 3 2 0x02 = Write [None] 9
Auto Power 0x64 Y W 4 3 0x02 = Write
Auto Tracking 0x62 Y W 3 2 0x02 = Write [None] 7
Backlight 0xDC Y W 4 3 0x02 = Write
Brightness 0x20 Y W 4 3 0x02 = Write
Color 0x25 Y W 4 3 0x02 = Write
Command
Broadcast Supported
Read/Write
Length
Mode Data Bytes
Length (Broadcast
Byte 1: Auto Power
-0x00 = Off
-0x01 = On
Byte 1: Backlight (Range 0x00-0x64)
Byte 1: Brightness (Range 0x00-0x64)
Byte 1: Color (Range 0x00-0x64)
Response Length
Byte 1: Red Gain (Range 0x00-0xFF) Byte 2: Green Gain (Range 0x00-0xFF) Byte 3: Blue Gain (Range 0x00-0xFF) Byte 4: Red Offset (Range 0x00-0xFF) Byte 5: Green Offset (Range 0x00-0xFF) Byte 6: Blue Offset (Range 0x00-0xFF)
Byte 1: Auto Power
-0x00 = Off
-0x01 = On
4
Byte 1: H Position (Range 0x00-0x64) Byte 2: V Position (Range 0x00-0x64) Byte 3: Clock (Range 0x00-0x64) Byte 4: Clock Phase (Range 0x00-0x3F)
Byte 1: Backlight (Range 0x00-0x64) Write 50 (0x32):
4
Byte 1: Brightness (Range 0x00-0x64) Write 50 (0x32):
4
Byte 1: Color (Range 0x00-0x64) Write 50 (0x32):
4
Response Data
Red Gain = 49 (0x31) Green Gain = 48 (0x30) Blue Gain = 47 (0x2F) Red Offset = 46 (0x2E) Green Offset = 45 (0x2D) Blue Offset = 44 (0x2C) Command: 02 61 03 01 04 02 03 Response: 02 61 09 01 04 02 31 30 2F 2E 2D 2C 75 03
Set Auto Power = On Command: 02 64 04 01 04 02 01 03 Response: 02 64 04 01 04 02 01 8D 03
H Position = 51 (0x33) V Position = 52 (0x34) Clock = 53 (0x35) Clock Phase = 32 (0x20) Command: 02 62 03 01 04 02 03 Response: 02 62 07 01 04 02 33 34 35 20 D1 03
Command: 02 DC 04 01 04 02 32 03 Response: 02 DC 04 01 04 02 32 E4 03
Command: 02 20 04 01 04 02 32 03 Response: 02 20 04 01 04 02 32 A0 03
Command: 02 25 04 01 04 02 32 03 Response: 02 25 04 01 04 02 32 9B 03
Example
(Group ID = ‘A’, Multi ID = 4)
Example
(Broadcast)
Command: 02 61 02 00 00 03
Set Auto Power = On: Command: 02 64 03 00 00 01 03
Command: 02 62 02 00 00 03
Write 50 (0x32): Command: 02 DC 03 00 00 32 03
Write 50 (0x32) Command: 02 20 03 00 00 32 03
Write 50 (0x32) Command: 02 25 03 00 00 32 03
PS5580 RS232 and LAN Command Protocol 4
Loading...
+ 14 hidden pages