SOYAL TECHNOLOGY CO., LTD

Membership Center
0
Browsing Records
2024-07-09
Programmable Logic Controller (WEB PLC) - Multi-Door Interlock Compilation

SOYAL provides a variety of multi-door interlock solutions suitable for controlled environments such as clean rooms and laboratories. This article offers tutorials on both simple interlocking methods (through wiring) and PLC setup methods. It explains how to achieve multi-door interlocking, fire door opening, and alarm output, as well as indicator light output. Additionally, it can be integrated with 701ClientSQL SCADA software for remote monitoring and alarm notifications, meeting on-site management needs.

Q: How to achieve multi-door interlocking using SOYAL WEB PLC (AR-401-PLC series)?   

STEP1. Before setting up the action logic, we need to confirm at least the following two conditions to plan the usage of DI/DO points: 

Condition A. Standby/Open Door Status provided by Electric Lock or Magnetic Reed Switch

  • Standby Door Closed:

When in standby, the contact provided by the electric lock/magnetic reed switch is closed, and the circuit is completed.

When the door is open, the contact provided by the electric lock/magnetic reed switch is open, and the circuit is broken.

  • Standby Door Open:

When in standby, the contact provided by the electric lock/magnetic reed switch is open, and the circuit is broken.

When the door is open, the contact provided by the electric lock/magnetic reed switch is closed, and the circuit is completed.

These conditions need to be confirmed as they determine the logic conditions for the DI input points in the PLC.

Condition B. Electric lock standby status: locked or unlocked

  • Locked standby:

When personnel need to pass through, they must swipe a card or press the door release button, triggering the PLC. The PLC then activates the relay to unlock the electric lock, allowing personnel to pass through. The PLC will monitor the door status signal and other relay outputs to determine the logic conditions for other doors.

In a four-door interlock scenario, after pushing open door A, the status of door A's door position detector changes. Doors B, C, and D cannot be opened using card swipe or button press until door A's position returns to normal.

  • Unlocked standby:

When personnel need to pass through, they do not need to swipe a card or press the door release button. They can directly push the door open. After the door is pushed open, the PLC will lock the remaining electric locks.

In a four-door interlock scenario, after personnel push open door A, the door position sensor of door A triggers, locking doors B, C, and D. They cannot be pushed open until door A's position returns to normal.

 

Other conditions:

There are usually several necessary restrictions and additional conditions for personnel to pass through:

Necessary conditions:

1. BCD door position sensor closed circuit.

2. BCD locks locked/unlocked status.

3. Door lock opening time in seconds.

Additional conditions (optional):

4. Automatic locking when doors are closed.

5. All doors open in case of fire / specific doors open.

6. Door open timeout alarm / door closing alarm reset.

7. Forced door open alarm.

8. Alarm reset button.

STEP 2: Establish Input/Output Point Table (DI/DO Table)  

WEB PLC DI/DO Point Table
ItemDIPoint StatusItemDOPoint Status
X0Push Button ANOY0Electric Lock ANC
X1Door Sensor ANCY1Alarm ANO
X2Push Button BNOY2Electric Lock BNC
X3Door Sensor BNCY3Alarm BNO
X4Push Button CNOY4Electric Lock CNC
X5Door Sensor CNCY5Alarm CNO
X6Relay DNOY6Electric Lock DNC
X7Door Sensor DNCY7Alarm DNO

※Common examples include ➔ Magnetic sensor closed circuit when door is closed / Magnetic sensor open circuit when door is open

※ There are two common examples ➔

1. Lock normally locked, contact closed (swipe card / door open button) to open door.

2. Lock normally unlocked, when a door is opened, other locks lock, no need to press door open button for normal passage, just push the door open.

STEP 3. Establish Point Trigger Table

DI Point Trigger Table
ItemDIAction
X0Push Button AOutput Y0 for five seconds
X1Door Sensor ALock Y2 Y4 Ydo not open
X2Push Button BOutput Yfor five seconds
X3Door Sensor BLock Y0 Y4 Ydo not open
X4Push Button COutput  Yfor five seconds
X5Door Sensor CLock Y0 Y2 Ydo not open
X6Push Button DOutput  Yfor five seconds
X7Door Sensor DLock Y0 Y2 Ydo not open

 

DO Point Trigger Table
ItemDOAction
Y0Electric Lock ALock Y2 Y4 Ydo not open
Y1Alarm A--
Y2Electric Lock BLock Y0 Y4 Ydo not open
Y3Alarm B--
Y4Electric Lock CLock Y0 Y2 Ydo not open
Y5Alarm C--
Y6Electric Lock DLock Y0 Y2 Ydo not open
Y7Alarm D--

 

STEP4. Draw the ladder diagram and input the logic into the WEB PLC

In the above process, we have clearly listed the triggering action flow of all DI/DO points. Before formally setting these actions into the PLC, it is recommended to first draw the ladder diagram to facilitate quick and accurate configuration. Currently, the WEB PLC and the official website provide many PLC examples, including multiple door interlocking cases and output time control, which can be used as a reference for drawing the ladder diagram.

 

Multi-door Interlock Application Cases : 

A. Standard Application Cases

Conditions:

4 Doors Interlock: When one of the doors is unlocked, other 3 doors could not be unlocked until that door is closed

Feature:

  • Door Relay time 6 Secs
  • Auto Relock
  • Open Too Long Alarm 8 Secs
  • Force Open Alarm
  • Stop Alarm by Close Door
  • Fire Alarm Trigger All Doors

Contact Description:

DoorDI Address
PB
DI Address
Door Sensor
DO Address
Door Relay
DO Address
Alarm

Door A

DIX0DIX1DOY0DOY1

Door B

DIX2DIX3DOY2DOY3

Door C

DIX4DIX5DOY4DOY5

Door D

DIX6DIX7DOY6DOY7
Fire DIDIX16   

 

Case Explanation : 

We will use Door A as example to explain the program logic:

1. When the door sensor DIX3/DX5/DIX7 and the door lock relay DOY2/DOY4/DOY6 of door B/door C/door D are closed, press Door A push button DIX0 , the door lock relay DOY0 can be trigger on 6 seconds.

2. When the fire alarm input DIX16 is closed, the door lock relay of door A/door B/door C/door D can be released on;

3. When the door sensor DIX1 of door A is closed, the door lock relay of door A can be automatically relocked;

4. When the door sensor DIX1 of door A is forced to open and the door relay DOY0 of door A is off, the alarm relay DOY1 of door A will be turned on;

5. When the door sensor DIX1 of door A is open, the timer TMR0 is triggered. When TMR0 is more than 8 seconds, the door open too long alarm relay DOY1 is triggered.

6. When the door sensor DIX1 of door A is closed, the alarm relay DOY1 can be stopped.

 

WEB Setting:

Ladder Programming:

  • X0/X1/…/Xn represent actual input DIX0/DIX1/…/DIXn
  • Y0/Y1/…/Yn represent actual output DOY0/DOY1/…/DOYn
  • M0/M1/…/Mn represent virtual output DOM0/DOM1/…/DOMn


 

701ClientSQL Graphic Control Configuration Steps:

 

B. Custom Application Cases

Conditions:

A. There are five rooms, with a total of eight interlocking doors in this case. If one door of Room1-5 is opened, all other doors in that room will be locked. As an illustration, when door B is open, doors A, C, and D will be closed.

B. In Rooms 1-5 and relevant places, there are a total of 8 emergency buttons. Pressing each of  emergency button will unlock all connected doors of that room for 60 seconds.

C. All emergency buttons will trigger the same alarm for 60 seconds.

 

Contact Description:

*Text in red indicates AR-401-IO1608 expansion contacts.

*Text in blue indicates firmware configuration points. Installers, please ignore.

 

AR-401-IO-0808R / *AR-401-IO1608 Contacts
DIContactsDOContacts
DIX0Emergency Button 1DOY0Electric Lock A
DIX1Door Sensor ADOY1Electric Lock B
DIX2Emergency Button 2DOY2Electric Lock C
DIX3Door Sensor BDOY3Electric Lock D
DIX4Emergency Button 3DOY4Electric Lock E
DIX5Door Sensor CDOY5Electric Lock F
DIX6Emergency Button 4DOY6Electric Lock G
DIX7Door Sensor DDOY7Electric Lock H
DIX0 (DIX16)Emergency Button 5DOY0 (DOY16)Alarm Output
(For all of Emergency Buttons)
DIX1 (DIX17)Door Sensor E
DIX2 (DIX18)Emergency Button 6  
DIX3 (DIX19)Door Sensor F  
DIX4 (DIX20)Emergency Button 7  
DIX5 (DIX21)Door Sensor G  
DIX6 (DIX22)Emergency Button 8  
DIX7 (DIX23)Door Sensor H  

 

Door Sensor Trigger Table

DI (Door Open)DO (Door Locked)ContactsRelay
Door A (DIX1)Door BDOY1K2
Door B (DIX3)Door A C DDOY0 DOY2 DOY3K1 K3 K4
Door C (DIX5)Door B D EDOY1 DOY3 DOY4K2 K4 K5
Door D (DIX7)Door B C FDOY1 DOY2 DOY5K2 K3 K6
Door E (DIX1) (DIX17)Door C F G HDOY2 DOY5 DOY6 DOY7K3 K6 K7 K8
Door F (DIX3) (DIX19)Door D E G HDOY3 DOY4 DOY6 DOY7K4 K5 K7 K8
Door G (DIX5) (DIX21)Door E F HDOY4 DOY5 DOY7K5 K6 K8
Door H (DIX7) (DIX23)Door E F GDOY4 DOY5 DOY6K5 K6 K7

 

Emergency Button Trigger Table

DIDORelayOutput-1Output-2
Emergency Button 1 (DIX0)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door A
Emergency Button 2 (DIX2)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door A B
Emergency Button 3 (DIX4)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door  B C D
Emergency Button 4 (DIX6)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door  C E
Emergency Button 5 (DIX0) (DI16)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door E F G H
Emergency Button 6 (DIX2) (DI18)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door D F
Emergency Button 7 (DIX4) (DI20)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door  G
Emergency Button 8 (DIX6) (DI22)DOY0 (DOY16)K1Central Alarm with 60 secondsUnlock Door H

 

WEB Setting:

Ladder Programming:

  • X0/X1/…/Xn represent actual input DIX0/DIX1/…/DIXn
  • Y0/Y1/…/Yn represent actual output DOY0/DOY1/…/DOYn
  • M0/M1/…/Mn represent virtual output DOM0/DOM1/…/DOMn

 

701ClientSQL Graphic Animation:

*The scenario described involves the opening of door B by personnel, followed by the locking of doors A, C, and D. At this point, the individual presses the emergency button in Room 2. Subsequently, doors B, C, and D are unlocked, and the central alarm is triggered.

 

 

Conditions:

There are two rooms on site, each with two doors. A/B doors are interlocked, and C/D doors are interlocked。

 

Point Description

DI / DO Table
DIDeviceStatusDODeviceStatus
X0Push Button ANOY0Alarm ANO
X1Door Sensor ANCY1Electric Lock ANO
X2Push Button BNOY2Alarm BNO
X3Door Sensor BNCY3Electric Lock BNO
X4Push Button CNOY4Alarm CNO
X5Door Sensor CNCY5Electric Lock CNO
X6Push Button DNOY6Alarm DNO
X7Door Sensor DNCY7Electric Lock DNO

 

Logical Action Table - Door Sensor
X1Y2 Latch Output
X3Y1 Latch Output
X5Y4 Latch Output
X7Y3 Latch Output

 

Logical Action Table - Push Button
ItemAction 1Action 2Action 3
X0Y0 Output for 60 secondsYStop Output for 60 seconds 
X2Y2 Output for 60 secondsYStop Output for 60 secondsYStop Output for 60 seconds
X4YOutput for 60 secondsYStop Output for 60 seconds 
X6Y6 Output for 60 secondsYStop Output for 60 secondsYStop Output for 60 seconds

 

Parameter Settings:

Ladder Programming:

Referenced Commands:

Pulse Output / Rising Edge Trigger / Level Trigger

 

Example Download:

 

Conditions:

There are two rooms on site, each with two doors. A/B double doors are interlocked, and B/C double doors are interlocked.

 

Point Description

DI / DO Table
DIDeviceStatusDODeviceStatus
X0Controller ANOY0Alarm ANO
X1Push Button ANOY1Electric Lock ANO
X2Door Sensor ANCY2Alarm BNO
X3Push Button BNOY3Electric Lock BNO
X4Door Sensor BNCY4Alarm CNO
X5Push Button CNOY5Electric Lock CNO
X6Door Sensor CNCY6Alarm DNO
X7  Y7  

 

Logical Action Table - Door Sensor
ItemAction 1Action 2
X1Y2 Latch Output--
X3Y1 Latch OutputY3 Latch Output
X5Y2 Latch Output--

 

Logical Action Table - Push Button
ItemAction 1Action 2Action 3
X0Y0 Output for 60 secondsYStop Output for 60 seconds--
X2Y2 Output for 60 secondsYStop Output for 60 secondsYStop Output for 60 seconds
X4YOutput for 60 secondsYStop Output for 60 seconds--

 

Parameter Settings:

Ladder Programming:

Referenced Commands:

Pulse Output / Rising Edge Trigger / Level Trigger

 

Example Download:

 

 

Conditions:

The site is divided into three rooms. The first room has A/B/C three doors interlocked, the second room has C/D double doors interlocked, and the third room has D/E double doors interlocked.

Point Description:

PLC Mainboard (AR-401-PLC-0808R) DI / DO Correspondence Table
DIDeviceStatusDODeviceStatus
X0Controller ANOY0Alarm ANO
X1Push Button ANOY1Electric Lock ANO
X2Door Sensor ANCY2Alarm BNO
X3Push Button BNOY3Electric Lock BNO
X4Door Sensor BNCY4Alarm CNO
X5Push Button CNOY5Door Closer DNO
X6Door Sensor CNCY6Indicator Light DNO
X7  Y7  

 

AR-401-IO-1608R DI / DO Correspondence Table
DIDeviceStatusDODeviceStatus
X0Controller DNOY0Alarm DNO
X1Push Button DNOY1Electric Lock DNO
X2Door Sensor DNCY2Alarm ENO
X3Push Button ENOY3Electric Lock ENO
X4Door Sensor ENCY4  
X5  Y5  
X6  Y6  
X7  Y7  

 

Logic Action Table - Door Sensor
ItemAction 1Action 2Action 3
X2Y3 Latch OutputY5 Latch Output--
X4Y1 Latch OutputY5 Latch OutputY7 Latch Output
X6Y1 Latch OutputY3 Latch Output--
X18Y5 Latch OutputY19 Latch Output 
X20Y17 Latch Output  

 

Logic Action Table - Push Button
ItemAction 1Action 2
X0Y1 Output for 5 seconds--
X1Y0 Output for 60 secondsY1/ Y3/Y5  Stop Output for 60 seconds
X3YOutput for 60 secondsY3  Stop Output for 60 seconds
X5Y4  Output for 60 secondsY5/ Y17  Stop Output for 60 seconds
X16Y17 Output for 5 seconds--
X17Y16 Output for 60 secondsY17/ Y19  Stop Output for 60 seconds
X19Y16 Output for 60 secondsY19  Stop Output for 60 seconds

 

Parameter Settings:

Ladder Programming:

Referenced Commands:

Pulse Output / Rising Edge Trigger / Level Trigger

 

Example Download:

 

 

Conditions:

There are two rooms on site, each with two doors. A/B double doors are interlocked, and C/D double doors are interlocked.

 

Point Description:

DI / DO Correspondence Table
DIDeviceStatusDODeviceStatus
X0Push Button ANOY0Electric Lock ANO
X1Door Sensor ANCY1Electric Lock BNO
X2Push Button BNO------
X3Door Sensor BNC------
X4----------
X5----------
X6----------
X7火警接點NO------

 

Logic Action Table - Door Sensor
ItemAction 1
X1Y1 Latch Output
X3Y0 Latch Output

 

Logic Action Table - Push Button 
ItemAction 1Action 2Action 3
X0Y0 Output for 5 seconds----
X2Y2 Output for 5 seconds----
X7YLatch OutputY1  Latch Output--

 

Parameter Settings:

Ladder Programming:

Referenced Commands:

Pulse Output / Rising Edge Trigger / Level Trigger

 

Example Download:

 

 

Conditions:

There is one room on site with three doors, A/B and C are three-door interlocked.

Point Description:

 DI / DO Correspondence Table
DIDeviceStatusDODeviceStatus
X0Push Button ANOY0Electric Lock ANO
X1Door Sensor ANCY1Electric Lock BNO
X2Push Button BNO------
X3Door Sensor BNC------
X4----------
X5----------
X6----------
X7Fire Alarm ContactNO------

 

Logic Action Table - Door Sensor
ItemAction 1
X1Y1 Latch Output
X3Y0 Latch Output

 

Logic Action Table - Push Button 
ItemAction 1Action 2Action 3
X0Y0 Output for 5 seconds----
X2Y2 Output for 5 seconds----
X7YLatch OutputY1  Latch Output--

 

Parameter Settings:

Ladder Programming:

Referenced Commands:

Pulse Output / Rising Edge Trigger / Level Trigger

 

Example Download:

 

 

Related Resources:
 
 
Browsing Records
Go Top