Rocrail and Lenz LZV-100

Moderator: Moderators

Rocrail and Lenz LZV-100

Postby werick » 14.06.2008, 03:48

Hi Guys:

I have a Lenz system consisting of:

(1)- LZV-100
(1)- LI101F
(4)- LS150
(4)- LR101
(32)-LB101
(1)- LK100

I'd like to use this equipment within Rocrail.

My system is based on the New York Ontario and Western. It runs around the circumference of two attic rooms. I have a three track main with multiple yards and sidings.

My existing DCC software runs this system. Except it doesn't do automation well.

My plan is to run two trains under automation. And one or two in manual. I'd like the software to keep track of turnouts and routes. And keep these trains from crashing or derailing.

My zones are setup with one occupancy detector per zone. For a total of 32 zones. The entrance and exit sensor (within the program) has the same address. My questions are:

(1)- How do I get the program to recognise my LZV-100?

(2)- Is this level of automation available with rocrail?

(3)- Can all my equipment be utilized?

(4)- Can I keep my existing occupancy sensor configuration? (1 sensor per block). Or do I need two? Thanks for any help

Warren
werick
 

Postby jeanmichel » 14.06.2008, 09:31

Hi Warren,

Welcome to rocrail!

(1)- How do I get the program to recognise my LZV-100?
http://wiki.rocrail.net/doku.php?id=lenz-en

(2)- Is this level of automation available with rocrail?
Of course ;)
http://wiki.rocrail.net/doku.php?id=eng ... matic_mode

(3)- Can all my equipment be utilized?
All Lenz products should work out of the box.

(4)- Can I keep my existing occupancy sensor configuration? (1 sensor per block). Or do I need two? Thanks for any help
Yes.
http://wiki.rocrail.net/doku.php?id=sensors_and_blocks see section "One sensor per block".

The wiki (http://wiki.rocrail.net/doku.php?id=english) should explain everything else as well.

If you have further questions don't hesitate to ask!

Regards
Jean-Michel
jeanmichel
 

LR101's

Postby werick » 16.06.2008, 14:17

Thanks for the welcome and help Jean Michael. I now have Rocrail accessing my LZV-100

How do I address my lenz LR-101's as occupancy Sensors? In my other program, they are set up as addresses:

65
66
67
70

Ports 513 - 560

Thanks
Warren
werick
 

Postby jeanmichel » 16.06.2008, 14:33

Hi,

It should be like this:

lenz address -> rocrail address (from..to)

1: 1..8 -> 1..8
2: 1..8 -> 9..16
...
64: 1..8 -> 505..512
65: 1..8 -> 513..520
66: 1..8 -> 521..528
...
and so on ...


so the calculation is:
address_rocrail = (address_lenz – 1) * 8 + 1

Regards
Jean-Michel
jeanmichel
 

WOW!!

Postby werick » 21.06.2008, 19:22

Hi Guys:

All I can say is WOW! I downloaded the latest Windows Snapshot. It solved all my problems. I now have 32 sensors and 24 turnouts communicating through a Lenz LZV-100 & LI101F to Rocrail.

The Server is installed on the machine hard wired to the LZV-100. With two laptops communicating to that server over WIFI. And one of those Laptops is a Vista Machine!!

I've just touched the surface of automation and route control. But I surely say it beats anything the commercial program, I've been using, has to offer. I'm like a 63 year old kid in a Candy Store. :-)

You guys are great and your program is awesome.

Thanks
werick
 

Postby dadolphs » 21.06.2008, 20:28

Hi Warren,

good to hear and welcome to the club! :beer:

I'm convinced that the whole community would be happy to see some pictures of your layout in the album ...

We're used to see crashing, oooooops meant dueling locos in NY :twisted: , but haven't seen a layout with 24 switches from there.

Best regards,
Dirk
H0 - IB - LocoBuffer (MGV) - Ubuntu (Server) - Vista (Client) - iRoc - andRoc - Fredi

http://blog.moba-keller.de/
dadolphs
 

Postby jeanmichel » 21.06.2008, 22:38

I've just touched the surface of automation and route control. But I surely say it beats anything the commercial program, I've been using, has to offer. I'm like a 63 year old kid in a Candy Store.


yeah, so is rocrail! ;)
Last edited by jeanmichel on 21.06.2008, 23:55, edited 1 time in total.
jeanmichel
 

