Links
Info
Microchip Web Site
Sw Tools
MPASM
DIY Projects
DCC model Railroad interface
My DCC Model Railroad interface
Links
PIC Links
fpedersn@online.no
Whats New :
April 2001
RCSvr release 01.02.00 This version has been tested together with I/O version 1.5 and 5.0.8
It Also contains a new version of the HTTP Server - with a lot bether performance compared with previous versions - Even bether performance are expected in the near future.
Both of these files must be installed on top of the January release
March 2001
RCSvr release 01.01.02 with bether support of IOC. Must be
installed after January release.
February 2001
A new version of RCSHttp Server (010101) with simple Servlet support,
and a RCS DataBrowser Servlet. See rrindex.html for URL. Server can be started with
rcshttp010101.bat. servlet1.jar contains the same functionality in a separate Servlet.
January 2001
Source code for a RCS Servlet, and patch RCS010100
version 010100 are needed for the Servlet. Install rcs.jar into c:\mr\rcs\bin after installing
rcsdec00. servlet must be compiled and configured into Apache or other web servers with Servlet
support. This Servlet is only for test, and will be expanded in later versions. Compiling
and linking Java servlets will probably be frustrating for people not experienced with Java
Updated Installation and users guide
Whats New :
November 2000
the first complete system
Installation and users guide
This new Server replaces IOS0505, IOS0508 and earlier version.
It is packaged in a zip file with installer.
Afterunziping and installing, you will get a runnable system installed
under c:\mr\rcs
All java code is in rcs.jar
There is a server: RCSvr, a html generator: RCSHTML, and a test client: RCSic.
There is also a few test programs
You can also use the older IO clients written in JAVA.
Older VB clients will be supported in a future version.
Support for LENZ protocoll are not released yet.
July 2000
First version of this page
|
|
RCS / IO Commander
This Page
The new Server
Software to download
Installation and users guide
Patch 010100 and a test Servlet
Client software for RCS and IO
Several new Java programs must be downloaded
The first one is IOIS0505.class
Command to start is java IOIS0505 80 COM1
80 is TCP/IP socket number
COM1 is Com port 1 - Currently is this the only supported port. IOIS0505 will go into test mode if COM1 is omitted
Software requirements:
----------------------
Java jdk version 1.1.6 or 1.1.7
Windows95 , 98 or NT
ioexec.exe version 5.0.8 and iosvr.exe 5.0.8 running on machine connected to com1 port(*)
Hardware requirements:
----------------------
com1 port connected to machine running ioexec and iosvr(*)
TCP/IP installed and configured
required files :
----------------
win32com.dll - Available from Sun(*)
IOJH0505.class - from supplied zip file
CopyThread.class - from supplied Zip file
----------------
(*) - Only needed if not running in test mode
IOIReader
IOIReader is a sample program to list message trafic
edit line 9 in file IOIReader.java with correct IP adress of IOIS0505 (127.0.0.1 is local machine)
and Socket (must be the same as IOIS0505)
compile :
javac IOIReader.java
run:
required files :
----------------
IOILib.class - from supplied zip file
java IOIReader:
---------------
class IOIReader {
public static void main (String args[])
{
System.out.println("=====================================================");
System.out.println("IO Internet Reader :");
System.out.println("-----------------------------------------------------");
System.out.println("IOILib version : " + IOILib.getVersionString());
System.out.println("Connecting ... ");
boolean IOILibStatus = IOILib.connect ("127.0.0.1",81,"GUEST","pw");
if (IOILibStatus) System.out.println("OK");
while (true) {
System.out.println ("Message Received : " + IOILib.receiveMsg());
System.out.println ("Message Class : " + IOILib.getMsgClass());
System.out.println ("Message Length : " + IOILib.getMsgLen());
System.out.println ("Message no of words : " + IOILib.getmsgNoOfWords());
for (int i=1;i<=IOILib.getmsgNoOfWords();i++) {
System.out.println ("Message word no "+i+":" + IOILib.getMsgWord(i)+ ": Length - " + IOILib.getMsgWordLen(i));
}
if (IOILib.getMsgClass() == "STATUS SWITCH") {
System.out.println("Switch no : " + IOILib.getMsgWord3Int(3));
System.out.println(" Position : " + IOILib.getMsgWord3Int(4));
}
}
}
}
IOISKP2
This is a simple key pad that can be used to assign blocks, throw switches and run trains
Software requirements is the same as IOIReader.class except that jdb 1.2 is required
Command to start is:
java IOISKP2 127.0.0.1 80 ADMIN PASSWORD
The current version does not update information fields. This makes it a little bit
difficult to use. You need to start IOReader, IOSSS2 and IOSAS2 to get feedback.
The current version can throw switch 1 - 9 by pressing a number and then SW0 or SW1 to throw
switch. If you want to controll an Engine, press engine no and then ENG. speed and direction
can now be changed (by nummeric keys and the REW and FRW keys). You can also assign blocks to
currently selected engines by pressing ASGN followed by a block no from 1 to 9. REL followed
by a number releases blocks.
IOSSS2
This program are used to show status of defined switches:
Command to start is:
java IOISSS2 127.0.0.1 80 GUEST
This picture shows a startup display when running IOIS0505 in test mode
IOSAS2
This program are used to show block assignments of defined switches:
Command to start is:
java IOISAS2 127.0.0.1 80 GUEST
This picture shows a startup display when running IOIS0505 in test mode
|
|
|