Download PC272E - Amplicon
Transcript
PC272E B and Port C-lower - are set for input to read the switch status information. The user must ensure that the switch matrix is wired as detailed below. SPST SPST SPST SPST 1N4448 PPI X A0 1N4448 PPI X A1 etc., up to PPI X A7, then C4 to C7, then onto PPI Y, and PPI Z. 10kΩ 10kΩ GND PPI X B0 GND PPI X B1 etc., up to PPI X B7, then C0 to C3, then onto PPI Y, and PPI Z. Figure 7 - Switch Matrix Configuration Function DIOsetSwitchMatrix allows you to setup the matrix, specifying the matrix order. For the PC272E, this can be 12 X 12 or 24 X 24 switches. The function also registers the PPIs used as being 'in use' and unavailable for use by other programs. Function DIOgetSwitchStatus returns the status of a given switch in the matrix, and function DIOfreeSwitchMatrix frees the PPIs so they can be used by other programs when the switch matrix is no longer required. Page 17