Link Communications
RLC-4 Controller
Sample Programming
![]()
The following file will permit you to link your system to a remote patch with the RLC-4. The example was provided courtisy of Doug
Steventon, VE7EPT. If you find this helpful, send a thank you to Doug at:steventn@mail.bulkley.net
If desired this file may be downloaded in text form byholding the Shift key and CLICKING HERE
----------------------------------------------------------------------------------------------------------------------------------------
We have linked our repeater to a remote simplex autopatch using the RLC-4, and I thought I would pass along the programming used to accomplish it. Since the RLC-4 is setup for an on-site duplex patch, it takes some fiddling !
Basically it involves switching between patch mode and radio mode on port 4 which is the radio that goes to the remote simplex autopatch in town. Patch mode is used for DTMF regeneration, radio mode for the actual conversation. This is necessary as the PTT logic for port 4 doesn't function normally in patch mode. There were a lot of wrinkles to overcome, so here is the controller program I used (with some perhaps cryptic explanatory notes !). Of course you can use your own macro numbers, and check that macro numbers, user timers, and event triggers aren't already in use for other purposes !
To the repeater user, in our case *74 brings up the patch, # turns it off, *75 answers reverse patch. You can make these whatever you wish.
In summary (details below):
With patch "on" command the sequence is:
C112 > sends dtmf *74 (pre-dial used as "on" command to remote) and phone number out port 4
> event trigger 91 > macro 170 > starts timers 64 and 65 Timer 64 > switches p4 to radio mode after enough time for dialing (8 seconds in our case)
Timer 65 > activates macro 171 (off sequence) if patch not terminated after 10 minutes
With patch "off" command the sequence is:
# (macro 171) > send dtmf "#" to turn off remote, switches p4 back to patch mode, etc.
With reverse patch answer command *75 the sequence is:
*75 (macro 173) > switch p4 to radio mode, enable event trigger 32 (p4 RX active), etc.
Event trigger 32 (p4 active) calls macro 175 > enables event trigger 36 (p4 RX inactive)
Event trigger 36 calls macro 174 > sends "on" command to remote after next "ring" from remote,
connects p4 to other ports for conversation, disables event triggers 32 and 36.
Details of programming:
;User timers
020 64 8 ;switches p4 to radio mode after enough time for dialing
020 65 600 ;acts as a backup patch time-out timer after 10 minutes
;Event Triggers
045 091 172 ;starts macro 172 when patch taken "off hook"
045 085 170 ;when user timer 64 expires, call macro 170
045 086 171 ;call macro 171 when user timer 65 expires (the time-out backup)
045 036 174 ;call macro 174 when p4 RX goes inactive
045 032 175 ;call macro 175 when p4 RX goes active
;Macro 170 called from event trigger 84 (user timer 64 expires)
055 170
053 170 038 ;suppresses cw
056 170 110 00 ;switch p4 to radio mode
056 170 00041 ;connects p4 with p1
056 170 00042 ; " p2
056 170 00043 ; " p3 (we want patch connected to all ports, modify as desired)
;Macro 171 sends "off" tone "#" to remote
055 171
053 171 038
056 171 044 0900 0010 ;resets DTMF regeneration parameters to send long "#" tone to remote
056 171 031 15 ;send "#" tone to remote ("off" code for the remote patch)
056 171 044 0005 0005 ;reset DTMF regen parameters back to normal
056 171 110 10 ;return p4 to patch mode
056 171 023 65 ;turn off user timer 65 (reset patch time-out backup timer)
;Macro 172 called by event trigger 091 (patch taken off hook)
055 172
053 172 022 64 ;turn on user timer 64, which then calls macro 170 when it expires
056 172 022 65 ;turn on user timer 65 (the time-out backup) in case patch left active
;Macro 173 sends "on" command "*74" to remote and switches p4 to radio mode for reverse patch
055 173
053 173 038
056 173 022 65 ;start user timer 65 (the time-out backup)
056 173 110 00 ;switch p4 to radio mode
056 173 047 032 1 ;turn on event trigger for p4 RX active, which calls macro 175
;Macro 174 sends "on" command (*74) to remote for reverse patch
053 174 038
056 174 044 0100 0010 ;set DTMF regen parameters
056 174 031 14 07 04 ;send "*74"
056 174 047 036 0 ;turn off event trigger for p4 RX inactive
056 174 047 032 0 ;turn off event trigger for p4 RX active
056 174 000 4 1 ;connect p4 to p1
056 174 000 4 2 ;connect p4 to p2
056 174 000 4 3 ;connect p4 to p3
;Macro 175 called from event trigger 032 (see macro 173). Part of reverse patch program
053 175 038
056 175 047 036 1 ;turn on event trigger 036, p4 RX inactive, which then calls ;macro 174.
Triggers 032 and 036 work together to send "on" ;command to remote after the next "ring"
from the remote so they ;don't double (remember it's a simplex system )
;starting status of event triggers
047 091 1
047 085 1
047 086 1
047 094 1
047 032 0
047 036 0
;miscellaneous
010 112 *xx ;rename patch on command 112 to *xx
010 173 *xy ;rename reverse patch answer macro 173 to *xy
010 171 # ;rename macro 171 to # (patch off command)
116 020 220 *xx ;patch dialing configuration
110 10 ;enable patch mode (stays on patch mode between users)
133 1 01 123 ;reverse patch settings
;block patch commands from p4 to prevent confusion
131 4 112
131 4 171
;set preaccess for p4 to prevent control codes from being entered through p4 by callers.
073 4 2 0 11
075 4 1 0 0 0 0
____________________________________________________________________________________
If you have files you wish to share, you may send them to me at richardr@sssnet.com
Thanks and 73
Rich WA8DBW
HOSTED BY ifip.com
Last update 05/22/2000