PRE32 RS232 protocol v1.21 Tomas Andersson

Similar documents
J2 LCM Customer Display. Manual

The RS-485 user manual for B800 series communication

FLAT WIDE DISPLAY FWD-50PX1. PROTOCOL MANUAL (USER CONTROL ONLY) 1st Edition

Venstar Thermostat Adapter

Custom Installation Notes IP/Serial programming interface and IR remote control commands for the SA10/SA20 integrated amplifier

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

VS-LC101/ VS-LC102 RS-232 command set

MDL100 protocol-1.doc 6/12/08

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200

Serial Communication Protocols

Version Action Author Date

Planar Simplicity Series

Analyzing the command string for switch to input #

Dell 7609WU RS232 Protocol Document

Specification. For. Serial Interface DN-T645/625

Card Dispensing/Collecting Machine

RS-232 Control of the Advantage DRI

Dell S500/S500wi RS232 Protocol Document

Titan Dot Matrix Display (A05)

Computer Control of the Advantage DRC 4+4

USB-SD MP3 Module Manual

SPM723 Programmable Stereo Preamp/Mixer

Dell 4610X RS232 Protocol Document

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam D33 DAC

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

The power to engage. RS-232 PROTOCOL for CTOUCH. RS 232 protocol for CTOUCH Laser Nova - Sky V4.01. CTOUCHimPD1099V180725

Control Codes. Viewing control state (Get control command) Controlling (Set control command) Command. No. Command type Command Value range

Serial Communication Control Interface User s Manual

Specification. for. Serial Interface DN-C635

IQ Home Modbus-RTU Master

Software Design Document

RS485 MODBUS Module 8AO

THANK YOU. Control System Communication Protocol Manual RackLink. Monitor Control Alert Report Analyze. Thank you for purchasing a RackLink product.

Generic RS232 protocol

PROTOCOL TRANSPORTS 4 RS232 SPECIFICATIONS 4 RS232 CABLING 4 TCP/IP 4 PROTOCOL DOCUMENT NOTES 4 COMMUNICATION 4

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

1. Implemented CM11 protocol

Serial Interface Communication Protocol

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam UDP411 BD Player

RS485 MODBUS Module 16I-M

Confidea Wired Conference System

VZ8(6)9 rev B I2C communication quick manual. SGX Sensortech

1 SETTING UP GENERAL FUNCTION TYPE PROTOCOL MESSAGES COMMAND RETURN CODES... 6 TRANSACTION EXAMPLES...

The power to engage. RS-232 PROTOCOL for CTOUCH. RS 232 protocol for CTOUCH Laser Air + V3.12. CTOUCHimPD914V170913

D-ILA Projector. DLA-Z1 Series DLA-RS4500 Series. External Command Communication Specification

Subject Server vs Display Protocol Using UART Report Number Author Project Version 3.00 Remarks This document is for Internal Use.

Optidrive VTC Modbus RTU Register Map

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL

OPTIGRID MOTORIZATION USB HID CLASS INTERFACE INSTRUCTION. Approved by:... Steve Mounnarat, Director of Engineering

Software Design Document

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam T32 Tuner

S-Video S-Video1 0x02 0x00 S-Video2. 0x01 S-Video3. Component Component1 0x03 0x00 Component2. 0x01 Component3. PC PC1 0x04 0x00 PC2.

Custom Installation Notes: Serial programming interface for Arcam A/V processors & receivers

ATID UHF RFID READER Protocol. July 2009 ATID900F - V0.0.3

UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification

RS485 MODBUS Module 8I8O

Futaba MDM166A display

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for

marson MT8200S 2D Handheld Scanner User Manual V / 6 / 25 - I -

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:

Number Representations

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

Design Brief 205 Understanding the Anadigm Boot Kernel (ABK)

Developer Notes INSTEON Thermostat v012. Developer Notes. INSTEON Thermostat. Revision History

L-Series and SkyPanel

ambient XC RS232 Control Command Specification

Blaupunkt ( DMS?? ) Page 1 of 13

Communication Protocol Reference Manual

POWERLINC PROGRAMMING MANUAL v1.2a

Russound Dual Tuners (ST2, ST2-XM, ST2-XM2, and ST2S)

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam BDP100/300 BD Players

Russound Controllers. RNET Protocol & Specifications RS-232 Communication. Document version

2D BARCODE SCANNER CA-SC-20200B

Optris CT/ CTlaser/ CTvideo communication interface

Fohhn-Net Technical Manual

