Actions

Mototrbo and AlphaCom interfacing

From Zenitel Wiki

Revision as of 13:43, 23 October 2012 by Asle (talk) (Event Handler)
AlphaCom and MOTOTRBO integration

This article describes how the AlphaCom can be integrated to the digital radio system MOTOTRBO from Motorola. Most suitable radio model is DM3600 (display model), but for basic functionality also DM3400 can be used. The interface between AlphaCom and the MOTOTRBO radio is the IP-ARIO unit.

Functionality

Increased functionality is achieved when using data communication between the AlphaCom and the MOTOTRBO radio. The MOTOTRBO Extended Control and Management Protocol (XCMP) allows the AlphaCom to control and manage the MOTOTRBO radio. If more than groupcall functionality is required, an XCMP converter model DMR621 from Motorola is required. The converter is connected to the serial port on the IP-ARIO (RS232) and to the accessory port on MOTOTRBO radio (USB).

Without XCMP converter

  • Without the XCMP converter intercom stations in a Simplex Conference can communicate with a Group Call in the MOTOTRBO radio system. There will be no caller ID in the intercom stations.

With XCMP converter

With the XCMP converter and EventHandler configuration the following functionality has been tested:

  • Groupcall in fixed group (M-key is PTT)
  • Semi-duplex (Press To Talk) private call to selectable MOTOTRBO radio
  • Incoming private call from a MOTOTRBO radio to predefined intercom station. Call to selectable intercom station is not supported.
  • Send text message to a preselected MOTOTRBO radio
  • Display of Caller ID

Connections

Connections between the MOTOTRBO radio and IP-ARIO:

  • RX audio to Radio IN (Motorola 770 mV nom.)
  • TX audio to Radio OUT (Motorola 80 mV nom.)
  • PTT to RCO output (active low)
  • Audio is asymmetric, DC-block capacitor is required in TX audio line to radio.
  • Ignition input of the radio needs to be connected to +12V to power-up the radio automatically.
  • Optional: XCMP converter. The adapter is connected to the serial port on the IP-ARIO and to the accessory port on MOTOTRBO radio (USB).


Configuration

Pre.---

  • IPARIO is using directory number 5
  • RCO 22 is used for keying of the radio transmitter
  • Simplex Conference 1 (8201) is used for radio listen/talk
  • UDD 500:
  • UDD 501:
  • UDD 502:
  • UDD 503:
  • TCP/IP port 4005 is used for communication between AlphaCom and IP-ARIO

IP-ARIO configuration

Configure the IP ARIO to register to the AlphaCom using directory number 5, see describtion in the IPARIO article. Note that an IPARIO license is required in the AMC-IP.

IP-ARIO configuration
  • In Users & Stations -> General tab, set Station Type = PNCI. This is to allow transparent dialing while connected to the IP-ARIO, without the digits being intepreted by the AlphaCom.
  • In the Station Type tab, enable "Request for Audio License".


EDIO Port

Configure the EDIO 1 port of AlphaCom to use the RS232 serial port of the IP-ARIO:

Configure the EDIO 1 port
Define and enable port 4005 in the Filters settings in AlphaWeb.
  • In Exchange & System -> Serial Ports, select EDIO 1, and set the following parameters:
    • Port Type: IPARIO
    • Bit rate = 9600, Parity = None, Data bits = 8, Stop bits = 1.
    • Station = Physical number of the IPARIO
    • Port = 4005. This is the TCP/IP port used between AlphaCom and the IPARIO. Note: This port must be defined and opened in the Filters settings in AlphaWeb.
    • Keep Alive = Enabled
    • Stop character = 10


Simplex Conference

Configure the IP-ARIO to be Default Speaker in Simplex Conference 1:

Configure the IP-ARIO to be Default Speaker in Simplex Conference 1


Event Handler

Event 1:

Operate the RCO 22 (PTT) when M-key is pressed in Simplex Conference:

Event Owner: IP-ARIO
Event Type:  1 - Audio
Sub Event:   64 (Program Conference)
When Change To: ON or OFF
Action: 
RCO 22

Event 2:

This event is used for selective dialing to MOTOTRBO radios. The event collects the digits dialed while connected to the IP-ARIO (5). It checks that the digit pressed is between 0 and 9, and collects 4 digits (The line "WUDD 500 4" can be modified if less or more digits are wanted). When 4 digits are collected, it will send an "AT+CCR" command on the EDO port, setting up a private call to the selected radio ID. The PTT (RCO 22) is pulsed to establish the call, and the digit counter (UDD 501) and the collected number (UDD 502) are cleared.

Event Owner: Stations w. UDP. ID: 8
Event Type:  25 Event Trigger w/User Parameter
Sub Event:   255
When Change To: ON or OFF
When Related To: Directorry Number. Id: 5
Action:
IF %op(%sev,>=,0)
IF %op(%sev,<=,9)
IF %chg(1,0)
WUDD 500 4
WUDD 501 %op(%udd(501),+,1)
WUDD 502 %op(%op(%udd(502),*,10),+,%sev)
IF %op(%udd(501),=,%udd(500))
$DSPL L%1.dir U18 0312 'Call: %udd(502) M=PTT'
EDO 1 "AT+CCR=1,4,1,%udd(502)\r"
LOG "=> AT+CCR=1,4,1,%udd(502)"
RCO 22 ON 5
WUDD 501 0
WUDD 502 0
ENDIF
ENDIF
ENDIF
ENDIF


Event 3:

Operate the RCO 22 (PTT) when M-key is pressed while point-to-point communication with the IP-ARIO. The event checks that the station pressing the M-button is connected to the IP-ARIO. If this is the case, the RCO 22 is operated.

Event Owner: Stations w. UDP. ID: 8
Event Type:  31 - M-key
Sub Event:   0
When Change To: ON or OFF
When Related To: All
Action:
IF %op(%1.dir,=,%udd(503))
RCO 22
ENDIF


Event 4:

When the IP-ARIO receives a call, the calling station's directory number is stored in UDD 503. This information is used in the previous "Event 3" for PTT operation. When the conversation started, the digit counter (UDD 501) and the collected number (UDD 502) are cleared, and the call is forced in simplex mode from the IPARIO towards the caller to ensure that the caller will hear the audio from the radio.

Event Owner: IP-ARIO
Event Type:  7 - Conversation Incoming
When Change To: ON or OFF
When Related To: All
Action: 
WUDD 503 %chg(%2.dir,0)
IF %chg(1,0)
WUDD 501 0
WUDD 502 0
$SIMP L%1.dir U0 U1
ENDIF


Event 5:

When a call is initiated from the radio to an intercom station, the called station's directory number is stored in UDD 503. This information is used in the previous "Event 3" for PTT operation. The call is forced in simplex mode from the IPARIO towards the caller to ensure that the caller will hear the audio from the radio. The intercom station will receive the Radio ID (i.e. the ID of the MOTOTRBO radio currently talking) in the display, as stored in UDD 504.

Event Owner: IP-ARIO
Event Type:  8 - Conversation Outgoing
When Change To: ON or OFF
When Related To: All
Action: 
WUDD 503 %chg(%2.dir,0)
$SIMP L%1.dir U1 U1
$DSPL L%2.dir U18 0312 'Radio: %udd(504)'