Power PMAC Clipper User Manual
Connections and Software Setup
54
27
MO3
Output
Machine Output 3
11, 13
28
GND
Common
PMAC Common
29
MO2
Output
Machine Output 2
11, 13
30
GND
Common
PMAC Common
31
MO1
Output
Machine Output 1
11, 13
32
GND
Common
PMAC Common
33
+5
Output
+5 Power I/O
34
GND
Common
PMAC Common
Note
Note 11
: To configure MO1 - MO8 as inputs install jumper E16.
To configure MO1 - MO8 as outputs remove jumper E16.
Note 12
: To configure MI1 - MI8 as inputs install jumper E17.
To configure MI1 - MI8 as outputs remove jumper E17.
Note 13
: Includes a 10K ohm pull-up resistor to +5V.
34-pin female flat cable connector T&B Ansley P/N 609-3441; Standard flat cable stranded 34-wire T&B
Ansley P/N 171-34; Phoenix varioface module type FLKM 34 (male pins) P/N 22 81 06 3
General Purpose I/O (J6) Structures
To configure the I/O for the default jumper settings the following must be set:
Sys.WpKey = $AAAAAAAA;
Clipper[0].GpioDir[0] = $00FFFF00 // Direction Control
Clipper[0].GpioPol[0] = $00000000 // Polarity Control
Note that polarity and direction control can be modified to the users need for the JOPT bits. If using the
JTHW port for multiplexed I/O the JTHW bits must be left at default:
Sys.WpKey = $AAAAAAAA;
Clipper[0].GpioDir[0] = $FFFFFF00 // Direction Control for JOPT all outputs (1=out, 0=in)
// Also remove E17
Clipper[0].GpioPol[0] = $FFFF0000 // Invert Polarity Control of JOPT only
The lines on the JOPT general-purpose I/O connector are accessed with the following structures:
// Inputs
Clipper[0].GpioData[0].24 // MI1
Clipper[0].GpioData[0].25 // MI2
Clipper[0].GpioData[0].26 // MI3
Clipper[0].GpioData[0].27 // MI4
Clipper[0].GpioData[0].28 // MI5
Clipper[0].GpioData[0].29 // MI6
Clipper[0].GpioData[0].30 // MI7
Clipper[0].GpioData[0].31 // MI8
Clipper[0].GpioData[0].24.8 // Inputs as 8-bit byte
// Outputs
Clipper[0].GpioData[0].16 // MO1
Clipper[0].GpioData[0].17 // MO2
Clipper[0].GpioData[0].18 // MO3
Clipper[0].GpioData[0].19 // MO4
Clipper[0].GpioData[0].20 // MO5
Clipper[0].GpioData[0].21 // MO6
Clipper[0].GpioData[0].22 // MO7
Clipper[0].GpioData[0].23 // MO8
Clipper[0].GpioData[0].16.8 // Outputs as 8-bit byte
Содержание Power PMAC Clipper
Страница 5: ......
Страница 30: ...Power PMAC Clipper User Manual Connections and Software Setup 30...