TZM883 RS232 Communication Protocol R/D & Sales Manufacturing & Warehouse Via Della Praia,4/A Str. della Pronda,17 10090 Ferriera di Buttigliera Alta (TO) Italy 10142 Torino Italy Tel. +39 0119348778 Fax +39 011 9348779 Tel. +39 011 7071955 Fax +39 011706210
INTRODUCTION This document is a short description of protocol for message exchange between Personal Computer and TZM883 via RS232. Commands listed in chapter 2 concerning TZM883 with firmware release 1.0 This release has identifier 'H0' as response to ID REQUEST command. 1. PROTOCOL The RS232 must be set with the following parameters: Baud rate: 9600 bit/sec Parity: none Stop bit: 1 Data bits: 8 The cable to connect PC and TZM883 is shown below: cable connector PC side: 9 pin F cable connector TZM883 side: 9 pin F 2 RxD 3 TxD 3 TxD 2 RxD 5 GND 5 GND The command format (from PC to TZM883) is as follow: <command_code><param_1> <param_n><> response (from TZM883 to PC): <ACK> or <NAK> or <byte_1> <byte_n><> All message bytes are ASCII characters. Characters definition: ACK NAK = 0D hex = 6 hex = 15 hex
2. COMMANDS 2.1 Video and audio switching controls BXXYY followed by where: B is the character Hex 42 YY is the video and audio input (from 01 to 08) Example: to switch the video and audio input 5 on output 7, the following characters must be sent on line:: 42 30 37 30 35 0D A video input and an audio input coming from different sources can be rotated towards a video and audio output. The sequence of the characters becomes: BXXYYZZ followed by where: B is the character Hex 42 YY is the video input (from 01 to 08) ZZ is the audio input (from 01 to 08) If ZZ is 00 Example: To switch the video of input 1 and the audio of input 3 on output 4, the following characters must be sent on line: 42 30 34 30 31 30 33 0D 2.2 Video switching command VXXYY followed by where: V is the character Hex 56 YY is the video input (from 01 to 08) Example: To bring video output 8 to high impedance, the following characters must be sent on line: 56 30 38 30 30 0D
2.3 Audio switching command. AXXYY followed by where: A is the character Hex 41 YY is the audio input (from 01 to 08) Example: To bring audio output 8 to 0 Volt, the following characters must be sent on line: 41 30 38 30 30 0D 2.4 STATUS request D followed by where: D is the character Hex 44 YY Video input present on bus 1 (from 01 a 08) ZZ Audio input present on bus 1 (from 01 a 08) YY Video input present on bus 2 (from 01 a 08) ZZ Audio input present on bus 2 (from 01 a 08) YY Video input present on bus 3 (from 01 a 08) ZZ Audio input present on bus 3 (from 01 a 08) YY Video input present on bus 4 (from 01 a 08) ZZ Audio input present on bus 4 (from 01 a 08) YY Video input present on bus 5 (from 01 a 08) ZZ Audio input present on bus 5 (from 01 a 08) YY Video input present on bus 6 (from 01 a 08) ZZ Audio input present on bus 6 (from 01 a 08) YY Video input present on bus 7 (from 01 a 08) ZZ Audio input present on bus 7 (from 01 a 08) YY Video input present on bus 8 (from 01 a 08) ZZ Audio input present on bus 8 (from 01 a 08) WARNING If the matrix replies 00 (or 30 30 on line), this means that that output is at high impedance in the case of the video and at 0 Volts in the case of the audio.
2.5 Creation of a Preset The TZM883 can create and perform up to 8 internal presets. A preset is a predefined configuration of 16 switching points, 8 video and 8 audio, saved in the memory and which can be recalled at any time. The presets are created from the current status of the matrix and are maintained in the case of a blackout. SNN followed by where: S is the character Hex 53 NN is the preset number (from 01 to 08) Example: If preset 05 is to be assigned to the current state of the matrix, the host will send the following sequence on line: 53 30 35 0D 2.6 Recall of a preset A previously stored preset can be re-activated. RNN followed by where: R is the character Hex 52 NN is the preset number (from 01 to 08) Example: If the preset identified by the number 05 is to be re-activated, the host will send the following sequence on line: 52 30 35 0D 2.7 ID Request Firmware release identification request. i followed by where: i is the character Hex 69 i (Hex 69) H high byte indicate firmware release ID (Hex 48) Z low byte indicate firmware release ID (From Hex 30 to Hex 39) Example: If the release firmware is 1.0 the TZM883 replies: 69 48 30 OD