Delta Tau PMAC2A-PC/104 manual Analog Inputs Setup, Baseboard Analog Inputs, Acc-1P Analog Inputs

Page 34

PMAC2A PC104 Hardware Reference Manual

Analog Inputs Setup

The optional analog-to-digital converter inputs are ordered either through Option-12 on the baseboard or Option-2 on the axes expansion board. Each option provides two 12-bit analog inputs with a ±10Vdc range. The M-variables associated with these inputs provided a range of values between +2048 and –2048 for the respective ±10Vdc input range. The following is the software procedure to setup and read these ports.

Baseboard Analog Inputs

I903 = 1746

;Set ADC clock frequency at 4.9152 MHz

WX:$C014, $1FFFFF

;Clock strobe set for bipolar inputs

M105->X:$0710,12,12,S

;ADCIN_1

on JMACH1 connector pin

45

M205->X:$0711,12,12,S

;ADCIN_2

on JMACH1 connector pin

46

Acc-1P Analog Inputs

I907 = 1746

;Set ADC clock frequency at 4.9152 MHz

 

 

WX:$C034, $1FFFFF

;Clock strobe set for bipolar inputs

pin

45

M305->X:$0714,12,12,S

;ADCIN_1

on JMACH1 connector (Acc-1P)

M405->X:$0715,12,12,S

;ADCIN_2

on JMACH1 connector (Acc-1P)

pin

46

28

Software Setup

Image 34
Contents PMAC2A-PC/104 Copyright Information Delta Tau Data Systems, Inc. Technical SupportTable of Contents Software Setup Base Board Connector Pinouts PMAC2A PC104 Hardware Reference Manual Table of Contents Board Configuration IntroductionAcc-1P Option 1 I/O Ports Option 12 Analog-to-Digital ConvertersAcc-1P Axis Expansion Piggyback Board Acc-1P Option 2 Analog-to-Digital ConvertersAcc-2P Option 1B Ethernet Interface Acc-2P Communications BoardAcc-2P Option 1A USB Interface Acc-2P Option 2 Dpram CircuitryPMAC2A PC104 Hardware Reference Manual Introduction Clock Configuration Jumpers Base Board Hardware SetupBoard Reset Jumpers Resistor Packs Configuration CPU Jumper ConfigurationConfiguration Jumpers Communication JumpersDevice Resistor Pack Pack Size PMAC2A PC104 Hardware Reference Manual Reserved Configuration Jumpers ACC-1P Hardware SetupE0 Reserved for future use Handwheel Encoder Termination Resistors Jthw Connector DATx SELx ACC-2P Hardware SetupJopt Connector E10 MOx MIx Lines Differential or Single-Ended Handwheel Encoder Selection DAC Outputs Power Supply Power SuppliesDigital Power Supply Machine ConnectionsOvertravel Limits and Home Switches Motor Signals ConnectionsPulse and Direction Stepper Drivers DAC Output SignalsAmplifier Enable Signal AENAx/DIRn ExampleAmplifier Fault Signal Fault Acc-1P General-Purpose Digital Inputs and Outputs J7 PortAcc-1P Thumbwheel Multiplexer Port J2 Port Acc-2P General-Purpose Digital Inputs and Outputs Jopt PortAcc-2P Thumbwheel Multiplexer Port Jthw Port Optional Analog Inputs Acc-1P or Acc-2P Handwheel Port JHW / PD PortCompare Equal Outputs Serial Port JRS232 Port Acc-2P Ethernet RJ45 Connector J10 PortAcc-2P USB Connector J1 Port PC DB-9Machine Connections Example Using Analog ±10V Amplifier PMAC2A PC104 Hardware Reference Manual PMAC2A PC104 Hardware Reference Manual Machine Connections Communications Software SetupOperational Frequency and Baud Rate Setup Pmac I-VariablesI54 Baud Rate Filtered DAC Outputs ConfigurationI54 Baud Rate for Acc-1P with Jumper E6 on Position Using Flag I/O as General-Purpose I/OGeneral-Purpose Digital Inputs and Outputs Flag Type Channel NumberAcc-2P with Jumper E5 in Position Open PLC1 ClearThumbwheel Port Digital Inputs and Outputs Acc-1P with Jumper E6 in PositionBaseboard Analog Inputs Analog Inputs SetupAcc-1P Analog Inputs Board Dimensions Base Board Hardware Reference SummaryFeature Location FeatureBoard Layout Connectors and Indicators Page ACC-1P Hardware Reference Summary TB1 JMACH1 J7 General-Purpose Digital Inputs and Outputs Jopt Port J2 Thumbwheel Multiplexer Port Jthw PortJ8 Handwheel / Pulse and Direction Port JHW / PD Port Page ACC-2P Hardware Reference Summary TB1 Jthw Jopt J8 Handwheel/Pulse and Direction Port JHW / PD Port J1 USB Communications PortJ10 Ethernet Communications Port Page E3 Normal/Re-Initializing Power-Up/Reset E0 Forced Reset ControlE1 Servo and Phase Clock Direction Control Base Board E-POINT Jumper DescriptionsE10 E12 Power-Up State Jumpers E8 Phase Clock Lines Output EnableE9 Servo Clock Lines Output Enable Description DefaultE16 ADC Inputs Enable E13 Power-Up/Reset Load SourceE14 Watchdog Disable Jumper E15A, B, C Flash Memory Bank SelectPoint and Physical Location Description Default Layout E18 E19 PC/104 Bus AddressE0 Reserved for Future Use E1 E2 Machine Output Supply Voltage ConfigureACC-1P E-POINT Jumper Descriptions E3 E4 JHW, PD Function SelectE6 I/O Gate Address Select E5 Servo Gate Address SelectE7 Machine Input Source/Sink Control E5 I/O Gate Address Select E1 USB/Ethernet Micro-Controller Firmware Reload EnableACC-2P E-POINT Jumper Descriptions E6 Communications Port SelectPoint and Physical Location Description Default E7- E10 Ports Direction ControlJ4 JRS232 Serial Port Connector Base Board Connector PinoutsTB1 Jpwr Power Supply Pin# Symbol Function DescriptionJ3 JMACH1 Machine Port Connector J3 JMACH1 50-Pin Header J4 JMACH2 Machine Port Baseboard Connector ACC-1P Connector Pinouts J2 Jthw Multiplexer Port Connector Pin# SymbolJ3 JMACH1 Machine Port Connector Pin Header J3 JMACH1 50-Pin-Header Connector 34-Pin Header FLG78VJ7 Jopto I/O Port Connector J8 JHW Handwheel Encoder Connector Page Pin # Symbol Function ACC-2P Connector PinoutsJ1 USB Universal Serial Bus Port Optional Pin Connector J7 Jopt I/O Port Connector J10 Ethernet Port Optional Pin # Function