-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Anonim17PL edited this page Dec 11, 2021
·
7 revisions
Bus Board Interface 2 is a plugin that allows you to operate the vehicle in OMSI 2 using an external serial device.
xx:yy:zz
xx - Data type (LV - local variable, $V - String variable, SV - system variable)
yy - variable index (zero-based!) from opl file
zz - The value of the variable
Example:
LV:0:0.67
SV:3:65.0
$V:1:IBIS 2.0
xx:yy:zz
xx - Data type (LV - local variable,TV - Trigger)
yy - variable / trigger index (zero-based!) from opl file
zz - The value of the variable / trigger state (on/off)
Example:
LV:3:5.0
TV:0:1
TV:3:0
The SYSTEM command returns the values of all system variables. (See Communication with the control panel)
Set serial port timeout to low! (<= 50ms)
Arduino:
Serial.setTimeout(50)
[dll]
BBI2.dll
[varlist]
6
lights_blinkgeber
door_light_1
door_light_2
haltewunschlampe
lights_fern
cp_klimator_sw
[triggers]
4
bus_dooraft
bus_doorfront0
bus_doorfront1
kw_fernlicht_toggle
[stringvarlist]
1
IBIS_cabindisplay
[systemvarlist]
1
Time
[BBI]
COMx=10
BAUD_RATE=57600
SL_AUTOSEND=0
COMx - Serial port number
BAUD_RATE - Serial port baud rate
SL_AUTOSEND - Check system variables and send changes automatically