Pictures

Postby werick » 22.06.2008, 00:09

Hi Dadolphs:

Some pictures have been added, as requested. The road is still under contruction. With little scenery or ballasting. I've been concentrating on building the road, painting the rolling stock. And Rocrail of course! :-)

It's N Scale, with two levels. It runs around two finished attic rooms. The second room has a steady 1.8% grade for a total elevation of 14" at the mayfield yards. I chose to do this rather than a Helix.

Warren
werick
 

Re: Pictures

Postby dadolphs » 22.06.2008, 06:52

werick wrote:Some pictures have been added, as requested.

Thank you very much for the great pictures!
werick wrote:The road is still under contruction. With little scenery or ballasting. I've been concentrating on building the road, painting the rolling stock. And Rocrail of course! :-)


I know this 'issue' very well, but on your pictures, compared to mine, one can see at least a little bit green ... :wink:

Best regards,
Dirk
H0 - IB - LocoBuffer (MGV) - Ubuntu (Server) - Vista (Client) - iRoc - andRoc - Fredi

http://blog.moba-keller.de/
dadolphs
 

USB Interface

Postby StEr0iD » 27.06.2008, 15:21

Hi Rocrail Team.

I've got the Set100 from Lenz on a TT Railroad:

LZV100
LI USB Interface
LH100
Gold Mini Decoder

And now i want to use Rocrail.

First, I tried much things to get this Program working, but i always get Timeouts.
Can you give me the full configuration I have to set and a Step by Step description?

Sorry that you have to do this so often, but i tried much of the config properties which are mentioned on this side.

Please Help me :)
StEr0iD
 

Postby jeanmichel » 27.06.2008, 16:26

Hi,

what Operating System are you using?

I don't know how the LI USB talks to the computer ... I'm not shure but it might be a USB to serial Interface inside ...

What do you mean by timeouts? Can you provide some traces please?

Regards
Jean-Michel
jeanmichel
 

Postby StEr0iD » 27.06.2008, 21:24

Properties:
Li USB Serial Port (Com1)

Bit per Second 57600
Data bits 8
Parity None
Stop bits 2
Flow control Xon / Xoff

Rocrail .ini:

<rocrail planfile="plan.xml" libpath="." imgpath="images" ptiid="">
<trace file="rocrail" debug="false" byte="false" parse="false" automatic="false" monitor="true"/>
<tcp port="62842" maxcon="10"/>
<clock divider="1" hour="24" minute="60"/>
<ctrl swtimeout="250" minbklc="20" ignevt="5" initfieldpause="500" seed="4711" savepostime="10" check2in="false" secondnextblock="false"/>
<digint iid="Lenz" lib="lenz" device="com1" fbmod="0" fbpoll="false" ptsupport="true" flow="xon" bps="57600" libpath="."/>
<http port="0" refresh="0">
<webclient port="0" refresh="0"/>
</http>
</rocrail>


Operatin System: Windows XP Professional


Ok now Step by Step:

- LZV100 and Lenz System Power ON
- Connect Li USB
- Start Rocrail Server

<<Console>> Runs 1 Minute without Gui connect. multiple Timeouts. shut down

- Start Rocrail Gui
Now i start the server and connect with the gui
<<Console>>
I tried to control a Diesel Lok.


Gui Server Window:
Error open file [images\] [rb]
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 8 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Error open file [images\] [rb]
Error open file [images\] [rb]
picture [images\] not found
Error open file [images\] [rb]
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3
Timeout on serial read[com1] 13 of 15 readed.[rc=0] tries=3

