LanBox-LC manual v2.0b1

What's under the hood
 


 
Index

Introduction
 
What's in the box
 What's not in the box
 New versions & support

Getting started
 
Macintosh network setup
 PC/Mac Serial setup
 MIDI setup
 The LanBox
 Software to use
 About fixtures & DMX

What's under the hood
 LCII firmware operation
 LC+ firmware operation

Using MIDI or Serial
 
MIDI communications
 Serial communications
 Contact/button trggers

FAQ and Specs
 
LanBox FAQ
 DMX FAQ
 CE & FCC specs

The electronics in the LanBox-LC

The LanBox-LC houses an industrial based embedded microprocessor system, with the following features:

  • 128 KB FlashPROM, enables easy upgrading of firmware.
  • 128 KB, nonvolatile memory, good for storage of hundreds of scenes.
  • 64 KB, volatile scene memory (used for uploaded temporary scenes).
  • Balanced, filtered and spike protected DMX output (conforms to DMX-512 USITT 1990 protocol), with diagnostic LED.
  • Transformer isolated network ports, with 200kb/sec data rate (PhoneNet compatible).
  • High speed (38400 b/sec) RS422 communication port, for serial and MIDI usage.
  • Switching power supply with large input range (11..18V) and high efficiency.
  • Black extruded aluminum case, designed to withstand On-The-Road conditions.
  • CE and FCC approved, so low radiation and highly sustainable to RFI.

The electronics of the LanBox-LC is built with standard industrial printed circuit boards. The lower board contains all connectors to the outside world, the switching power supply , the network isolation transformer and buffer drivers for network and DMX. The top board contain a complete microcomputer system, including RAM, ROM, FlashPROM, nonvolatile RAM module and communication chips.

As you can see, there is quite some space left at the back part of the box. This space is reserved for extra optional i/o boards like analog outputs, relay outputs etc. We do not (yet) offer this options, but if there is enough demand, we might ;-)

On the top printed circuit board you see (besides all kind of electronic components) a small push button. If you ever loose your password this button can save you. When pressing it for more then five seconds, when the box is powered, it clears ALL memory including the password.

Note: When you have cleared the LanBox-LC with this button, the password is 0 (zero), the name of the box is "IMC720" and ALL lighting settings and programs (including the firmware) are gone.

 
 

  The operation of the LCII firmware

The LanBox-LC is a microprocessor based device, in other words a small computer. Like any computer it needs software to do something. This kind of software is often referred to as firmware.

When we ship a LanBox-LC we'll always load the latest LCII software into the box. New LCII firmware can be loaded into the LanBox-LC using the LCtools program (that comes with the LanBox-LCII installer). New versions of the LanBox-LC firmware will appear on our web site and can be downloaded for free.

