beautypg.com

Acc-1p with jumper e6 in position 1-2, Acc-2p with jumper e5 in position 2-3, Thumbwheel port digital inputs and outputs – Delta Tau PMAC2A-PC/104 User Manual

Page 33

background image

PMAC2A PC104 Hardware Reference Manual

Software Setup

27

Thumbwheel Port Digital Inputs and Outputs

The inputs and outputs on the thumbwheel multiplexer port of either the Acc-1P or the Acc-2P boards
may be used as discrete, non-multiplexed I/O. In this case, these I/O lines can be accessed through M-
variables that are defined according to the setup of the address selection jumpers. Jumper E6 on the Acc-
1P or E5 on the Acc-2P determine which set of the following M-variables are used:

Acc-1P with Jumper E6 in Position 1-2

M40->Y:$C082,8,1

; SEL0 Output

M41->Y:$C082,9,1

; SEL1 Output

M42->Y:$C082,10,1

; SEL2 Output

M43->Y:$C082,11,1

; SEL3 Output

M44->Y:$C082,12,1

; SEL4 Output

M45->Y:$C082,13,1

; SEL5 Output

M46->Y:$C082,14,1

; SEL6 Output

M47->Y:$C082,15,1

; SEL7 Output

M48->Y:$C082,8,8,U

; SEL0-7 Outputs treated as a byte

M50->Y:$C082,0,1

; DAT0 Input

M51->Y:$C082,1,1

; DAT1 Input

M52->Y:$C082,2,1

; DAT2 Input

M53->Y:$C082,3,1

; DAT3 Input

M54->Y:$C082,4,1

; DAT4 Input

M55->Y:$C082,5,1

; DAT5 Input

M56->Y:$C082,6,1

; DAT6 Input

M57->Y:$C082,7,1

; DAT7 Input

M58->Y:$C082,0,8,U

; DAT0-7 Inputs treated as a byte

Acc-2P with Jumper E5 in Position 2-3

M40->Y:$C0C2,8,1

; SEL0 I/O Line

M41->Y:$C0C2,9,1

; SEL1 I/O Line

M42->Y:$C0C2,10,1

; SEL2 I/O Line

M43->Y:$C0C2,11,1

; SEL3 I/O Line

M44->Y:$C0C2,12,1

; SEL4 I/O Line

M45->Y:$C0C2,13,1

; SEL5 I/O Line

M46->Y:$C0C2,14,1

; SEL6 I/O Line

M47->Y:$C0C2,15,1

; SEL7 I/O Line

M48->Y:$C0C2,8,8,U

; SEL0-7 I/O Lines treated as a byte

M50->Y:$C0C2,0,1

; DAT0 I/O Line

M51->Y:$C0C2,1,1

; DAT1 I/O Line

M52->Y:$C0C2,2,1

; DAT2 I/O Line

M53->Y:$C0C2,3,1

; DAT3 I/O Line

M54->Y:$C0C2,4,1

; DAT4 I/O Line

M55->Y:$C0C2,5,1

; DAT5 I/O Line

M56->Y:$C0C2,6,1

; DAT6 I/O Line

M57->Y:$C0C2,7,1

; DAT7 I/O Line

M58->Y:$C0C2,0,8,U

; DAT0-7 I/O Lines treated as a byte