« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.8 - BitStateWrite: IOType=11

Table 5.2.5.6-1. BitStateRead Command Response

BitStateWrite, 2 Command Bytes: 
0 IOType = 11
1 Bits 0-4: IO Number
  Bit 7: State
0 Response Bytes: 

This IOType writes the state of a single bit of digital I/O. Note that CIO0-2 & MIO0-2 are shared, so to write/read MIO0-2 use channel numbers 16-18.  The direction of the specified line is forced to output.

  • IO Number: 0-7=FIO, 8-15=EIO, or 16-19=CIO.
  • State: 1=High, 0=Low.