Peer to peer mode

Application

The simplest type of communication between two KM6551-0000 is the peer to peer mode. To do this, set the DIP switches

  •  of the master module to master mode and
  •  that of the second module to slave address 1.

Now you have to set bit 0 (start bit) in the control byte CB1 of both modules to TRUE. The modules acknowledge this bit by setting bit 0 of their status bytes SB1. The establishment of communication and the communication itself then begin automatically.

Now 10 bytes are always exchanged between the modules. This continues until a start bit is reset to FALSE. It does not matter which side resets the start bit.

If the connection is disturbed or if the start bit is not set on the opposite side, the module reports an error with bit 6 in the status byte SB1. The error code is output at the same time in status byte SB2 (see ErrorID).