Space Engineers Wiki

New Official Space Engineers wiki

A new official wiki is now available! - at https://spaceengineers.wiki.gg/

This wiki is deprecated in favour of it.

READ MORE

Space Engineers Wiki
Advertisement
Timer Block
Icon Block Timer Block

Category: Functional Block
Status: Functional

Function:
Automatically triggers actions after a predetermined delay.

Fits small ship
Mass: 30.2 kg

Fits large ship and station
Mass: 259 kg

Data Controls: [edit] [purge] (?)
Different ways to use timer blocks

Automation: Timers can play, wait&play, and loop groups of block actions, similar to how playlists play songs.

The Icon Block Timer Block Timer Block is a block useful for automation of recurring actions, such as docking procedures or air lock cycles. Use the Block to remember a series of button pushes for you and replay them later. Timers are much easier to set up than a Programmable Block because the require no scripting knowledge.

Tip: To understand timers, think of actions as "songs" and Timer blocks as "playlists". You make playlists for special occasions and choose to start, stop, pause, or loop songs.

First you put your list of actions into the timer block. When started, it will wait a predetermined amount of time, then trigger the actions. The Delay time, looping behaviour, and actions can be set up using the grid's Control Panel Screen, or through the keypad on the front side of the large-grid Timer.

Construction[]

Timer blocks are cheap and can be built and used early on. They exist in small-grid (1x1x1) and large-grid (1x1x1) variants, and they can attach to other blocks on all six sides.

When the block is switched on, it requires 0.1W of power, which is dismissible, as it is almost nothing -- a small battery can power 500 000 Timers for an hour.

The block has a coloured side that blinks while it’s active. You can rotate and purposefully hide that side of the blocks, or place a whole bunch of them in plain sight (perhaps with a transparent LCD panel as label) for a techy “blinking-lights control room” look.

Possible Triggers[]

Timer blocks can be started by clicking a button in their Control Panel Screen or can be triggered by many other blocks:

Possible Actions[]

Triggered actions can be any block action you can do through the Tool Bar:

  • extending or retracting pistons, turning rotors and hinges, opening or closing doors
  • switching on or off lights / thrusters / power / beacon / handbrake / turrets...
  • Changing behaviours/targets of Automaton blocks, changing conditions of an Event Controller
  • (dis)arming a Warhead, (de)pressurizing a room's Air Vent, (de)activating grinder/welder/drill blocks, (un)locking connectors or landing gear
  • highlighting a block on the HUD (escape pods, emergency exits, damaged block that needs welding...)

... and so on.

Available actions can also be selected from blocks on grids/subgrids that are connected through a connector, and the respective actions are then only executed when the grid is connected.

When NOT to use Timers[]

Timer blocks cannot perform any non-Control Panel Screen actions, this means:

Neither can Timers buy anything from a Store, nor trade, nor emote, nor push physical buttons, nor create new GPS locations, nor perform similar player actions.

Usage: Play a group of actions[]

First, decide on a trigger (e.g. build a button panel), and build your Timer block. Each Timer block executes a group of actions that belong together and should always happen together.

How many timer blocks will I need?[]

Answer: Lots. :-) One for each set of actions that happen together. If sets of actions are mutually exclusive, or if they only happen together some of the time, or if they must have pauses between them, or if one action must wait for another to complete, then you must build separate Timer blocks for them!

  1. Open the Control Panel Screen.
  2. Go to the Trigger (the Sensor, Event Controller, Button Panel, etc.) controls and click Set up Actions.
  3. Click the Timer block and select “Start” from the action menu.
  4. Press (ESCAPE key) to return to the Control Panel Screen.
  5. Go to the Timer block controls and click Set up Actions.
  6. Click block icons to select actions, and assign them to slots. You can assign each action only once per toolbar.

What if I want to add several of the same action?[]

I want to 3X "increase propulsion override", but it doesn't let me add it three times?

Answer: Remember that each Timer block can store 81 (nine times nine) actions! Press ctrl+1 to ctrl+9 to select another one of the nine toolbars. You can assign the same "increase propulsion override" action once to each of the nine toolbars. All toolbars will be triggered together. And if you create multiple groups containing the same block, you can even add actions for each group.

What the difference between a Group and a Timer?[]

I can also group actions in the Control Panel Screen, how does that differ?