Gui Centrale Window:
loc 3 velocity=2 direction=fwd
loc 3 velocity=5 direction=fwd
loc 3 velocity=8 direction=fwd
loc 3 velocity=11 direction=fwd
loc 3 velocity=14 direction=fwd
loc 3 velocity=16 direction=fwd
loc 3 velocity=19 direction=fwd
loc 3 velocity=19 direction=fwd
loc 3 velocity=18 direction=fwd
loc 3 velocity=19 direction=fwd
loc 3 velocity=19 direction=fwd
loc 3 velocity=20 direction=fwd
loc 3 velocity=21 direction=fwd
loc 3 velocity=21 direction=fwd
loc 3 velocity=21 direction=fwd
loc 3 velocity=23 direction=fwd
loc 3 velocity=23 direction=fwd
loc 3 velocity=24 direction=fwd
loc 3 velocity=23 direction=fwd
loc 3 velocity=23 direction=fwd
loc 3 velocity=23 direction=fwd
loc 3 velocity=24 direction=fwd
loc 3 velocity=24 direction=fwd
loc 3 velocity=24 direction=fwd
loc 3 velocity=25 direction=fwd
loc 3 velocity=25 direction=fwd
loc 3 velocity=26 direction=fwd
loc 3 velocity=26 direction=fwd
loc 3 velocity=26 direction=fwd
loc 3 velocity=27 direction=fwd
loc 3 velocity=27 direction=fwd
loc 3 velocity=26 direction=fwd
Power OFF
loc 3 velocity=0 direction=fwd
Last edited by StEr0iD on 27.06.2008, 21:27, edited 1 time in total.
StEr0iD
 

Postby StEr0iD » 27.06.2008, 21:25

D:\Tools\Rocrail>rocrail.exe
--------------------------------------------------
lll
iii lll
lll
rrrrrr ooooo ccccc rrrrrr aaaaaa iii lll
rrr rrr ooo ooo ccc rrr rrr aaa aaa iii lll
rrr ooo ooo ccc rrr aaa aaa iii lll
rrr ooooo ccccc rrr aaaaaa iii lll
--------------------------------------------------
Copyright (c) 2002-2008 Rob Versluis
r.j.versluis@rocrail.net
http://www.rocrail.net
License: GNU GPL 2
http://www.gnu.org/licenses/gpl.txt
--------------------------------------------------
Rocrail 1.1.0 "SNAPSHOT"
build Jun 4 2008 05:00:44
svn 3002
librocs 1.1-0 build Jun 4 2008 05:00:30
processid = 3056
mac = 001B9E25F4A60000
--------------------------------------------------
20080627.221116.843 r9999I main OModel 0726 parsePlan file: plan.xml
20080627.221116.859 r9999I main OModel 0756 parsePlan title: Modell-Eisenb
ahn Tobias
20080627.221116.859 r9999I main OModel 2144 init clearingMaps...
20080627.221116.859 r9999I main OModel 2160 init creatingMaps...
20080627.221116.859 r9999I main OModel 1775 createMap() tklist,283.
20080627.221116.859 r9999I main OModel 1775 createMap() fblist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() swlist,28.
20080627.221116.859 r9999I main OModel 1775 createMap() sglist,23.
20080627.221116.859 r9999I main OModel 1775 createMap() colist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() stlist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() ttlist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() seltablist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() bklist,0.
20080627.221116.859 r9999I main OModel 1775 createMap() txlist,3.
20080627.221116.859 r9999I main OLib 0046 rocs_lib_load OK [.\./lcdriver
.dll]
20080627.221116.859 r9999I main OLib 0060 rocs_lib_getProc OK [.\./lcdri
ver.dll:rocGetLcDrInt]
20080627.221116.859 r9999I 00000BA8 OLcDrive 0414 LcDriver 1.1.0 loaded for Dies
el-Lok
20080627.221116.859 r9999I tick00D9 OSystem 0095 Ticker thread has started.
20080627.221116.859 r9999I Diesel-L OLoc 0557 Runner for "Diesel-Lok" starte
d.
20080627.221116.859 r9999I main OLib 0046 rocs_lib_load OK [.\./lcdriver
.dll]
20080627.221116.859 r9999I main OLib 0060 rocs_lib_getProc OK [.\./lcdri
ver.dll:rocGetLcDrInt]
20080627.221116.859 r9999I 00000BA8 OLcDrive 0414 LcDriver 1.1.0 loaded for E-Lo
k
20080627.221116.859 r9999I main OModel 1775 createMap() lclist,2.
20080627.221116.859 r9999I E-Lok OLoc 0557 Runner for "E-Lok" started.
20080627.221116.859 r9999W main OModel 1778 createMap: locationlist NOT fo
und.
20080627.221116.859 r9999W main OModel 1778 createMap: sclist NOT found.
20080627.221116.859 r9999I main OModel 2176 init creatingFbAddrMap...
20080627.221116.859 r9999I main OModel 1798 createFbAddrMap: size=0.
20080627.221116.859 r9999I main OModel 1818 createSwAddrMap: size=28.
20080627.221116.859 r9999I main OModel 2180 init blockInit...
20080627.221116.859 r9999I main OModel 2982 loading occupation file [occ.x
ml]
20080627.221116.859 r9999I main OControl 0578 initDigInts lib="lenz" idd="Le
nz"
20080627.221116.859 r9999I main OLib 0046 rocs_lib_load OK [.\lenz.dll]
20080627.221116.875 r9999I main OLib 0060 rocs_lib_getProc OK [.\lenz.dl
l:rocGetDigInt]
20080627.221116.875 r9999I 00000BA8 OLenz 0998 ------------------------------
----------
20080627.221116.875 r9999I 00000BA8 OLenz 0999 lenz 1.2.0
20080627.221116.875 r9999I 00000BA8 OLenz 1000 ------------------------------
----------
20080627.221116.890 r9999I 00000BA8 OSerial 0089 Serial[com1] opened.[rc=0]
20080627.221116.890 r9999I 00000BA8 wunc 0190 Couldn't access giveio device

