Win-Digipet - english forums > Win-Digipet Forum English

Mixing Demand Contact and Timetable Routes in one ZFA File

(1/1)

Andy Foster:
Dear All

I have 5 routes in my ZFA file that run automatically by Demand Contact. This allows me to run 3 trains simultaneously in a loop. I would like to run these routes for 5 minutes and then switch the same 5 routes to a timetable operation.
Is there a way that this can be done?.

Thanks

Andy

Jaap Vonk:
Good evening Andy,
My suggestion to do this would be to create two ZFA-files: one by demand contact and the other identical to the demand contact but created as a time table operation.
The availability of tools that this would require depends on the version of Windigipet that you are using. I assume WDP2018.

Walk down the following steps:
1) Create a frequency generator using the "taktgenerator"
    Set the frequency to 6 sec for condition "on" and 6 sec for condition "off".
    The virtual RMK (example: RMK600) that is tied to this frequency generator will be engaged during 6 sec.
    and disengaged during 6 sec.
2) Create a counter in your railplan
3) Create a "Stellwerkwarter" (the function of the button with the house and the person beside it) as follows:
    UND
    ZFA "demand contact" is active
    ZFA "time table" is active
    RMK600 engaged
    The corrsponding action is: counter +1
This creates a cycle of 6 sec.; 1 min. is elapsed after 5cycles and 5 min. are elapsed after 25 cycles
4) Add to each line in your ZFA-files the condition as follows:
    In the demand-contact ZFA-file: UND
                                                   counter <25
    In the "time-table" ZFA              UND
                                                   counter >25
5) Create a "Stellwerkwarter" to reset the counter:
                                                    UND
                                                    counter >50
    The corresponding action is: counter = 0
This will cycle to run your routes in 5 min "on contact demand" and 5 min on "time table"

I do hope that this procedure will meet your wishes.

Kind regards,

Jaap Vonk
                                             

Jaap Vonk:
Hallo Andy,

I accidentally indicated that 1 min. is elapsed after 5 cycles; this must obviously be after 10 cycles; and 5 minutes after 50 cycles. Please double the value of the counter limits and the error is corrected.
Sorry about this;
Kind regards, Jaap

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln