Problem using timed activation of tunction via ACTIONS,

Märklin Central Station 2

Problem using timed activation of tunction via ACTIONS,

Postby lucianopasian56 » 03.07.2012, 21:43

I use Rocrail in automation mode. Some schedule triggers actions that send a function on command and then , after some seconds a function off (i.e. to control horns and whistles) here is an asbtract of the config file:


<ac id="AzionaF3-1sec" prev_id="AzionaF3-1sec" timed="false" random="false" hour="0" min="0" cmd="on" oid="08. RAe II TEE" actiontime="1" param="3" timer="0" type="fn"/>


<sclist>
<sc id="Lok1_I1an-I2an-PLor-L2or-L1or-I1" prev_id="Lok1_I1an-I2an-PLor-L2or-L1or-I1" timeframe="1" timeprocessing="0" fromhour="0" tohour="0" cycles="0" scaction="">
<scentry block="BI1" hour="0" minute="0" swap="false" free2go="false" indelay="0" location="">
<actionctrl id="AzionaF15-2sec" lcid="08. RAe II TEE" reset="true" auto="true" manual="true" state=""/>
</scentry>
<scentry block="BI2" hour="0" minute="0" swap="false" free2go="false" indelay="0"/>
<scentry block="BPL" hour="0" minute="0" swap="false" free2go="false" indelay="0"/>
<scentry block="BL2" hour="0" minute="0" swap="false" free2go="false" indelay="0"/>
<scentry block="BL1" hour="0" minute="0" swap="false" free2go="false" indelay="0">
<actionctrl id="AzionaF3-3sec" reset="true" auto="true" manual="true" state="" lcid="08. RAe II TEE"/>
</scentry>
<scentry block="BI1" hour="0" minute="0" swap="false" free2go="false" indelay="0" location=""/>
<actionctrl id="StartLok2_E1or-L2or-L1or-E1" lcid="08. RAe II TEE" reset="true" auto="true" manual="true" state=""/>
</sc>


This worked fine till Rocrail was driving DDX. Now I've got a CS2 and a problem arose: the function is set on, but not off! and it must be set off manually (otherwise the horns keep sounding forever...).
The trace show this:

20120703.171549.234 r9999c 00000EE0 OMCS2 0341 Loc 6 (mfx) function f3 to on
20120703.171552.156 r9999c 00000EE0 OMCS2 0341 Loc 6 (mfx) function f-1 to off

That explain why it doesn't work. Of course , if you try the function manually from the loco pad, it works. The problem is correlated with the actions.

I've tried with la last version and also with the last stable release.
Is it a bug? does anyone seen something like that?
Thanks
Luciano
lucianopasian56
 

Return to CS2