Power PMAC Clipper User Manual
ACC-24S3 4-Channel Axis Expansion Stack Board
80
J8: Thumbwheel Multiplexer Port (JTHW Port)
Thumbwheel Multiplexer Port on the JTHW connector provides 16 general-purpose inputs or outputs at
TTL levels. Use the same hardware wiring setup as the base Power PMAC Clipper board. Use the same
software setup as the base Power PMAC Clipper board with the following differences:
Gate3 index is 1 (Clipper[1])
Thumbwheel Port Digital Inputs and Outputs
The inputs and outputs on the thumbwheel multiplexer port J8 may be used as discrete, non-multiplexed
I/O. In this case, these I/O lines can be accessed through structures:
// Inputs
Clipper[1].GpioData[0].0 // DAT0
Clipper[1].GpioData[0].1 // DAT1
Clipper[1].GpioData[0].2 // DAT2
Clipper[1].GpioData[0].3 // DAT3
Clipper[1].GpioData[0].4 // DAT4
Clipper[1].GpioData[0].5 // DAT5
Clipper[1].GpioData[0].6 // DAT6
Clipper[1].GpioData[0].7 // DAT7
Clipper[1].GpioData[0].0.8 // DAT0-7 8 bit byte
// Outputs
Clipper[1].GpioData[0].8 // SEL0
Clipper[1].GpioData[0].9 // SEL1
Clipper[1].GpioData[0].10 // SEL2
Clipper[1].GpioData[0].11 // SEL3
Clipper[1].GpioData[0].12 // SEL4
Clipper[1].GpioData[0].13 // SEL5
Clipper[1].GpioData[0].14 // SEL6
Clipper[1].GpioData[0].15 // SEL7
Clipper[1].GpioData[0].8.8 // SEL0-7 8 bit byte
Configuring Multiplexed I/O on the JTHW port
Multiplexed I/O may be used on the ACC-24S3 if it is not currently enabled for use on the Power Clipper
base board. Use the same hardware wiring setup as the base Power PMAC Clipper board. Use the same
software setup as the base Power PMAC Clipper board with the following differences:
Gate3 index is 1 (Clipper[1])
Typical setup for multiplexed I/O control:
Sys.WpKey = $AAAAAAAA
MuxIo.Enable=0
MuxIo.pOut = Clipper[1].GpioData[0].a
MuxIo.OutBit = 8
MuxIo.pIn = Clipper[1].GpioData[0].a
MuxIo.InBit = 0
MuxIO.PortA[0].Enable=1;
MuxIO.PortA[0].Dir=0;
MuxIO.PortA[0].AutoParityCheck=0
MuxIO.PortB[0].Enable=1;
MuxIO.PortB[0].Dir=1;
MuxIO.PortB[0].AutoParityCheck=0
MuxIO.ClockPeriod=250;
MuxIO.Enable=1
Содержание Power PMAC Clipper
Страница 5: ......
Страница 30: ...Power PMAC Clipper User Manual Connections and Software Setup 30...