sensor-int-en
Differences
This shows you the differences between two versions of the page.
— | sensor-int-en [2022/01/29 16:38] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Interface====== | ||
+ | [[: | ||
+ | |||
+ | [[: | ||
+ | * [[sensor-index-en|Index]] | [[: | ||
+ | |||
+ | // \\ // \\ | ||
+ | |||
+ | |||
+ | |||
+ | SensorDialog Interface Tab.\\ | ||
+ | {{: | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =====Interface ID===== | ||
+ | If more than one command station is used, then the command station that is responsible for controlling the sensor-decoder is specified in this field. The " | ||
+ | |||
+ | =====UID-Name===== | ||
+ | | :!: //Use with care! The UID is case sensitive and __must match__, otherwise the sensor event cannot be processed and will be lost.// | | ||
+ | Alternative to the Node-ID supported by: | ||
+ | * BiDiB (String: // | ||
+ | * RocNet | ||
+ | |||
+ | \\ | ||
+ | |||
+ | =====RFID===== | ||
+ | The 32bit RFID number printed on the Tags. (Leading zeros can be left out.)\\ | ||
+ | This can be used in combination with __**[[: | ||
+ | All other addressing, like Node ID and Address, are ignored if the RFID did match. (But an additional fake address makes it possible to check the plan virtually.)\\ | ||
+ | {{: | ||
+ | Example of the blue Tag scan:\\ | ||
+ | {{: | ||
+ | < | ||
+ | OWIO 0885 Mobile 18 [BR218] RFID event [12.0.197.167.148] [12953492] | ||
+ | OModel | ||
+ | OFBack | ||
+ | </ | ||
+ | |||
+ | =====Bus===== | ||
+ | See: **[[: | ||
+ | \\ | ||
+ | |||
+ | =====Address===== | ||
+ | Sensors have flat addresses in Rocrail as described in chapter **[[: | ||
+ | |||
+ | > | ||
+ | |||
+ | ====Address setting using the sensor-monitor==== | ||
+ | |||
+ | The most elegant address setting works by using the **[[: | ||
+ | |||
+ | * Driving a loco around the layout every sensor event is reported in the sensor-monitor.\\ | ||
+ | * Just drag the shown address of the reported sensor with the mouse and drop it on the right sensor object in the plan.\\ | ||
+ | * With this action this address is written in the object interface definition. | ||
+ | |||
+ | ====Offset==== | ||
+ | | :!: Only for small layouts because of performance penalty. :!: | | ||
+ | Optional, __not supported__, | ||
+ | The value of the variable will be added to the sensor address.\\ | ||
+ | This can be of use in case of sensor systems, like S88, and modular layouts. Only for each sensor module the variable value has to be changed instead of changing all sensor addresses. (Mostly 16 per unit.)\\ | ||
+ | |||
+ | |||
+ | ====[ ? ]==== | ||
+ | Selecting the **[ ? ]** activates the __**[[: | ||
+ | \\ | ||
+ | =====Register bits===== | ||
+ | Optional for sensor type **register** only.\\ | ||
+ | If the used Command Station does not natively support register sensor, it can be simulated with max. 8 register bits.\\ | ||
+ | A register bit is just an address of a normal sensor. The register value is after every change event of one of the bits re-calculated.\\ | ||
+ | The register value can be used for turntable position or action control: **regval**.\\ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | =====Short circuit===== | ||
+ | Optional cutout address for detecting a short circuit in this section.\\ | ||
+ | Server message on short circuit: | ||
+ | < | ||
+ | 20120617.082116.315 r9999E cmdr1016 OFBack | ||
+ | </ | ||
+ | Rocview:\\ | ||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | =====Type===== | ||
+ | |< >| | ||
+ | ^ Value ^ Type ^ Manufacturer ^ Remark | ||
+ | | 0 | Current sensors | - | Most commonly used; Can also report bi-directional information; | ||
+ | | 1 | IR Lissy | Uhlenbrock | Can be used with the __**[[: | ||
+ | | 2 | Transponding receivers | Digitrax | Not used; Same as type=0. | | ||
+ | | 3 | Barcode | BarJut | Not used; Same as type=0. | | ||
+ | | 4 | RailCom | - | Not used; Same as type=0. | | ||
+ | | 5 | RFID | MERG, LDT | Not used; Same as type=0. | | ||
+ | | 6 | Wheel counter | **[[: | ||
+ | | 7 | GPS | **[[: | ||
+ | | 8 | Register | - | Can be used for __**[[: | ||
+ | |||
+ | Read **[[sensor-bi-directional-en|Bi-Directional Communication]]** for more information on this topic.\\ | ||
+ | \\ | ||
+ | =====Register trigger===== | ||
+ | Specifies the physical quantity for which the value represented by the register bits is defined. | ||
+ | ===== Options ===== | ||
+ | ==== Active low ==== | ||
+ | Sensor has the signal inverted and can be reverted with this option.\\ | ||
+ | ==== Reset ==== | ||
+ | For type Wheel Counter __**[[: | ||
+ | Send a reset switch command with the same address as used for this sensor on a reset counter event for __**[[: | ||
+ | | **Attention :!::** The sensor address in this case must not be the same as the one of an existing switch! | | ||
+ | |||
+ | |||
+ | ==== Threshold ==== | ||
+ | The minimal value to signal the sensor high in case of type register.\\ | ||
+ | |||
+ | =====Note===== | ||
+ | For the assignment of addresses to sensor\feedback in the track plan, there is help with **[[sensormon-en# | ||
+ | \\ | ||
+ | |||