Function module

From wiki-en
Jump to: navigation, search
Function modul
Light on / off

Function module

General

A function module transmits commands to a DC-Car decoder by means of a short range IR communication (10-25cm).
There are 8 outputs available. Each of them sending a specific DC-Car command constantly.
These commands are send to IR LEDs which are placed in or beside the road.
The function module commands are working on each DC-Car without the use of their DCC adress.
So each passing DC-Car vehicle will react on the received signal.
As example: an IR LED send a "Headlight ON" command in front a tunnel entrance.
When leaving the tunnel a "Head light OFF" command is send. Now all cars passing the tunnel switch ON and OFF their head lights automatically.
Naturally it is also possible to send commands via switches or relays to the IR LEDs which brings a various vehicle traffic like in real life.

By using the dip switch on the function module, various command combinations are available on the eight output.
The ammount of combinations is still growing over the years (see the listing below).

Supply voltage can be 12V - 16V AC or 12 - 16V DC.
The outputs offer a current of max. 1A total, which brings the max. amount of connected IR LED to over 50 which is mostly more than enough to control an everage layout.

By using a diode-circuit with 1N400x diodes it is possible to transmit multiple commands on one single IR LED.
The Function module can be combined with S4-Car-Servodecoders for instance to get automatic direction indicators and speed changes. It can also be comined with our traffic light decoder to controll the flow of traffic on your layout.

Stop module (All switches ON)

If you set all dipswitches to ON. Function module becomes a Stop module which means all 8 outputs sending a stop signal.

Basic Commands A (dipswitch 1)

Dipswitch 1 must be set ON

1 = Speed at speed step 0 (stop)
2 = Head lights 1 ON
3 = Head lights 1 OFF
4 = Left indicator ON
5 = Right indicator ON
6 = Indicators OFF
7 = Speed at speed step 14
8 = Speed at speed step 28

Flashing Blue light vehicles B (dipswitch 2)

Dipswitch 2 must be set ON

1 = Speed at speed step 0 (stop)
2 = Hazard lights ON
3 = Hazard lights OFF
4 = Blue lights ON
5 = Blue lights OFF
6 = Front flasher ON
7 = Front flasher OFF
8 = Speed at speed step 28

Additional lights and speed C (dipswitch 3)

Dipswitch 3 must be set ON

1 = Light 2 ON
2 = Light 2 OFF
3 = Light 3 ON
4 = Light 3 OFF
5 = Speed + 2 steps (accelerate)
6 = Speed - 2 steps (slowdown)
7 = Speed at speed step 10
8 = Speed at speed step 21

Automatic parking D (dipswitch 4)

Dip switch 4 must be set ON

(Stop time adjustable with CV108, CV108 = 0: car needs a drive command to leave)
1 = Stop without direction indicators
2 = Stop with direction indicators on the left
3 = Stop with direction indicators on the right
4 = Stop with hazard lights
Drive off with driving position as specified in CV110 (indicator flashing time adjustable with CV109)
5 = Driving / accelerating without direction indicators
6 = Drive / accelerate with direction indicators on the left
7 = Drive / accelerate with direction indicators on the right
8 = Driving / accelerating with hazard lights

Automatic bus function E (dipswitch 5)

Dip switch 5 must be set ON
Commands E2 - E7 are only executed by vehicles that have
been configured as vehicle types 13, 14 or 15 in CV100!

1 = Speed at speed step 0 (Stop)
2 = Bus stop, direction indicators OFF, interior light OFF
3 = Bus stop, direction indicators OFF, interior light ON
4 = Bus stop, direction indicators right, interior light ON
5 = Bus stop, hazard lights ON, interior light ON (Flashing time adjustable in CV106)
(Stop time is set in CV103, indicator flashing time is set in CV106)
6 = Bus depatures with speed step as set in CV105 and direction indicators left
7 = Arrival at the bus stop with speed step as set in CV102 and direction indicators right (flashing time adjustable in CV101)
8 = Speed at speed step 0 (Stop)

Technic F (dipswitch 6)

Dip switch 6 on ON

