Compatible Devices
Bristol Babcock ControlWave Micro controllers using BSAP communications [g-bsap | Word]
Verified Device
ControlWave Micro [g-bsap | Word]
Overview
Red Lion’s BSAP drivers are available as both Master and Slave, supporting serial and Ethernet (UDP) communication.
They provide access to ControlWave Micro data and support flexible configuration of variables and data mapping. [g-bsap | Word]
Serial Port Configuration
In Crimson:
- Select serial port → Pick driver
- Choose:
- BSAP Serial Master or
- BSAP Serial Slave
Match the following settings with the ControlWave RTU:
- Baud Rate
- Data Bits
- Stop Bits
- Parity
Set Device Identification Number to match the ControlWave configuration tool. [g-bsap | Word]
Ethernet Port Configuration
- Configure IP settings in ControlWave Flash Configuration Utility
- In Crimson:
- Select network protocol → Pick driver
- Choose:
- BSAP UDP Master or
- BSAP UDP Slave
Set:
- IP Address
- UDP Port (must match RTU)
Use multiple protocols when communicating with multiple devices on different ports. [g-bsap | Word]
Ethernet User Access (DevCtrl)
Function usage:
INT DEVCTRL(Device, Function, Data)
| Function Code | Operation |
|---|---|
| 1 | Set Primary IP Address |
| 2 | Set UDP Port |
| 4 | Get Primary IP Address |
- DATA = string input
- Returned values are numeric [g-bsap | Word]
Data Access
Variables can be created:
Manual Creation
- Use Manage → Create
- Naming rules:
- Global variables →
@GV.* - Program variables →
P.*
- Global variables →
- Max length: 25 characters [g-bsap | Word]
Import / Export (Recommended)
Export
- Export variables to CSV
- Open in Excel
Edit Rules
- Column A = Name
- Column C = Type
- Types allowed:
- BIT, BYTE, WORD, DWORD, REAL, STRING
Optimization
- Sort by data type
- Arrange by page usage
- Ensure:
- INDEX starts at 1
- All values are consecutive
Import
- Import CSV into Crimson
- Verify variables in Manage dialog [g-bsap | Word]
Variable Mapping
After creation/import:
- Map variables directly to Crimson tags
String Settings
- Length: 80 characters
- Packing: ASCII Little-Endian [g-bsap | Word]
Communications Troubleshooting
If communication fails:
- Verify wiring and settings
- Run:
- Rebuild Comms Blocks
- Check CSV:
- Valid TYPE values
- Correct INDEX sequence
- Proper naming format
If issues persist → contact support [g-bsap | Word]
Serial Cable Information
RS232
| Red Lion RJ12 | BSAP RS232 |
|---|---|
| Pin 2 - Rx | 2 - RXD |
| Pin 5 - Tx | 3 - TXD |
| Pin 3 - COMM | 5 - GND |
Additional:
- Jumper may be required:
- Pins 1–4
- Pins 7–8 [g-bsap | Word]
RS485
| Red Lion RJ45 | BSAP RS485 |
|---|---|
| Pin 1 - TxB | 6 - RXD+ |
| Pin 2 - TxA | 2 - RXD- |
| Pin 3 - RxA | 3 - TXD- |
| Pin 4 - RxB | 4 - TXD+ |
| Pin 6 - COMM | 5 - GND |
Ethernet Cable Information
Standard Ethernet cable [g-bsap | Word]
© HMS Networks AB 2025