20080627.221116.890 r9999I 00000BA8 OSerial 0110 blocking[1] directIO[0]
20080627.221116.906 r9999c transact OLenz 0783 Transactor started.
20080627.221116.906 r9999I initiali OLenz 0354 Initializer started.
20080627.221116.906 r9999I main OControl 0614 initDigInts OK
20080627.221116.906 r9999I initiali OLenz 0370 Initializing Lenz sensors ...
please wait!.
20080627.221116.906 r9999I clocktic OControl 0732 ClockTicker started.
20080627.221116.906 r9999I checker OControl 0780 Checker started.
20080627.221116.906 r9999I main OClntCon 0379 ClientConnection started on po
rt 62842.
20080627.221116.906 r9999I cconmngr OClntCon 0276 Manager started.
20080627.221116.906 r9999I main OModel 0899 updateFB
20080627.221116.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25172
20080627.221120.921 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221121.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25173
20080627.221124.953 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221125.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25174
20080627.221128.984 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221129.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25175
20080627.221132.000 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221133.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25176
20080627.221136.031 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221137.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25177
20080627.221140.062 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221141.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25178
20080627.221144.078 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221145.906 r9999I main OApp 0601 MemOp.getAllocCount() = 25179
20080627.221148.109 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221152.140 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221156.156 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221200.187 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221204.218 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221204.296 r9999I transact OLenz 0863 Command OK
20080627.221204.359 r9999I transact OLenz 0863 Command OK
20080627.221204.406 r9999I transact OLenz 0863 Command OK
20080627.221204.468 r9999I transact OLenz 0863 Command OK
20080627.221204.515 r9999I transact OLenz 0863 Command OK
20080627.221204.578 r9999I transact OLenz 0863 Command OK
20080627.221204.671 r9999I transact OLenz 0863 Command OK
20080627.221205.718 r9999I transact OLenz 0863 Command OK
20080627.221205.781 r9999I transact OLenz 0863 Command OK
20080627.221205.828 r9999I transact OLenz 0863 Command OK
20080627.221205.890 r9999I transact OLenz 0863 Command OK
20080627.221205.937 r9999I transact OLenz 0863 Command OK
20080627.221205.000 r9999I transact OLenz 0863 Command OK
20080627.221205.046 r9999I transact OLenz 0863 Command OK
20080627.221205.109 r9999I transact OLenz 0863 Command OK
20080627.221205.156 r9999I transact OLenz 0863 Command OK
20080627.221205.218 r9999I transact OLenz 0863 Command OK
20080627.221205.265 r9999I transact OLenz 0863 Command OK
20080627.221205.328 r9999I transact OLenz 0863 Command OK
20080627.221205.328 r9999I initiali OLenz 0385 Initializing Lenz sensors ...
done!.
20080627.221205.328 r9999I initiali OLenz 0386 Initializer ended.
20080627.221205.375 r9999I transact OLenz 0863 Command OK
20080627.221205.437 r9999I transact OLenz 0863 Command OK
20080627.221205.484 r9999I transact OLenz 0863 Command OK
20080627.221209.515 r9999E transact OSerial 0390 Timeout on serial read[com1] 8
of 15 readed.[rc=0] tries=3
__signalHandler: 2 Interrupt.
__signalHandler: shutdown...
20080627.221330.671 r9999I 00000FFC OModel 1823 Saving plan [plan.xml]...
20080627.221330.671 r9999I 00000FFC OModel 1842 Serialized Plan=29885
20080627.221330.687 r9999I 00000FFC OModel 0603 29885 bytes saved in plan.xml.