FN-BT91 Bluetooth Audio Player Module. User s Manual V1.0

E2 Modbus RTU Register Map Revision History Version Comments Author Date 1.02 Previous version PAE 11/06/ Revised to new format PAE 09/03/09

CSCI 2212: Intermediate Programming / C Chapter 15

Home Automation, Inc. Omni-Link. Serial Protocol Description

Modbus Protocol For FTS/FTM 3x&8x

Number Systems for Computers. Outline of Introduction. Binary, Octal and Hexadecimal numbers. Issues for Binary Representation of Numbers

FHD492-XV and FHD552-XV

Elotech Standard Protocol. for Single R8200 SC

Data sheet Wireless UART firmware version 4

1602 SMART LCD DISPLAY MODULE HCMODU0122

Simplified JetfileⅡ Protocol VER 2.4

IT-VCM MODULE. Serial Protocol Manual Version 1.02

3GV M Modbus RTU Register Map

OPTRIS CT/CTL communication interface

UniOP VT100 Terminal Emulation - Ver. 3.16

PRELIMINARY DESCRIPTION. (*)Coil (Hex) 0x00A1 0x00A2 0x00A3

INSTEON Hidden Door Sensor

SLCD Technical Note TN-100. Programming the SLCD bitmap / macro flash memory in an embedded system

Serial Interface Communication Protocol [EN Series]

CONNECTION TO A HOST COMPUTER

ADJUSTMENT INSTRUCTION

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

SOFTWARE UPGRADE PROCEDURE

Baracoda - September 2007

Transcription:

PRE32 RS232 protocol 2014-11-07 v1.21 Tomas Andersson

Description This document describes the RS232 protocol used to control the PRE32 device. Command structure Commands are sent to the device using the following format, where each field is one byte sent to the device: <STX> <command> <variable> [<value>] <DLE> <ETX> The <command> can be either 'W' for write or 'R' for read. The variable table that follows specifies which variables supports which <command> types. If verbose is active, the device will send replies on the following format either when a command is received or when the variable in question is changed on the device. <STX> <variable> [<value>] <DLE> <ETX> Note that the <value> field can contain several bytes of data for certain commands. Command special chars <STX> = 0x02 <DLE> = 0x10 <ETX> = 0x03 Write = 0x57 (ASCII: W) Read = 0x52 (ASCII: R) Escape sequence If any variable or value byte is equal to <DLE>, this byte must be sent twice to avoid confusing this with end of message. Protocol settings Baud rate: 4800 Bits: 8 Stop bits: 1 Parity: None Example The specific variables and commands will be defined later, here are examples on what the commands looks like in bytes. Command to toggle verbose setting. Command is write, variable is 13 (0x0d) and value is 0. 0x02 0x57 0x0xd 0x00 0x10 0x03

Variables Commands sent to device Function Cmd Variable Values Description Command sequence Operate/Standby W 1 0 = Toggle Toggles standby mode for device. 0x02 0x57 0x01 0x00 0x10 0x03 Operate/Standby W 1 + 128 0 = Standby, 1 = Operate Main input W 2-1 (0xff) = previous, 1 (0x01) = next Main input W 2 + 128 1 = IN1 2 = IN2 3 = IN3 4 = IN4 5 = IN5 6 = IN6 7 = MEDIA 8 = DIG1 9 = DIG2 10 = DIG3 11 = DIG4 12 = PC 13 = BT Volume control W 3-1 (0xff) = Decrease, 1 (0x01) = Increase Sets device in standby or operate state. Selects next or previous input on device. Selects specific input on device. Either increases or decreases volume by one step. Standby: 0x02 0x57 0x81 0x00 0x10 0x03 Operate: 0x02 0x57 0x81 0x01 0x10 0x03 Previous: 0x02 0x57 0x02 0xff 0x10 0x03 Next: 0x02 0x57 0x02 0x01 0x10 0x03 0x02 0x57 0x82 0x0X 0x10 0x03 X = 1,2,3,4,5,6,7,8,9,a,b,c,d Decrease: 0x02 0x57 0x03 0xff 0x10 0x03 Increase: 0x02 0x57 0x03 0x01 0x10 0x03 Volume control W 3 + 128 0 to 79 Sets volume on device. 0x02 0x57 0x83 0xXX 0x10 0x03, XX = 00 to 4f Balance W 4-1 (0xff) = step left, 1 (0x01) = step right Modifies volume balance settings Balance W 4 + 128 1 to 19 Sets specific balance setting. Value 10 means centered. Lower values adjusts balance to the left. Step left: 0x02 0x57 0x04 0xff 0x10 0x03 Step right: 0x02 0x57 0x04 0x01 0x10 0x03 0x02 0x57 0x84 0xXX 0x10 0x03 XX = 01 to 13 Mute control W 9 0 = Toggle Toggles mute on device. 0x02 0x57 0x09 0x00 0x10 0x03 Mute control W 9 + 128 0 = Disable, Enabled or disables mute on device. Disable: 0x02 0x57 0x89 0x00 0x10 0x03 Enable: 0x02 0x57 0x89 0x01 0x10 0x03