LanBox-LC data flow
You only need to read this part if you want to use manual override (Exceptions) and special applications (or if you're simply interested in how the LanBox-LC works). If you just want to select some nice scenes to go along with your presentation and you're not interested in the inner workings, don't bother to read on.

The LanBox-LCII firmware allows you to select scenes and to override DMX channels from three different sources (AppleTalk, serial and MIDI). Because this can all be very confusing we'll start with a data flow diagram.

There are two data buffers in the LanBox-LC, the sequence buffer and the edit buffer. The sequence buffer is used by the internal sequencer of the LCII. The edit buffer is used by LCedit II, MIDI and serial editing.

A scene can be selected through AppleTalk (LCedit, XCMDs, MAX externals), serial (Windows 95), MIDI and even by the sequencer itself (when the total hold time for the current scene has passed, the sequencer selects the next one). The LanBox-LC II firmware collects the scene data from its memory.

The scene data is passed to the Sequencer / Transition manager unit, that will make the calculations for the transitions and updates the Sequence buffer every 50 ms at 20 FPS (100 ms when at 10 FPS).

A scene can also be loaded through AppleTalk (LCedit, XCMDs, MAX externals), serial (Windows 95) and MIDI. You can only edit a scene after it has been loaded.

We now have two buffers holding data. The Mode / control buffer also controls the EDIT and SEQ switches. These switches can be set globally and for each individual light channel (these are then called exceptions). If the EDIT switch is closed for a light channel, the data from the Edit buffer will go to the output buffer. If the SEQ switch is closed for a DMX channel, the data from the Sequence buffer will go to the output buffer. If both switches are closed (called the MIX mode), the LanBox-LC program will take the highest value of the two buffers and put that value in the output buffer.

The output buffer can be read through AppleTalk and serial (not through MIDI). The Mode / control buffer can be written into through AppleTalk and serial and MIDI. When the MIDI software in the LanBox-LC is activated, the Mode / control is set to the MIX mode

The values that are to be written to the Mode / control buffer to set the switches are:

  • 0: No exception
  • 1: Disabled SEQ exception
  • 2: Disabled EDIT exception
  • 3: Disabled MIX exception
  • 4: --
  • 5: Enabled SEQ exception
  • 6: Enabled EDIT exception
  • 7: Enabled MIX exception

The switches can be set different for each individual DMX channel, making the LanBox-LC II very flexible. At startup the Global Mode is set to SEQ with no exceptions, which is what is most commonly used with simple select scene commands. When you start experimenting with the modes, take it step by step. Each mode has its own effect and combinations can be very confusing.

 
 

  The operation of the LC+ firmware

When we ship a LanBox-LC we'll always load the latest LCII software into the box. When you want to use the new LC+ firmware, it needs to be installed with LCedit+. New versions of the LanBox-LC+ firmware will appear on our web site and can be downloaded for free. Although the LC+ firmware is much more complex then the LCII, the LC+ data flow diagram appears very simple.

LanBox-LC+ data flow
While the LCII uses the volatile memory to store mainly scenes, the LC+ has a fast file system in order to store and retrieve all kind of data. The file system made it possible to have variable number of channels in scenes, while the memory usage is very low.

An engine gets data delivered to it's light channel(s) as a result of a request from the sequencer to the file system or it's delivered by network or MIDI/serial commands. As a result of this, the status of a channel which has data will be "enabled" and (when "Auto Output" is on), the channel output is also switched on. As the result of new data, faders are started for each enabled channel .

The "Enabled" status of a channel marks that it is used and should be stored when inserting/appending/replacing a scene. The enabled status is cleared for all channels when the sequencer requests a new scene or by hand with the "clear engine" command.

When the output status of a channel is on, the data from the faders are fed into the mixer. The mixer works like layers in Photoshop and can be set for each layer (engine) to Copy, HTP, LTP and transparent mode. Engine A is the top layer (has the highest priority), while engine H is the lowest layer.

Note: Each engine has a master output switch, in order to override the channel output switches. If you turn off the auto output and the master output you can view/edit scenes while the data is not going to the mixer (blind editing).

Post processing
After the mixer the data of each light channel is mapped to a DMX channel (patcher), multiplied by the channel gain (channel masters), translated via a curve and limited in change rate (slope limiting). The resulting data is placed in the DMX output buffer and sent to the DMX cable 20 times per second.

The sequencers
Each engine has it's own sequencer in order to automate loading of scenes or do special actions. A so called step (there are maximal 99 steps per cue list) contain instructions for the sequencer and can hold scene data when it is a scene instruction. The LanBox-LC+ has many possible actions (see reference manual), but most of the time they will be just scenes.

Each scene load activates faders with the fade time of the step instruction and is independent of the hold time of the step. This makes it possible to start at a certain time with completely different fade times for different channels or have different fade-in and -out times for a cross fade.

Once a sequencer is enabled (Run) and it has been "Go"ed, it keeps sequencing until the end of a cue list. When the Chaser is set it can keep on going depending of the chaser mode.

 
  

 
To previous section, To next section 

Introduction | Getting started | Under the hood | MIDI&Serial | FAQ&Specs

  


Last updated: 31-07-2000
by: Fokko
Copyright 1997..2000 CDS advanced technology bv. LanBox is a registered trademark of CDS advanced technology bv. All other names referenced are the service marks, trademarks or registered trademarks of their respective companies.
Comments or suggestions: webmaster@cds.nl , Questions and info: info@cds.nl.