background image

 

                              Application Advisory 

*DATE* 

 

 

Page 1 of 8 

Assemblies Affected: 

 

ZPR68-10

 

Type: 

 

RS232 PROTOCOL 

Date: 

 

October 14, 1999 

PRELIMINARY DOCUMENT 

 
This document reflects the changes made since the ZPR68-10 instructions were written. 
The changes in the microprocessor code are related to the following areas:  

1 - data transmitted and received via the RS232 serial port  
2 - settings after recovery from power shutdown  
3 - state of C.O. after serial port commands  

1 - RS-232 DATA  

The code affecting the data transmitted and received via the RS232 serial port has been 
modified in three areas and a new data display mode has been added.  

First, the code has been modified so that no characters are returned when sending 
commands except a and no query characters are returned except the "answer value" 
and a CR(carriage return). This change allows the RS232 link to operate without dealing 
with the delay between individual ASCII characters which previously was required.  

Second, a flag has been added which can be set and reset by the IR input and queried 
and reset via the RS232 serial port. This flag operates independently of all other 
functions and is intended for use as an indicator of some function external to the ZPR68-
10 such as a warning device.  

Third, the volume can now be incremented or decremented via the RS232 serial port.  

The new data display mode causes the ZPR68-10 to send status data to any device 
connected to the serial port whenever an IR command is received. This data can be 
displayed on a monitor or other device or can be used to log activity.  

The ZPR68-10 has a bidirectional data interface which allows control and reading of all 
functions by a personal computer, "dumb" terminal or other device. The ZPR68-10 will 
communicate with an RS232-type serial port configured for 9600 baud, 8 data bits, 1 
stop bit, no parity, full duplex and no handshaking. Raw ASCII data is interchanged. 
Only three lines of the RS232 port are utilized, transmit data, receive data and data 
ground.  

In order to communicate with the ZPR68-10 using a personal computer, you will need a 
communications program such as Procomm for the PC or ZTerm for the Macintosh. 
Configure the program for 9600 baud, 8 data bits, 1 stop bit, no parity, full duplex and no 
handshaking. Determine which port you are going to use to communicate with the 
ZPR68-10 and configure the program for that port (COM1 or COM2 on the PC, MODEM 

Summary of Contents for ZPR68-10

Page 1: ...ndently of all other functions and is intended for use as an indicator of some function external to the ZPR68 10 such as a warning device Third the volume can now be incremented or decremented via the RS232 serial port The new data display mode causes the ZPR68 10 to send status data to any device connected to the serial port whenever an IR command is received This data can be displayed on a monit...

Page 2: ...set to The 01 indicates that we want to know something about output zone 1 The V indicates that we are interested in the volume level The ZPR68 10 responds that the level is 25 And finally the CR indicates that the data bits exchanged are correct If there is a communications problem the ZPR68 10 will respond with a CR QUERIES The output zones on a ZPR68 10 are factory preset 01 through 06 and EXP9...

Page 3: ... query the status 01C it will return an N if the status is off or a Y if the status is on If you query the mute 01M it will return an N if the mute is off In other words the mute is off if the audio is on The query will return a Y if the mute is on the audio is off DATA QUERY The DATA query causes the ZPR68 10 to return a string of ASCII characters as outlined below Type Z01 for the data string fo...

Page 4: ...ach data field consists of one two or three ASCII data characters followed by a tab 09h The order of the fields in each string is as follows FIELD RANGE RANGE IN ASCII CODE ZONE 01 15 30h31h 31h35h INPUT 01 08 30h31h 30h38h TRIM SETTING 00 06 30h30h 30h36h VOLUME 00 40 30h30h 34h30h BALANCE P S 10L 00C 10R 31h30h4Ch 30h30h43h 31h30h52h BALANCE 10L 00C 10R 31h30h4Ch 30h30h43h 31h30h52h TREBLE P S 0...

Page 5: ...ncrement the volume of zone 5 one 2dB step type 05LU To decrement the volume of zone 5 one 2dB step type 05LD There are two ways to mute the audio without affecting the video First the volume can be set to zero by sending 04V00 To return to the previous volume level type the original volume level command 04V40 again The second way is to use the Q quiet command Type 04QY to quiet the zone and 04QN ...

Page 6: ... characters as outlined in the DATA QUERY section Type Z00 for the data string for all zones Note that the DATA query does not require a or an To query the flag type A A Y will be returned if the flag has been set or an N will be returned if it has been reset Note that an is not used with this query Global queries except for data and flag are not supported 2 POWER SHUTDOWN RECOVERY All settings ar...

Page 7: ...llow the procedure outlined below TO SET THE ZONE NUMBER 1 Connect an IR receiver to that zone 2 Set the switches on the rear of a Xantech RC68 or RC68 Programmer to FE 3 Using the table select the button for the number desired For example to set the zone to respond to 03 press the button marked 90 The zone now is identified as 03 4 Be sure to reset the switches on the programmer to anything other...

Page 8: ...RC 68 01 80 20 48 02 10 03 90 64 01 00 00 05 C0 06 50 07 D0 68 41 04 40 09 A0 10 30 11 B0 72 21 08 20 13 E0 14 70 15 F0 76 61 12 60 17 88 18 18 19 98 80 09 16 08 25 A8 26 38 27 B8 88 29 24 28 29 E8 30 78 31 F8 92 69 28 68 21 C8 22 58 23 D8 84 49 77 E1 81 89 85 C9 89 A9 93 E9 78 71 82 19 86 59 90 39 94 79 79 F1 83 99 87 D9 91 B9 95 F9 ...

Reviews: