Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Door Controller
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Microcontroller
Tags: v0.5.23
File Size
Posted
46.422 KB
27 Feb, 2019 @ 5:40am
1 Change Note ( view )

Subscribe to download
Door Controller

Description
Controller for a Door, Hatch or Hinge. Signals can be sent to the door to OPEN/CLOSE, Lock separately or Lock as a Group.

An Override input is available. When Override is ON all Lock and Group Lock signals will be bypassed and it will allow the doors to be OPEN/CLOSED.

There is an optional set of properties available on the Controller that allow you to specify that the door will auto close after a period of time. There is a Toggle Property for AUTO CLOSE (ON/OFF) and then a Property Number Box for specifying the number of seconds to pass before the door will auto close.

NOTE: When a door goes in to a Lock state it will automatically close. The OPEN request to a door is dependant upon the state of the signal going in to Controller and the Lock state. The Controller does not modify or hold the OPEN/CLOSE signal. Therefore, if you have an active OPEN signal (i.e. a toggle button is ON) and the door goes back to UNLOCK it will then OPEN. Something to keep in mind when you're door is underwater, you tried to open it previously and you just signalled Override.


INPUT:
- Door OPEN/CLOSE - ON/OFF - Signal to Open or Close the Door.

- Door Override ON/OFF - ON/OFF - Override signal that will force the door to unlock.

- Lock Signal ON/OFF - ON/OFF - Signal sent to door to Lock (ON) or Unlock (OFF).

- Group Lock ON/OFF - ON/OFF - Signal sent to a group of doors to Lock (ON) or Unlock (OFF).


OUTPUT:
- Door State Indicator Colour (RGB) - COMPOSITE - Light Colour Signal to apply to an RGB Indicator indicating the state of the door (Default: Green=Unlocked, Red=Locked, Yellow=Override). Colours are configurable in properties of block.

- Hinge Signal - NUMBER - Door OPEN/CLOSE value converted to a Hinge Signal. OPEN and CLOSE values are configurable in the properties of the block.

- Door State OPEN/CLOSED - ON/OFF - Returns the current OPEN (ON) or CLOSED (OFF) state of the door.

- Door State LOCKED/UNLOCKED - ON/OFF - Returns the current LOCKED (ON) or UNLOCKED (OFF) state of the door.

2 Comments
red 11 Feb, 2023 @ 2:35pm 
e
Coltplays 11 Feb, 2023 @ 2:35pm 
good