Operation 3-1 *************************************************** * * * T V S 7 0 1 C O P E R A T I O N * * * * Software Version 16 * * * *************************************************** 1. INTRODUCTION This manual describes how to initialize and control the TVS701 repeater controller when used in a stand-alone configuration. Examples are given following the initial instructions. 1.1 Cautions on Configuration Because TVS701 is designed to meet a wide range of needs, there are many configurations which may be irrelevant to your particular installation. You should start with the default parameters (see EEPROM initialization, below), and then customize the operation by changing only those parame- ters which apply to your specific application. It is important that care is used in setting the configuration. If the configuration is inadvertently altered, unexpected results can occur. For example, if your repeater is configured to emit a beep after COR reset, this beep would disappear if you inadvertently entered a "08" (Disable Reset Beep) command. Likewise, if you were program- ming tone frequencies, and set the beep frequency to zero, it would disappear. Two safeguards can be used to avoid inadvertent changes in the configuration: In order to modify the confi- guration (other than to enable/disable timers, repeater, link, etc), an "88" command must be used during the control session. If a configuration change command, such as "Disable Reset Beep" is entered without the "88", it will be rejected with a "NO" response. Operation 3-2 It is also possible to configure the system so that the maintenance password is required to change configura- tions. Using function "48" from initial programming mode or maintenance mode will accomplish this. If, in spite of all this, the unit behaves strangely after programming, you should make sure that the configura- tion is correct. If all else fails, re-initialize the EEPROM (###42123 - see below). If you believe that the CPU is malfunctioning, enter any control mode and issue the checksum command ("61"). A response of ("000") indicates that the CPU is functioning correctly. 1.2 DTMF Control DTMF tones are required to communicate with the con- troller. One source of programming on the bench is to con- nect the speaker output of an "auto-patch" capable handheld to the audio input and adjust the levels as described in the installation instructions. In normal remote operation, the audio input is connected to the speaker terminals of a con- trol receiver, to a telephone line, or a microwave multiplex channel. Whenever a DTMF tone is detected, the "DIGIT" LED will light. During bench testing, the audio output may be connected to the input of an amplified speaker. 2. CONTROL MODES 2.1 Introduction The TVS701C uses the "mode" method of programming. This means that you enter a DTMF command sequence to put the device into that control mode. Then you enter the commands which are allowed within that mode. Then you take the device out of control mode entirely. This approach allows several levels of security, while keeping individual commands short. 2.2 Initial Programming Mode The initial programming mode is used to enter the maintenance mode password into the system, and to initialize any other parameters. Operation 3-3 The initial programming mode is enabled by the jumper (PRG) on the 701B board. When the jumper is not installed, initial programming mode cannot be accessed. 2.3 Maintenance Programming Mode The maintenance programming mode is entered using the Maintenance Password Sequence. It allows all parameters to be set other than the maintenance password. It also allows the control password to be set. Only the maintenance password cannot be set in this mode. 2.4 Normal Control Mode The normal control mode is accessed by the Control Password Sequence. This is the normal mode for controlling the repeater. Depending on the setting of another option, it may or may not allow changes to operating parameters (such as ID, tones, timers, etc). 2.5 User Control Mode The user control mode is accessed by the User Con- trol Sequence which includes the site ID. If enabled, it allows users without the passwords (the general public) to query certain system status information, to control digital output number 3, and to request temporary access to the link. The site ID is needed for systems with more than one repeater so that user commands can be addressed to a specific repeater, and so that telemetry information identi- fies the repeater. 2.6 Accessing Control Modes To enter Initial Programming Mode, install the pro- gramming jumper, and then enter "###". A reply of "RDY" means entry was successful, while no response is given for failure. To enter Maintenance Control Mode, send "##*" fol- lowed by the maintenance password. A reply of "RDY" means entry was successful, while no response is given for failure. Operation 3-4 To enter Normal Control Mode, send "#" followed by the control password. A reply of "RDY" means entry was suc- cessful, while no response is given for failure. To enter User Control Mode, if enabled, send "##" followed by the site ID. A reply of "RDY" means entry was successful, while no response is given for failure. NOTE:When entering any control mode, the sequence must be entered within 10 seconds or the attempt will time out. 2.7 Exiting from a Control Mode Any control mode may be exited by entering "*" instead of the function code. A function may be aborted after the first digit is entered by entering "*" or "#". 3. INITIAL SYSTEM CONFIGURATION The TVS701 must be programmed to your specific con- figuration during the installation process. This programming is described in detail below. The basic steps are: 1. Perform default initialization (initialize EEPROM) - not required for factory assembled units. 2. Program the Maintenance Password 3. Program the Control Password, CW ID, and site ID 4. Modify any other default settings 3.1 Factory Settings - Will Reset all parameters (including ID) In order to enter the initial parameters of the sys- tem, the program mode jumper (designated PRG, adjacent to U6) must be inserted across the pins. The following control sequence should then be entered, regardless of whatever sounds may be coming from the uninitialized system: "###42123". Operation 3-5 This will cause the system to initialize the EEPROM with default values. Some of these values will be later changed to customize the installation. Before this step, the behavior of the controller may be unpredictable. The ID may be random, the repeater may not key up, the timers may be random, and the response tones may or may not be present. The initial parameter set function takes about 45 seconds, and will key PTT once a second after it has been operating for a few seconds. Once the sequence has completed, and the system is silent, power the system off, and then repower it. 3.2 Setting the Maintenance Mode Password In order to enter the maintenance mode password (master password), the program mode jumper (designated PRG) must be inserted across its pins. At this point, sending "###" (via DTMF) will enter the initial program mode. The system will respond "RDY" . The EEPROM Entry Mode function ("88") should then be entered to allow modification of the EEPROM. The "Set Maintenance Password" function ("49") should then be entered. The system will respond with "GO" . The maintenance password should then be entered using the following decimal entry procedure: The password may be from 1 to 8 digits in length. Each digit is entered as the three digit number correspond- ing to the DTMF digit, as follows: "0" = 000, "1" = 001, "2" = 002, etc, "A" = 013, "B" = 014, "C" = 015, "D" = 010. Pound and Asterisk may not be used in the password. Note: The last digit of the password must have the code value plus 128. Thus, if the last digit is "4", it should be entered as "132". When the last digit has been entered, the system will respond with "RDY". 3.3 Setting the Other Parameters While in the maintenance mode, all other parameters may also be set. It is recommended that when the initial parameters have been set, PRG should be opened. The jumper should be stored by placing it over one pin only. This will avoid inadvertently leaving the system vulnerable to remote programming by those without the password. It is STRONGLY RECOMMENDED that you first read over ALL the control codes, and then select those which provide the proper configuration for your system. Operation 3-6 3.4 Control Sequence Entry Once the unit is in a control mode, control func- tions are entered as two digit codes. Any control sequence which alters EEPROM (stored) parameters cannot be entered until the system is in the EEPROM Entry Mode. This is accom- plished with function "88". There is a timer for control functions. The timer expires a set time after the last digit of a control sequence has been entered. Like most timers in the system, this timer can be programmed - in this case by function 43. When it times out, "CTO" is heard, and the system leaves control mode. Any control mode can be turned off manually with "*". A function can be cancelled after the first digit by "#". All functions requiring multiple digit decimal entry require the following procedure: Enter the function code; The system responds "GO"; Enter 3 digits of decimal; The system again prompts "GO"; Enter 3 more; Keep it up until the last digit has been entered; If a value greater than 127 was entered, the system will treat it as the last digit and exit this mode; otherwise, the last digit must be followed by "*". [Not recommended] WARNING: If too many digits are entered for a function requiring multiple digits (passwords, ID, etc.), other parameters may be inadvertently altered! In this case, they should be repaired by using appropriate programming com- mands. Operation 3-7 C O N T R O L F U N C T I O N S The following notes apply to control codes: [1] - May be used in user control mode [2] - Always available in normal control mode [3] - Optionally available in normal control mode [4] - Only available in maintenance mode [5] - Only available if programming jumper is present {-} - Default Value (Set up by Function 42) "00" - [2] Reset Processor (This tests the watchdog timer). "01" - [2] {ON} Enable Repeater. "02" - [2] Disable Repeater. "03" - [2] {OFF} Enable Link Access. "04" - [2] Disable Link Access. "05" - [2] {ON} Enable Timer. "06" - [2] Disable Timer. "07" - [3] {ON} Enable Reset Beep. "08" - [3] Disable Reset Beep. "09" - [3] {000} Set Response Time. This is the interval between when the last digit of a control sequence is entered until the controller gives its response. The value is entered in 100 millisecond units. Thus, "002" sets a .2 second delay. "10" - [2] {CLEAR} Set Output Zero (PB4 Lead - J1 pin 12) "11" - [2] Clear Output Zero. Operation 3-8 "12" - [2] {CLEAR} Set Output One "13" - [2] Clear Output One. "14" - [2] {CLEAR} Set Output Two "15" - [2] Clear Output Two. "16" - [3] {000} Set Analog Alarm Low Threshold. If analog input #3 drops below this value, the analog alarm will be triggered. The value is in digitizer counts with a minimum of 000 corresponding to zero volts, and a maximum of 255 corresponding to the maximum value for that converter. For example, to set a mimimum value of three volts when the converter is scaled for a maximum of five volts (see func- tion 41), one would enter the value (3/5)*255 which is 153. After this is set, any time the voltage falls below 3 volts, the alarm will be triggered, and will remain triggered until reset by function 24. A value of 000 here will prevent the low-alarm from triggering. "17" - [3] {255} Set Analog Alarm High Threshold. If the analog input number 3 voltage rises above this value, the analog alarm is set. The value is calculated using the method described above for function 16. A value of 255 here will prevent the high-alarm from triggering. "18" - [3] {ON} Cause timer reset and reset beep to occur immediately after COR drop. "19" - [3] Norm timer reset mode (reverse command "18"). "20" - [2] {DISABLE} Enable Alarm Zero. If the alarm 0 pin changes state, Alarm Zero will sound. The COR Reset Beep will change to the site ID followed by "0" (unless dis- abled by function 19) until the alarm is reset (function 24). "21" - [2] Disable Alarm Zero. "22" - [2] {DISABLE} Enable Alarm One. If alarm pin 1 changes state, Alarm One will sound. The COR Reset beep will change to the site ID followed by "1", see "20", above. "23" - [2] Disable Alarm One. Operation 3-9 "24" - [2] Reset Alarms. This will cause the reset beeps to return to normal, and will arm the alarms so that they will again fire on the next alarm condition. "25" - [2] {SET} Set Auto Save Mode. This mode causes all changes to operating parameters to immediately be written to the EEPROM. This is desirable except for repeaters for which the operating parameters are changed very frequently. In that case, it may be appropriate to use command "26" to disable auto save mode. The EEPROM will only allow about 10000 programming cycles before dying. "26" - [2] Clear Auto Save Mode. "27" - [2] Save Options. This is used to cause operating parameters to be stored into the EEPROM. This is only necessary if the system is not in auto save mode. "28" - [2] {ENABLED} Enable User Mode. User Control Mode is allowed. "29" - [2] Disable User Control Mode. "30" - [4] {1,2,3,4} Set Control Password. Max length is 8 digits. See examples on p.4. "31" - [3] {DE TVS701} Set ID in EEPROM. The ID is stored by entering the decimal equivalent of the ASCII codes for the characters. The last character must have 128 added to the code. Max length is 64 char. See examples & table of codes. "32" - [3] {1} Set Site ID for User Control Mode. The one or two digit "site ID" number is entered just as for passwords, etc., with the last digit having 128 added to it. So, for site ID of "3", enter "131". This will allow users limited access to the system by entering "##3". For site ID of "12", enter "001 130." "33" - [3] {008} Set Reset Timer. This is the inter- val between COR going away and the resetting of the timeout timer. The reset beep (if enabled) occurs at that time. The COR Reset Timer value is entered in 100 millisecond units. Thus "008" sets a .8 second timer. "34" - [3] {008} Set Tail Timer. This is the time that the repeater stays keyed after the reset timer is reset (100 millisecond units). Operation 3-10 "35" - [3] {018} Set Time-out Timer. If COR is present for too long and the timers are enabled, the con- troller will sound "TO" and then deactivate PTT. This func- tion sets the time until that time-out (10 second units). "36" - [3] {05} Set Morse Code Dit Time. This sets the speed of the morse code identifier. The units are 10 milliseconds. A setting of "005" will correspond to about 20 WPM. "37", "38" & "39" - Not Used. "40" - [3] Set Tones. All tones made by the con- troller can be varied in frequency. See below for complete details. "41" - [3] {002,002,002,002} Set A/D multiplier fac- tors. This function sets the voltage scale to be read at the A/D ports. Select and input A/D channel 0 thru 3: "000" selects channel 0, "001" channel 1, etc. Then select an input voltage scale to be used: "000" = 0-5V, "001" = 0-10V, "002" = 0-15V, "003" = 0- 20V, "004" = 0-25V and "005" = 0- 35V. "006" will give raw A/D counts (0000 - 2550). See ins- tallation instructions. "42" - [5] Initialize the EEPROM to defaults (See above). "43" - [3] {060} Set Control Timeout. This is the number of 10 second units that the system will remain in a control mode after the last control has been entered. "44" - [3] {015} Set Number Output Morse Code Dit Time. This sets the speed of the morse code numeric outputs. The units are 10 milliseconds. A setting of "005" will correspond to about 20 WPM. "45" - [3] {DISABLED} Invert Temporary Link Access. In this mode, the link will be normally on if it has been enabled by command "03", but can be turned off temporarily by entering the "72" function. (See function "59" below). "46" - [3] Cause temporary link access to work as normal (see "59" and below). "47" - [4] {ENABLED} Allow functions flagged with a [3] to be used in normal control mode. "48" - [4] Don't allow functions flagged with a [3] to be used in normal control mode. Operation 3-11 "49" - [5] {1234} Set Maintenance Password. Max length 8 digits. "50" - [1] Read A/D Channel 0 "51" - [1] Read A/D Channel 1 "52" - [1] Read A/D Channel 2 "53" - [1] Read A/D Channel 3 "54" - [1] Read A/D Channel 0 from last time PTT was off. "55" - [1] Read A/D Channel 1 from last time PTT was off. "56" - [1] Read A/D Channel 2 from last time PTT was off. "57" - [1] Read A/D Channel 3 from last time PTT was off. "58" - [1] Read A/D Calibration. "59" - [3] {061} Set temporary link access timer. This function is used to control user access to the link via functions 71 and 72. If the value is zero, the link cannot be brought up from user mode. A value from 1 through 253 will allow the link to be brought up from user mode, but it will time out a set time after it is last used. The time out is the value entered multiplied by 10 seconds. Thus, an entry of 30 will be 300 seconds or 5 minutes. A value of 254 sets a timer of one second. A value of 255 will allow the link to be brought up from user mode, and it will stay up until it is commanded down. If function 45 has been used, the temporary link access will be inverted, with the link normally on, and pulsed off with a 72 function. "60" - [1] Send ID. "61" - [1] Output the PROM Checksum. This will always be "000" if the CPU is programmed and working correctly. Operation 3-12 "62" - [1] Output the Software Version. (Vxx) "63" - [1] Read Input Zero. (HI or LO) "64" - [1] Read Input One. (HI or LO) "65" - [1] Read Alarm Zero. (HI or LO) "66" - [1] Read Alarm One. (HI or LO) "67" - "70" - Not Used. "71" - [1] Request temporary access to the link. See function 59 for a description of the facility allowing user mode access to the link. "72" - [1] Disconnect link access which was esta- blished by function 71. "73" - [1] {CLEAR} Set output 3. "74" - [1] Clear output 3. "75" - [3] Enable auto-71 mode. This means that when auxiliary input 0 goes low, the controller behaves the same as if the "71" function had been entered - it enters tem- porary link access mode. "76" - [3] Disable auto-71 mode (see function 75). "78" - [3] {Off} Configure link for Full Duplex. In this mode, link COR does not inhibit link PTT. "79" - [3] {On} Configure link for Half Duplex. In this mode, the presence of link COR prevents link PTT. "80" - [5] Test and Verify. WARNING: This is reserved for factory testing of the unit because it requires a special test connector. Operation 3-13 C O N T R O L E X A M P L E S 4. CONTROL EXAMPLES The examples show the various methods of controlling the system. 4.1 Enter Maintenance Password To enter a Maintenance Password of "123": "###" ==> RDY (With programming jumper in) "88" ==> RDY (Set EEPROM Change Mode) "49" ==> GO (Set Maintenance Password) "001" ==> GO (Set "1") "002" ==> GO (Set "2") "131" ==> RDY (Set "3" as last: 3 + 128 => 131) (Disconnect and store programming jumper) 4.2 Enter Control Password To enter a Control Password of "456", and to allow normal control mode to change parameters: "##*123"==> RDY (Enter Maintenance Control Mode) "88" ==> RDY (Set EEPROM Change Mode) "30" ==> GO (Set Control Password) "004" ==> GO (Set "4") "005" ==> GO (Set "5") "134" ==> RDY (Set "6" as last: 6 + 128 => 134) "47" ==> RDY (Enable normal mode to change parms) 4.3 Enter CW ID To enter an ID of "DE AB" from normal control mode if enabled: "#456"==> RDY (Enter Normal Control Mode) "88" ==> RDY (Set EEPROM Change Mode) "31" ==> GO (Set ID) "068" ==> GO (Set "D" - see below) "069" ==> GO (Set "E") "032" ==> GO (Set space"); Operation 3-14 "065" ==> GO (Set "A") "194" ==> RDY (Set "B" as last) 4.4 Enter Reset Timer Now to enter a reset timer of one half second: "33" ==> GO (Set Reset Timer Function) "005" ==> RDY (5 x 100 Milliseconds) 4.5 Exit Control Mode To exit Normal Control Mode: "*" ==> "S" (Exit Control Mode) 4.6 Setting A to D Multipliers Setting A to D Multipliers: "#456" ==> RDY (Set Normal Control Mode) "88" ==> RDY (Set Entry Mode) "41" ==> GO (Set A/D Multiplier Factors) "000" ==> GO (Select A/D Channel 0) "003" ==> RDY (Set 0-20V Range) "88" ==> RDY (Set Entry Mode) "41" ==> GO (Set A/D Multiplier Factors) "001" ==> GO (Select A/D Channel 1) "003" ==> RDY (Set 0-15V Range) 4.7 Obtaining A to D Readings A/D Voltage readings can be obtained in either nor- mal control mode or user control mode (if enabled). The sys- tem will respond with four digits corresponding to the vol- tage read: "#456" ==> RDY (Enter Normal Control Mode) "50" ==> 1234 (Channel Zero voltage [scaled] is 12.34V) Users who do not have control access may use this function in user control mode (if enabled) as follows: "##1" ==> RDY (Enter User Control Mode) "50" ==> 0456 (Channel zero has 4.56V present [scaled]) Operation 3-15 4.8 Reading Alarms and Inputs The same method is used to read the status of the alarms and inputs (functions 63 through 66). System response will be either "HI" or "LO". 5. TONE SETTING PROCEDURES To Set Tone Frequency: The tone of all beeps, messages and ID made by the con- troller can be independently changed as follows: "#456" ==> RDY - Enter Normal Control Mode. "88" ==> RDY - Set EEPROM Change Mode. "40" ==> GO - Set Tones. "002" ==> GO - Change Tone 2 (reset beep, all active) "032" ==> RDY - Tone Value. Tone value may be any number from 0 through 255. All entries require 3 digits (16 would be entered as 016). The most pure tones are 016, 032, 064, and 128. Other numbers will provide a wide variety of unusual tones (for example, try setting the reset beep to "240"). The Message Designations are: 000 - TO (Time Out) 001 - OK (Recovered from a Time-Out) 002 - E (Beep with link and timer active) 003 - I (Beep with no link but timer active) 004 - E (Beep with link but no timer) 005 - I (Beep with no link and no timer) 006 - RDY (Ready to accept a command) 007 - S (Control Mode Exit) 008 - NO (Control access or function invalid) 009 - NP (Cannot program EEPROM due to strap setting or wrong mode) 010 - CTO (Control mode has timed out) 011 - LTO (Link has timed out) 012 - RESET (Processor has started over) 013 - GO (Ready to accept decimal value) 014 - LO (Input is LOW) 015 - HI (Input is HIGH) 016 - Alarm n 0 0 0 (Alarm Zero has fired - n is the site ID) 017 - Alarm n 1 1 1 (Alarm One has fired - Operation 3-16 n is the site ID) and Alarm n A A A (Analog Alarm has fired - n is the site ID) 018 - n0 (Reset Beeps when Alarm Zero has fired - n is the site ID) 019 - n1 (Reset Beeps when Alarm One has fired - n is the site ID) nA (Reset Beeps when Analog Alarm has fired - n is the site ID) 020 - E (Beep after each digit when altering EEPROM) 021 - T (Reset Beep after Transmission from the Link) 022 - LD (Temporary Link Access has Timed Out) 023 - [the ID] 024 - [numeric outputs] 6. CONTROL ENTRY SUMMARY ### - Enter Initial Programming Mode ==>Jumper must be in place<== ##* - Enter Maintenance Mode # - Enter Normal Control Mode ## - Enter User Control Mode A S C I I C O D E S /-047 A-065 L-076 W-087 0-048 B-066 M-077 X-088 1-049 C-067 N-078 Y-089 2-050 D-068 O-079 Z-090 3-051 E-069 P-080 4-052 F-070 Q-081 5-053 G-071 R-082 .-046 (period) 6-054 H-072 S-083 --045 (hyphen) 7-055 I-073 T-084 -032 (space) 8-056 J-074 U-085 /-047 (slant bar) 9-057 K-075 V-086 CONTENTS 1. INTRODUCTION........................................ 1 1.1 Cautions on Configuration...................... 1 1.2 DTMF Control................................... 2 2. CONTROL MODES....................................... 2 2.1 Introduction................................... 2 2.2 Initial Programming Mode....................... 2 2.3 Maintenance Programming Mode................... 3 2.4 Normal Control Mode............................ 3 2.5 User Control Mode.............................. 3 2.6 Accessing Control Modes........................ 3 2.7 Exiting from a Control Mode.................... 4 3. INITIAL SYSTEM CONFIGURATION........................ 4 3.1 Factory Settings - Will Reset all parameters (including ID)................................. 4 3.2 Setting the Maintenance Mode Password.......... 5 3.3 Setting the Other Parameters................... 5 3.4 Control Sequence Entry......................... 6 4. CONTROL EXAMPLES.................................... 13 4.1 Enter Maintenance Password..................... 13 4.2 Enter Control Password......................... 13 4.3 Enter CW ID.................................... 13 4.4 Enter Reset Timer.............................. 14 4.5 Exit Control Mode.............................. 14 4.6 Setting A to D Multipliers..................... 14 4.7 Obtaining A to D Readings...................... 14 4.8 Reading Alarms and Inputs...................... 15 5. TONE SETTING PROCEDURES............................. 15 6. CONTROL ENTRY SUMMARY............................... 16 - i -