Dim W 10 0 = Cycle Cycles through the different dim levels on device. Dim W 10 + 128 0 = Off 1 = Low 2 = Mid 3 = High Selects a specific dim level on device. Verbose W 13 0 = Toggle Toggles verbose mode on device. When verbose is active, device will respond to commands and inform about changes to variables. Verbose W 13 + 128 0 = Disable, Enables or disables verbose mode on device. 0x02 0x57 0x0a 0x00 0x10 0x03 0x02 0x57 0x8a 0x0X 0x10 0x03 X = 0,1,2,3 0x02 0x57 0x0d 0x00 0x10 0x03 Disable: 0x02 0x57 0x8d 0x00 0x10 0x03 Enable: 0x02 0x57 0x8d 0x01 0x10 0x03 Menu W 14 0 = Toggle menu Enters or leaves menu of device. 0x02 0x57 0x0e 0x00 0x10 0x03 Menu W 14 + 128 0 = Exit, 1 = Back, 2 = Enter Remote command W 15 See table of IR commands. Allows closing of the menu or stepping into or out of a submenu if the menu is active. Sends an IR command to the device, which will be treated as if the IR remote control has been used to send the command. IR input select W 18 0 = Toggle Toggles IR input source on device between front and back. IR input select W 18 + 128 0 = Front, 1 = Back Recall factory settings Name of productline Selects either front or back as current IR input source on device. W 19 0 = Factory reset Performs a factory reset, restoring default values and restarting the device. Exit: 0x02 0x57 0x8e 0x00 0x10 0x03 Back: 0x02 0x57 0x8e 0x01 0x10 0x03 Enter: 0x02 0x57 0x8e 0x02 0x10 0x03 0x02 0x57 0x0f 0xXX 0x10 0x03 0x02 0x57 0x12 0x00 0x10 0x03 Front: 0x02 0x57 0x92 0x00 0x10 0x03 Back: 0x02 0x57 0x92 0x01 0x10 0x03 0x02 0x57 0x13 0x00 0x10 0x03 R 21 0 Reads manufacturer name from the device. 0x02 0x52 0x15 0x00 0x10 0x03 Name of model R 22 0 Reads model name from device. 0x02 0x52 0x16 0x00 0x10 0x03 Version R 23 0 Reads current software version from device 0x02 0x52 0x17 0x00 0x10 0x03 Input name R 20 0 Reads current input name from device. 0x02 0x52 0x14 0x00 0x10 0x03 Input name R 20 + 128 See Main input for values Reads specified input name from device. 0x02 0x52 0x94 0x0X 0x10 0x03 BT visible W 24 0 = Toggle Toggles bluetooth visibility setting. 0x02 0x57 0x18 0x00 0x10 0x03

BT visible W 24 + 128 0 = Disable, Sets bluetooth visibility setting. Disable: 0x02 0x57 0x98 0x00 0x10 0x03 Enable: 0x02 0x57 0x98 0x01 0x10 0x03 BT auto-connect W 25 0 = Toggle Toggles bluetooth auto-connect setting. 0x02 0x57 0x19 0x00 0x10 0x03 BT auto-connect W 25 + 128 0 = Disable, Sets bluetooth auto-connect setting. BT unpair W 27 0 = Unpair Makes the bluetooth device unpair and forget all previously connected devices. Disable: 0x02 0x57 0x99 0x00 0x10 0x03 Enable: 0x02 0x57 0x99 0x01 0x10 0x03 0x02 0x57 0x1b 0x00 0x10 0x03 BT name R 28 0 Reads current bluetooth name from device. 0x02 0x52 0x1c 0x00 0x10 0x03

