unexpected in event resets timer enter2in?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rocrail |
Won't Fix
|
Low
|
Unassigned |
Bug Description
WHen an unexpected in event occurs it appears that the enter2in timers are reset by that event, or that the value setting of the timer is added to the timer with every unaxpected in event. I tried by manually (with a wire) triggering the s88 input to generate 4 unexpected in events during one pass of the train. The enter2in timer value was 10000 ms and the in event only after 40 seconds or so. Details are also described here, together with trace files: http://
I also made a very simple plan (attached), where a loc drives from block 1 to block 2. Sensor 1 triggers the enter2in event of block 2 with a timer value of 10000 ms. From block 2 (no wait) the loc drives to block 3. Sensor 2 trigges the enter2in event of block 3, timer value 5000. Block 3 also has a enter2route sensor from block 2. In the also attached trace file I triggered sensor 1 (fb 17) many times. You can see the timings going wrong, at 21:59:07 sensor 1 is triggered, so at 21:59:17 there should be the in event, the enter2route event and because of the enter2route event the loc speed should go to mid. Loc speed is reduced at 21:57:30. At 21:57:31 I triggered sensor 2 (fb18), so 5 seconds later the in event of block 3 should come and the loc should stop. The actual stop command comes at 21:58:16.
I experimented a little bit and noticed that the unexpected in events only happen when the sensor is defined for "all" route (I did not test the all-reverse route). When I set the sensor not for all routes, but for a specific route I do not get an unexpected in event and no problems with the timings. I used head revision.
Best regards, Ronald
and the trace