Actions

Unlock two doors using one station

From Zenitel Wiki

Revision as of 13:25, 1 November 2016 by Roarl (talk)

It is possible to use a single Turbine IP station to unlock two (or more) different doors independently of each other. Each door has a single access digit that unlocks only that door.

The main thing is to set the Turbine station as "Station Type" = PNCI. When in conversation with the Turbine, digits dialed during the conversation will not trigger any feature in the AlphaCom, but the digits will be reported in the Event Handler, event 25.

In the manner described in this article, the Turbine has a potential to control seven devices using the single built-in relay and six I/O ports. For practicality and clarity, the examples show only two devices being controlled – one with the built-in relay and one with an I/O port. For control of more devices, simply expand the setup and programming to the other I/O ports. If using the Turbine extended, there are two relays + 6 I/O's available.


Hardware

An IP Turbine and at least one external relay (such as the Zenitel Multi-Relay Board (MRBD)) is required. A third party relay board must be able to accept a logical input (5vdc or 0vdc) to trigger the relay. A master station with LCD screen and dialing pad is also be required.

For testing, a multi-meter that can read both Ohms and Volts (VDC) is needed.

Connections

To use the Turbine inbuilt relay, connect the first set of lock control wires to the Common and NO (Normally Open) connection points (Note: Ground is NOT Common). The numbered connection ports (1-6) on the back of the Turbine correspond to I/O ports 1-6. To use any of the Turbines six I/O ports, connect the external relay board trigger wires to the connectors labeled +5 and one of the labeled connectors 1, 2,3,4,5 or 6, based on which output port will be used. Output wires from the relay board run on to the second lock control device. See also Turbine Compact and MRBD.

Note: +5 is used as the common so that when the output is active 
it will be +5VDC and when not active the output will be 0VDC. 

Additional note: It is assumed here that the external relay logical
trigger will be 1 (ON) to close the contact. Rarely, some external 
relays may expect 0VDC to trigger. If this condition is encountered,
move the lead from +5VDC to 0VDC. This will cause the normal state 
of the I/O port to be +5VDC and the active state to be 0VDC in effect
reversing normal logic controls.

This example uses the built-in relay and I/O port 2:

Unlock two doors 1.png


Turbine Setup

All IP stations require a two-part setup procedure – one part in the station and the other using the AlphaPro programming tool. It is assumed here that the station is already configured and operational with the AlphaCom system. What follows are the changes needed to allow relay and I/O functions.

StationWeb

Login to the Turbine station and select Advanced AlphaCom. Select I/O Settings and in the line titled I/O Pin 2 choose Output 2 in the dropdown Configuration box. Next select Save.

Unlock two doors 2.png


Navigate to Station Administration and choose Reboot followed by Yes when asked “Do you want to reboot?”

Unlock two doors 3.png


When you are able to log back in to the station it has finished the reboot process. This concludes the in-station portion of the configuration.

AlphaPro Programming

It is assumed that a working configuration for all intercoms already exists in AlphaPro. Stations should already be able to call and converse with each other. Only the changes needed to activate the relay and I/O ports are discussed.

A master station with dialing pad and LCD screen must be used as the station that will send the digits to unlock each door/gate.

This procedure requires Ringing Groups. Any master that will unlock the doors or gates must be in a Ringing Group. Even if there is only one master, it must be in a Ringing Group. From this, it follows that older systems without Ringing Groups, or systems where Ringing Groups have been removed, will not be able to use this procedure.

Exchange Setup

Remote Control Outputs (RCO) are one method the AlphaCom uses to control external devices. These logical outputs associate an output signal to a particular device. In the example two RCOs will be associated with one Turbine station.

From AlphaPro select the first tab, Exchange and Settings. Choose the RCO Button.

Unlock two doors 4.png


From the Remote Control Outputs window select an unused RCO (RCO 1 in the example) then Change

Unlock two doors 5.png


On the Update Records window change the Description so it will be obvious that this RCO is in use. The RCO Type box should be set to Station and the Station box should contain the physical number of the station (3 for directory 103 in the example). Pin Number is always dependent on the type of station being used. In the example a Turbine station is being used and the pin for the relay on a Turbine is always 7. Select OK when finished.

Unlock two doors 6.png