1 = Sensors front (FTR) OFF
2 = Sensors front (FTR) ON
3 = Reed contact OFF
4 = Reed contact ON
5 = Light sensor OFF
6 = Light sensor ON
7 = Rear IR LEDs OFF
8 = Rear IR LEDs ON

Emergency vehicles G (dipswitch 7)

Dip switch 7 must be set ON

1 = Speed at speed step 0 (Stop)
2 = Blue lights and front flashers ON
3 = Blue lights and front flashers OFF
4 = Direction indicators left ON
5 = Direction indicators right ON
6 = Direction indicators OFF
7 = Speed in speed step 14
8 = Speed in speed step 28

Standard mix H (dipswitch 8)

Dipswitch 8 must be set ON

1 = Speed at speed step 0 (Stop)
2 = Light 1, direction indicators, blue lights and front flasher OFF
3 = Light 1 ON
4 = Direction indicators left ON
5 = Direction indicators right ON
6 = Blue lights and front flashers ON
7 = Speed at speed step 14
8 = Speed at speed step 28

Remote control I (dipswitch all OFF)

All switches must be set OFF

1 = Temporary stop (timing is set via CV108), direction indicator OFF
2 = Drive/accelerate after stop (time is out) with speed step from CV110 (e.g. 1), direction indicator OFF
3 = Speed +2 (accelerate CV 98)
4 = All lights OFF
5 = Direction indicator left (with CV27=64 direction indicator, right + left (same time) = hazard lights)
6 = Direction indicator right (with CV27=64 direction, indicator right + left (same time) = hazard lights)
7 = Head light 1 (with CV60 light 1, 2, 3 and 4 at the same time possible)
8 = Blue lights and front flashers/sound ON (alternative: switch to continuous light for another two lights)

MF3, MF4 and MF5 J (dipswitch 1+2)

Dip switch 1 + 2 must be set ON. Available from version: 1.10.2016

1 = Multi-function output (MF3) ON (light sensor)
2 = Multi-function output (MF3) OFF (light sensor)
3 = Multi-function output (MF4) ON (hall sensor)
4 = Multi-function output (MF4) OFF (hall sensor)
5 = Multi-function output (MF5) ON (feed back)
6 = Multi-function output (MF5) OFF (feed back)
7 = Speed at speed step 0 (Stop)
8 = Speed at speed step 0 (Stop)

Anti-collision system I K (dipswitch 1+3)

Dip switch 1 + 3 must be set ON. Available from version: 3.2020

1 = Speed at speed step 0 (Stop)
2 = Anti-collision: Switch OFF rear IR LEDs
3 = Anti-collision: Switch ON rear IR LEDs
4 = Direction indicators left ON
5 = Direction indicators right ON
6 = Direction indicators OFF
7 = Speed at speedstep 14
8 = Speed at speedstep 28

Anti-collision system II L (dipswitch 1+4)

Dip switch 1 + 4 must be set ON. Available from version: 3.2020

1 = Speed at speed step 0 (Stop)
2 = Headlights 1 ON
3 = Headlights 1 OFF
4 = Direction indicators left ON
5 = Direction indicators right ON
6 = Direction indicators OFF
7 = Anti-collision: Switch OFF rear IR LEDs
8 = Anti-collision: Switch ON rear IR LEDs

