This page describes the device driver and the device window for the Brainbox ED series data acquisition module family. The device driver monitors and controls the digital inputs/outputs of various Brainbox EDxx modules. It supports:
It was tested with a ED-508
The driver does not support: ED-527,ED-538,ED-038 modules.
The Brainbox-EDxxx device driver is part of the sat-nms framework for M&C of plain digital I/O functions. Monitoring alarm circuits or controlling waveguide switches are indicatives for applications of this framework.
The application configuration normally does not access the Brainbox-EDxxx device driver directly.
There are a couple of application level logical devices (e.g. Input , Output or WG-Switch ) which may use the Brainbox-EDxxx device driver as a low level driver to access the physical I/O ports.
Input ports
The variable inputs.0 refers to the input ports provided by the device. The least significant bit denotes the state of DI0.
The variable reports the physical state if the input. A bit is set to '1' if the input is open or externally driven to high level. The bit reads '0' if the input is connected to GND or externally driven to low level.
Output ports
The variable 'outputs.0' reports the actual state of the digital outputs and also sets the output states. The least significant bit in the variable corresponds to output DO0.
Configuration settings
If used with the sat-nms framework for M&C of plain digital I/O functions, the Brainbox ED module acts like an unprogrammed PLC device. It is intended, that the device driver processes switch settings and changes of input circuits as fast as possible. The following settings are necessary to achieve this:
The unit has to be configured to use ASCII protocol with the following settings:
Device window pages
The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .
--- Shows / commands I/O port states.
--- The faults page.
--- The device info page.
--- The maintenance page. The configuration parameters described below are set at this page.Configuration parameters
At the maintenance page of the device window there are a couple of configuration parameters which must be set to make the software talk to the device.
| parameter | description |
|---|---|
| address | Must always be set to 1 |
| moduleType | The actual module type must be selected to tell the driver how many inputs/outputs are available with this module. |
Variables defined by this device driver
| name | type | flags | range |
|---|---|---|---|
| info.driver | TEXT | R/O | StringRange R/O |
| lowLevel.cmd | TEXT | StringRange | |
| lowLevel.reply | TEXT | R/O | StringRange R/O |
| faults.99 | ALARM | R/O | AlarmFlagRange R/O (Communication) |
| faults.commstat | TEXT | R/O | StringRange R/O |
| info.type | TEXT | R/O | StringRange R/O |
| info.port | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| info.version | TEXT | R/O | StringRange R/O |
| info.name | TEXT | R/O | StringRange R/O |
| info.model | TEXT | R/O | StringRange R/O |
| config.moduleType | CHOICE | SAVE SETUP | EnumRange (ED004 ED008 ED204 ED508 ED516) |
| inputs.0 | HEX | R/O | HexRange R/O (0 .. 0) |
| outputs.0 | HEX | HexRange (0 .. 0) | |
| initialized | TEXT | R/O | StringRange R/O |
| reset | TEXT | NOPRESET | StringRange |