group names are not unique. This is relevant when you have multiple ships from the same blueprint (same ship name, same group names, same block names) that are docked in the same hangar: Group actions will trigger in all docked ships using the same group name. So for non-unique ships and PBW, use Timers to group their actions.

Usage: Pause and Play actions[]

All the actions run inside a timer don't wait for each other's completion. If you are automating a sequence of longer actions, you must enforce pauses in between. Examples: Playing two sound alerts one after the other without overlapping; or a docking sequence that waits for the hangar door to open; or an airlock cycle that waits for the room to depressurise.

  1. Split up the time-sensitive actions and put them into separate Timer blocks.
  2. Configure the Delay of the second timer to wait for the first timer to finish.
  3. Make the first timer start the second timer.
  4. Make the second timer start the third, and so on.

The Delay format is read as hours:minutes:seconds. The start-up delay of a timer block can be set to any value between 1 second (0:00:01) and 1 hour (1:00:00).

Note that Timers are not accurate with the timings of delays, so rather add a little extra time. When you control something very time sensitive (like the joints of a walker), don't trust Timer Blocks to coordinate punctually by the second, and they certainly cannot handle any timings of less than a second. A script in a Programmable Block is more suitable when you need precision.

Also Timers just literally wait the number of seconds you tell them, they don't confirm whether the previous action has truly completed or not -- e.g. if a door is blocked instead of closed, or a room cannot be pressurised because your tanks are empty, a Timer sequence may get messed up.

Usage: Loop actions[]

Do you manually perform actions that always repeat in the same way, for example, automated shuttle (un)docking sequences, restocking various ammo on patrolling drones, progressing or resetting the 3D Printer, walking sequences of Mecha legs? Are you building mini-games with continuously moving obstacles or traps, or similar?

Just like any other action, you can set up a Timer to start (or stop!) another Timer -- even itself. That causes a loop. For each set of actions that you want to repeat, set up one separate Timer and its Delay. Then you set up the last action of the last Timer to start the first Timer again, and the actions will loop.

Can I loop the loops?[]

You can also build complex loops: Use one conductor Timer solely to start and stop several other Timers, add a long Delay, and as its last action, make it re-start itself.

When ever the timings start feeling too complicated to keep track of, it's recommended to simply draw some boxes with arrows to get your head around the delays, order, and groupings.

Tip: Trigger the Stop action on all looping blocks when you want to end a loop.

Should I Reuse Triggers and Actions?[]

You are not restricted to 1 trigger per 1 set of actions!

One Trigger can start multiple Timers, even though there is only one trigger slot: Just build a “conductor” Timer that starts all the other Timers, and make the trigger start the conductor!

Similarly, one Timer can be started by several triggers. For example, in a timed airlock cycle, you can have a manual button panel that starts the Timer, and also an automatic sensor that starts the same Timer.


Troubleshooting[]

Auditory Troubleshooting: Beeps[]

A Timer Block has a setting to run either silently or to beep every time when triggered. Additionally, if you have set up a Delay, a non-silent Timer beeps for every second of the countdown. The sound is only audible in close proximity.

Which setting should you choose?

  • A silent timer is less annoying when it loops often. Silence is also preferred when actions are supposed to happen without attracting the attention of players.
  • Deactivating the Silent option can be useful, on the other hand, while setting it up or while troubleshooting, to get feedback. You can also use auditory feedback when you purposely want to alert other players to expect an automated action — reminds them to wait, for example, for an airlock sequence or a docking manoeuvre to complete.

Visual Troubleshooting: Colours[]

The Timer block changes colour while it's running to show you its stages:

  • Green means the Timer is ready and powered.
  • During the Delay countdown, it alternates between cyan and blue.
  • Red means it's been switched off or has no power.

Manual Troubleshooting[]

In the control panel, you can trigger the block manually.

  • Trigger Now -- Don't wait for the delay and play the actions.
  • Start -- Count down the delay and then play the actions.
  • Stop -- Stop the running actions.

This is the same start/stop action that can also be triggered remotely by another Timer block. Manual starting and stopping timers is useful during set-up and troubleshooting. If a block in a mechanical sequence gets damaged and stops moving, coordinated movements go out of sync; after the block has been repaired, all timers need to be stopped, reset, and restarted in the right order.

It can be helpful to set up a Timer that runs a reset sequence for a complex mechanism, so that you can quickly bring it back into a reliable start state for your loop.

