User Tools

Site Tools


sensor-int-en

Interface

ContentObjectsSensors



SensorDialog Interface Tab.


Interface ID

If you have more than one Command Station you can use this field to link this sensor with the CS you actually wired it with.
Leave blank in case you have only one CS or when it is wired to the default CS. (First digint in the rocrail.ini)

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 Bus number supported by:

  • BiDiB (String: Username)
  • RocNet


RFID

The 32bit RFID number printed on the Tags. (Leading zeros can be left out.)
This can be used in combination with WIO-Drive and an ID-12LA reader.
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.)
rfid32.jpg
Example of the blue Tag scan:
rfid-index.jpg

OWIO     0885 Mobile 18 [BR218] RFID event [12.0.197.167.148] [12953492]
OModel   5329 trying to match sensor event: [WIO] id=[12.0.197.167.148] 0:0 uidname=[] state=0 code=BR218 regval=0 info=
OFBack   0796 fb[s18-] state=ON code=BR218 dir=0 val=0 count=5 regval[0]=0

Bus

See: Addressing

Address

Sensors have flat addresses in Rocrail as described in chapter Addressing

Note: Generally a sensor needs an address, exceptions are virtual sensors


Offset

:!: Only for small layouts because of performance penalty. :!:

Optional, not supported, offset variable.
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.)


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   0367 Sensor [fb3b] report: SHORT CIRCUIT detected

Rocview:


Type

Value Type Manu Remark
0 Current sensors - Most commonly used; Can also report bi-directional information; Also for Hall Sensors when not used as wheel counters.
1 IR Lissy Uhlenbrock Can be used with the Off timer to get it unoccupied.
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 GCA173 Hall Sensors, GCA141 Used for wheel or car counting.
7 GPS GamesOnTrack Using the GPS coordinates on the GPS tab.
8 Register - Can be used for Turntable position sensor. (Selectrix based systems)

Read 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 GCA141 only! Do not use in case of software counting.
Send a reset switch command with the same address as used for this sensor on a reset counter event for GCA141.

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 Sensor Monitor

sensor-int-en.txt · Last modified: 2020/09/22 01:26 by rainerk