Plotting Bits

Bits can not be plotted directly in RMCTools plots at this time. However, the bits can be converted to a DINT in a user program and plotted. This is done by using the SEL or select function.


nBit11 is a user-defined DINT variable with the value of the bit to be plotted
bits.11 is any bit but in this case it is bit 11 of the DWORD bits.
1 is the value assigned to nBit if true
0 is the value assigned to nBit if false
It may be necessary to use different values when ploting more than one bit. For instance


This way the bits don’t over write each other and it is easy to see the three distinct traces.