20080627.221330.687 r9999I 00000FFC OModel 1847 Plan Saved.
20080627.221330.687 r9999I 00000FFC OModel 2950 writing occupation file [occ.x
ml]
20080627.221330.687 r9999I 00000FFC OApp 0691 Shutting down...
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[0] <clockticker> still
active.
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[1] <tick003D3AE4> still
active.
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[2] <E> still active
.
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[3] <Diesel> still a
ctive.
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[4] <checker> still acti
ve.
20080627.221330.687 r9999I 00000FFC OApp 0699 Thread[5] <cconmngr> still act
ive.
20080627.221330.687 r9999I 00000FFC OApp 0643 backing up rocrail.ini to rocr
ail.ini.bak...
20080627.221330.687 r9999I 00000FFC OApp 0660 saving ini rocrail.ini...
20080627.221330.687 r9999I 00000FFC OHttp 0340 Shutting down HTTP...
20080627.221330.687 r9999I 00000FFC OControl 0630 Shutting down...
20080627.221330.687 r9999I 00000FFC OControl 0635 Informing interfaces...
__signalHandler: exit...
StEr0iD
 

Postby StEr0iD » 27.06.2008, 21:25

20080627.221521.031 r9999I main OModel 2144 init clearingMaps...
20080627.221521.031 r9999I main OModel 2160 init creatingMaps...
20080627.221521.031 r9999I main OModel 1775 createMap() tklist,283.
20080627.221521.031 r9999I main OModel 1775 createMap() fblist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() swlist,28.
20080627.221521.031 r9999I main OModel 1775 createMap() sglist,23.
20080627.221521.031 r9999I main OModel 1775 createMap() colist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() stlist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() ttlist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() seltablist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() bklist,0.
20080627.221521.031 r9999I main OModel 1775 createMap() txlist,3.
20080627.221521.031 r9999I main OLib 0046 rocs_lib_load OK [.\./lcdriver
.dll]
20080627.221521.031 r9999I main OLib 0060 rocs_lib_getProc OK [.\./lcdri
ver.dll:rocGetLcDrInt]
20080627.221521.031 r9999I 00000A30 OLcDrive 0414 LcDriver 1.1.0 loaded for Dies
el-Lok
20080627.221521.031 r9999I tick00D9 OSystem 0095 Ticker thread has started.
20080627.221521.031 r9999I Diesel-L OLoc 0557 Runner for "Diesel-Lok" starte
d.
20080627.221521.031 r9999I main OLib 0046 rocs_lib_load OK [.\./lcdriver
.dll]
20080627.221521.031 r9999I main OLib 0060 rocs_lib_getProc OK [.\./lcdri
ver.dll:rocGetLcDrInt]
20080627.221521.031 r9999I 00000A30 OLcDrive 0414 LcDriver 1.1.0 loaded for E-Lo
k
20080627.221521.031 r9999I main OModel 1775 createMap() lclist,2.
20080627.221521.031 r9999I E-Lok OLoc 0557 Runner for "E-Lok" started.
20080627.221521.031 r9999W main OModel 1778 createMap: locationlist NOT fo
und.
20080627.221521.031 r9999W main OModel 1778 createMap: sclist NOT found.
20080627.221521.031 r9999I main OModel 2176 init creatingFbAddrMap...
20080627.221521.031 r9999I main OModel 1798 createFbAddrMap: size=0.
20080627.221521.031 r9999I main OModel 1818 createSwAddrMap: size=28.
20080627.221521.031 r9999I main OModel 2180 init blockInit...
20080627.221521.031 r9999I main OModel 2982 loading occupation file [occ.x
ml]
20080627.221521.031 r9999I main OControl 0578 initDigInts lib="lenz" idd="Le
nz"
20080627.221521.031 r9999I main OLib 0046 rocs_lib_load OK [.\lenz.dll]
20080627.221521.031 r9999I main OLib 0060 rocs_lib_getProc OK [.\lenz.dl
l:rocGetDigInt]
20080627.221521.031 r9999I 00000A30 OLenz 0998 ------------------------------
----------
20080627.221521.031 r9999I 00000A30 OLenz 0999 lenz 1.2.0
20080627.221521.031 r9999I 00000A30 OLenz 1000 ------------------------------
----------
20080627.221521.062 r9999I 00000A30 OSerial 0089 Serial[com1] opened.[rc=0]
20080627.221521.062 r9999I 00000A30 wunc 0190 Couldn't access giveio device

