Troubleshooting VSD-E/XE disabled state

From Granite Devices Knowledge Wiki
Jump to: navigation, search

In some cases combination of VSD-E/XE, VSDEPI and CNC controller exhibits a problem that drive stays in disabled state (blue led blinking). The reason for this is that enable/disable signal is not getting into drives possible caused by various reasons.

In such case, the primary solution is to try fix setup so that enable/disable signal is correctly passed to drives. For this, refer to VSDEPI manual and it's troubleshooting section. Check list:

  • Ensure correct pin setup on control software
  • Ensure that VSDEPI settings are loaded to drive with GDTool
  • Ensure that only 16 pin flat ribbon cable is connected to drive, no USB cable should be present simultaneously
  • Try using different parallel port modes from computer BIOS
  • Ensure that chargepump works, or try disabling it on VSDEPI

How enable/disable works[edit | edit source]

VSD-E/XE has configurable I/O pins in the CMD connector. User may choose any of the pins to act as enable input and also polarity of signal can be selected (inverted/non-inverted). When using VSDEPI, the correct choice as disable input is "Analog input 2 as digital input" with inverted setting. When voltage on analog input 2 is low (or no signal, i.e. disconnected wire), drive is disabled.

VSDEPI generates disable-signal that is active low. Disable signal is pulled low by three sources:

  • Disable input from parallel port is low (pin 14)
  • Chargepump signal is not present, VSDEPI internal circuit pulls disable low unless chargepump function is deactivated by inserting jumper JP1.
  • E-stop switch is on (conducting)

If any of above does not request disabled state (parallel port pin 14 = high AND chargepump is fed with signal or JP1 inserted AND e-stop is open), then disable signal to drives goes high and drives are enabled.

Checking VSDEPI state[edit | edit source]

VSDEPI has several test points on PCB which may be used to analyze the state. To measure state, use DC voltimeter to measure voltage between TP_GND and TP_xxx:

This is the final disable signal going to drives, when high (4-5VDC) drives are commanded to be enabled
Chargepump state, when voltage on this is low (<1.5V) chargepump is either happy with chargepump signal or JP1 is inserted

To undestand inner workings of VSDEPI, see VSDEPI board full schematics.

Failsafe method[edit | edit source]

In some cases making it work is found impossible due to incompatibility of PC parallel port. In such cases the remaining option is to change disable signal polarity of drives so that drives become always enabled (not able to disabled from controller).

Connect to drive, import settings and find the disable input settings from GDtool. Pay attention to whether input is currently inverted or non-inverted:

Gdtool disableinverted.png

Click Configure, select same input (in this case "Analog in 2 as digital input"), choose it and make opposite setting to Inverted checkbox (if it was originally inverted, set it non-inverted and vice versa):

Gdtool disableinchange.png

Click ok and verify that line looks like before except inversion setting is now the opposite:

Gdtool disableinverted2.png

After this, click Set, choose Device->Save active settings in drive. Then unplug USB, connect back to VSDEPI and enjoy!

In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.

As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.

Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.