Hide thumbs Also See for GPIO4D:

Advertisement

Quick Links

CENTROID
GPIO4D Install Manual
rd
Velocity Mode For 3
party drives
Without Optic Direct Interface
Last revised 20 June 2014 (277)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GPIO4D and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Centroid GPIO4D

  • Page 1 CENTROID GPIO4D Install Manual Velocity Mode For 3 party drives Without Optic Direct Interface Last revised 20 June 2014 (277)
  • Page 2: Table Of Contents

    4. CNC11 & PLC Software Installation and Network Configuration. 5. Windows 7 configuration 6. Configuring CNC11 For Bench Testing 7. Bench Testing the MPU11 and GPIO4D 8. Electrically Configuring Inputs On GPIO4D 9. Mounting major components in electrical cabinet 10. Connecting and testing major components in the electrical cabinet 11.
  • Page 3: Introduction

    Before You Begin: Installing your new Centroid CNC11 based GPIO4D System is a straight forward process if you follow the directions included here. Before getting started, please take the time to familiarize yourself with the schematics, manuals and installation instructions.
  • Page 4: What's Included

    2. MPU11 Motion Controller 1 ea. 3. Fiber Optic Cable 2 ea. 4. +-12VDC, 5VDC Digital Power Supply 2 ea. 6. Power Cable - Digital PS to MPU11, GPIO4D 2 ea. 7. – 11. Connectors & Misc 8. Software Install & Documentation CD...
  • Page 5 A The 110VAC from the power strip to the digital power supplies. B Connect the digital power cables to the MPU11 and GPIO4D C Shielded CAT5 network cable from the PC to the MPU11. Centroid recommends purchasing the blue Cat5e shielded F/UTP snag-less patch cables from StarTech, ID # S45PATCH25BL.
  • Page 6: Connecting Major Components On Bench For Testing

    3. Connecting major components on Bench for testing. (cont) Powering up for the first time With the major components all connected, confirm that all components are resting on a non-conductive surface and turn on your power strip to power up your components and PC.
  • Page 7: Cnc11 & Plc Software Installation And Network Configuration

    3. Install the CNC11 Software as follows: 1. Download the latest CNC11 Software version. It is important that you download the latest version of the Centroid CNC11 software before continuing. Click on the link below to download the latest version of CNC11 software: CNC11 Software download 2.
  • Page 8 4. CNC11 & PLC Software Installation and Network Configuration. 5. Select CNC11 Mill and WinPcap for installation. Click “Next”, accept default installation drive and directory (c:\) and click “Install” 6. Install WinPcap Click “Next” in the WinPcap Setup Wizard window and and check the “Automatically start the WinPcap at boot”...
  • Page 9 PLC program, select “Yes”. Click on the “+” signs next to Mill & GPIO4D and then click on “basic” under Mill->GPIO4D to select it and click “Install” NOTE: If your install does not contain gpio4d-basic-v2.src, download it here: Once downloaded, copy the files in the zip file to c:\cncm.
  • Page 10 5. Configuring Windows 7 1. Configuring Windows Firewall To Allow CNC11 to Communicate With The MPU11. The first time you run CNC11 under Windows 7, you will see a pop up window asking you if you wish to allow CNC11 to communicate with the MPU11. Check both the “Private” and “Public”...
  • Page 11 In addition, the GPIO4D Basic PLC program contains default logic that monitors the inputs for Limit Switches (inputs 1-8), Lube Fault(input9), Spindle Fault (input10), Estop (input11), and Axis Drive Faults (inputs 17-20).
  • Page 12 6.2 After Saving, Press escape to go back to the Main Screen, press F10-Shutdown, press F2 Power Off, and then power off the MPU11 and GPIO4D. Wait 30 seconds and power everything back up. 3. Disable PLC faults for Limit Switches, Lube, Spindle, Estop and Axis Faults. At the main screen press the alt and i keys simultaneously to bring up the real-time I/O display.
  • Page 13 6. Configuring CNC11 For Bench Testing 4. Enter your Software Unlock Demo Code To enter a software unlock: From the Main screen press, F7-”Utilities”->F8-”Options”->F1-”Unlock Option” a. In “Enter Unlock #:” enter 297, in “Unlock Value:” and press enter to display the “Unlock Value”...
  • Page 14: Configuring Cnc11 For Bench Testing

    Configuring CNC11 For Bench Testing 6. Software Ready Faults Anytime the CNC11 software has been exited and restarted, without the hardware also being powered off and restarted, the CNC11 software will report a “Software Ready Fault”. A “Software Ready Fault”, like spindle, lube, encoder and position fault is a “stop fault”.
  • Page 15: Bench Testing The Mpu11 And Gpio4D

    7. Bench Testing the MPU11 and GPIO4D Bench testing the MPU11 and GPIO4D will confirm that the MPU11 and GPIO4D are operational and that the software has been properly configured to begin the installation process. Bench Testing is required as it provides a known base configuration that our support engineers can refer to when trying to diagnose any issues that may have arisen.
  • Page 16 7. Bench Testing the MPU11 and GPIO4D 2. Testing the analog output for the spindle The GPIO4D provides a 0 to +10VDC analog output to provide programmable spindle speed control using a VFD. The default maximum spindle speed specified in the Control Configuration is 3000rpm (fig 6.2).
  • Page 17 7. Bench Testing the MPU11 and GPIO4D 3. Testing the analog outputs for each axis The GPIO4D outputs -10 to +10VDC signals for control of up to 4 axes. When testing the -10 to +10VDC analog output for each axis, place your probes in the appropriate location as indicated below for the axis being tested.
  • Page 18: Electrically Configuring Inputs On Gpio4D

    Electrically Configuring Inputs On GPIO4D 1. Selecting the correct SIPS for you input configuration All inputs on the GPIO4D can be configured for sourcing or sinking operation using either 5VDC, 12 or 24 VDC. The inputs are arranged in groups of 4 with a common shared by each input in a group. In order for the control to see an input open and close, for whatever voltage is connected to the COM of a group of inputs, it's opposite must be switched to each the input.
  • Page 19 4 but wire your 110VAC service through your cabinet disconnect instead of a power strip. a) Connect the 110VAC from the disconnect to the GPIO4D & MPU11 power supplies b) Connect the digital power cable from the MPU11 power supply to the MPU11...
  • Page 20: Wiring Limit, Estop And Fault Inputs

    Failure to install the proper SIPS to match the voltage levels being used will damage the GPIO4D Connect your limit switches, lube fault spindle fault & Estop as shown: +12VDC GPIO4D Board X- Limit X+ Limit Y- Limit Y+ Limit...
  • Page 21 For your Lube Fault and Spindle Fault inputs, you can momentarily loosen the wire for that input on the GPIO4D to confirm that the fault is detected and displayed. Don't forget that you will need to cycle Estop to clear those faults before continuing.
  • Page 22: Encoder Wiring

    12. Encoder wiring 1. Encoder wiring as shown below: Encoder cables MUST be shielded, twisted pair cables. NOTE: On 3 party drive/motor systems, in addition to the incremental encoder feedback there will also often be Tach and/or commutation channels being returned from the motors.
  • Page 23 12. Encoder wiring 2. Testing Encoder Wiring Power up your system to test the encoder wiring. Press the Estop button in keep it there. Start the CNC11 software by double clicking on the CNC11 Mill icon on your desktop. After the MPU11 has initialized, press F10 to continue to the main screen.
  • Page 24 12. Encoder wiring 3. Determining the number of encoder counts per motor revolution. For each axis, rotate the motor until the asterisk appears next to the axis label as shown in the below. Note the value of “Abs Pos”, rotate the motor shaft exactly 1 revolution until the asterisk appears next to the axis label again and note the new ABS Pos.
  • Page 25: Estop Coil Wiring

    1. Wiring the Estop Coil The coil voltage that controls the Estop contactor is routed through your Estop switch and two fault relays on the GPIO4D. The first relay (Output1) is controlled by the PLC program and can be used to drop the Estop contactor based on any PLC event.
  • Page 26 Press your Estop switch in and then release it Observe the estop contactor engages when the Estop switch is released and disengages when Estop is pressed. Power off the system and proceed to section 14 “Wiring 3 Party Servo Amplifiers to the GPIO4D ”...
  • Page 27: Wiring 3 Rd Party Servo Amplifiers To The Gpio4D

    “active low” enable to 3 party Servo amplifiers. This means that, when the GPIO4D enables an axis, it will pull the signal level of enable output pin down to 5VCOM. If your 3 party Servo Amplifiers require an “active high” enable, you will need to wire it through an external 5VDC relay or use a PLC output* *Wiring the enable through a PLC output requires a custom PLC program.
  • Page 28 14. Wiring 3 Party Servo Amplifiers to the GPIO4D 2. Wiring GPIO4D External Drive Fault Input The GPIO4D will detect an external drive fault if the Fault input is not closed to the voltage that is opposite that of the signal connected to the Fault COM.
  • Page 29 14. Wiring 3 Party Servo Amplifiers to the GPIO4D 5. Wiring GPIO4D Analog Control Voltage If no faults are detected, the GPIO4D provides -10 to +10VDC for analog control of up to 4 3 party servo amplifiers. When wiring the analog control voltage -always- use twisted pair wiring between the GPIO4D and the servo amplifier.
  • Page 30: Configuring Motors, Encoders And Limit Switches In Software

    15. Configure motors, encoders and limit switches in software 1. Configure your servo amplifiers for velocity mode and check the PID values in CNC11 BEFORE testing motor movement. Do NOT try to move your motors until instructed to do so below. Before powering up the system, push your Estop switch in and leave it in.
  • Page 31 15. Configure motors, encoders and limit switches in software 5. Configuring motors to move in the correct direction It is important to understand that correct motor direction is determined by the motion of the tool relative to the part, this is not necessarily the same as the motion of the table.
  • Page 32 15. Configure motors, encoders and limit switches in software Configuring motors to move in the correct direction (cont.) Use MDI to move each axis and determine if the axis is moving in the correct direction. To determine this, observe that the DRO counts more positive while moving an axis in the positive direction and that it counts more negative while moving in the negative direction.
  • Page 33 15. Configure motors, encoders and limit switches in software 7. Configuring your motors to move the correct distance For imperial machine configurations the number of motor revolutions required to move 1” must be calculated. For metric machine configurations the number of mm's travelled during one revolution of the motor must be calculated.
  • Page 34 15. Configure motors, encoders and limit switches in software 7. Configuring your motors to move the correct distance (continued) 5. Fine tuning: Making sure they are parallel/perpendicular with the table, butt a place a gauge block or anything else that can be measured accurately up against a 123 block - a 6” (150mm) parallel works nicely as shown below: 1.
  • Page 35 15. Configure motors, encoders and limit switches in software 8. Configuring backlash compensation A note on backlash and backlash compensation: Before configuring the backlash compensation in the control, every effort should be made to reduce the mechanical lash in your machine to less than .001”. The “electronic” backlash compensation provided by the control will help, especially in point to point moves, but the overall accuracy of your machine is determined purely by the amount mechanical lash in the machine.
  • Page 36: Wiring Auxiliary Sub-Systems

    This method is the best for reliable even lubing of your machine. Centroid Users see Tech Bulletin #171 and Parameter 179 in the operators manual for further explanation.
  • Page 37: Coolant Pump

    16. Wiring Auxiliary Sub-systems 2. Coolant Pump Wiring Coolant Flood Pump Sub-circuit Diagram This sub-circuit shows how to hook up a 3 phase Flood Pump. Because the pump draws higher current at 220V a Flood Contactor PART# 3959 is needed. Notice the Quencharc PART# 1819 on the coil of the contactor, this prevents electrical noise when the coolant flood is cycled on and off.
  • Page 38 16. Wiring Auxiliary Sub-systems 3. Spindle Wiring Spindle Contactor Wiring...
  • Page 39 16. Wiring Auxiliary Sub-systems 4. Spindle Inverter Wiring -AutomationDirect GS2...
  • Page 40: Appendix A: Troubleshooting Communication Data Issues

    Appendix A: Troubleshooting Communication Data Issues Symptom or Error Error Initializing MPU11 1. Does the MPU11 have power? Check that MPU11 power supply is receiving AC power (85-264VAC). Check that MPU11 is receiving 5VDC & +-12VDC If the MPU11 power supply is receiving AC power but the MPU11 is not receiving any or all of 5 or +-12VDC signals, remove the power plug from the mpu11 and measure DC voltage between red &...
  • Page 41 Appendix A: Troubleshooting Communication Data Issues Symptom or Error Error Initializing MPU11 5. Is your network adapter configured correctly? In the bottom right corner of your screen (taskbar): 1. Click on the Network and Sharing Center Icon. 2. Click on Open Network and Sharing Center. 3.
  • Page 42: Pc Receive Data Error

    Appendix A: Troubleshooting Communication Data Issues Symptom or Error Error Initializing MPU11 6. Can you ping the MPU11? Open a command prompt Go to Start->All Programs->Accessories-> Command prompt and type ping 10.168.41.2 and press enter. You should see the screen(s) below. If you get timeouts, there may be a problem with your firewall or anti-virus or it may be a problem with the mpu11 itself.
  • Page 43: Jog Panel Communication In Fault

    Appendix A: Troubleshooting Communication Data Issues Symptom or Error PC Receive Data Error 3. Does the CAT5 cable run next to any 3 phase or power cables? The Cat5 cable should never be run alongside any 3 phase or power (452) cables.
  • Page 44 -12V input on H6. If voltage is present, but the corresponding LED or the 3.3V LED is not lit, send the GPIO4D in for repair. If no voltage is present, check AC supply (85-264VAC) to the GPIO4D power supply. If AC supply voltage is present but any or all of the 5V, 12V or -12V signals are missing, replace the GPIO4D power supply.
  • Page 45 In Fault If the “PLC Ok” LED is off, there is a problem with either the MPU11 or GPIO4D board. 5. Does your MPU11 have the updated crystal installed? MPU11 boards that shipped prior to ##### may need to have the crystal replaced due to a manufacturing defect in the crystal.
  • Page 46: Appendix B: Troubleshooting Motion And Encoder Issues

    1. Are the encoders mapped correctly? DRO doesn't update GPIO4D systems running in velocity mode that do not utilize the OpticDirect interface boards should have the encoders connected to the MPU11 on encoder inputs 1-4 and should be mapped in the parameters...
  • Page 47 Also, confirm that your amplifiers utilize an active low enable signal. If your amplifiers require an active high enable, you will need to wire your enables through available outputs on the GPIO4D or 16/16 in order to invert the enable signal.
  • Page 48: Motors Don't Move

    GPIO4D drive mapping is described. 6. Is parameter 256 set to 1? For GPIO4D systems running in velocity mode that do not utilize the OpticDirect interface boards, parameter 256 must be set to 1. 7. Are the PID values, acceleration rates and maximum speed set? If a 0 value is present in acceleration rate, max rate, Kp or Kv1, the motor won't move.
  • Page 49 If voltage no voltage is present, there is a problem with the GPIO4D and it will need to be sent back in for repair. If voltage is present with the wires removed, there is a problem with your...
  • Page 50: Motion Is Not Smooth

    Appendix B: Troubleshooting Motion and Encoder Issues Symptom or Error Motion is not smooth 1. Do the motors move smoothly with a simple analog command? Use MDI to perform the following command(press cycle start after command is entered): G193 x1 p.1 l1 This command tells the control to put out +1VDC (p.1) for 1 second on the X axis (x1).
  • Page 51 2. Does your encoder meet the minimum resolution requirements? Centroid recommends an encoder resolution of least 40,000 encoder counts per inch (1575 counts per mm). Centroid requires a minimum encoder resolution of 20,000 encoder counts per inch (788 counts per mm).
  • Page 52 After you have configured and tuned your servo amplifier and you have smooth motion while running the axis from the servo amplifier software, begin tuning the axis in CNC11 by following Centroid Tech Bulletin 234 which is available here ###.
  • Page 53: Axis Does Not Move Correct Distance

    Appendix B: Troubleshooting Motion and Encoder Issues Symptom or Error Axis does not move 2. Have you configured your motor revs/unit (imperial) or units/rev correct distance (metric) correctly? 1. Do a rough check of the current motor/ballscrew ratios using a tape measure. In MDI, type g92 x0y0z0, and press cycle start to set the current XYZ position to 0.
  • Page 54 Appendix B: Troubleshooting Motion and Encoder Issues Symptom or Error Axis does not move 2. Have you configured your motor revs/unit (imperial) or units/rev correct distance (metric) correctly? (continued) 5. Fine tuning: Making sure they are parallel/perpendicular with the table, butt a place a gauge block or anything else that can be measured accurately up against a 123 block - a 6”...
  • Page 55: Appendix C: Troubleshooting Errors Reported By Cnc11

    Software Ready Fault 1. Software Ready Fault is caused by exiting the CNC11 software without removing power from the Centroid hardware. To clear this fault, cycle the Estop switch/PLC input or power off the computer and all Centroid hardware and restart.
  • Page 56: Lube Fault

    Appendix C: Troubleshooting Errors Reported By CNC11 Symptom or Error Lube Fault 3. Lube Fault This fault is caused by the Lube Fault PLC input (9) being open. Go to the main screen in CNC11 and bring up the real-time I/O screen to view the state of input 9.
  • Page 57: Check Mpg Cable

    Appendix C: Troubleshooting Errors Reported By CNC11 Symptom or Error Limit Tripped 4. Limit tripped messages (cont) #2 Open up the real-time I/O screen by pressing alt-i while at the main screen. Physically clear all limit switches in question by either manually moving the axis or axes to the center of travel or removing the switch or dog to clear it.
  • Page 58: Option Not Available

    Appendix C: Troubleshooting Errors Reported By CNC11 Symptom or Error 1. Axis home differs by #### counts The most likely cause of this Axis home differs error is a sticky home switch. This message indicates that the distance from the point at which the home switch cleared to the home position (index pulse location on the encoder) has changed position for the axis indicated.
  • Page 59: Fpwom

    12. Counts differ on homing. 13. Option not available. 14. Parameter missing. 15. Position error. 16. FPWOM...

Table of Contents