Data Sheet

17
3.2.2 1-Wire bus
1-Wire bus is implemented through DS2482 bridge connected to I
2
C interface of the main processor (in
the OS Linux accessible through standard drivers located in /dev/class/i2c/).
For making it operational it is possible to use various other methods along with those described below.
DS2482 kernel module
o Support implemented right in the OS kernel (module DS2482)
OWFS (1-Wire File System)
o Solution providing access to 1-Wire devices directly through the file system
3.3 Variable overview
The following table describes the meaning of each of variables and values, they represent. Detailed
description of variables and registers is further described in documentation of Modbus maps accessible
online.
Name
R/W
Meaning
DO
RW
Setting of digital output state
PWM
W
Number of pulses in logical 1
DI
R
Indication that digital input is switched on
Debounce
W
Setting of bouncing effect repression in 100µs
CNT
RW
Digital input pulse counter value
DS_enable
W
Enabling of Direct Switch function of DI
DS_polarity
W
DS function settings polarity
DS_toggle
W
DS function settings toggle
AI
R
Analog input value
AI_sw
W
Enabling of current input
AI_V_dev
R
Deviation from reference voltage
AI_V_offset
R
Measured voltage offset
AO
W
Analog output value settings
AO_sw
W
Enabling of current output
ULED
W
User interface LED settings
MWD_enable
W
Master Watchdog function enabling
MWD_timeout
W
Master Watchdog timeout in ms
Was_WD_boot
R
Indication reset over MWD in the past
Clear_WD_boot
W
Clear Was_WD_boot flag
UART_TXQ
R
Number of bytes wainting in buffer
UART_config
W
Serial bus configuration
PWM_prescale
W
PWM multiplier
PWM_cycle
W
PWM cycle
NV_save
W
Save current config as startup
Version
R
Firmware version
HwVersion
R
HW version
BoardSerial
R
Group board serial number
Num_DIDO
R
Nuber of digital inputs and outputs of group
Num_AIAOUART
R
Number of analog inputs, outputs and serial buses
Vref
R
Processor reference voltage
OW_off
W
1-Wire bus on/off
Reboot
RW
Group CPU reboot