;---------------------------------- ;---------------------------------- ; S-COM Sample 7330 Script file ; 8/19/2013, Dave Maciorowski, wa1jhk@macski.us ;---------------------------------- ; ; Comments begin with a semi-colon and can be on the end ; of lines containing commands. ; ;---------------------------------- ; Configuration Overview ;---------------------------------- ; ; Port, Personality, Frequency or Use ; ; Port 1, ; Port 2, ; Port 3, ;---------------------------------- ; Common Initialization ;---------------------------------- ; Maintain a list of the internally defined macros. These are the macros ; never expected to be entered from a DTMF decoder or the serial port. ; These should only be executed from another macro or from a defined ; Event-Triggered Macro. ; ; A000 -- ControlMacros.scm, used by the "Say Battery Status" example. ; A001 -- ControlMacros.scm, used by the "Say Battery Status" example. ; A010 -- Init.scm, used by the Power-On Macro example. ; A098 -- Init.scm, used by the Clock and Calendar Spring Ahead/Fall Back example. ; A099 -- Init.scm, used by the Clock and Calendar Spring Ahead/Fall Back example. ; Port-specific ; A100 -- Port1_x.scm, Periodic ID (Canadian) ; A195 -- Port1_ModeMacros.scm, Net Mode with ID ; A196 -- Port1_ModeMacros.scm, Net Mode with ID ; A197 -- Port1_ModeMacros.scm, Net Mode with ID ; A198 -- Port1_ModeMacros.scm, Net Mode with ID ; A199 -- Port1_ModeMacros.scm, Net Mode with ID ; Repeat for additional ports ; Note: Range DDxx not available. Used for Internal Macro-Only Password. ; Security, Chapter 4 ;---------------------------------- ; ; QUICKSTART -- You will need to set a Master Password before programming any ; other commands into the controller. The default is "99". You can change ; this to any 2-, 4-, or 6-digit sequence. The digits can be 0 thru 9 and ; A, B, D, and D. ; Set Passwords 99 93 MPW * ; Master Password ; MPW 92 CPW * ; Control Operator Password, if required ;---------------------------------- ; Add Control Op Privilege Level commands here. ; MPW 94 * ; individual root ; MPW 94 * ; root range ;---------------------------------- ; Front Panel Display Enable/Disable ; MPW 63 0000 1 * ; 1==enable, 0==disable ;---------------------------------- ; Misc Macros, Chapter 5 ;---------------------------------- ; ; Enable/Disable Macro-Only Password Decoding ; Enables commands in macros to start with DD MPW 63 0004 1 * ; Enabled (disabled, default) ; Enable/Disable Erase Macro Command Returns OK MPW 63 0003 1 * ; Enabled (disabled, default) ; Power-On Macro ; MPW 26 0000 * ; assign macro to execute at power-on MPW 26 0000 A010 * ; ; There are many ways to provide notification of a power failure. ; -- Add an Identifier Tail Message ; -- Change the Frequency of the CW ID ; -- Change the Courtesy Message ; -- Add a Dropout Message ; -- Set a Software Switch ; ; A Control Macro is used to clear the notification, see ControlMacros.scm. ; ; Define the Power-On Macro MPW 21 A010 * ; Erase if already exists ; MPW 20 A010 * ; MPW 29 A010 * ; MPW 29 A010 * MPW 20 A010 A100 * ; Start the Periodic IDs ;---------------------------------- ; Messaging Defaults, Chapter 6 ;---------------------------------- ; ; Warm Reset Message ; MPW 31 0000 * ; Plays Once at Warm Reset (default) ; Command Response Messages ; MPW 31 0001 * ; OK Command Response Message (default) ; MPW 31 0002 * ; Error 1 Command Response Message (default) ; MPW 31 0003 * ; Error 2 Command Response Message (default) ;---------------------------------- ; Paths, Chapter 9 ;---------------------------------- ; ; Start with all the cross-port paths disabled. They will be enabled ; in the port-specific files as required. ; ; Path Access Mode and Enable MPW 57 21 0 * ; Disabled MPW 57 31 0 * ; Disabled MPW 57 12 0 * ; Disabled MPW 57 32 0 * ; Disabled MPW 57 13 0 * ; Disabled MPW 57 23 0 * ; Disabled ;---------------------------------- ; Logic Inputs, Chapter 14 ;---------------------------------- ; MPW 26 0061 * ; Logic Input 1 Hi-to-Lo-Triggered Macro ; MPW 26 0062 * ; Logic Input 1 Lo-to-Hi-Triggered Macro ; MPW 26 0063 * ; Logic Input 2 Hi-to-Lo-Triggered Macro ; MPW 26 0064 * ; Logic Input 2 Lo-to-Hi-Triggered Macro ; MPW 26 0065 * ; Logic Input 3 Hi-to-Lo-Triggered Macro ; MPW 26 0066 * ; Logic Input 3 Lo-to-Hi-Triggered Macro ; MPW 26 0067 * ; Logic Input 4 Hi-to-Lo-Triggered Macro ; MPW 26 0068 * ; Logic Input 4 Lo-to-Hi-Triggered Macro ;---------------------------------- ; Logic Outputs, Chapter 15 ;---------------------------------- ; Control Logic Outputs, normally used in macros and commands ; Set inital values here, if required. ; MPW 70 list * ; Logic Outputs Latched On ; MPW 71 list * ; Logic Outputs Latched Off ; MPW 72 list * ; Logic Outputs Momentary On ; MPW 73 list * ; Logic Outputs Momentary Off ; Logic Output Momentary pulse times ; MPW 09 0000 50 * ; Logic Output 1 Momentary Timer, 0.50 second (default) ; MPW 09 0001 50 * ; Logic Output 2 Momentary Timer, 0.50 second (default) ; MPW 09 0002 50 * ; Logic Output 3 Momentary Timer, 0.50 second (default) ; MPW 09 0003 50 * ; Logic Output 4 Momentary Timer, 0.50 second (default) ; MPW 09 0004 50 * ; Logic Output 5 Momentary Timer, 0.50 second (default) ; MPW 09 0005 50 * ; Logic Output 6 Momentary Timer, 0.50 second (default) ; MPW 09 0006 50 * ; Logic Output 7 Momentary Timer, 0.50 second (default) ; MPW 09 0007 50 * ; Logic Output 8 Momentary Timer, 0.50 second (default) ; MPW 09 0008 50 * ; CTCSS Logic Output 1 Momentary Timer, 0.50 second (default) ; MPW 09 0009 50 * ; CTCSS Logic Output 2 Momentary Timer, 0.50 second (default) ; MPW 09 0010 50 * ; CTCSS Logic Output 3 Momentary Timer, 0.50 second (default) ; Logic Output Inversion ; Defines the state of the hardware output for ON and OFF ; ; QUICKSTART -- If you have hardware attached to a logic output ; that must be on by default, change the appropriate command ; here to to invert the output. ; ; MPW 63 0011 0 * ; Logic Output 1 Inversion, Normal (default) ; MPW 63 0012 0 * ; Logic Output 2 Inversion, Normal (default) ; MPW 63 0013 0 * ; Logic Output 3 Inversion, Normal (default) ; MPW 63 0014 0 * ; Logic Output 4 Inversion, Normal (default) ; MPW 63 0015 0 * ; Logic Output 5 Inversion, Normal (default) ; MPW 63 0016 0 * ; Logic Output 6 Inversion, Normal (default) ; MPW 63 0017 0 * ; Logic Output 7 Inversion, Normal (default) ; MPW 63 0018 0 * ; Logic Output 8 Inversion, Normal (default) ; MPW 63 0019 0 * ; CTCSS Logic Output 1 Inversion, Normal (default) ; MPW 63 0020 0 * ; CTCSS Logic Output 2 Inversion, Normal (default) ; MPW 63 0021 0 * ; CTCSS Logic Output 3 Inversion, Normal (default) ;---------------------------------- ; Clock and Calendar, Chapter 21 ;---------------------------------- ; QUICKSTART -- the Clock and Calendar in your controller was set in the Mountain ; time zone before shipment. Check the time by entering the following command ; on the serial port -- the speech will come out on transmitter 1: ; ; MPW 15 9826 9829 9828 9820 9821 * ; ; If it requires setting, set it as in the example below. ; Set the Clock and Calendar. This is usually entered once as a manual command ; when you first get your controller. ; MPW 25 yy mm dd dow hh mm ss * ; For dow (Day-Of-Week), zero is Sunday ; Example: 12/27/2010, Monday, 12:05 pm ; MPW 25 10 12 27 1 12 05 00 * ; In most areas of the United States, Enable built-in Daylight Savings Time adjustments. ; Spring Ahead Second Sunday in March, Fall Back First Sunday in November ; MPW 63 0002 0 * ; Automatic Daylight Savings Time Adjustment, disabled (default) ; For other Daylight Savings Times algorithms, two macros and two Scheduler ; events will make the adjustments ; This example implements: ; Spring Ahead Last Sunday in March, Fall Back Last Sunday in October ; ; Spring Ahead macro ; MPW 20 A098 MPW 48 1 * ; Adjust Time Spring Ahead 1 Hour ; Fall Back macro ; MPW 20 A099 MPW 48 2 * ; Adjust Time Fall Back 1 Hour ; Scheduler Events ; MPW 28 98 A098 03 76 02 00 * ; Spring Ahead on the Last Sunday in March at 2:00 AM. ; MPW 28 99 A099 10 76 02 00 * ; Fall Back on the Last Sunday in October at 2:00 AM. ;---------------------------------- ; Scheduler, Chapter 22 ;---------------------------------- ; Enable/Disable Scheduler ; MPW 63 0001 1 * ; Enabled (default, 1=Enabled) ; To create a setpoint, customize the following command ; MPW 28 mo dd hh mn *