This is an old revision of the document!
Table of Contents
Configuration de la voie de mesure de vitesse
Configuration
Menu → Tables → MVTrack… ouvre cette fenêtre de dialogue pour activer une mesure de vitesse sur la voie:
Par défaut, les valeurs mesurées sont affichées et tracées dans la fenêtre du serveur, voir vue des résultats sur cette page.
- Note: Le niveau de suivi Calcul du serveur doit être activé.
Pour régler les résultats dans un champ texte sur le plan de voie, voir Actions sur cette page.
- Note: Rev. 15.652+ L'échelle et les unités sont définis dans les Propriétés du plan.
Voir également: http://www.rocrail.net/doc/rocrail-wrappers/wrapper-en.html#mv
Attributs
Nom | Description | Unités |
---|---|---|
s1 | contact un pour enclencher la mesure | ID |
s2 | contact deux pour enclencher le calcul | ID |
distance | distance entre s1 et s2 | mm |
échelle | écartement/échelle des locomotives: H0=87, N=160… | - |
mph | Miles Per Hour | vrai/faux |
Les contacts peuvent être utilisés également par un bloc.
Voir aussi: http://www.rocrail.net/doc/rocrail-wrappers/wrapper-en.html#mv
Enregistrement
Un fichier avec le nom "mvtrack.csv" est créé dans le répertoire de travail du serveur avec le contenu suivant:
Time,TrackID,LocoID,TrainID,KMH,Velocity,Direction 20170529.151329.757,mvtrack,E03,robbie,123.3,0,fwd 20170529.151350.917,3,NS2418,,150.6,50,fwd
Remarque: A moins que, l'identifiant de locomotive ne sera pas transmis dynamiquement par les systèmes BiDi, "LocoID" = "unknown" est inséré (tout comme "TrainID"). Exemple:
Time,TrackID,LocoID,TrainID,KMH,Velocity,Enterside 20190410.211945.699,mvtrack,unknown,unknown,101.2,0,- 20190410.213422.012,mvtrack,unknown,unknown,84.2,0,-
Si l'identifiant de la locomotive est affiché sans utiliser de systèmes BiDi, la voie de mesure de vitesse dans le bloc doit être utilisé.
Calibrate
If activated the selected loco will get informed of the measured kmh and will adjust its CV 5 / CV 6 value to match the wanted Max. km/h.
Multiple runs at the highest speed step are necessary to come close to the wanted result.
Depending on the hight of the difference between Vtarget and Vactual, CV will be varried.
If the used sensors will report a loco Code this will overwrite the selected loco ID in this dialog. (RailCom, RFID, …)
This also applies when the reference block is occupied.
none
Disables calibration.
Max:
Enables calibration for CV5.
Mid.
Enables calibration for CV6.
Note 1: The CV 5 will be adjusted by a POM write command.
Note 2: The CV 6 will be set by POM to 30% of the CV 5 value. (This percentage can be adjusted on the Loco Calibrate Tab.)
See also: Loco Calibrate
Calculate train length
If activated, the train length is calculated from the determined speed and the time duration for which the first sensor is active.
The result of calculation will be displayed in a additional trace line.
The trace output of the train length is independent of the setted metric units ever in mm.
- Note: The calculation can only be done correctly if
- the first sensor remains activated during the entire passage of the train without interruption
- the train passes through the entire measuring section with a constant speed
Take measured value as loco length
If a loco is selected, the measured value will be automatically set in the Lok properties as Length.
If necessary, the measured value is corrected here according to the Plan properties.
- Note: If the option "Calculate train length" is activated the Option "Calibrate" should be deactivated.
Important NOTE |
---|
The function Take measured value as loco length - active when a loco is selected - should only be used, if the train length is defined exclusively via the loco property Length. If a loco is assigned to an Rocrail defined train the Loco length defined as Train length AND the Train length calculated from the lengths of the wagons will be added. With this of course too large calculated Train length the automatic may not find a suitable destination for the train. |
Sensor 1 / Sensor 2
IDs of the Sensor at the start (1) and at the end (2) of the MVTrack.
- Note: At the same time, the sensors can also be used in a block, as both block and MVTrack receive the events.
Loco
Selection of an Loco ID for the option Calibrate and if at the option Calculate train length the function Take measured value as loco length may be activated.
Block
Block reference of a Loco ID for the option Calibrate and if at the option Calculate train length the function Take measured value as loco length may be activated.
Actions
The measured values can be used with the rocrail variables %mvspeed% and %mvtrainlen% as Dynamic text in a Action of type "text".
The action must be called with status "in" in the action control of "MVTrack".
The example assumes that the text field txtSpeed is defined.
Utilisation dans les blocs existants
Cette option est également possible via les blocs:
Vue des résultats
Dans le cas d'une mesure en MPH, lesKM/H sont multipliés par le coefficient 0.621371192.
Comment définir la distance ?
Reset
The reset will re-initialise the MVTrack to be able to start all over again.