Now return to the Remote Control Outputs window and select a second unused RCO. Again, select Change and enter an appropriate description. As before, the RCO Type will be Station and the Station box will contain the same physical station number as entered earlier (3 in the example). The Pin Number will match the physical connection on the Turbine I/O connectors, 1 through 6 (2 in the example). Select OK when finished.

Unlock two doors 7.png


Master Station Setup

Select the Users and Stations menu tab in AlphaPro. Find the Directory number of the master station (102 in the example) which will be unlocking the doors or gates and highlight it. On the General tab find the Station Type box and select PNCI from the dropdown list. Then select OK.

Unlock two doors 8.png


Next select the Events button. If a Door Opening event is present, delete it. Select Insert. Find the Event Type box and from the dropdown list select 25 Event Trigger with User Parameter. Enter 255 in the Sub Event box. The When Change To box should be set to ON and the When Related To box should be set to Directory Number. The ID box should be set to the Directory Number of the calling station (directory number 103 in the example). Multiple calling stations will require multiple like events (i.e. one event for each calling station).

Unlock two doors 9.png


In the Action area of the window select the upper radio button to indicate that a Command will be entered. The Command is entered in this format (in the example the substation is 103, the RCOs used are 1 and 2 and the duration of the relay on is 3 seconds):

This runs as a loop while 102 is connected to 103

IF %op(%sev,=,6)    	check to see if the number 6 is input
RCO 1 ON 30		if 6 is input then turn on RCO 1 for 3 seconds
ENDIF			if 6 is not input then do nothing
IF %op(%sev,=,7)	check to see if the number 7 is input
RCO 2 ON 30		if 7 is input then turn on RCO 2 for 3 seconds
ENDIF			if 7 is not input then do nothing

Copy and paste from above to the Command box, replacing the RCO numbers with the actual ones being used. Each statement goes on one line, meaning that when finished there will be six lines in the Command box. Do not copy the comments (in red). Select OK when finished.

Ringing Group Setup

This procedure requires that any master station releasing the door be in a Ringing Group. Without being in a Ringing Group the relay and I/O activation will only work if the master initiates the call. The Ringing Group allows the master to unlock the door regardless of who initiated the call.

Select the Group icon and then Local Groups to bring up the Groups window. Highlight Ringing Group 1 and then select Change

Unlock two doors 10.png


Select the Members tab and then move the desired master station (102 in the example) to the Members box by clicking on the right arrow button. Select OK.

Unlock two doors 11.png


The substation must now call the Ringing Group just configured. Return to the Users and Stations menu and find the Turbine substation being used (103 in the example). Select the DAK (Direct Access Key) menu button. In the DAK Programming window, each numbered line corresponds to a call button. When the button is pressed it will call the directory number shown on the line associated with that button. The example substation, like most substations, has only one call button. On line 1 enter directory number 6701 (corresponds to the directory number of Ringing Group 1). The system will insert an “i” in front of the number entered. Select OK when finished. When the button is pressed a call will be made to 6701 (every station in Ringing Group 1).

Unlock two doors 12.png


This concludes the AlphaPro portion of the setup. Send the changes to the AlphaCom exchange (server) using the Send Change icon. After the changes are sent, reset the exchange by using the Reset icon.

Testing

After the exchange finishes rebooting, the system is ready to test. Connect an Ohmmeter to the relay connectors (Com and NO) on the Turbine. Connect a Voltmeter to the +5VDC and I/O number 2 connectors (connector 2 if following the example, otherwise whichever I/O connector is being used).

Place a call to the master (102 in the example) by pressing the call button on the Turbine (103 in the example). Answer the call by pressing the M key on the master. Press the digit 6 on the master. For 3 seconds the Ohmmeter should display very little resistance indicating the relay contacts have closed. Press digit 7. The Voltmeter should read +5VDC for 3 seconds indicating a logical ON condition. Cancel the call by pressing C.

From the master station dial 103 (the Turbine in the example). The Turbine will automatically answer. Repeat the above tests by pressing 6 and then 7 to activate the relay and the I/O port respectively. Press C when finished.

Testing is complete. Wiring from the Turbine built-in relay may now be connected to the first door lock and wiring from the Turbine I/O port may be connected to the external relay board and then on to the second door lock.