20080627.221521.062 r9999I 00000A30 OSerial 0110 blocking[1] directIO[0]
20080627.221521.062 r9999c transact OLenz 0783 Transactor started.
20080627.221521.062 r9999I initiali OLenz 0354 Initializer started.
20080627.221521.062 r9999I main OControl 0614 initDigInts OK
20080627.221521.062 r9999I initiali OLenz 0370 Initializing Lenz sensors ...
please wait!.
20080627.221521.078 r9999I clocktic OControl 0732 ClockTicker started.
20080627.221521.078 r9999I checker OControl 0780 Checker started.
20080627.221521.078 r9999I main OClntCon 0379 ClientConnection started on po
rt 62842.
20080627.221521.078 r9999I cconmngr OClntCon 0276 Manager started.
20080627.221521.078 r9999I main OModel 0899 updateFB
20080627.221521.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25172
20080627.221525.093 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221526.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25173
20080627.221529.125 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221530.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25174
20080627.221533.156 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221534.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25175
20080627.221537.171 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221538.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25176
20080627.221541.203 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221542.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25177
20080627.221545.234 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221546.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25178
20080627.221549.250 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221550.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25179
20080627.221553.281 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221557.296 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221601.328 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221605.359 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221609.375 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221613.406 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221617.437 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221621.453 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221625.484 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221629.515 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221633.531 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221637.562 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221641.593 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221645.609 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221649.640 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221653.656 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221657.687 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221702.718 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221706.734 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221710.765 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221714.781 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221718.812 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221718.531 r9999I cmdr0103 OClntCon 0190 cmdReader started for:127.0.0.
1.
20080627.221718.531 r9999I infw0103 OClntCon 0089 infoWriter started for:127.0.0
.1.
20080627.221719.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25233
20080627.221719.531 r9999I cmdr0103 OModel 1658 model: plan
20080627.221720.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25254
20080627.221720.515 r9999I cmdr0103 OModel 1658 model: fstat
20080627.221720.515 r9999I cmdr0103 OModel 1736 Sending 0 fstat's to client...

20080627.221720.578 r9999I cmdr0103 OModel 1658 model: fstat
20080627.221720.578 r9999I cmdr0103 OModel 1736 Sending 0 fstat's to client...