Speedsteps M (dipswitch 1+5

Dip switch 1 + 5 must be set ON. Available from version: 3.2020

1 = Speed at speed step 0 (Stop)
2 = Temporary stop
3 = Speedstep -2
4 = Speedstep +2
5 = Speed at speed step10
6 = Speed at speed step14
7 = Speed at speed step21
8 = Speed at speed step28

Parking N (dipswitch 1+6)

Dip switch 1 + 6 must be set ON. Available from version: 3.2020

1 = Speed at speed step 0 (Stop)
2 = Headlight 1 ON
3 = Headlight 1 OFF
4 = Temporary stop without hazard lights
5 = Temporary stop with hazard lights
6 = Temporary bus stop without hazard lights and interiour light
7 = Anti collision: Switch OFF rear IR LEDs
8 = Anti collision: Switch ON rear IR LEDs

Trailer 1 O (dipswitch 1+7)

Dip switch 1 + 7 must be set ON. Available from version: 1.3.2020

1 = Speed at speed step 0 (Stop)
2 = Headlight 1 ON
3 = Headlight 1 OFF
4 = Blue lights ON
5 = Front flasher ON
6 = Blue lights and front flasher OFF
7 = Anti collision: rear IR LEDs OFF
8 = Anti collision: rear IR LEDs ON

Trailer 2 P (dipswitch 1+8)

Dip switch 1 + 8 must be set ON. Available from version: 1.3.2020

1 = Speed at speed step 0 (Stop)
2 = Light 3 ON
3 = Light 3 OFF
4 = Blue lights ON
5 = Front flasher ON
6 = Blue lights and front flasher OFF
7 = Anti collision: rear IR LEDs OFF
8 = Anti collision: rear IR LEDs ON

Speed + direction indicators Q (dipswitch 2+3)

Dip switch 2 + 3 must be set ON. Available from version: 29.4.2020

1 = Speed at speed step 0 (Stop)
2 = Speed at speed step 10
3 = Speed at speed step 21
4 = Direction indicator left ON
5 = Direction indicator right ON
6 = Direction indicators OFF
7 = Speed at speed step 14
8 = Speed at speed step 28

Temporary stop R (dipswitch 2+4)

Dip switch 2 + 4 must be set ON. Available from version: 29. April 2020

1= Speed at speed step 0 (Stop)
2= Temporary stop CV108 Fahrzeug D1 indicators OFF
3= Temporary stop CV103 BUS E3 no indicators interiour light ON
4 = Direction indicator left ON
5 = Direction indicator right ON
6 = Direction indicators OFF
7 = Speed at speed step 14
8 = Speed at speed step 28

Blue lights and anti collision S (dipswitch 2+5)

Emergency vehicles Connection = command
Dip switch 2 + 5 must be set ON. Available from version: 25.6.2020

1 = Speed at speed step 0 (Stop)
2 = Temporary stop with hazard lights recommended CV108=0
3 = Depart with left indicator ON
4 = Blue lights ON
5 = Blue lights and front flasher OFF
6 = Frontflasher ON
7 = Anti collision: rear IR LEDs OFF
8 = Anti collision: rear IR LEDs ON

Lights and blue lights T (dipswitch 2+6)

Emergency vehicles Connection = command
Dip switch 2 + 5 must be set ON. Available from version: 25.6.2020

1 = Speed at speed step 0 (Stop)
2 = Headlight 1 ON
3 = Headlight 1 OFF
4 = Direction indicator left ON
5 = Direction indicator right ON
6 = Direction indicator OFF
7 = Direction indicator left ON
8 = Direction indicator left OFF

Automatic bus function Plus U(Schalter 2+7)

Busautomatik Connection = command
Dip switch 2 + 7 must be set ON. Available from version: 15.8.2020
Functions E2 - E7 only for vehicle type 13, 14 or 15 in CV100!

1 = Speed at speed step 0 (Stop)
2 = Temporary bus stop, indicator OFF, interiour light OFF
3 = Temporary bus stop, indicator OFF, interiour light ON
4 = Temporary bus stop, right indicator ON, interiour light ON
5 = Temporary bus stop, hazard lights ON, interiour light ON
6 = Anti collision IR LEDs rear OFF
7 = Enter the bus stop with speed in CV102 and right direction indicator (flashing time in CV101)
8 = Anti collision IR LEDs rear ON

Automatic functions (dipswitch 2+8)

Dip switch 2 + 8 must be set ON. Available from decoder version: 11.2020

1 = Firebrigade 1st magnet
2 = Firebrigade 2e magnet
3 = Firebrigade column
4 = Bus 1st magnet
5 = Bus 2e magnet with hazard lights
6 = Bus departure
7 = Bus column
8 = Stop

Lane controll (dipswitch 3+4)

Dip switch 3 + 4 must be set ON. Available from version: 6.2023

1 = Right lane (1)
2 = Middle lane (2)
3 = Left lane (4)
4 = Special lane (8)
5 = not used
6 = Lane controll (0) OFF
7 = DC-Car anti collision OFF
8 = DC-Car anti collision ON

Lights ON (dipswitch 3+5)

Dip switch 3 + 5 must be set ON. Available from version: 15.8.2021

1 = Speed at speed step 0 (Stop)
2 = Head lights ON
3 = Light 2 ON
4 = Light 3 ON
5 = Blue lights ON
6 = Front flasher ON
7 = Speed at speed step 14
8 = Speed at speed step 28

Special functions I (dipswitch 3+6)

Dip switch 3 + 6 must be set ON. Available from version: 3.2023

1 = Speed at speed step 0 (Stop)
2 = Speed at speed step 1
3 = Light 2 ON
4 = Light 2 OFF
5 = Light 3 ON
6 = Light 3 OFF
7 = Speed at speed step 10
8 = Speed at speed step 21

Special functions II (dipswitch 3+7)

Dip switch 3 + 7 must be set ON. Available from version: 1.12.2021

1 = Speed at speed step 0 (Stop)
2 = Temporary stop with indicators OFF
3 = Speed at speed step 21
4 = Direction indicators left ON
5 = Direction indicators right ON
6 = Direction indicators OFF
7 = Speed at speed step 14
8 = Speed at speed step 28

Driving backwards (3+8)

Dip switch 3 + 8 must be set ON. Available from version: 3.2023

1 = A1 Speed at speed step 0 (Stop)
2 = D1 Temporary stop with indicators OFF
3 = D4 Temporary stop with hazzard lights ON
4 = C6 Speed at speed step -2
5 = C7 Speed at speed step 10
6 = B6 Front flashers/sound ON
7 = B7 Front flashers/sound OFF
8 = A8 Speed at speed step 28

IR-LED on/in the street

Mounting of the IR-LED on the site:

The IR-LED is placed in or nearby the street in such a way that the cars can "see" the IR-light, emitted by the LED and execute the transmitted function at the intended place.
The IR-LED must be adjusted in a way, that the approaching vehicles can "see" it. On a straight line the vehicles detect the desired function in a distance of approx. 5 - 15cm from the LED
Sometimes a IR-LED influences the traffic on a parallel line too. In this case you can either increase the series resistor to decrease the range of the IR-signal or mount the LED into the street in a way that its IR beam lights vertical only. If you do the second, please use LED with a wider angle of reflection. Distance of the LEDs shoul be 5 - 10cm, but it is highly recommended to test it in every single case!

When the car passes the first LED it will start slowing down - an when it reaches the second LED in most cases it is that slow,
that it can come to a stop right there.
Using cars with a significiant lag it can be neccessary to use more LEDs

The LEDs are connected to the same connector, each ussing its own series resistor.

Remote control

Instead of function module I:
To make it easy for you we produce a battery powered remote control: MF plus.
The Plus version has build in test functions which can be used with the optional test set. These test functions have proved to be very usefull when building vehicles.
You can test polarity and working of LEDs as well measuring short circuits.
With the foto transistor (include in the set) your able to check the working of the IR LEDs at the back of the vehicles as well IR signals along the road.
And with the remote control it self your able to test the fototransistors at the front and the correct operation of the decoder and vehicle.

Function decoder

Function decoder

Using the function module in DCC mode with a digital center

A function module can be extended with a digital input. After extension the function module becomes a function decoder.
This enables switching the 8 outputs from a digital center using the addresses 1-8, (9-15), etc.
Note: All LEDs on each output are switched ON or OFF together! Especially in combination with other functions, like switching the light output makes sense.
The decoder can be used in the same way as the module, but offers the possibility to switch the 8 outputs separately by means of 8 digital addresses.


- central switching of "stop" for emergency OFF
- central switching of light for day-/night mode

Direction indicators are controlled by feedback sensors of junctions, lights are controlled by a digital addresses

Day/night control with a function decoder other functions still can be controlled by switches