m24- 11odo1ao expansion board rev. 1cnc4pc.com/tech_docs/m24_user_manual_rev2.pdf9 / i/o output 5...

14
M24(Rev. 1.1) User Manual Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 1/14 M24- 11ODO1AO EXPANSION BOARD Rev. 1.1 User manual Rev. 2.1 1. Overview This expansion board provides 10 discrete optoisolated outputs for +5vdc TTL signals, and one optoisolated analog output that goes from 0 to 10vdc. 2. Features 11 Optoisolated Discrete Outputs. 1 adjustable 0-10V analog output. It has an optoisolated analog 0- 10VDC output that will convert a PWM signal into an analog signal that can be used to command a commercial VFD. This analog can be adjusted using on- board potentiometer, so this board can be adjusted to other voltages. High Current Buffered Outputs

Upload: others

Post on 30-Jan-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

  • M24(Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 1/14

    M24- 11ODO1AO EXPANSION BOARD Rev. 1.1

    User manual Rev. 2.1

    1. Overview

    This expansion board provides 10 discrete optoisolated outputs for +5vdc TTL signals, and one optoisolated analog output that goes from 0 to 10vdc.

    2. Features

    • 11 Optoisolated Discrete Outputs.

    • 1 adjustable 0-10V analog output. It has an optoisolated analog 0- 10VDC output that will convert a PWM signal into an

    analog signal that can be used to command a commercial VFD. This analog can be adjusted using on-board potentiometer, so this board can be adjusted to other voltages.

    • High Current Buffered Outputs

  • M24(Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 2/14

    • Output pins with close by ground or +5vdc connections.

    • Screw-On connections for all terminals. You only have to screw-on the wires to make all your connections.

    • Fully optoisolated.

    • Support for up to 15 KHz optoisolation.

    • Status LEDs on all inputs and output connections. No more guessing. You can SEE all your signals.

    • External Enable Pin (EN). The board has a pin that allows you to enable/disable all the outputs at once.

    • Status outputs LED.

    3. Specifications.

    DIGITAL OUTPUT SPECIFICATIONS

    Maximum output voltage (5V power supply voltage) + 0.5V

    Typical output current 24mA

    Maximum off-state voltaje 0.44 V

    Maximum operation frequency 12KHz

    Time of transition to high impedance state 12 nS*

    *Time passed since a low in the ENABLE input is detected and the outputs are disabled.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 3/14

    4. Pinout

    M24

    40 Pins Header

    Terminal/Function

    Exp. Port 1 Exp. Port 2

    (Pin # / Description) (Pokeys Pin #) (Pokeys Pin #)

    1 / GND

    2 / GND

    3 / GND

    4 / GND

    5 / I/O Output 1 PK01 PK11

    6 / I/O Output 2 PK02 PK12

    7 / I/O Output 3 PK03 PK54

    8 / I/O Output 4 PK04 PK14

    9 / I/O Output 5 PK05 PK15

    10 / I/O Output 6 PK06 PK16

    11 / I/O Output 7 PK07 PK21

    12 / I/O Output 8 PK08 PK22

    13 / I/O Output 9 PK09 PK27

    14 / I/O Output 10 PK10 PK31

    15 / I/O Output 11 PK17 PK19

    16 / I/O Analog Output PK18 PK20

    17 / 3.3V

    18 / 5V

    19 / 5V

    20 / 5V

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 4/14

    5. Board description

    5.1 Power Requirements

    It requires a 5VDC @ 400 milliamps external power supply to operate.

    WARNING

    Check the polarity and voltage of the external power source and connect the 5V

    and GND. Overvoltage or reverse-polarity power applied to these terminals can

    cause damage to the board, and/or the power source.

    5.2 Enable pin.

    The card must be provided with a 5VDC signal to enable operation. This feature has been added to enable you to control externally the status of the outputs of the card. You can add en external switch to provide the enabling signal. When the enable signal is not enabled, output signals sent high impedance state. If you need the communication to be enabled at all times you can provide the 5 volts directly from the source that is powering the card. Internally this pin has a 4.7kOhm pull-down resistor.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 5/14

    5.3 Analog Output

    Requirements:

    It requires a +12VDC@ 50mA power supply to operate.

    WARNING: To keep the output signals optoisolated, these must not

    have common ground or connections to current with other circuits you

    are using.

    You will require a voltmeter to fine tune your system.

    This function lets you control your spindle with PWM (Max. Freq. 1 KHz) and direction signals, as if it was an axis motor. It converts the step signal into an analog (0-10VDC). A Variable Frequency Drive or Inverter works by modifying the frequency for AC motors. You can control most of these devices with an external analog signal (0-10VDC). That is, if there is 5VDC coming into through the control signal, the motor will run at 50% of full speed, if there was 10VDC, the motor will run at 100% of full speed. If there is no signal coming out, then the motor will stop. This function can also be used on many DC motor controllers by replacing the potentiometer that controls the speed. Use the pot for fine tuning the output voltage. If replacing a potentiometer, use the 0-10vdc for the connecting to the wiper connection and make the grounds common. In order to adjust your final voltage, set your control software at max speed, then turn the pot till you reach the desired output voltage.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 6/14

    6. Schematics

    5.1 Discrete Outputs

    Fig. 1 Outputs schematic

    5.1 Analog Output

    Fig. 2 Analog Output schematic

    Note: The analog output is PWM controlled. The PoKeys55 expansion board has

    available PWM function in pins 18 and 20 from the expansion port 1 and the

    expansion port 2 respectively.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 7/14

    7. Wiring Diagrams

    The below images show the connection between the M24 analog output and commercial VFDs. In some cases is necessary an external electromechanical relay to control the spindle direction. Note: In all cases, to keep optoisolation, the 12V power supply current must come from the VFD, or a source different from the what is powering your other devices.

    7.1 M24 and universal VFDs connections.

    Fig. 3 Wiring Universal VFDs

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 8/14

    6.2 M24 and KBIC Speed controller connections.

    Fig. 4 Wiring KBIC speed controller

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 9/14

    6.3 M24 and Minarik MM Series Speed controller connections.

    Fig. 5 Wiring Minarik MM Series speed controller

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 10/14

    6.4 M24 and Speed controller that comes with SIEG X3 connections.

    Fig. 6 Wiring speed controller that comes with SIEG X3

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 11/14

    6.5 M24 and HITACHI L100 VFD connections.

    Fig. 7 Wiring HITACHI L100 VFD

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 12/14

    8. Troubleshooting. SYMPTOM 1: THE BOARD DOES NOT REACT TO THE SIGNAL.

    POSSIBLE CAUSE POSSIBLE SOLUTIONS

    - Pin conflict or mach3 configuration.

    It is possible that the port address

    used for the pin is not right, or that

    there is a pin conflict. That is that you

    are using that same pin twice. (it could

    be assigned to a different function).

    - Check that the pin you are using is not

    been used anywhere else in your setup.

    Got to motor output and output signals,

    and check all the entries.

    - The board does not like the

    waveform it is getting. Changing the

    active low status of the pin used also

    inverts the waveform.

    - Play with the active low status of the pin

    used for the frequency.

    - The signal or frequencies are not

    getting to the board.

    - Try a different cable.

    - Test the pins in the cable (before they

    reach the expansion board) with a

    multimeter.

    - Problems with Mach3 Pulse

    Generation. Mach3 could have

    installation problems (you did not

    restart immediately after installation),

    or there could be something creating a

    conflict. Some dongle devices might

    cause this, other software, like

    QuickTime or drivers for touch screen.

    - Test this in a different PC.

    - Follow Art’s suggestions for optimizing

    up WinXP:

    http://www.machsupport.com/downloads/

    XP_Optimization.txt.

    SYMPTOM 2: THE OUTPUTS DO NOT GET ENABLED / NO SIGNALS ARE

    COMING OUT.

    POSSIBLE CAUSE POSSIBLE SOLUTIONS

    - The EN terminal (Enable Outputs) is

    not enabled. The board requires to be

    externally enabled.

    - Make sure you are providing +5vdc to

    the EN terminal. This +5vdc can be

    taken from the terminal next to it.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 13/14

    SYMPTOM 3: THERE IS NOISE IN THE SYSTEM.

    POSSIBLE CAUSE POSSIBLE SOLUTIONS

    - The board could be underpowered. - Make sure you are using a +5vdc

    400mA power supply.

    - There could be a short that could be

    draining the power to the board.

    - Check that there are no hot spots in the

    board or it’s connections.

    - Measure the board’s power

    consumption, it should be less than

    400mA (depending on the features

    used).

    SYMPTOM 4: AN OUTPUT PIN MIGHT NOT BE WORKING.

    POSSIBLE CAUSE POSSIBLE SOLUTIONS

    - A chip may have gone bad. These

    buffers could act as fuses for the

    signals, and they can go bad because

    of noise spikes or even strong static.

    - These chips are inexpensive and readily

    available. You can order them here:

    http://www.cnc4pc.com/Store/osc/index.ph

    p?cPath=38_43.

    - Carefully moving chips around and

    checking if the problem moves around

    could be a way of figuring out if this is

    the case.

    - There could be a problem with the

    cable.

    - Test this with a different ribbon cable

    SYMPTOM 5: THE ANALOG OUTPUT DOES NOT REACH THE 10VDC.

    POSSIBLE CAUSE POSSIBLE SOLUTIONS

    - Inadequate PWM frequency. It is

    possible that the PWM signal has a

    frequency higher than 1 KHz.

    - Change the PWM signal frequency.

  • M24 (Rev. 1.1) User Manual

    Revision: 9/18/2009 http://cnc4pc.com/TechDocs/M24R1_1_User_Manual.pdf 14/14

    9. Dimensions.

    All dimensions are in Millimeters.

    Disclaimer: Use caution. CNC machines could be dangerous machines. DUNCAN USA, LLC or Arturo Duncan are not liable for any accidents resulting from the improper use of these devices. The M24 is not fail-safe device, and it should not be used in life support systems or in other devices where its failure or possible erratic operation could cause property damage, bodily injury or loss of life.