20080627.221720.656 r9999I cmdr0103 OControl 0307 DataReq filename=[]
20080627.221720.656 r9999I cmdr0103 OControl 0312 Server filename=[images\]
20080627.221720.671 r0500E cmdr0103 OFile 0149 Error open file [images\] [rb]
[2] [No such file or directory]
20080627.221721.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25260
20080627.221722.843 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221726.859 r9999E transact OSerial 0390 Timeout on serial read[com1] 8
of 15 readed.[rc=0] tries=3
20080627.221730.875 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221734.906 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221738.921 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221742.062 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221746.734 r9999I cmdr0103 OControl 0307 DataReq filename=[]
20080627.221746.734 r9999I cmdr0103 OControl 0312 Server filename=[images\]
20080627.221746.734 r0500E cmdr0103 OFile 0149 Error open file [images\] [rb]
[2] [No such file or directory]
20080627.221746.750 r9999I cmdr0103 OControl 0307 DataReq filename=[]
20080627.221746.750 r9999I cmdr0103 OControl 0312 Server filename=[images\]
20080627.221746.750 r0500E cmdr0103 OFile 0149 Error open file [images\] [rb]
[2] [No such file or directory]
20080627.221746.906 r9999I cmdr0103 OControl 0307 DataReq filename=[]
20080627.221746.906 r9999I cmdr0103 OControl 0312 Server filename=[images\]
20080627.221746.906 r0500E cmdr0103 OFile 0149 Error open file [images\] [rb]
[2] [No such file or directory]
20080627.221746.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25263
20080627.221746.078 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221747.312 r9999c 00000348 OLenz 0617 loc 3 velocity=2 direction=fwd

20080627.221748.812 r9999c 00000348 OLenz 0617 loc 3 velocity=5 direction=fwd

20080627.221748.968 r9999c 00000348 OLenz 0617 loc 3 velocity=8 direction=fwd

20080627.221748.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25273
20080627.221748.187 r9999c 00000348 OLenz 0617 loc 3 velocity=11 direction=fw
d
20080627.221748.312 r9999c 00000348 OLenz 0617 loc 3 velocity=14 direction=fw
d
20080627.221748.468 r9999c 00000348 OLenz 0617 loc 3 velocity=16 direction=fw
d
20080627.221749.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25283
20080627.221749.171 r9999c 00000348 OLenz 0617 loc 3 velocity=19 direction=fw
d
20080627.221750.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25288
20080627.221750.109 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221751.000 r9999c 00000348 OLenz 0617 loc 3 velocity=19 direction=fw
d
20080627.221751.015 r9999c 00000348 OLenz 0617 loc 3 velocity=18 direction=fw
d
20080627.221751.046 r9999c 00000348 OLenz 0617 loc 3 velocity=19 direction=fw
d
20080627.221751.078 r9999c 00000348 OLenz 0617 loc 3 velocity=19 direction=fw
d
20080627.221751.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25383
20080627.221751.078 r9999c 00000348 OLenz 0617 loc 3 velocity=20 direction=fw
d
20080627.221751.093 r9999c 00000348 OLenz 0617 loc 3 velocity=21 direction=fw
d
20080627.221751.109 r9999c 00000348 OLenz 0617 loc 3 velocity=21 direction=fw
d
20080627.221751.125 r9999c 00000348 OLenz 0617 loc 3 velocity=21 direction=fw
d
20080627.221751.171 r9999c 00000348 OLenz 0617 loc 3 velocity=23 direction=fw
d
20080627.221751.234 r9999c 00000348 OLenz 0617 loc 3 velocity=23 direction=fw
d
20080627.221751.250 r9999c 00000348 OLenz 0617 loc 3 velocity=24 direction=fw
d
20080627.221751.250 r9999c 00000348 OLenz 0617 loc 3 velocity=23 direction=fw
d
20080627.221751.265 r9999c 00000348 OLenz 0617 loc 3 velocity=23 direction=fw
d
20080627.221751.281 r9999c 00000348 OLenz 0617 loc 3 velocity=23 direction=fw
d
20080627.221751.296 r9999c 00000348 OLenz 0617 loc 3 velocity=24 direction=fw
d
20080627.221751.312 r9999c 00000348 OLenz 0617 loc 3 velocity=24 direction=fw
d
20080627.221751.312 r9999c 00000348 OLenz 0617 loc 3 velocity=24 direction=fw
d
20080627.221751.328 r9999c 00000348 OLenz 0617 loc 3 velocity=25 direction=fw
d
20080627.221751.343 r9999c 00000348 OLenz 0617 loc 3 velocity=25 direction=fw
d
20080627.221751.375 r9999c 00000348 OLenz 0617 loc 3 velocity=26 direction=fw
d
20080627.221751.390 r9999c 00000348 OLenz 0617 loc 3 velocity=26 direction=fw
d
20080627.221751.468 r9999c 00000348 OLenz 0617 loc 3 velocity=26 direction=fw
d
20080627.221751.625 r9999c 00000348 OLenz 0617 loc 3 velocity=27 direction=fw
d
20080627.221751.687 r9999c 00000348 OLenz 0617 loc 3 velocity=27 direction=fw
d
20080627.221752.781 r9999c 00000348 OLenz 0617 loc 3 velocity=26 direction=fw
d
20080627.221752.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25293
20080627.221754.140 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221758.156 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221801.203 r9999c 00000348 OLenz 0682 Power OFF
20080627.221802.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25294
20080627.221802.187 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221804.812 r9999c 00000348 OLenz 0617 loc 3 velocity=0 direction=fwd