Recipe[]

Icon Block Timer Block Timer Block
ComponentLarge Ship/Station
Required
Large Ship/Station
Optional
Small Ship
Required
Small Ship
Optional
Icon Item Computer Computer51
Icon Item Construction Comp. Construction Comp.303
Icon Item Interior Plate Interior Plate62

Media[]


Blocks

Functional Blocks

Cockpits & Control
Icon Block Cockpit Cockpit, Icon Block Fighter Cockpit Fighter Cockpit, Icon Block Control Station Control Station, Icon Block Flight Seat Flight Seat, Icon Block Helm Helm, Icon Block Saddle Cockpit Saddle Cockpit, Icon Block Saddle Cockpit Compact Saddle Cockpit Compact, Icon Block Cab Cockpit Cab Cockpit, Icon Block Buggy Cockpit Buggy Cockpit, Icon Block Rover Cockpit Rover Cockpit, Icon Block Passenger Seat Passenger Seat, Icon Block Control Panel Control Panel, Icon Block Control Panel Pedestal Control Panel Pedestal, Icon Block Vertical Button Panel Vertical Button Panel, Icon Block Sci-Fi One-Button Terminal Sci-Fi One-Button Terminal, Icon Block Sci-Fi Four-Button Panel Sci-Fi Four-Button Panel, Icon Block Sci-Fi Control Panel Sci-Fi Control Panel, (Icon Block Inset Button Panel Inset) Icon Block Button Panel Button Panel, Icon Block Button Panel Pedestal Button Panel Pedestal, Icon Block Remote Control Remote Control, Icon Block Custom Turret Controller Custom Turret Controller

Automation
Icon Block Sensor Sensor, Icon Block Timer Block Timer Block, Icon Block Programmable Block Programmable Block, Icon Block Event Controller Event Controller, Icon Block Emotion Controller Emotion Controller, Icon Block AI Basic AI Basic, Icon Block AI Flight AI Flight, Icon Block AI Defensive AI Defensive, Icon Block AI Offensive AI Offensive, Icon Block AI Recorder AI Recorder

Communication
Icon Block Antenna Antenna, Icon Block Beacon Beacon, Icon Block Round Beacon Round Beacon, (Icon Block Top Mounted Camera Top Mounted) Icon Block Camera Camera, Icon Block Laser Antenna Laser Antenna, Icon Block LCD Panel LCD Panel, Icon Block Corner LCD Corner LCD, Icon Block Text Panel Text Panel, Icon Block Wide LCD Panel Wide LCD Panel, Icon Block Transparent LCD Transparent LCD, Icon Block Sci-Fi LCD Panel Sci-Fi LCD Panel, Icon Block Holo LCD Holo LCD, Icon Block Inset LCD Panel Inset LCD Panel, Icon Block Sloped LCD Panel Sloped LCD Panel, Icon Block Curved LCD Panel Curved LCD Panel, Icon Block Ore Detector Ore Detector, Icon Block Sound Block Sound Block

Defense & Offense
Icon Block Decoy Decoy, Icon Block Gatling Gun Gatling Gun, Icon Block Gatling Turret Gatling Turret, Icon Block Interior Turret Interior Turret, Icon Block Rocket Turret Rocket Turret, Icon Block Reloadable Rocket Launcher Reloadable Rocket Launcher, Icon Block Rocket Launcher Rocket Launcher, Icon Block Artillery Artillery, Icon Block Autocannon Autocannon, Icon Block Artillery Turret Artillery Turret, Icon Block Autocannon Turret Autocannon Turret, Icon Block Railgun Railgun, Icon Block Assault Cannon Assault Cannon, Icon Block Assault Cannon Turret Assault Cannon Turret, Icon Block Target Dummy Target Dummy, Icon Block Warhead Warhead, Icon Block Explosive Barrel Explosive Barrel

Power
Icon Block Battery Battery, Icon Block Small Battery Small Battery, Icon Block Large Reactor Large Reactor, Icon Block Small Reactor Small Reactor, Icon Block Solar Panel Solar Panel, Icon Block Colorable Solar Panel Colorable Solar Panel, Icon Block Hydrogen Engine Hydrogen Engine, Icon Block Wind Turbine Wind Turbine, Icon Block Twin-Blade Wind Turbine Twin-Blade Wind Turbine

