Pagina 6 di 6

Inviato: lunedì 8 settembre 2008, 21:13
da sergio
In questo periodo sto provando a fare andare sotto rocrail al club un mezzo "osso di cane" (per i fighetti detto dogbone). Qualcosa si vede qui
http://digilander.libero.it/trenus/Prog ... ule01.html
questo schema, che e' semplicissimo, puo' essere assimilato ad un lungo
itinerario con diversi blocchi operativi e con un solo scambio. Il treno si muove da un' estremita' all' altra, poi torna ed imbocca una volta una diramazione e la volta successiva quell' altra. Quello pero' che interessa qui non e' l' automatismo, quanto invece operare la sola loco prevista (DCC address 3, 28 step di velocita') e poi l' unico scambio previsto che e' azionato da un segnale DCC, mediante scheda MERG a scarica capacitiva.(indirizzo scambio = 16, in quanto ho un' altra scheda simile che mi pilota prime 15 uscite) Se uno deve partire, qui puo' prendere questo schema come riferimento, almeno per muovere loco ed uno scambio, poi per similitudine puo' aggiungere il resto.
Se io che sono un "ruspante" sono riuscito a muovere lo scambio azionandolo addirittura con motore tratto da CD rom, Voi che siete dei raffinati e che usate persino i servo non dovreste avere particolari difficolta'a far andare una cosa del genere. Per non occupare spazio, non metto in linea ne' il file Rocrail.ini, ne' il Rocgui.ini in quanto penso che per partire basti personalizzare di poco quelli standard. Riporto di seguito invece il file plan.xml e siccome non so come si possa allegare un file qui, lo riporto sotto.
Il programma e' a buon punto di test - provato sul plastico. Uno puo' giusto per sfizzio, caricarselo e provarne il funzionamento in simulazione (cioe' senza avere il plastico) non sono pero' ancora collegati i segnali. Divertirsi a vedere in chiaro nella sezione Controller e Server i vari comandi che vengono sparati continuamente dal sw che fa da centralina. Leggendo ed interpretando questi comandi si entra nella logica del software.....
Speriamo che questo aiuti e non confonda le idee di piu'... :roll: sergio
- <plan rocrailversion="1.1.0 svn0" title="plan.xml" rocguiversion="1.1.0 svn3287">
<zlevel title="AMC_DogBone" z="0" active="true" />
- <tklist>
<tk type="buffer" id="tk20080730190750675" x="0" y="1" z="0" ori="east" prev_id="tk20080730190750675" blockid="blD" road="false" />
<tk type="buffer" id="tk20080730191046908" x="0" y="3" z="0" ori="east" prev_id="tk20080730191046908" blockid="blA1" road="false" />
<tk type="curve" id="tk20080731193752240" x="19" y="3" z="0" prev_id="tk20080731193752240" blockid="blB" road="false" ori="south" />
<tk type="curve" id="tk20080731193805449" x="19" y="1" z="0" ori="west" prev_id="tk20080731193805449" blockid="blC" road="false" />
<tk type="straight" id="tk20080809180010055" x="8" y="3" z="0" prev_id="tk20080809180010055" blockid="blA1" road="false" ori="west" />
<tk type="straight" id="tk20080825211226464" x="8" y="1" z="0" prev_id="tk20080825211226464" blockid="blD" road="false" ori="west" />
<tk type="straight" id="tk20080826181133502" x="18" y="1" z="0" ori="east" prev_id="tk20080826181133502" blockid="blC" road="false" />
<tk type="straight" id="tk20080829164413156" x="19" y="2" z="0" prev_id="tk20080829164413156" blockid="blB" road="false" ori="north" />
<tk type="curve" id="tk20080831220631093" x="9" y="4" z="0" ori="south" prev_id="tk20080831220631093" blockid="blA2" road="false" />
<tk type="curve" id="tk20080831220646671" x="8" y="4" z="0" ori="north" prev_id="tk20080831220646671" blockid="blA2" road="false" />
<tk type="curve" id="tk20080831220703671" x="8" y="5" z="0" ori="south" prev_id="tk20080831220703671" blockid="blA2" road="false" />
<tk type="buffer" id="tk20080831220750390" x="0" y="5" z="0" ori="east" prev_id="tk20080831220750390" blockid="blA2" road="false" />
<tk type="straight" id="tk20080831220950218" x="9" y="1" z="0" prev_id="tk20080831220950218" blockid="blD" road="false" ori="west" />
<tk type="straight" id="tk20080901231430031" x="18" y="3" z="0" prev_id="tk20080901231430031" blockid="blB" road="false" ori="west" />
</tklist>
- <lclist>
- <lc id="BR216" prev_id="BR216" desc="" image="br216.xpm" remark="" len="0" catnr="" purchased="" runtime="67083" identifier="0" show="true" bus="0" addr="3" iid="" prot="N" protver="1" spcnt="28" fncnt="4" V_min="20" V_mid="30" V_max="60" V_Rmin="0" V_Rmid="0" V_Rmax="0" V_step="0" mass="0" V_mode="percent" placing="false" regulated="true" dirpause="0" dirchgspd="false" blockwaittime="10" evttimer="0" usescheduletime="true" commuter="false" trysamedir="true" tryoppositedir="false" engine="diesel" cargo="none" secondnextblock="false" fn="true" consist="" V="0" dir="false" mode="auto" destblockid="blD" blockid="blD" scidx="-1" V_hint="mid" server="infw00D95234" fx="0">
<fundef fn="1" onblockid="bl1,bl2" offblockid="bl1,bl2" onevent="enter_block" offevent="exit_block" text="" timer="0" />
</lc>
</lclist>
- <fblist>
<fb id="s1" x="1" y="3" z="0" state="false" prev_id="s1" desc="" show="true" road="false" curve="false" blockid="blA1" ori="west" iid="" bus="0" addr="1" activelow="false" action="false" />
<fb id="s2" x="6" y="3" z="0" state="false" prev_id="s2" desc="" show="true" road="false" curve="false" blockid="blA1" ori="west" iid="" bus="0" addr="2" activelow="false" action="false" />
<fb id="s3" x="11" y="3" z="0" state="false" prev_id="s3" desc="" show="true" road="false" curve="false" blockid="blB" ori="west" iid="" bus="0" addr="3" activelow="false" action="false" />
<fb id="s4" x="16" y="3" z="0" state="false" prev_id="s4" desc="" show="true" road="false" curve="false" blockid="blB" ori="west" iid="" bus="0" addr="4" activelow="false" action="false" />
<fb id="s5" x="16" y="1" z="0" state="false" prev_id="s5" desc="" show="true" road="false" curve="false" blockid="blC" ori="west" iid="" bus="0" addr="5" activelow="false" action="false" />
<fb id="s6" x="11" y="1" z="0" state="false" prev_id="s6" desc="" show="true" road="false" curve="false" blockid="blC" ori="west" iid="" bus="0" addr="6" activelow="false" action="false" />
<fb id="s7" x="6" y="1" z="0" state="false" prev_id="s7" desc="" show="true" road="false" curve="false" blockid="blD" ori="west" iid="" bus="0" addr="7" activelow="false" action="false" />
<fb id="s8" x="1" y="1" z="0" state="false" prev_id="s8" desc="" show="true" road="false" curve="false" blockid="blD" ori="west" iid="" bus="0" addr="8" activelow="false" action="false" />
<fb id="s9" x="1" y="5" z="0" state="false" prev_id="s9" desc="" show="true" road="false" curve="false" blockid="blA2" ori="west" iid="" bus="0" addr="9" activelow="false" action="false" />
<fb id="s10" x="6" y="5" z="0" state="false" prev_id="s10" desc="" show="true" road="false" curve="false" blockid="blA2" ori="west" iid="" bus="0" addr="10" activelow="false" action="false" />
</fblist>
- <bklist>
- <bk id="blA1" x="2" y="3" z="0" reserved="false" entering="false" state="open" locid="" prev_id="blA1" desc="" len="0" electrified="false" station="false" gomanual="true" acceptghost="false" terminalstation="false" wait="true" road="false" allowchgdir="true" commuter="no" ttid="" signal="sigA1-B" wsignal="" signalR="" wsignalR="" speed="cruise" exitspeed="cruise" type="none" incline="0" waitmode="random" minwaittime="1" maxwaittime="30" waittime="10" mvscale="87" mvdistance="0" mvmph="false" evttimer="0" iid="" addr="0" port="0" td="false">
<fbevent id="s2" action="enter" from="blB" endpuls="false" ghostdetection="false" />
<fbevent id="s1" action="in" from="blB" endpuls="false" ghostdetection="false" />
</bk>
- <bk id="blB" x="12" y="3" z="0" reserved="false" entering="false" state="open" locid="BR216" prev_id="blB" desc="" len="0" electrified="false" station="false" gomanual="true" acceptghost="false" terminalstation="false" wait="true" road="false" allowchgdir="true" commuter="no" ttid="" signal="sigB-C" wsignal="" signalR="sigB-A" wsignalR="" speed="cruise" exitspeed="cruise" type="none" incline="0" waitmode="random" minwaittime="1" maxwaittime="10" waittime="5" mvscale="87" mvdistance="0" mvmph="false" evttimer="0" iid="" addr="0" port="0" td="false">
<fbevent id="s3" action="enter" from="blA1" endpuls="false" ghostdetection="false" />
<fbevent id="s4" action="in" from="blA1" endpuls="false" ghostdetection="false" />
<fbevent id="s4" action="enter" from="blC" endpuls="false" ghostdetection="false" />
<fbevent id="s3" action="in" from="blC" endpuls="false" ghostdetection="false" />
<fbevent id="s3" action="enter" from="blA2" endpuls="false" ghostdetection="false" />
<fbevent id="s4" action="in" from="blA2" endpuls="false" ghostdetection="false" />
</bk>
- <bk id="blC" x="12" y="1" z="0" reserved="false" entering="false" state="open" locid="BR216" prev_id="blC" desc="" len="0" electrified="false" station="false" gomanual="true" acceptghost="false" terminalstation="false" wait="true" road="false" allowchgdir="false" commuter="no" ttid="" signal="sigC-D" wsignal="" signalR="sigC-B" wsignalR="" speed="cruise" exitspeed="cruise" type="none" incline="0" waitmode="random" minwaittime="1" maxwaittime="5" waittime="5" mvscale="87" mvdistance="0" mvmph="false" evttimer="0" iid="" addr="0" port="0" td="false">
<fbevent id="s5" action="enter" from="blB" endpuls="false" ghostdetection="false" />
<fbevent id="s6" action="in" from="blB" endpuls="false" ghostdetection="false" />
<fbevent id="s6" action="enter" from="blD" endpuls="false" ghostdetection="false" />
<fbevent id="s5" action="in" from="blD" endpuls="false" ghostdetection="false" />
</bk>
- <bk id="blD" x="2" y="1" z="0" reserved="false" entering="false" state="open" locid="" prev_id="blD" desc="" len="0" electrified="false" station="false" gomanual="true" acceptghost="false" terminalstation="false" wait="true" road="false" allowchgdir="true" commuter="no" ttid="" signal="" wsignal="" signalR="sigD-C" wsignalR="" speed="cruise" exitspeed="cruise" type="none" incline="0" waitmode="random" minwaittime="1" maxwaittime="10" waittime="5" mvscale="87" mvdistance="0" mvmph="false" evttimer="0" iid="" addr="0" port="0" td="false">
<fbevent id="s7" action="enter" from="blC" endpuls="false" ghostdetection="false" />
<fbevent id="s8" action="in" from="blC" endpuls="false" ghostdetection="false" />
</bk>
- <bk id="blA2" x="2" y="5" z="0" reserved="false" entering="false" state="open" prev_id="blA2" desc="" len="0" electrified="false" station="false" gomanual="true" acceptghost="false" terminalstation="false" wait="true" road="false" allowchgdir="true" commuter="no" ttid="" signal="sigA2-B" wsignal="" signalR="" wsignalR="" speed="cruise" exitspeed="cruise" type="none" incline="0" waitmode="random" minwaittime="1" maxwaittime="30" waittime="10" mvscale="87" mvdistance="0" mvmph="false" evttimer="0" iid="" addr="0" port="0" td="false" locid="">
<fbevent id="s10" action="enter" from="blB" endpuls="false" ghostdetection="false" />
<fbevent id="s9" action="in" from="blB" endpuls="false" ghostdetection="false" />
</bk>
</bklist>
- <stlist>
- <st id="r(A1-B)" prev_id="r(A1-B)" bka="blA1" bkb="blB" bkc="" modid="" dir="true" lcdir="false" speed="none" swap="false" function="0" funtime="1" funevent="none">
<swcmd id="sw1" cmd="straight" />
</st>
<st id="r(C-D)" prev_id="r(C-D)" bka="blC" bkb="blD" bkc="" modid="" dir="true" lcdir="false" speed="none" swap="false" function="0" funtime="1" funevent="none" />
<st id="r(B-C)" prev_id="r(B-C)" bka="blB" bkb="blC" bkc="" modid="" dir="true" lcdir="false" speed="none" swap="false" function="0" funtime="1" funevent="none" />
<st id="r(D-C)" prev_id="r(D-C)" bka="blD" bkb="blC" bkc="" modid="" dir="true" lcdir="true" speed="none" swap="false" function="0" funtime="1" funevent="none" />
<st id="r(C-B)" prev_id="r(C-B)" bka="blC" bkb="blB" bkc="" modid="" dir="true" lcdir="true" speed="none" swap="false" function="0" funtime="1" funevent="none" />
- <st id="r(B-A1)" prev_id="r(B-A1)" bka="blB" bkb="blA1" bkc="" modid="" dir="true" lcdir="true" speed="none" swap="false" function="0" funtime="1" funevent="none">
<swcmd id="sw1" cmd="straight" />
</st>
- <st id="r(A2-B)" prev_id="r(A2-B)" bka="blA2" bkb="blB" bkc="" modid="" dir="true" lcdir="false" speed="none" swap="false" function="0" funtime="1" funevent="none">
<swcmd id="sw1" cmd="turnout" />
</st>
- <st id="r(B-A2)" prev_id="r(B-A2)" bka="blB" bkb="blA2" bkc="" modid="" dir="true" lcdir="true" speed="none" swap="false" function="0" funtime="1" funevent="none">
<swcmd id="sw1" cmd="turnout" />
</st>
</stlist>
- <sglist>
<sg id="sigA1-B" x="7" y="3" z="0" desc="" blockid="blA1" road="false" ori="east" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="red" />
<sg id="sigC-D" x="10" y="1" z="0" ori="west" desc="" blockid="blC" road="false" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="red" />
<sg id="sigC-B" x="17" y="1" z="0" desc="" blockid="blC" road="false" ori="east" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="red" />
<sg id="sigD-C" x="7" y="1" z="0" desc="" blockid="blD" road="false" ori="east" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="red" />
<sg id="sigA2-B" x="7" y="5" z="0" ori="east" desc="" blockid="blA2" road="false" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="red" />
<sg id="sigB-A" x="10" y="3" z="0" state="red" desc="" blockid="blB" road="false" ori="west" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" />
<sg id="sigB-C" x="17" y="3" z="0" ori="east" desc="" blockid="blB" road="false" iid="" bus="0" addr="0" addr2="0" addr3="0" addr4="0" port1="0" port2="0" port3="0" port4="0" gate1="0" gate2="0" gate3="0" gate4="0" prot="M" type="light" signal="main" aspects="3" dwarf="false" usepatterns="false" inv="false" pair="false" asswitch="false" green="0" red="0" yellow="0" white="0" state="yellow" />
</sglist>
- <txlist>
<tx text="BLOCK A1" id="tx20080809180339915" x="3" y="4" z="0" backred="0" backgreen="128" backblue="255" prev_id="tx20080809180339915" desc="" pointsize="10" bold="true" underlined="false" italic="false" transparent="true" ori="west" cx="2" cy="1" red="255" green="0" blue="0" />
<tx text="BLOCK D" id="tx20080829172132265" x="3" y="0" z="0" backred="128" backgreen="0" backblue="255" prev_id="tx20080829172132265" desc="" pointsize="10" bold="true" underlined="false" italic="false" transparent="true" ori="west" cx="2" cy="1" red="255" green="0" blue="128" />
<tx text="BLOCK B" id="tx20080830085022765" x="13" y="4" z="0" red="255" green="0" blue="128" prev_id="tx20080830085022765" desc="" pointsize="10" bold="true" underlined="false" italic="false" transparent="true" ori="west" cx="2" cy="1" />
<tx text="BLOCK C" id="tx20080830090221281" x="13" y="0" z="0" red="255" green="0" blue="128" prev_id="tx20080830090221281" desc="" pointsize="10" bold="true" underlined="false" italic="false" transparent="true" ori="west" cx="2" cy="1" backred="128" backgreen="0" backblue="255" />
<tx text="BLOCK A2" id="tx20080831220851203" x="3" y="6" z="0" red="255" green="0" blue="128" backred="0" backgreen="0" backblue="255" prev_id="tx20080831220851203" desc="" pointsize="10" bold="true" underlined="false" italic="false" transparent="true" ori="west" cx="2" cy="1" />
</txlist>
- <swlist>
<sw id="sw1" prev_id="sw1" blockid="" type="left" accnr="1" savepos="none" dir="false" swtype="default" road="false" x="9" y="3" z="0" ori="west" iid="" bus="0" addr1="16" port1="0" gate1="0" inv="false" singlegate="false" addr2="0" port2="0" inv2="false" actdelay="true" delay="0" prot="N" fbRinv="false" fbGinv="false" fb2Rinv="false" fb2Ginv="false" state="straight" />
</swlist>
- <sclist>
- <sc id="GO_FORWARD_A1-D" prev_id="GO_FORWARD_A1-D" relativetime="false" scaction="RETURN_D-A2" coaction="" fnaction="0" actiontime="0" lcaction="" lcscaction="" extaction="" coactioncmd="on">
<scentry block="blA1" hour="0" minute="0" swap="false" />
<scentry block="blB" hour="0" minute="0" swap="false" />
<scentry block="blC" hour="0" minute="0" swap="false" />
<scentry block="blD" hour="0" minute="0" swap="false" />
</sc>
- <sc id="RETURN_D-A2" prev_id="RETURN_D-A2" relativetime="false" scaction="GO_FORWARD_A2-D" coaction="" fnaction="0" actiontime="0" lcaction="" lcscaction="" extaction="" coactioncmd="on">
<scentry block="blD" hour="0" minute="0" swap="false" />
<scentry block="blC" hour="0" minute="0" swap="false" />
<scentry block="blB" hour="0" minute="0" swap="false" />
<scentry block="blA2" hour="0" minute="0" swap="false" />
</sc>
- <sc id="GO_FORWARD_A2-D" prev_id="GO_FORWARD_A2-D" relativetime="false" scaction="RETURN_D-A1" coaction="" fnaction="0" actiontime="0" lcaction="" lcscaction="" extaction="" coactioncmd="on">
<scentry block="blA2" hour="0" minute="0" swap="false" />
<scentry block="blB" hour="0" minute="0" swap="false" />
<scentry block="blC" hour="0" minute="0" swap="false" />
<scentry block="blD" hour="0" minute="0" swap="false" />
</sc>
- <sc id="RETURN_D-A1" prev_id="RETURN_D-A1" relativetime="false" scaction="GO_FORWARD_A1-D" coaction="" fnaction="0" actiontime="0" lcaction="" lcscaction="" extaction="" coactioncmd="on">
<scentry block="blD" hour="0" minute="0" swap="false" />
<scentry block="blC" hour="0" minute="0" swap="false" />
<scentry block="blB" hour="0" minute="0" swap="false" />
<scentry block="blA1" hour="0" minute="0" swap="false" />
</sc>
</sclist>
</plan>

Inviato: giovedì 11 settembre 2008, 8:17
da Buddace
Bhe continuati i test e scoperti pesanti limitazioni in fatto di itinerari...inutilizzabile al nostro scopo.

Inviato: giovedì 11 settembre 2008, 14:08
da Ronny
Provate con JMRI, la comunity degli user sembra molo attiva e disponibile.