Procedure

The following procedure is required to specify the data and change the connected pixels:

1. Specification of the "Command" with the required variables ("Index", "Length", "Color", "Parameter")
2. Writing the data into the pixel buffer via toggling the "Execute" bit
3. if necessary, repeat steps 1 and 2 until all pixel data are completely prepared
4. Update the data from the pixel buffer into the frame buffer by setting the "Update" bit to 1
5. toggle the "Execute" bit to execute the update
6. Transfer data:
If the object 0x8pp0:02 "Enable Cyclic Frame Output" is enabled in the CoE, the data from the frame buffer is automatically transferred to the connected LEDs.
Alternatively, sending can be triggered manually by setting the "Send" bit to 1
7. Toggle the "Execute" bit to execute the transmission
The changes on the connected LEDs are visible

The transmission to the buffers and to the connected LEDs can also be done in one cycle. For this, "Update" and "Send" bit must be set to 1 at the same time and executed together with a toggling of the "Execute" bit.

Notice

Loss of data possible

Note the status of the Busy and Transmit bits before transmitting new data.

  • Busy bit = FALSE
    Always make sure that the busy bit in the status object is FALSE, because otherwise no commands are executed.
  • Transmit bit = FALSE
    When sending data to the LEDs, the frame buffer is read. This is indicated via the “Transmit” bit.
    To ensure data consistency, simultaneous reading and writing is not possible.
    During the transfer of data from the frame buffer the “Transmit” bit is TRUE, so that it is necessary to wait until the bit is FALSE again in order to write new data.