BeneluxSpoor.net forum
Vraag en antwoord => Digitaal => Topic gestart door: piksov op 10 July 2011, 17:02:09
-
Is er iemand met een intellibox die even ' RT10' naar z'n ibox wil sturen om mij te vertellen wat het antwoord van het commando is?
Tijdens de initialisatie vanuit koploper wordt dit naar een intellibox gestuurd. Mijn OpenDCC centrale kent dat commando niet, dus moet dat even worden toegevoegd, we weten alleen niet het precieze antwoord.
Ik zelf gok op 'rs-232 cts', maar wil het wel graag zeker weten.
groet,
Guus
-
Dit is trouwens de omschrijving van het commando:
*** RT [Ctime]
Ctime CTS 'off' time in case of non-PC requested Power Off
(e.g. manual Power Off, shorts, etc...)
This value is to be interpreted in units of 50 ms.
The IB default is: Ctime = 254 (i.e. about 13 seconds).
In practice: when a non-PC Power Off occurs, the IB, in order to
find out what to do with the CTS line, checks the 'Ctime' value:
if CTime = 0, then the CTS line is permanently disabled: only a
manual Power On (e.g. pressing the 'Go' key on the IB)
would reactivate the CTS line. This is what would happen
in case of a 6050 (actually: after a Power Off, a 6050
accepts at least one more cmd. If the 6050 is connected
to a 6021, then only a turnout cmd 'blocks' the 6050).
if CTime = 255, then the CTS line is not disabled at all (excluding,
of course, IB RS-232 input buffer status).
For other values, the CTS line is disabled for the specified amount
of 50 ms units. The idea is to let the PC implicitly find out, through
a timeout detected by the PC RS-232 driver on the CTS line, that a Power
Off has occurred. Then, after a short while, the CTS line would be
automatically re-enabled by the IB, thus allowing further cmds from the PC.
If you are using events, then it would be probably wise to either set
CTime = 255, or to set it to a very low value (e.g. 10).
This command allows to override, up to the next IB reset, the value
specified by SO #6.
-
Dag Guus,
Ik heb geen idee hoe ik dit zou moeten doen, dus daar kan ik je niet bij helpen. Maar ken je ook de IB mailing list op Yahoo? Daar zit heel veel kennis over dat ding.
Gerard