Delta Tau PMAC2A-PC/104 manual Thumbwheel Port Digital Inputs and Outputs

Page 33

PMAC2A PC104 Hardware Reference Manual

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

Software Setup

27

Image 33
Contents PMAC2A-PC/104 Delta Tau Data Systems, Inc. Technical Support Copyright InformationTable of Contents Software Setup Base Board Connector Pinouts PMAC2A PC104 Hardware Reference Manual Table of Contents Introduction Board ConfigurationAcc-1P Axis Expansion Piggyback Board Option 12 Analog-to-Digital ConvertersAcc-1P Option 1 I/O Ports Acc-1P Option 2 Analog-to-Digital ConvertersAcc-2P Option 1A USB Interface Acc-2P Communications BoardAcc-2P Option 1B Ethernet Interface Acc-2P Option 2 Dpram CircuitryPMAC2A PC104 Hardware Reference Manual Introduction Base Board Hardware Setup Clock Configuration JumpersBoard Reset Jumpers Configuration Jumpers CPU Jumper ConfigurationResistor Packs Configuration Communication JumpersDevice Resistor Pack Pack Size PMAC2A PC104 Hardware Reference Manual ACC-1P Hardware Setup Reserved Configuration JumpersE0 Reserved for future use Handwheel Encoder Termination Resistors ACC-2P Hardware Setup Jthw Connector DATx SELxJopt Connector E10 MOx MIx Lines Differential or Single-Ended Handwheel Encoder Selection Digital Power Supply Power SuppliesDAC Outputs Power Supply Machine ConnectionsMotor Signals Connections Overtravel Limits and Home SwitchesAmplifier Enable Signal AENAx/DIRn DAC Output SignalsPulse and Direction Stepper Drivers ExampleAcc-1P General-Purpose Digital Inputs and Outputs J7 Port Amplifier Fault Signal FaultAcc-2P General-Purpose Digital Inputs and Outputs Jopt Port Acc-1P Thumbwheel Multiplexer Port J2 PortAcc-2P Thumbwheel Multiplexer Port Jthw Port Acc-1P or Acc-2P Handwheel Port JHW / PD Port Optional Analog InputsCompare Equal Outputs Acc-2P USB Connector J1 Port Acc-2P Ethernet RJ45 Connector J10 PortSerial Port JRS232 Port PC DB-9Machine Connections Example Using Analog ±10V Amplifier PMAC2A PC104 Hardware Reference Manual PMAC2A PC104 Hardware Reference Manual Machine Connections Operational Frequency and Baud Rate Setup Software SetupCommunications Pmac I-VariablesFiltered DAC Outputs Configuration I54 Baud RateI54 Baud Rate for General-Purpose Digital Inputs and Outputs Using Flag I/O as General-Purpose I/OAcc-1P with Jumper E6 on Position Flag Type Channel NumberOpen PLC1 Clear Acc-2P with Jumper E5 in PositionAcc-1P with Jumper E6 in Position Thumbwheel Port Digital Inputs and OutputsAnalog Inputs Setup Baseboard Analog InputsAcc-1P Analog Inputs Base Board Hardware Reference Summary Board DimensionsFeature Feature LocationBoard Layout Connectors and Indicators Page ACC-1P Hardware Reference Summary TB1 JMACH1 J2 Thumbwheel Multiplexer Port Jthw Port J7 General-Purpose Digital Inputs and Outputs Jopt PortJ8 Handwheel / Pulse and Direction Port JHW / PD Port Page ACC-2P Hardware Reference Summary TB1 Jthw Jopt J1 USB Communications Port J8 Handwheel/Pulse and Direction Port JHW / PD PortJ10 Ethernet Communications Port Page E1 Servo and Phase Clock Direction Control E0 Forced Reset ControlE3 Normal/Re-Initializing Power-Up/Reset Base Board E-POINT Jumper DescriptionsE9 Servo Clock Lines Output Enable E8 Phase Clock Lines Output EnableE10 E12 Power-Up State Jumpers Description DefaultE14 Watchdog Disable Jumper E13 Power-Up/Reset Load SourceE16 ADC Inputs Enable E15A, B, C Flash Memory Bank SelectE18 E19 PC/104 Bus Address Point and Physical Location Description Default LayoutACC-1P E-POINT Jumper Descriptions E1 E2 Machine Output Supply Voltage ConfigureE0 Reserved for Future Use E3 E4 JHW, PD Function SelectE5 Servo Gate Address Select E6 I/O Gate Address SelectE7 Machine Input Source/Sink Control ACC-2P E-POINT Jumper Descriptions E1 USB/Ethernet Micro-Controller Firmware Reload EnableE5 I/O Gate Address Select E6 Communications Port SelectE7- E10 Ports Direction Control Point and Physical Location Description DefaultTB1 Jpwr Power Supply Base Board Connector PinoutsJ4 JRS232 Serial Port Connector Pin# Symbol Function DescriptionJ3 JMACH1 Machine Port Connector J3 JMACH1 50-Pin Header J4 JMACH2 Machine Port Baseboard Connector ACC-1P Connector Pinouts Pin# Symbol J2 Jthw Multiplexer Port ConnectorJ3 JMACH1 Machine Port Connector Pin Header J3 JMACH1 50-Pin-Header FLG78V Connector 34-Pin HeaderJ7 Jopto I/O Port Connector J8 JHW Handwheel Encoder Connector Page ACC-2P Connector Pinouts Pin # Symbol FunctionJ1 USB Universal Serial Bus Port Optional Pin Connector J7 Jopt I/O Port Connector Pin # Function J10 Ethernet Port Optional