RAILWAYS v3.0.8 Official English Documentation
May 1997
A model railroad design software
with digital control module
(for PC 80286 or above)
Distributed as Freeware
Developed by © Sébastien MARCHANT
Toulouse - France, 1993-1997
|
* Last updated : May, 14th 1997 *
[Document best viewed
with NetScape browser]
Availability :
Important notes :
- All that follows is the official English documentation for RAILWAYS 3.0.8,
May 1997.
- RAILWAYS software is available in English, French, Dutch, German and Swedish
in several separated packages. Note that there is only an English
documentation and an English Inline-Help, even in the French, Dutch, German and
Swedish versions (as of May 1997).
Nevertheless, some Railways users can send me translation of the documentation,
or parts of it. They will be available as user contributions (see
FTP in the UserContrib directory).
- PLEASE, READ THIS DOCUMENTATION THROUGHOUTLY !
- Don't forget to send me a postcard if you find Railways software
quite useful to design model railroad layouts and to control them with the
digital module.
(See above address)
Table of Contents
FORWARD : LEGAL NOTICE
Software : RAILWAYS, version 3.0.8 of May 1997, hereinafter
referred to as "the software".
The software has been designed and produced by Sébastien Marchant
(Toulouse, FRANCE) who holds all ownership rights to RAILWAYS from
version 0.10 to version 3.0.8.
- Reproduction of the software
Sébastien Marchant grants any user of the software the right to
reproduce it so as to circulate it. Any copy of the software and/or relevant
documentation must comprise reference to the ownership of Sébastien
Marchant,
especially the present section : forward : legal notice.
The user undertakes not to carry out any paying distribution of the
software. However, he is authorized to bill any person or body for the
cost of reproduction of said software. As regards any other type of
distribution, the user undertakes to apply to obtain the express
approval of Sébastien Marchant.
- Guarantees
Please note that the software is a product currently being developed.
Sébastien Marchant shall not be responsible in any way concerning
conformity, and in particular shall not be liable should the software
not comply with the requirements of the user, Sébastien Marchant not
being obliged to repair any possible direct or indirect damage.
Back to Table of Contents
LICENSE AND ADDRESS
This software package is Freeware, that is FREE OF CHARGE.
Or I should say Postcardware : you are supposed to send me a
postcard from your country in order to "pay" your registration !
But if you think it is worth being used, you can send me
French Francs or US Dollars, in order to
support improvements.
Please write to :
Sébastien MARCHANT - RLW Software
21, rue AUVRAY
72 000 LE MANS
FRANCE
Back to Table of Contents
INTRODUCTION
RAILWAYS is a Freeware software
to help you to design model
railroad track plans and to control them with the digital module for
Maerklin Computer Interfaces 6050, 6051 and 6023.
It can be used by any model railroader,
using any kind of tracks (Maerklin, Fleischmann, Jouef, Lima, Roco,
Altas, LGB, ...) and for any scale (HO, N, O, Z or whatever you want)
since you build your own database (DAT file)
with a tool software : SETUPRLW.
You can edit your tracks, define a workbench,
add rectangles, circles, signals and turntables, add texts
and annotations, and above all you can add flextracks with
accuracy.
Many tools are provided : 'copy, paste & delete' possibilities,
load and merge parts of layout, translation, rotation, choice of colours,
material list, printer interface for HP-LaserJet, HP-DeskJet and
Epson-compatible. PostScript, DXF (for AutoCAD, or other programs that
can import DXF files) and BMP files can be also exported.
Please, if you have any suggestions, comments, criticisms or
problems, send me an email, or post an article to rec.models.railroad,
or write me a letter. So I can improve this software.
Please, report the bugs you may find... Thanks a lot.
Don't forget to send me a postcard (or French Francs or US Dollars if you
wish) if you
find Railways software quite useful to design model railroad layouts and to
control them.
If you want to contact me, follow this link (if it still exists...) :
http://www.mis.enac.fr/ancien/marchant/
* Thanks again to use RAILWAYS *
Back to Table of Contents
HISTORY
- May 1997 : RAILWAYS 3.0.8 (upgrade for v3.0.4)
- digital support for feedbacks
- sound support for SoundBlaster Card and compatible (VOC format)
- new flextrack management
- a few other improvements
- January, 6th 1997 :
- October 1996 : RAILWAYS 3.0.4 (patch for v3.0 and v3.0.1)
- digital support for 3-way switches and uncouplers
- possibility to update tracks and others in a Digital layout file
(like in a LYO file)
- two new languages : Swedish and Danish
- new DAT Files
- a few other improvements
- June 1996 : RAILWAYS 3.0.1 (patch for v3.0)
- Mouse Module was re-written for supporting VESA-SVGA modes with ANY
mouse driver. A special mouse driver driver is not necessary for
VESA-SVGA modes.
- the Dutch version is released
- the German version is available and released
- the Swedish version will be available soon
- May 1996 : RAILWAYS 3.0
- VESA-SVGA supports : 800x600, 1024x768 and 1280x1024 (need a special
mouse driver)
- printer outputs : HP LaserJet, HP DeskJet and Epson compatible
- a new mode of drawing tracks (much better...)
- a popup menu for an easier navigation through RAILWAYS menus
- Maerklin Digital support for Computer Interfaces 6050, 6051 and 6023
- support for asymmetric 3-way switches
- a little undo function
- hard drives autodetection
- an easy-to-use workbench function for rectangular board
- new DAT files
- better DXF files : line-styles, layers, ... and less bugs !
- a Dutch version is now available (May 1996)
- many other things and fixes
- October 1995 : RAILWAYS 2.04
- above all, a maintenance release, because some bugs were found in the
'Selection' module which caused General Protection Error (code 216)
- possibility to define a workbench or a layout border
- exporting to POSTSCRIPT file (good results...)
- exporting to DXF file for AutoCAD users (need to be improved...)
- automatic track reference annotation
- new features thanks to mouse double-click
- annotations can be of different size
- more DAT files (many thanks to all senders...)
- DPMIINST.EXE included for 80286 users
- many presentation image files available in FTP host
- many other things
- March 1995 : Result of January IBM software contest....
- I just 'received' a demo of OS/2 Warp... Please, react !!!
- February 1995 : RAILWAYS 1.08
- all graphical functions rewritten to fix some little bugs (gap
between two elements of some rails...)
- signals and turntables
- 12 characters for References (instead of 10)
- different line-styles and width for rails (dotted, cut, ...)
- annotation with arrows
- no more RLW for 8086, only for 80286 (or 80287) and above
- personnal directory on FTP host : ftp.eis.enac.dgac.fr (pub/Railways/)
- World Wide Web connection files opened and maintained
- many other things
- January 1995 : RAILWAYS 1.07 for an IBM software contest in France.
- French version !!!
- fix some little bugs
- a few things
- results of contest in March 1995...
- December 1994 : RAILWAYS 1.06
- 'Copy, Paste & Delete' possibilities
- Load and Merge parts of layout
- Check if already two links
- Code reduced in some modules
- Numeric Coprocessor possibilities
- Fix a bug with mouse in Protected Mode
- Upgrade tool for 0.10 and 1.04 files
- World Wide Web connection files (for January 95)
- Ftp host
- fix some bugs
- many things else
- October 1994 : RAILWAYS 1.04
- flextrack (many people told me to add it, but it
was mathematically really complex : polynoms,
interpolation, equations, Gauss resolution and
many other things!)
- SETUPRLW (better than old MEMODAT)
- crossing, double junction
- annotations
- hypertext help file
- better README.TXT
- fix some bugs
- many things else
- June 1994 : RAILWAYS 0.12
- EGA or VGA screen
- protected mode application (using XMS)
- compressed files when saving layouts
- fix some bugs
- many little improvements
- April 1994 : RAILWAYS 0.10
- only for VGA screen
- real mode application (no XMS)
- database creation (MEMODAT)
- edit tracks (but with no crossing)
- known bug in double junction
- rectangles and circles
- May 1993 : the idea to develop a software for model railroaders.
- 1992 : I started to learn computer science and electronics
at the ENAC (Ecole Nationale de l'Aviation Civile - French National
School of Civil Aviation), in Toulouse, FRANCE.
- 1990 : I had to move because of studies -> layout in a box!
- 1976-1990 : my layout became wider and wider.
- 1976 : my first eletric layout.
- May, 10th 1971 : my date of birth...
Back to Table of Contents
I. REQUIREMENTS AND INSTALLATION
- I.1. Requirements :
RAILWAYS only runs on IBM-PC or Compatible, 80286 or above,
with an EGA, VGA or VESA-SVGA graphics adapter, color monitor,
and a Microsoft compatible mouse,
with DOS 3.3 or higher, Win3.1 or Win95 (OS/2 was tried with success).
With a PC-emulator, RAILWAYS can be run on a MAC.
The available graphics modes are :
- EGA 640x350 16 colours
- VGA 640x480 16 colours
- SVGA 800x600 16 colours
- SVGA 1024x768 16 colours
- SVGA 1280x1024 16 colours (may not work with all video cards)
Default mode is VGA, but you can choose the mode you want in the
configuration file named RLW-US.CFG. (See section VI.)
SVGA modes are available for VESA compatible video cards.
The mouse driver must be loaded before RAILWAYS is launched.
See SVGAMODE.TXT to configure RAILWAYS in VESA-SVGA graphics mode.
If you want to use the sound support (only for SoundBlaster and compatible) when
running the digital module, please read SOUNDS.TXT.
Some environment variables are used by RLW in the following order :
TEMP, TMP. This represents the path to the temporary directory for swap.
In your AUTOEXEC.BAT, you should have :
SET TEMP = [drive\directory for temporary files]
e.g. : SET TEMP = C:\WINDOWS\TEMP
If one of these variables is not declared (or not well declared),
RAILWAYS considers C:\ as the temporary directory for swap.
Note that current version of RAILWAYS creates only one swap file named
_RLW_RLW.TMP in the temporary directory.
If you want, you can add the following line in your AUTOEXEC.BAT,
but it is not necessary :
SET RAILWAYS = [drive\directory where RLW is found]
e.g. : SET RAILWAYS = C:\TOOLS\TRAINS
Important notes :
- RLW can hang your system when used in conjonction with EMM386.EXE...
- RAILWAYS package has been tested with many anti-virus programs such as
F-PROT, and was totally clean.
I.2. Installation under MSDOS, Win3.1 and Win95 :
RAILWAYS v3.0.8 is stored in a compressed archive (ZIP file) named
RLW308US.ZIP. Uncompress this file with the following command :
PKUNZIP -d RLW308US.ZIP or something similar
(maybe you use WinZIP).
This will restore the SOUNDS\ directory needed by RAILWAYS, where VOC
sound files are located.
RAILWAYS is a DOS-based program. Nevertheless, it can be launched in
Win3.1 and Win95 either from a DOS session or from the
file-manager/desktop.
Read your Windows manual for further information.
A DOS mouse-driver must be loaded before running RLW.
Read SVGAMODE.TXT to configure RAILWAYS in VESA-SVGA graphics mode.
Read SOUNDS.TXT to configure RAILWAYS sound support for SoundBlaster Cards
or compatible.
I.3. Running RAILWAYS :
To run RAILWAYS, launch RLW.EXE (or RLW86.EXE) and wait for loading...
Do not forget to load the mouse driver before running.
You are now in RAILWAYS.
If you want to skip the image presentation (get bored!), add on the
command line '/S' or '-S'.
e.g. : RLW.EXE /S
If you want to view this image without any text (for capture...), add
on the command line '/P' or '-P'.
e.g. : RLW.EXE /P
If you want to view another image (that can be found at ftp.mis.enac.fr
in /pub/Railways/FNDFiles), add on the command line '/Iname_of_FNDimage' or
'-Iname_of_FNDimage'. The default image is IMAGE.FND.
e.g. : RLW.EXE /ISTEAM.FND
The .FND extension can be forgotten...
The FND format is a special image format imagined by me to be read as fast
as possible.
Email me if you want more information on FND format.
I.4. Files in RLW308US.ZIP :
- Primary Files :
- RLW.EXE : RAILWAYS software for Numeric Coprocessor (80287 or better),
in Protected Mode (using extended memory).
- RLW86.EXE : RAILWAYS software (80286 or better), in Protected Mode.
- RLW-US.CFG : RAILWAYS configuration file.
- RLW-US.HLP : RAILWAYS hypertext help file (Inline help).
- RLW.ICO : RAILWAYS icon (for Windows).
- ICONES.GPH : Icons library for RAILWAYS.
- IMAGE.FND : Presentation image.
- SETUPRLW.EXE : Database builder (DAT file).
- UPGRDRLW.EXE : Software to upgrade 2.04 files (DAT and LYO).
- DPMI16BI.OVL : DOS Protected Mode Interface from Borland.
- RTM.EXE : Run time Manager from Borland.
- Documentation :
- README.TXT : Documentation file (ASCII format).
- SVGAMODE.TXT : Documentation for installing VESA-SVGA modes.
- SOUNDS.TXT : Documentation for sound support.
- UNCOUPLR.TXT : Uncouplers support (v3.0.4 new feature).
- MIRRORS.TXT : List of Mirror Sites for RAILWAYS.
- HTML-DOC.ZIP : Documentation in HTML format (ZIP archive).
- Track's Databases :
- ARNOLD-N.DAT : Arnold N.
- ATLAS-HO.DAT : Atlas HO C100.
- ATLAS-N.DAT : Atlas N.
- FMANN-HO.DAT : Fleischmann Profi HO.
- FMANN-N1.DAT : Fleischmann N (#1).
- FMANN-N2.DAT : Fleischmann N (#2).
- FRATESCH.DAT : Frateschi (Brazil).
- HRNBYOO1.DAT : Hornby OO Imperial.
- HRNBYOO2.DAT : Hornby OO gauge.
- JOUEF-HO.DAT : Jouef HO.
- KLEINBHO.DAT : Kleinbahn and Klein Modellbahn.
- LGB-IIM.DAT : LGB IIm.
- LIMA-HO1.DAT : Lima HO 'Nickel Silver'.
- LIMA-HO2.DAT : Lima HO 'Standard' or 'Blister'.
- LIONLO27.DAT : Lionel O-27.
- MARKALPH.DAT : Maerklin Alpha.
- MARKHUB1.DAT : Maerklin-Hubner I.
- MARKLINC.DAT : Maerklin C-HO.
- MARKLINK.DAT : Maerklin K-HO.
- MARKLINM.DAT : Maerklin M-HO.
- MARKLINZ.DAT : Maerklin Z.
- MARKMODM.DAT : Maerklin 3800-3900.
- MINITRXN.DAT : Minitrix N.
- PECO-HO.DAT : Peco HO Setrack.
- PECO-N.DAT : Peco N.
- PIKO-HO.DAT : Piko HO 'Standardgleis'.
- PILZ-TT1.DAT : TT standard #1 (Hungary).
- PILZ-TT2.DAT : TT standard #2 (Hungary).
- RIVA-HO.DAT : Rivarossi HO.
- ROCO-HO.DAT : Roco Line HO.
- ROCO-N.DAT : Roco N.
- ROCO2-5.DAT : Roco 2.5 (old tracks).
- ZEUKE-TT.DAT : Zeuke TT (Poland).
- Examples :
- CANTONS.LYO : for MARKLINM.DAT.
- EX774.LYO : for MARKLINM.DAT.
- EX964.LYO : for MARKLINM.DAT.
- GEOMETRZ.LYO : for MARKLINZ.DAT.
- KOMBI-K.LYO : for MARKLINK.DAT.
- MINICIRC.LYO : for JOUEF-HO.DAT.
- SET123-*.LYO : for MARKLINM.DAT.
- TURNTABL.LYO : for MARKLINM.DAT.
- CANTONS.DCC : for MARKLINM.DAT and for Maerklin Digital Module
- Maerklin K-2275 switch Digital support :
- MARK2275.DAT : part of Maerklin K-HO (MARKLINK.DAT)
- MARK2275.LYO : layout containing K-2275 in four parts
- MARK2275.DCC : Digital layout containing K-2275 in four parts
- Example of a large and great layout (made by Bo Aslund - Sweden) :
- ASLUND.DAT : the DAT file.
- ASLUND.LYO : the layout.
- Additionnal Files :
- PRESENTE.VOC : Presentation VOC sound file
- SOUNDS\ directory : Directory where VOC sound files must be located for
locos management (Digital Module).
See also SOUNDS.TXT.
- TESTVOC.EXE : Program to test VOC format compatibility with RAILWAYS.
- DPMIINST.EXE : Required by 80286 users or emulators.
Note : You can also find a version of RLW86.EXE named RLWNOXMS.EXE
which can be run on 8086 processors or required by MAC users running a
PC emulator (see RLWNOXMS.ZIP on Master FTP Site).
I.5. Upgrading RLW files to this new version :
Because of changes in file formats, you must upgrade all the
files you have made with previous RAILWAYS versions.
If you want to know the version number of a LYO file, type
at DOS prompt : 'TYPE filename.LYO'. You should read only this line :
[FICHIER DE SAUVEGARDE POUR RAILWAYS X.YZ] where X.YZ is the version
number.
To upgrade, use UPGRDRLW.EXE.
- If you use RLW 2.04 :
To upgrade a DAT file, select the DAT conversion and give
its name.
To upgrade a LYO file, select the LYO conversion and give
its name.
- If you use an older version than RLW 2.04 :
Sorry, but compatibility with older versions is not supported...
If you really want to upgrade your not 2.04 files, send me an email.
Maybe I could do something...
- If you use RLW 2.04, v3.0, v3.0.1 or v3.0.4 :
If you want to use the new possibility for uncouplers (from v3.0.4),
please read UNCOUPLR.TXT text-file.
Back to Table of Contents
II. RAILWAYS USER INTERFACE
RAILWAYS is divided into several icons bars in the upper
part of the screen. Each icons bar offers specific possibilities,
which are presented below.
You can access these bars either by selecting the proper icon, or
by clicking the right mouse-button which proposes a popup menu.
Some useful information are displayed in the lower part of the
screen such as the current reference, the length of current flextrack,
the current line-mode and width of rails, length of current selected
tracks, and a little help with
instructions... So always have a look at this part of the screen !
Press F1 for the Inline Help.
- II.1. 'Main RAILWAYS' icons bar :
? (AltH) : Presentation and Help on RAILWAYS.
Editor (AltE) : Edit tracks, flextracks, workbench,
accessories and annotations.
Disk Access (AltD) : Load, merge and save layouts, and load DAT Files.
Export (AltX) : Export to PostScript, DXF, BitMap files and printers.
Information (AltI) : Show and print current state of layout.
Digital Ctrl (AltC) : Digital Control Module.
Return to OS (AltR or [ESC]) : Exit RAILWAYS.
- II.2. 'EDITOR' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Main icons bar.
Bench (AltB) : Define a workbench.
Icon Tools (AltT) : Rotate layout, change scale, restart layout.
Icon Accessories (AltA) : Add rectangles, circles, signals,
turntables, annotations, arrows.
Straight (AltS) : Choose a reference of a straight rail.
Curved (AltC) : Choose a reference of a curved rail.
Switch (AltW) : Choose a reference of a switch.
Refs (AltR) : Choose a reference among the 8 last selected ones.
Width (AltD) : Change the half-width of track.
- II.3. 'DISK ACCESS' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Main icons bar.
Icon Load LYO (AltL) : Load or include a layout from disk.
Warning : all previous data will be lost
if you don't choose to merge !
Icon Save LYO (AltS) : Save current layout.
Type the name you want.
Warning : extension of file will always be
'.LYO', whatever you type as
extension.
Icon Load DAT (AltD) : Load a DAT File from disk.
Warning : all previous data will be lost !
Current DAT File (AltC) : Show current DAT File contents.
- II.4. 'EXPORT' menu :
RAILWAYS can export layouts to PostScript, DXF, BitMap formats and
some printers.
- PostScript file :
The whole layout is taken into account, with the current trace-mode
(simple or double), and the page is optimized (you have the choice
between 9 page-formats...)
Warning : Do not put characters from ASCII-128 to
ASCII-255 (e.g. accentuated char.) in your texts because they are
replaced by blank characters, when saved in a PostScript file...
- DXF file :
The whole layout is taken into account, always with Simple
trace-mode and without annotations.
Uncouplers will look like default track...
Warning : Thickness is not in the XY plan,
but Z-based.
- BitMap file (BMP) :
Only the part of layout on the screen is taken into account, since
it is a screen dump (you have to choose before, what you want to
print)
Results are better if you use a high graphics mode
(eg : Vesa 1024x768).
- Printer outputs :
Only the part of layout on the screen is taken into account, since
it is a screen dump (you have to choose before, what you want to
print). Printer outputs are supported for HP LaserJet,
HP DeskJet and Epson compatible.
Results are better if you use a high graphics mode
(eg : Vesa 1024x768).
- II.5. 'LAYOUT INFORMATION' menu :
Once you have finished to design your layout, you can display
and print all the references you have used, with the total
length of layout and the dimensions.
So you can go to your favourite model shop and buy your tracks.
- II.6. 'ACCESSORIES' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Editor icons bar.
Annotations (AltA) : Annotate layout.
Rectangle (AltR) : Draw a rectangle with base length and
width you choose.
Circle (AltC) : Draw a circle with radius you choose.
Signal (AltS) : Add a signal.
Turntable (AltT) : Add a turntable.
Delete All (AltD) : Delete all accessories.
- II.7. 'ANNOTATIONS' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Accessories icons bar.
Add Text (AltA) : Add annotation to layout.
Rescale Texts (AltR) : Rescale annotations.
Arrow (AltW) : Add an arrow.
Delete All (AltD) : Delete all annotations.
- II.8. 'FLEXIBLE' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Editor icons bar.
User-Defined Flex (AltU) : Add a new flextrack.
Straight Flex (AltS) : Add a new straight flextrack (length).
Curved Flex (AltC) : Add a new curved flextrack (radius, angle).
- II.9. 'TOOLS' icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to Editor icons bar.
Icon Big Ladder (AltZ) : To increase scale.
If you press the right button of your mouse, the
increasing is 5 times faster than if you press the
left button.
Rem. :
Why a ladder ? Just because scale and ladder
have the same French translation : échelle.
Icon Small Ladder (AltA) : To decrease scale.
If you press the right button of your mouse, the
decreasing is 5 times faster than if you press the
left button.
Icon +-Beta deg. (AltW) : To rotate layout with a given angle in
degrees (positive or negative).
Icon +-90 deg. (AltV (+) or AltB (-)) : To rotate layout.
If you press the right button of your mouse, the
rotation is -90 deg; if you press the left one,
it's +90 deg.
Grid (AltG) : Draw a grid on screen (toggle icon).
Grid Step (AltR) : Define a new grid step.
New Layout (AltN) : To restart a new layout. All data will be lost !
Selection (AltS) : Copy, Paste & Delete facilities.
- II.10. 'SELECTION' Icons bar :
? (AltH) : Help.
<< ([ESC]) : Back to previous icons bar.
Sector (AltS) : Select all rails, flextracks, accessories
and annotations from a user-defined area.
Copy (AltC) : Copy selection.
-> Rail (AltR) : Move selection to a rail.
-> Point (AltP) : Move selection to a point.
Delete (AltD) : Delete selection.
Clipboard (AltB) : Show clipboard (overall blinking selection view).
Clear (AltL) : Clear selection but do not delete.
- II.11. 'WORKBENCH' Icon bar :
? (AltH) : Help.
<< ([ESC]) : Back to Editor icons bar.
Rectangular Bench (AltR) : Create a rectangular workbench.
Complex Bench (AltC) : Create a complex workbench.
Edit Measures (AltM) : Edit vertices attributes of the workbench.
Move (AltV) : Move the workbench around layout.
Delete (AltD) : Delete the workbench.
- II.12. USEFUL KEYS :
- F1 : Help on RAILWAYS.
- F2 : Save LYO-layout with current name.
- F3 : Refresh screen.
- F4 : Zoom with mouse.
- F5 : Center layout with current rail.
- F6 : Automatic centering (overall view).
- F7 : Current Reference = Current Rail.
- F8 : Comparison between two rails : click on two rails,
considering rail-end (see [<,>] and [TAB] keys), then press F8.
- F9 : Grid (toggle key)
- AltF9 : New grid step.
- F10 : Zoom in.
- AltF10 : Zoom out.
- AltF1 : Memory Status.
- [C] : Center layout with current mouse position.
- [BackSp] : Undo last deleted rail, flexible, accessory
or annotation.
- [ENTER] : Change trace-mode (Simple=OFF, Double=ON) (toggle key).
- [SPACE] : Add a rail to layout from the end of the current rail.
- [SHIFT]+[SPACE] : Add a rail to layout from a user-defined point.
- [F] : Add a rail to layout from the closest flextrack-end near the mouse.
- [DEL] : Delete selected rail.
- [<,>] : Change switch direction.
- [TAB] : Change rail orientation.
- [MOUSE]+L : Change line-mode of rail (different dotted lines).
- [MOUSE]+B : Change width-mode of rail (normal or large lines).
- [ESC] : Back to previous icons bar.
- [CTRL] : Go to 'Copy, Paste and Delete' icon bar.
- [Alt]+X : Restart a new LYO-layout.
- [Arrows] : Move around layout.
- [SHIFT]+Mouse : Move Accessory and Annotation.
- [ALT]+Mouse : Delete Track, FlexTrack, Accessory and Annotation.
- [ALT]+Key : Go to Icon name (underlined char.)
Examples : AltE -> Editor; AltW -> Switch.
I suggest you to copy these keys on a paper and put it in front of you.
- II.13. Digital Control Module
(short overview)
The Digital Control Module is only for the Maerklin Computer Interfaces
6023, 6050 and 6051. It allows you to control 256 switches, signals and
uncouplers, 80 locos (speed, functions, direction) and 496 feedbacks on the
tracks.
If you use Maerklin Interface 6023, be sure to set it to BINARY MODE.
After designing your layout, you can
define your locos (address, name, sound, max.speed), your electros (signals,
switches and uncouplers addresses) and feedbacks (for instance Reed contacts)
using the RAILWAYS interface.
When running,
you turn switches or signals, and activate uncouplers with a simple
mouse-click and the retro-signalization shows you their active states.
You can accelerate, decelerate, start and stop the lights,
or uncouple (TeleX command) locos, play associated sounds with the same simple
mouse operation thanks to a multiple windows manager.
Thanks to the feedback retro-signalization, you can see in real-time
where locos are on your tracks.
For further information on the Digital Control Module,
please refer to section V.
Back to Table of Contents
III. CREATING TRACKS, FLEXTRACKS AND OTHERS WITH RAILWAYS
- III.1. Editing Tracks :
You have to be in 'EDITOR' or 'TOOLS' icons bar.
- select the reference of the rail you want to add :
Straight, Curved or Switch (e.g. : rail 'S 9999').
The current reference is in the lower left part of the screen.
- Then you have two options ; either :
- select the rail and the direction where 'S 9999' must
be added (if your layout is empty, it is not necessary : the
center of the screen is the default beginning point).
- press once [SPACE] to add 'S 9999' to your layout.
- or :
- move your mouse as close as possible to a flextrack end.
- press once [F] to add 'S 9999' to your layout.
- for a curved rail or a switch, you will be asked to choose
the position. So press [TAB] until you find it convenient (or
[ESCAPE] to cancel), then press [SPACE] to validate.
- each time you add a track, RAILWAYS checks if there are already
two connections and prompts if necessary.
- III.2. Selecting a rail and move around layout :
You have to be in 'EDITOR' or 'TOOLS' icons bar.
- to select a rail, click once with left button on it.
- to delete a rail, select it and press [DEL], or press [ALT] and
click on it simultaneously.
- to select direction, press [TAB] (the current direction has the
same colour as the selected part of the rail).
- to select part of a rail (in fact switch), press [<,>].
- to use automatic track reference annotating, double-click on a rail.
- to have information on a rail, keep your mouse pressed on it or
double-click on it.
- to move a rail or several rails, you must use
'Copy, Paste & Delete' possibilities.
- to move around layout, place your mouse on the point which will be
the new center of the layout on the screen, then press [C].
- to move around layout, you can also use the arrows of the keyboard.
- III.3. Editing FlexTracks :
You have to be in 'FLEXIBLE' icons bar.
You have the choice between three possibilities :
- Used-Defined Flex :
Choose the first connection type (rail, point or flextrack).
Then the second one...
Then a flextrack is created; you can retrace it with
mouse to shape it as you want.
- Straight Flex :
Choose the first connection type, then give the flextrack length.
If you decide to reshape the flex, length may change...
- Curved Flex :
Choose the first connection type, then give the flextrack radius and angle.
If you decide to reshape the flex, radius and angle may change...
To have information on a flextrack, double-click on it.
To delete a flextrack, press [ALT] and click on it simultaneously.
To move a flextrack or several flextracks, you must use
'Copy, Paste & Delete' possibilities.
- III.4. Creating a new Starting Point :
You have to be in 'EDITOR' or 'TOOLS' icons bar.
To create a new starting point, press simultaneously [SHIFT]
and [SPACE] then choose the new direction and follow the
instructions.
- III.5. 'Copy, Paste & Delete' possibilities
(Selection) :
When in 'EDITOR', 'DISK ACCESS', 'FLEXIBLE', or 'TOOLS'
icons bar,
press [CTRL] key to go to the 'SELECTION' icons bar (or click
on 'Selection' icon when in 'TOOLS' icons bar).
To add a rail or a flextrack to selection, click on it.
To remove an item from selection, press [ALT] and
click on it with left button.
You can press [SHIFT] and left button and keep them pressed and move
your mouse, to select several items more rapidly.
You can also use 'Sector' icon and draw a rectangle in which
everything will be selected.
- To move selection to a rail :
- you are asked to select a SELECTED RAIL : choose a rail
from the ones you have selected (select also its direction)
- then you are asked to select an UNSELECTED RAIL : choose a rail
from the ones you have not selected (select also its direction)
- To move selection to a point :
- you are asked to select a SELECTED RAIL : choose a rail
from the ones you have selected (select also its direction)
- then you are asked to select a POINT : choose a point and the
direction
- What you must know when moving :
- when you want to move the selection, there must be at least one
selected rail. If not, create a dummy rail and add it to the
current selection, then move selection to where you want and
delete the dummy rail. (it maybe a bit strange and difficult,
but try it!)
- there is NO check if you move selection where there are already
two links. So be careful !...
- III.6. Changing Line-style and Width :
You must be in 'EDITOR', 'FLEXIBLE', 'TOOLS' or 'SELECTION' icons bar.
- When in 'EDITOR', 'FLEXIBLE' or 'TOOLS' icons bar, you can
change line-style by selecting a rail or a flextrack,
and pressing L-key
simultaneously (press [MOUSE] and L-key simultaneously).
Width can be changed as well by selecting
a rail (or flextrack) and pressing B-key simultaneously.
- When in 'SELECTION' icons bar, select the rails and flextracks
you want, and press L-key to change their line-style or B-key to
change their width. See part III.5.
- When you select a rail or a flextrack, the default Line-style
and Width are changed to selected ones. In the lower left part
of the screen, you can see after the current reference what is
the current Line-style and Width coded as follows :
[number,2 char.,ON or OFF]
- 'number' is an integer from 1 to 4 for Line-style. 1 is normal
line, 2 is thin-dotted line, 3 is cut line, 4 is long-dotted line.
- '2 char.' are 'Nm' for normal width, and 'Br' for thick width.
- ON or OFF is the current state of drawing : complex (Double=ON)
or fast (Simple=OFF).
Examples : [2,Nm,ON] or [3,Br,OFF].
- III.7. Adding rectangles and circles :
You must be in 'ACCESSORIES' icons bar.
- To add a rectangle, give its length and its width, then place it where you
want (you can rotate it with [+,-] keys).
- To add a circle, give its radius and place it where you want.
- To move a rectangle or a circle, press [SHIFT] and click on it
simultaneously,
release [MOUSE] then [SHIFT], and move it with mouse.
- To delete a rectangle or a circle, press [ALT] and click on it
simultaneously.
- III.8. Adding signals and turntables :
You must be in 'ACCESSORIES' icons bar.
- To add a signal, give its length, its width and colours, then place it
where you want (you can rotate it with [+,-] keys).
- To move a signal, do as for a rectangle.
- To delete a signal, press [ALT] and click on it simultaneously.
- To add a turntable, give its outer and inner radius, the number of
direction,
then link it to a rail.
- A turntable consists in 3 circles and (number_of_direction+1)
rails. Hence, you must use 'Copy, Paste & Delete' possibilities to move
or delete a turntable as a whole. But you can delete a 'turntable-direction'
like a rail.
- III.9. Annotating your layout :
You must be in 'ANNOTATIONS', 'EDITOR' or 'TOOLS' icons bar.
- When in 'ANNOTATIONS' icons bar :
- to add an annotation, give your text with justification and frame.
- to add an arrow, choose its starting and ending points (press [+,-,/,*]
keys to change arrow-shape).
- you can rescale all texts (icon 'Rescale Texts'), or just one text
(double-click on it). The bigger is the value you give, the bigger is the
text...
- When in 'EDITOR' or 'TOOLS' icons bar, double-click on rail to insert the
reference as an annotation.
- III.10. Creating a Workbench :
You must be in 'WORKBENCH' icons bar and at least, one track should be
inserted.
- Rectangular Workbench :
This option is far the easiest one. You just give the dimensions of your
workbench : length and width. This creates a rectangular workbench.
- Complex Workbench :
Creating a complex workbench is not trivial, but if you know enough about your
real workbench, it should be easier...
The figures below should help you in understanding the way RAILWAYS
computes the workbench.
- first, create an approximate shape of your workbench (approximate lengths
and angles). Prefer to define it clockwise (1,2,3,4)
and to define the first length (1,2) horizontally
otherwise you may have problems for next steps...
- second, click on 'Edit Measures' icon to redefine exact measures of
workbench (side lengths and angles).
Click on the vertex 2. A,B,C points appear then give BC exact
length, and ABC angle in degrees :
For instance, if previous ABC angle is 280.0,
and if you give 270.0, the result should be (regardless BC length)
as follows :
- third and next steps, click on vertices (clockwise round) and give each
BC exact length, and ABC angle in degrees.
- if your length and angle measures are right, everything should be OK...
Back to Table of Contents
IV. CREATING A TRACKS' DATABASE (DAT File)
The DAT File is one of the most important files for a good
work with RAILWAYS. It contains all the characteristics of
the tracks you use (references, dimensions, types, ...).
SETUPRLW provides you with saving your tracks characteristics
in a DAT file. Type SETUPRLW on DOS prompt and follow the
instructions.
I will be really pleased if you can mail
or email me the DAT File(s) you manage
to make, in order to provide other RAILWAYS
users with as many DAT Files as possible.
First steps when creating a DAT File :
- When asked to type 'NAME' of DAT file, remember that the
extension of the file is .DAT without any alternative.
- When asked to type 'NAME of TRACKS', type the name you want.
- When asked to type 'MEASURE UNIT', type the unit you want
with 2 characters maximum. This measure unit is only a user
constant and is not taken into account in calculations, so
you can give 'cm', or 'in' or whatever.
Above all, you do not have to convert inches to centimeters
(or inverse), that is to say that you can keep your measures
of tracks in the unit you want.
- When asked to type 'REFERENCE', the first character is :
- S for straight rails
- C for curved rails
- W for switches
- Following characters are up to you, with a maximum of 12.
Database Conventions :
- Straight, Buffer (1 part) :
- Curve-1 (1 part) :
- Uncoupler (1 part) :
can be straight (see Straight, Buffer) or curved
(see Curve-1).
Only a straight uncoupler is represented in this documentation
and in SETUPRLW program...
- Curve-2 (2 linked parts) :
- Switch-2 (2-way switch, 2 parts) :
- Three-Way (3-way switch, 3 parts) :
- Asymmetric Three-Way (3-way switch, 4 parts) :
Elements #1 and #2 are 'alone', whereas elements #3
and #4 are linked.
- Switch-3 (usually curved switch, 3 parts : 1 alone
and 2 linked) :
- Switch-4 (usually curved switch, 4 parts : 2 linked
and 2 linked) : not often used...
- Crossing (2 parts) :
- Junction (2 parts) :
Important notes :
- Mathematics relation between characteristics :
- Radius = Length / |Angle| / Pi * 180 (Pi = 3.14159...)
- Remember that : (10.34 degrees) NOT EQUALS (10 degrees
34 minutes)
Things like 10deg 34min must NOT be entered. You must
convert it to a regular angle in degrees. For instance, 10deg
34min is equal to 10.56666666deg, because 0.56666666=34/60.
(60min equals 1deg)
Generally speaking, if angle=(Xdeg Ymin), then
angle=(X+(Y/60))deg.
- Advice :
Try to give as many digits as you can after the math-point. For
instance, give 1.3333333333 rather than 1.33. RAILWAYS calculations
will be more accurate.
- To change DAT File before running RLW, edit RLW-US.CFG and change
DAT File field if necessary (See Configuration of RLW).
Or while running RLW, go to 'Disk Access' icons bar and choose
icon Load DAT.
Merging DAT files :
Railways can not load several DAT files at the same time. In order to use
several ones, it is possible to merge them into a single DAT file.
Here is the content of a DAT file (this is a text-file) :
- first line : the header must be [FICHIER DE DONNEES POUR RAILWAYS v3.0]
- second line : the name of tracks
- third line : the measure unit
- following lines are tracks' descriptions (in Railways format, of course)
- two tracks' descriptions are separated by a blank line
- last line : the end must be [FIN DE FICHIER DE DONNEES]
First, you must check if the measure unit is the same in every DAT file
you want to merge. If not, you couldn't merge them.
In addition, be sure that no reference-name is defined in more than one
DAT file. Otherwise, you may have problem in finding the right track when
running Railways.
Second, copy all DAT files you want to merge in a single file. For instance
the DOS command line : COPY FILES-1.DAT + FILES-2.DAT [+ ... ] TARGET.DAT
does it for you, assuming FILES-*.DAT are source files and TARGET.DAT is the
destination file.
Third, edit the TARGET.DAT file, and remove all lines containing header, name
of tracks and measure unit information (except the first three lines of the
files, of course), and remove all lines containing ends information
(except the last one).
The following example should help you. The TARGET.DAT file looks like this :
[FICHIER DE DONNEES POUR RAILWAYS v3.0]
Name of tracks AAA
in
S 9999
1 1 11
2.2200000000E+01 0.0000000000E+00
W 12345
2 1 44
1.1100000000E+01 1.5000000000E+01
1.1500000000E+01 1.5000000000E+01
[FIN DE FICHIER DE DONNEES] (***)
[FICHIER DE DONNEES POUR RAILWAYS v3.0] (***)
Name of tracks BBB (***)
in (***)
(***)
C 452546
1 1 12
1.1100000000E+01 3.0000000000E+01
W 987654
2 1 44
1.1100000000E+01 1.5000000000E+01
1.1500000000E+01 1.5000000000E+01
[FIN DE FICHIER DE DONNEES] (***)
[FICHIER DE DONNEES POUR RAILWAYS v3.0] (***)
Name of tracks CCC (***)
in (***)
(***)
W Cross 15
2 1 24
2.0000000000E+01 1.5000000000E+01
2.0000000000E+01 1.5000000000E+01
[FIN DE FICHIER DE DONNEES]
The lines with (***) must be deleted and the final TARGET.DAT should be :
[FICHIER DE DONNEES POUR RAILWAYS v3.0]
Name of tracks AAA
in
S 9999
1 1 11
2.2200000000E+01 0.0000000000E+00
W 12345
2 1 44
1.1100000000E+01 1.5000000000E+01
1.1500000000E+01 1.5000000000E+01
C 452546
1 1 12
1.1100000000E+01 3.0000000000E+01
W 987654
2 1 44
1.1100000000E+01 1.5000000000E+01
1.1500000000E+01 1.5000000000E+01
W Cross 15
2 1 24
2.0000000000E+01 1.5000000000E+01
2.0000000000E+01 1.5000000000E+01
[FIN DE FICHIER DE DONNEES]
You may wish to rename the tracks' name : simply change the second line of
TARGET.DAT.
The TARGET.DAT is the final DAT file containing several DAT files.
DAT Files included in RAILWAYS v3.0.8
package |
Track's Name |
DAT File |
|
Arnold N | ARNOLD-N.DAT |
Atlas HO C100 | ATLAS-HO.DAT (*) |
Atlas N | ATLAS-N.DAT |
Fleischmann Profi HO | FMANN-HO.DAT |
Fleischmann N (#1) | FMANN-N1.DAT |
Fleischmann N (#2) | FMANN-N2.DAT |
Frateschi (Brazil) | FRATESCH.DAT |
Hornby OO Imperial | HRNBYOO1.DAT (*) |
Hornby OO gauge | HRNBYOO2.DAT |
Jouef HO | JOUEF-HO.DAT (*) |
Kleinbahn and Klein Modellbahn | KLEINBHO.DAT |
LGB IIm | LGB-IIM.DAT |
Lima HO 'Nickel Silver' | LIMA-HO1.DAT |
Lima HO 'Standard' or 'Blister' | LIMA-HO2.DAT |
Lionel O-27 | LIONLO27.DAT |
Maerklin Alpha | MARKALPH.DAT |
Maerklin-Huebner I | MARKHUB1.DAT |
Maerklin C | MARKLINC.DAT |
Maerklin K | MARKLINK.DAT (*) |
Maerklin M | MARKLINM.DAT (*) |
Maerklin Z | MARKLINZ.DAT |
Maerklin 3800-3900 | MARKMODM.DAT |
Minitrix N | MINITRXN.DAT |
Peco HO Setrack | PECO-HO.DAT |
Peco N | PECO-N.DAT |
Piko HO 'Standardgleis' | PIKO-HO.DAT |
Pilz TT standard #1 (Hungary) | PILZ-TT1.DAT |
Pilz TT standard #2 (Hungary) | PILZ-TT2.DAT |
Rivarossi HO | RIVA-HO.DAT |
Roco Line HO | ROCO-HO.DAT |
Roco N | ROCO-N.DAT |
Roco 2.5 (old tracks) | ROCO2-5.DAT |
Zeuke TT (Poland) | ZEUKE-TT.DAT |
|
(*) This file was updated to support new uncoupler features.
See UNCOULPR.TXT.
Back to Table of Contents
V. DIGITAL CONTROL MODULE
The Digital Control Module is only for the Maerklin Computer Interfaces
6023, 6050 and 6051. It allows you to control 256 switches, signals and
uncouplers, 80 locos (speed, functions, direction) and 496 feedbacks on the
tracks.
If you use Maerklin Interface 6023, be sure to set it to BINARY MODE.
After designing your layout, you can
define your locos (address, name, sound, max.speed), your electros (signals,
switches and uncouplers addresses) and feedbacks (for instance Reed contacts)
using the RAILWAYS interface.
When running,
you turn switches or signals, and activate uncouplers with a simple
mouse-click and the retro-signalization shows you their active states.
You can accelerate, decelerate, start and stop the lights,
or uncouple (TeleX command) locos, play associated sounds with the same simple
mouse operation thanks to a multiple windows manager.
Thanks to the feedback retro-signalization, you can see in real-time
where locos are on your tracks.
This module is divided into two icons bars. With the first one, you define
your locos and electros, and with the second one, you can run them.
- V.1. Defining locos
- click on 'Locos' icon (part 1)
- give digital decoder address (from 1 to 80), the loco's and
train's name and its maximum speed (from 1 to 14)
- if you use SoundBlaster sound support (VOC files), you can associate
a sound to each loco. Please see SOUNDS.TXT for further information.
- to update or delete a loco, give its address; then you are prompted :
if you anwser 'YES', the loco will be deleted, otherwise you can
enter new values (do not press [ESC] while updating because it will
delete the loco)
- press [SPACE] to display already defined locos
- V.2. Defining switches, signals and uncouplers
(electros)
- click on 'Electros' icon (part 1)
- undefined electros are blinking, others have special colours
- click with LEFT mouse-button on an electro (blinking or not)
- give its address(es) (from 1 to 256), its name (for annotating) and its
RED or GREEN WIRE position for retro-signalization
(very important - see your wiring)
- the two addresses of a 3-way switch must be different
- you must define and wire a 3-way switch as follows.
Use 4 slots on a decoder : two Green and two Red (two addresses);
set Green/Green to straight, and Red/Green - Green/Red for curves.
Please note that RAILWAYS will never send Red/Red command for a 3-way
switch.
- give address -1 to undefine an electro
- if you give the same address to several electros ("cross-addresses"),
they will be turned together with the same command.
Note that 3-way switches can not be defined with "cross-addresses"
- V.3. Defining feedbacks
- click on 'Feedbacks' icon (part 1)
- to add a new feedback, select 'Add a Feedback', give its
6088 number and socket number on 6088, then place it where you want
- to move a feedback, press [SHIFT] then click on it and move it
- to delete a feedback, press [ALT] then click on it
- for a full listing of all already defined feedbacks, select 'Feedback
Summary'. This lists all feedback parameters : 6088 and socket numbers,
and relative geographic positions on the layout.
- if you double-click on a feedback, you can add an automatic annotation
with feedback parameters.
- V.4. Annotating electros
- you must be in the first part of the Digital Module
- if you are defining electros (blinking mode), press RIGHT mouse-button
on an electro; give the text you want.
- you can move, delete and rescale annotations with the mouse-button
plus [SHIFT], [ALT] and double-click (like in 'Annotations' icons bar)
when not defining electros.
- V.5. Running the Digital Control Module
Once you have finished with defining locos and electros, you can
run them.
If you use Maerklin Interface 6023, be sure to set it to
BINARY MODE.
- click on 'Check & Run' icon (part 1)
- if you give the same address to several electros, you are prompted to
continue or quit (it is just a warning)
- choose the COM port for communication between PC and Interface
- digital communication is suspended by default...
- click on 'Run DCC' to enable communication
- RAILWAYS will initialize your electros to the right position for a
right retro-signalization... Two modes are available : one is said
to be "fast but unsafe" and the second, "safe but slow".
In fact, both are safe ! But the first one tries to initialize a
maximum of coil-switches at the same time; if your Booster is not
enough powerful, some of them may not be initialized since many coils
can be activated at the same time.
The second one controls one switch per command, so it is safer.
For those interested in programming, here are the procedures in
Meta-Langague :
/*** "safe but slow" procedure ***/
/* each electro receives its shutdown command after
exactly the time 'shutdown_time' */
forall Electro do
send_switch_command(Electro);
wait_for_time(shutdown_time);
send_shutdown_command();
next Electro
endfor
/*** "fast but unsafe" procedure ***/
/* each electro receives its shutdown command between
the time 'shutdown_time' and 'shutdown_time'*1.5 */
forall Electro do
begin_chronometer();
while ( get_chronometer_time() < (shutdown_time/2) ) do
send_switch_command(Electro);
next Electro
endwhile
wait_for_time(shutdown_time);
send_shutdown_command();
next Electro
endfor
- Every loco is set to speed 0, without any active function
- Press [SPACE] to create new loco-windows even if the Digital Module
is suspended. You can create as many loco-windows as you want.
- Most of the keys like [F1], [F3], [F4], ..., [Arrows], [ENTER] are
still available in order to control the user interface
(see section II.12)
- V.6. Controlling locos
Loco management is done thanks to windows you can put anywhere on the screen.
The loco-window management is organised as a simple window-manager.
A loco-window looks like this :
This window allows you to control the loco you want (decoder address), its
speed, its functions (lights, TeleX,...), its direction.
- loco selection (address) : click on <| and |>
icons in the Address field
- loco speed : click on /\ and \/ icons in the
Speed field, or press left or right mouse-button on the speed
value respectively to decrease or to increase loco speed
- associated sound : click in this field to play associated VOC
sound file
- other functions : click on F1, F2, F3, F4
- stop loco : click in STOP field
- loco direction : click in <|> icon field (this will also
stop the loco)
- TeleX command : click in TX field (the TeleX is active while
the mouse is pressed)
Press [SPACE] to create a new loco-window.
To delete a loco-window, press [ALT] and click on it.
To move a loco-window, click in 'Loco's name' field, maintain your mouse
pressed and move. Release your mouse when you find the right new place...
- V.7. Controlling electros
Simply click on electros you want to turn. If several electros have the
same address, they will all change colour and be turned at the same
time.
Please note that you can use left and right mouse-button in order
to change 3-way switch positions.
- V.8. Controlling feedbacks
Feedbacks are automatically updated each Feedback Time hundredth of
a second. See Digital variables section.
- V.9. Stopping the Digital Control Module
Click on 'Suspend DCC' to stop the Module for a while, or press [ESC] or click
on 'Emergengy Stop' to stop it and return to "part 1" icons bar
(all loco-windows will be killed).
Don't forget to save your layout as a DCC file, in order to save current
electros positions before exiting the Digital Module.
- V.10. Saving and loading Digital layouts
You must save your work before exiting the Digital Control Module if you
want to save digital data (addresses, etc) and above all if you want to
use RAILWAYS as the Maerklin Memory : you can save layout configurations
(electros states) in order to replay with them later.
If you load a new Digital layout (.DCC), be sure to have saved your
previous .LYO or .DCC layout, otherwise they will be lost...
Click on the 'Load DCC' or 'Save DCC' icon in "part 1" icons bar.
- V.11. Digital variables
- ShutDown Time :
This is the amount of time (in hundreths of a second) a coil is
activated. The smaller is the time, the speeder is the control, but
the coil may not have enough time to turn the switch...
Hence this time should be optimized by yourself,
from 0 to 500 hundreths of a second. Firstly, try 25, and
decrease or increase the value if necessary...
You can define ShutDown Time in RLW-US.CFG or while running RAILWAYS.
- Data-Jam Time :
This is the amount of time between two byte-packets. The smaller is
the time, the speeder is communication.
RAILWAYS does monitor CTS communication line, but with slow
(or too fast) computers, my tests show that some packets may be
lost. This must be adjusted from 0 to 100 hundreths of a second.
Firstly, try 0, and increase the value if necessary...
You can define the Data-Jam Time in RLW-US.CFG or while running
RAILWAYS.
- Feedback Time :
This is the amount of time between two feedback scannings
(in hundreth of a second). Set this value as you wish, depending on
what you need... If set to 0, scanning process is disabled,
that is feedback won't be updated on the screen...
A value between 25 (quarter of a second) and 50 (half a second)
should be good.
You can define the Feedback Time in RLW-US.CFG or while running
RAILWAYS.
- Secure ShutDown Time :
This is the amount of time between a shutdown command and the next
command. This time is involved in the Initialization (Safe but slow)
and in the 3-way switch support. The smaller the time, the speeder
is the control. Nevertheless, with a too small value, you may have
trouble... This must be adjusted from 0 to 65535 hundreths of a
second.
A value of 45 is said to be the inferior limit.
You can only define the Secure ShutDown Time in RLW-US.CFG.
- V.12. Restrictions
Current version of RAILWAYS can not run 3-position signals and some
complex switches like Maerklin K-2275 or Roco Single Slip.
Nevertheless, 2-coil switches like Maerklin K-2275 can be controlled
thanks to Bo Aslund's and Bjoern Gustavsson's idea : in MARKLINK.DAT,
you can find 'W 2275', 'W 2275L DCC' and 'W 2275R DCC'. See also
MARK2275.DAT and MARK2275.DCC.
The 'W 2275' is the junction as defined in the Maerklin Catalog :
you can use it if you don't need to control the K-2275 with Digital.
If you want to use the Digital Module, you must use instead two
'W 2275L DCC' and two 'W 2275R DCC'.
Give twice the same addresses
to one 'W 2275R DCC' and one 'W 2275L DCC', as in the following
figure.
Here is the geometry of 'W 2275* DCC' versus 'W 2275' :
- 'W 2275' is a Junction : L=22.50cm long and A=14.14333deg.
- 'W 2275* DCC' is a Switch-2 : 11.25cm long [=L/2] and
( 88.84507107cm radius [=L/2/tan(A/2)] and +-7.21666deg [=A/2] ).
The following figure should help you :
If you use other tracks with 2-coil junction, such as the Roco Single
Slip, and if you use the Digital Module, you must define some extra
parts in the DAT file with special geometry. Ask me via snail-mail
if you have problem to find the right geometry. This is a real
mathematical issue !
There are some known little bugs in the loco-window management :
- the window manager could be improved in terms of speed
- when you put a loco-window on an electro (entirely or partly),
and if you turn this electro, the electro is not necessarly
updated on the screen. This is due to the fact that the window
background image does not contain the new representation of the
electro. Nevertheless, the electro is updated on your real
layout !
- if you quit the Digital Module and make particular operations
on a curved switch in the Editor bar, then get back to the Digital
Module, this switch may not be well drawn...
To solve this problem, define its digital values again.
Back to Table of Contents
VI. CONFIGURATION OF RLW
RLW-US.CFG is the configuration file of RAILWAYS. It contains all
the default settings while running. For instance, you can choose
your colours for rails, flextracks, accessories, or your preloaded
DAT File, EGA, VGA, SVGA mode, Digital constants, etc.
Comment lines begin with the '#' character.
You will have to edit RLW-US.CFG if you want to change something.
Let's analyse it :
- Header in French must be
[FICHIER DE CONFIGURATION POUR RAILWAYS v3.0].
- Last Updated : you can write what you want.
- Misc definitions :
- User Level : 1 for beginner, 2 for expert
(this overrides a few warning messages)
- Layout Designer : your name.
- Preloaded DAT File : Name of the preloaded DAT file when running.
- Rail Half-Width (x*100) : Must be mutliply by 100 (e.g.: if the real
value is 1.5cm, type 150).
- Graphics Mode (EGA, VGA, Vesa800, Vesa1024 or Vesa1280) : give the
graphics mode you want.
- Drives List ('AUTO' or 'A:,C:,E:' for instance) :
List of the drives where files are searched. If AUTO,
all drives found at initialization (even CD-ROMs) are taken into
account.
- Default Scale : the scale when first editing tracks.
- Minimal Scale (1/x) : the smallest scale
(inverse value : if the value is 0.01, type 100).
- Maximal Scale : the biggest scale.
- Scale Step (1/x) : step to increase or decrease scale
(inverse value).
- Grid Step : default grid step when grid is on.
- Windows Speed : number of frames to open windows. The bigger is
the value, the slower it is.
- Graphics Blinking Speed : no comment.
- Menus Blinking Number : no comment.
- Menus Blinking Time : no comment.
- Double-Click Time : Time for double-clicking mouse menus. The
bigger is the value, the slower it is.
- Minimal Rail Search : when you click on a rail, the minimal
distance for search is this value. The
bigger is the value, the less you have
to be close to the pointed rail to select it.
- Colour defintions :
- Rail Colour : See colour codes just below or at the end
of RLW-US.CFG.
- Switch Direction Colour : idem.
- Rail Width Colour : idem.
- Selected Direction Colour : idem.
- Selection Colour : idem.
- FlexTrack Colour : idem.
- Accessory Colour : idem.
- Annotation Colour : idem.
- Screen Frame Colour : idem.
- Grid Colour : idem.
- Background Colour : idem.
- Mouse Colour : idem.
- Background BMP Colour : idem.
- Help-Window Colour : idem.
- Help-Texts Colour : idem.
- Help-HyperTexts Colour : idem.
- Digital variables :
- DCC Blinking Time : Blinking time delay when defining Electros.
- DCC Colour : Electro colour when defining Electros.
- DCC Switch Colour : Selected direction Colour of Electros.
- DCC ShutDown Time (0..500) : ShutDown time for Electros
(see Digital Control Module).
- DCC Feedback Time (0..100) : for feedback support
(see Digital Control Module).
- DCC Data-Jam Time (0..100) : Data-Jam time for RS232 communications
(see Digital Control Module).
- DCC Secure ShutDown Time (0..65535) : try to set this variable as small
as possible, until you get trouble with Initialization and/or 3-way
Switch Digital support... A value of "45" is said to be the limit
(see Digital Control Module).
- SoundBlaster card defintions (see also SOUNDS.TXT) :
- IRQ : This depends on your hardware. Please check your manual...
If set to 0, sound support is disabled.
- DMA : This depends on your hardware. Please check your manual...
- Port : This depends on your hardware. Please check your manual...
- End (in French) must be [FIN DE FICHIER DE CONFIGURATION].
- After this, you can type whatever you want.
Warning : do not introduce a zero value unless specified,
otherwise an error
message will abort the program. Only introduce integers between
1 and 65535.
Colour Codes to use in RLW-US.CFG :
1 - Black 8 - DeepBlue
2 - DarkGray 9 - Blue
3 - LightGray 10 - LightBlue
4 - White 11 - Purple
5 - LightGreen 12 - Brown
6 - Green 13 - Red
7 - DarkGreen 14 - Yellow
Back to Table of Contents
VII. MISCELLANEOUS
- VII.1. Window menu & read menu :
- Window menu :
Use either mouse or keyboard to select the item you want.
- with mouse :
- you can double-click on the chosen item.
- click on arrow-up, arrow-down, OK icon to select.
- click outside the window to cancel.
- with keyboard :
- use arrow-up or arrow-down to choose.
- press [SPACE] or [ENTER] to validate.
- press [ESCAPE] to cancel.
- Read menu :
- only use keyboard.
- type the string you want with usually a limit of 255
characters.
- correction with [BACKSPACE].
- erase line with [SHIFT]+[BACKSPACE].
- press [ENTER] to validate.
- press [ESCAPE] to cancel.
- VII.2. About error messages :
- Bad configuration file ... : check file RLW-US.CFG. It must be in
the same directory as RLW.EXE.
- Not enough memory : it is a pity ! Buy some RAM !
- Graphics mode not initialized : EGA, VGA or VESA-SVGA card is
required.
- Graphics icons file ... : check if 'ICONES.GPH' is in the
same directory as RLW.EXE.
- Presentation image file ... : check if 'IMAGE.FND' is in the
same directory as RLW.EXE or if command line /Iname_of_file
is valid.
- Mouse driver is not installed : MS-Compatible mouse is required.
Its driver must be loaded beforehand
(usually MOUSE.COM or MOUSE.SYS).
- VII.3. Programming :
This software package is written in Borland Pascal 7.0 &
Assembler for some very fast procedures. It contains more than
35.000 lines and took me a long time to develop.
Some people asked me for the source code, but I don't want to give
it for the moment.
If you find Runtime Error in RAILWAYS, please report them to me by
giving its number and its code (XXXX:YYYY). So I can improve this
software...
Please report also the bugs you may find... Thanks a lot.
- VII.4. Special thanks
I would really like to thank Yvan CORDILLET, Fabien
GELENNE, Yann LEFABLEC and Cyril MATHEY
(some friends at the ENAC (my School)), who lend their PC-computers
to me and also
the ENAC administration which allows me (and other people) to work
with their PC-computers and workstations even at night !
Without these 'helps', RAILWAYS development would not have been
possible : I only have a PC-computer at home since December 1996
thanks to a training course. Most of the time, I worked with
a pen and a sheet of paper...
Special thanks to Bo ASLUND and Bjoern GUSTAVSSON from
Sweden whose helps and
suggestions were always appreciated, especially for the BetaTest of the
Maerklin Digital Module. The loco management (with multiple windows) is
largely inspired by their ideas.
- VII.5. User contributions
I really thank those who have translated the user interface of
RAILWAYS :
- English : by me...
- French : by me...
- Dutch : Nic POT (nearly everything) and
Rik BOERS-Bart PONSEN (some parts)
- German : Guido KENSCHE
- Swedish : Bjoern GUSTAVSSON-Bo ASLUND
- Italian : Mauro PUCILLO
- Danish : Lars LINDHARD
You can find in
UserContrib directory
via FTP additionnal contributions, such as layout examples (LYO
files),
documentation translations, new tracks' databases (DAT files) or new
language versions...
I would also like to thank people who support me,
and especially the following persons who have sent me some
DAT Files :
- Bjoern Gustavsson and Bo Aslund (Sweden) :
- ROCO-HO.DAT - enhanced version (compared with RLW 2.04)
- FMANN-HO.DAT
- MARKHUB1.DAT - corrected version (compared with RLW 2.04)
- ROCO2-5.DAT
- MARKLINK.DAT - enhanced version (compared with RLW 2.04)
- MARKLINC.DAT
- MARKMODM.DAT
- Rudolf Wansorra (Germany) :
- MARKLINK.DAT (1)
- Duane L. Rezac (USA) :
- ATLAS-HO.DAT (1)
- Dietmar Beham (Germany) :
- ARNOLD-N.DAT
- Davei Ingles (UK) :
- PECO-N.DAT
- Preston Bricker (USA) :
- ATLAS-HO.DAT (2)
- ATLAS-N.DAT
- Alfredo Sola Perez (Spain) :
- ROCO-N.DAT
- Harald Kuester (Germany) :
- FMANN-N1.DAT
- Johan Sunter (Holland) :
- FMANN-N2.DAT
- Luis Marcondes (Brazil) :
- FRATESCH.DAT
- Arnd Gronenberg (Germany) :
- LGB-IIM.DAT
- Dan Bruch (USA) :
- LIONLO27.DAT
- Nic Pot (Holland) :
- MARKALPH.DAT
- Gabor Bejczi (Hungary) :
- PILZ-TT1.DAT
- PILZ-TT2.DAT
- Jean-Marc Lugrin (Swiss) :
- MARKLINZ.DAT - enhanced version (compared with RLW 2.04)
- Wojciech Hilczer (Poland) :
- ZEUKE-TT.DAT
- Steve Loft (United Kingdom) :
- HRNBYOO2.DAT
- Mario Durante and Luca Seria (Italy) :
- ARNOLD-N.DAT - enhanced version (compared with RLW v3.0.1)
- KLEINBHO.DAT
- LIMA-HO1.DAT
- PECO-HO.DAT
- PIKO-HO.DAT
- RIVA-HO.DAT
- Andrew Stephenson (United Kingdom) :
- HRNBYOO1.DAT
- Girolamo Virgadamo (Italy) :
- LIMA-HO2.DAT
- Steven Scholten (Holland) :
- MINITRXN.DAT
These DAT Files are included in this version of RAILWAYS.
Back to Table of Contents
VIII. MAIN EXPECTED IMPROVEMENTS FOR NEXT VERSIONS
- Artificial Intelligence Module for automated locos and electros
control thanks to feedbacks.
- Please send me a message if you have any other suggestion.
Back to Table of Contents
* End of Document *