Life Support
Icon Block Medical Room Medical Room, Icon Block Corner Medical Room Corner Medical Room, Icon Block Survival Kit Survival Kit, Icon Block Cryo Chamber Cryo Chamber, Icon Block Inset Cryo Room Inset Cryo Room, Icon Block Oxygen Farm Oxygen Farm, Icon Block Interior Light Interior Light, Icon Block Offset Light Offset Light, Icon Block Spotlight Spotlight, Icon Block Offset Spotlight Offset Spotlight, Icon Block Inset Light Inset Light, Icon Block Air Vent Air Vent (Icon Block Air Vent Full Full), Icon Block Air Vent Fan Air Vent Fan (Icon Block Air Vent Fan Full Full)

Mobility
Icon Block Gyroscope Gyroscope, Icon Block Atmospheric Thruster Atmospheric Thruster, Icon Block Ion Thruster Ion Thruster, Icon Block Hydrogen Thruster Hydrogen Thruster, Icon Block Parachute Hatch Parachute Hatch, Icon Block Short Wheel Suspension 1x1 (Short) Icon Block Wheel Suspension 1x1 Wheel Suspension 1x1, Icon Block Short Wheel Suspension 2x2 (Short) Icon Block Wheel Suspension 2x2 Wheel Suspension 2x2, Icon Block Short Wheel Suspension 3x3 (Short) Icon Block Wheel Suspension 3x3 Wheel Suspension 3x3, Icon Block Short Wheel Suspension 5x5 (Short) Icon Block Wheel Suspension 5x5 Wheel Suspension 5x5, Icon Block Offroad Wheels Offroad Wheels

Mining & Manufacturing
Icon Block Basic Refinery Basic Refinery, Icon Block Refinery Refinery, Icon Block Basic Assembler Basic Assembler, Icon Block Assembler Assembler, Icon Block Drill Drill, Icon Block Grinder Block Grinder Block, Icon Block Welder Block Welder Block, Icon Block Projector Projector, Icon Block O2 H2 Generator O2/H2 Generator, Icon Block Oxygen Farm Oxygen Farm, Icon Block Yield Module Yield Module, Icon Block Power Efficiency Module Power Efficiency Module, Icon Block Speed Module Speed Module

Storage
Icon Block Large Cargo Container Large Cargo Container, Icon Block Medium Cargo Container Medium Cargo Container, Icon Block Small Cargo Container Small Cargo Container, Icon Block Oxygen Tank Oxygen Tank, Icon Block Hydrogen Tank Hydrogen Tank, Icon Block Store Store, Icon Block Contracts Block Contracts Block

Inventory Management
Icon Block Connector Connector, Icon Block Small Connector Small Connector/Ejector, Icon Block Collector Collector, Icon Block Conveyor Junction Conveyor Junction, Icon Block Conveyor Tube Conveyor Tube Icon Block Reinforced Conveyor Tube (Reinforced), Icon Block Curved Conveyor Tube Curved Conveyor Tube Icon Block Reinforced Curved Conveyor Tube (Reinforced), Icon Block Conveyor Tube T Junction Conveyor Tube T Junction Icon Block Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Conveyor Sorter; Icon Block Small Conveyor Small Conveyor, Icon Block Small Conveyor Tube Small Conveyor Tube Icon Block Small Reinforced Conveyor Tube (Reinforced), Icon Block Small Curved Conveyor Tube Small Curved Conveyor Tube Icon Block Small Reinforced Curved Conveyor Tube (Reinforced), Icon Block Small Conveyor Tube T Junction Small Conveyor Tube T Junction Icon Block Small Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Small Conveyor Sorter; Icon Block Conveyor Frame Conveyor Frame, Icon Block Conveyor Converter Conveyor Converter

Mechanical Blocks & Gravity Control
Icon Block Advanced Rotor Advanced Rotor, Icon Block Rotor Rotor, Icon Block Piston Piston, Icon Block Hinge Hinge, Icon Block Landing Gear Landing Gear, Icon Block Magnetic Plate Magnetic Plate, Icon Block Merge Block Merge Block, Icon Block Artificial Mass Artificial Mass, Icon Block Gravity Generator Gravity Generator, Icon Block Spherical Gravity Generator Spherical Gravity Generator, Icon Block Safe Zone Safe Zone


Advertisement