20080627.221804.078 r9999I main OApp 0601 MemOp.getAllocCount() = 25300
20080627.221806.218 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221810.234 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
20080627.221810.281 r9999I initiali OLenz 0385 Initializing Lenz sensors ...
done!.
20080627.221810.281 r9999I initiali OLenz 0386 Initializer ended.
20080627.221814.265 r9999E transact OSerial 0390 Timeout on serial read[com1] 1
3 of 15 readed.[rc=0] tries=3
__signalHandler: 2 Interrupt.
__signalHandler: shutdown...
20080627.221817.046 r9999I 00000814 OModel 1823 Saving plan [plan.xml]...
20080627.221817.062 r9999I 00000814 OModel 1842 Serialized Plan=29885
20080627.221817.062 r9999I 00000814 OModel 0603 29885 bytes saved in plan.xml.

20080627.221817.062 r9999I 00000814 OModel 1847 Plan Saved.
20080627.221817.062 r9999I 00000814 OModel 2950 writing occupation file [occ.x
ml]
20080627.221817.062 r9999I 00000814 OApp 0691 Shutting down...
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[0] <clockticker> still
active.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[1] <tick003D3AE4> still
active.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[2] <E> still active
.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[3] <Diesel> still a
ctive.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[4] <cmdr0103EA5C> still
active.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[5] <infw0103EA5C> still
active.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[6] <checker> still acti
ve.
20080627.221817.062 r9999I 00000814 OApp 0699 Thread[7] <cconmngr> still act
ive.
20080627.221817.062 r9999I 00000814 OApp 0643 backing up rocrail.ini to rocr
ail.ini.bak...
20080627.221817.078 r9999I 00000814 OApp 0660 saving ini rocrail.ini...
20080627.221817.078 r9999I 00000814 OHttp 0340 Shutting down HTTP...
20080627.221817.078 r9999I 00000814 OControl 0630 Shutting down...
20080627.221817.078 r9999I 00000814 OControl 0635 Informing interfaces...
__signalHandler: exit...
StEr0iD
 

Postby jeanmichel » 28.06.2008, 10:01

Hi,

It is not a bug at all, because the USB Interface is not supported.

There will be some modifications necessary to the protocol:
Code: Select all
1.2.1 Befehlsaufbau beim Senden über die serielle Schnittstelle
Jeder Befehl, der an das Interface gesendet wird, muss die Sequenz 0xFF 0xFE vorangestellt
bekommen. Diese Sequenz fliesst nicht in die Berechnung der Checksumme ein.
Als Beispiel, um den Befehl "Alles an" an das Interface zu senden, müssen folgende Daten übertragen
werden :
0xFF 0xFE 0x21 0x81 0xA0


I will implement it when I have the patience and time.

Regards
Jean-Michel
jeanmichel
 

Next

Return to Lenz