Replies received from device Note that these replies are only sent if verbose is set on the device. Function Variable Values Description Reply sequence Operate/Standby 1 0 = Standby, 1 = Operate Main input 2 1 = IN1 2 = IN2 3 = IN3 4 = IN4 5 = IN5 6 = IN6 7 = MEDIA 8 = DIG1 9 = DIG2 10 = DIG3 11 = DIG4 12 = PC 13 = BT Standby state of the device. Active input. Standby: 0x02 0x01 0x00 0x10 0x03 Operate: 0x02 0x01 0x01 0x10 0x03 0x02 0x02 0x0X 0x10 0x03 X = 1,2,3,4,5,6,7,8,9,a,b,c,d Volume control 3 0 to 79 Active volume. 0x02 0x03 0xXX 0x10 0x03, XX = 00 to 4f Balance 4 1 to 19 Current volume balance 0x02 0x04 0xXX 0x10 0x03, XX = 01 to 13 Mute control 9 0 = Disable, Dim 10 0 = Off 1 = Low 2 = Mid 3 = High Verbose 13 0 = Disable, Menu 14 0 = Exit, 1 = Back, 2 = Enter Mute state Active dim mode. Verbose state. Note that if verbose is disabled no reply will be sent, even if verbose was just disabled by a command. Describes change to menu status. Disable: 0x02 0x09 0x00 0x10 0x03 Enable: 0x02 0x09 0x01 0x10 0x03 0x02 0x0a 0x0X x010 0x03 X = 0,1,2,3 Disable: 0x02 0x0d 0x00 0x10 0x03 Enable: 0x02 0x0d 0x01 0x10 0x03 Exit: 0x02 0x0e 0x00 0x10 0x03 Back: 0x02 0x0e 0x01 0x10 0x03 Enter: 0x02 0x0e 0x02 0x10 0x03

Remote command 15 0 Generic response to actions from buttons or IR commands that doesn't have specific RS232 reply. IR input 18 0 = Front, 1 = Back Active IR input source. Name of productline 21 Name as string Manufacturer name as response to read command. 0x02 0x0f 0x00 0x10 0x03 Front: 0x02 0x12 0x00 0x10 0x03 Back: 0x02 0x12 0x01 0x10 0x03 0x02 0x15 [0xXX... 0xXX] 0x10 0x03 Name of model 22 Name as string Model name as response to read command. 0x02 0x16 [0xXX... 0xXX] 0x10 0x03 Version 23 Version and date as strings Software version and date as response to read command. 0x02 0x17 [0xXX... 0xXX] 0x10 0x03 Input name 20 Name as string Name of input requested in read command. 0x02 0x14 [0xXX... 0xXX] 0x10 0x03 BT visible 24 0 = Disable, BT auto-connect 25 0 = Disable, Active bluetooth visibility setting. Active bluetooth auto-connect setting. Disable: 0x02 0x18 0x00 0x10 0x03 Enable: 0x02 0x18 0x01 0x10 0x03 Disable: 0x02 0x19 0x00 0x10 0x03 Enable: 0x02 0x19 0x01 0x10 0x03 BT unpair 27 0 Response to BT unpair command. 0x02 0x1b 0x00 0x10 0x03 BT name 28 Name as string The name identifier for the bluetooth module as response to a read command. 0x02 0x1c [0xXX... 0xXX] 0x10 0x03

IR commands available for RS232 IR Function Value (dec) Value (hex) Description Toggle standby 50 32 Toggles standby Standby 1 01 Sets standby Operate 2 02 Clears standby Arrow up 30 1E Next input Arrow down 31 1F Previous input Arrow left 9 09 Volume down Arrow right 8 08 Volume up Mute 49 31 Toggle mute Dim 10 0A Cycle dim mode Balance 26 1A Enter balance mode Menu 0 00 Toggle menu Setup 11 0B Toggle menu Select 43 2B Selects item in menu Return 46 2E Leaves currently active submenu in menu Input 1 13 0D Selects IN1 Input 2 14 0E Selects IN2 Input 3 15 0F Selects IN3 Input 4 18 12 Selects IN4 Input 5 19 13 Selects IN5 Input 6 20 14 Selects IN6 Input +10, Input 0 47, 24 2F, 18 Selects MEDIA Input +10, Input 1 47, 13 2F, 0D Selects DIG1 Input +10, Input 2 47, 14 2F, 0E Selects DIG2 Input +10, Input 3 47, 15 2F, 0F Selects DIG3 Input +10, Input 4 47, 18 2F, 12 Selects DIG4 Input +10, Input 5 47, 19 2F, 13 Selects PC Input +10, Input 6 47, 20 2F, 14 Selects BT