- KM6551 - Terminal module for wireless data exchange
- Access from the user program
- Control and Status Bytes
- Process data mode
Process data mode
Control bytes (for process data mode)
The control bytes are located in the output image and are transmitted from the controller to the terminal module.
CB1: Low byte
Bit | CB1.7 | CB1.6 | CB1.5 | CB1.4 | CB1.3 | CB1.2 | CB1.1 | CB1.0 |
Name | RegAccess | - | Address | Scan | EnergyScan | Start | ||
CB2: High byte
Bit | CB2.7 | CB2.6 | CB2.5 | CB2.4 | CB2.3 | CB2.2 | CB2.1 | CB2.0 |
Name | - | - | - | - | - | - | - | - |
Key
Bit | Name | Description | |
|---|---|---|---|
CB2.0 to CB2.7 | reserve | 0bin | reserved |
CB1.7 | RegAccess | 0bin | Register communication off (process data mode) |
CB1.6 | reserve | 0bin | reserved |
CB1.3 to CB1.5 | Address | 0..7dec | In master mode, with whichever device the connection is running |
CB1.2 | Scan | 1bin | Activates scanning of the connected slaves (only possible in master mode). The scanned slaves can be found in register R38. |
CB1.1 | EnergyScan | 1bin | Activates the energy measurement for the 16 channels of the 2.4 GHz band. EnergyScan may not be activated in data exchange or scan mode. |
CB1.0 | Start | 1bin | Activates communication |
Status byte (for process data mode)
The status bytes are located in the input image and are transmitted from terminal module to the controller.
SB1: Low byte
Bit | SB1.7 | SB1.6 | SB1.5 | SB1.4 | SB1.3 | SB1.2 | SB1.1 | SB1.0 |
Name | RegAccess | Error | Address | Scan | EnergyScan | Start | ||
SB2: High byte
Bit | SB2.7 | SB2.6 | SB2.5 | SB2.4 | SB2.3 | SB2.2 | SB2.1 | SB2.0 |
Name | ErrorID | LQI | ||||||
Key
Bit | Name | Description | |
|---|---|---|---|
SB2.7 to SB2.4 | ErrorID | 0..Fhex | Error message 1 - invalid or forbidden DIP switch position |
SB2.3 to SB2.0 | LQI | 0..Fhex | Quality of the radio signal |
SB1.7 | RegAccess | 0bin | Acknowledgment for process data mode |
SB1.6 | Error | 1bin | an internal error has occurred (current process data is no longer valid) |
SB1.5 to SB1.3 | Address | 1..7dec | Slave address |
SB1.2 | Scan | 1bin |
|
SB1.1 | EnergyScan | 1bin | TRUE if energy scanning is active; will be reset to FALSE when the terminal has finished. |
SB1.0 | Start | 1bin |
|