Difference between revisions of "Troubleshooting VSD-E/XE disabled state"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
Line 7: Line 7:
 
*Try using different parallel port modes from computer BIOS
 
*Try using different parallel port modes from computer BIOS
 
*Ensure that chargepump works, or try disabling it on VSDEPI
 
*Ensure that chargepump works, or try disabling it on VSDEPI
 +
 +
==How enable/disable works==
 +
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. So 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, chargepump is fed with signal or JP1 inserted and e-stop is open), then disable signal to drives goes high and drives are enabled.
 +
 
==Failsafe method==
 
==Failsafe method==
 
In some cases making it work is found impossible due to incompatibility of PC parallel port. In such cases the remaining option is to invert disable signal polarity of drives so that drives become always enabled (not able to disabled from controller).
 
In some cases making it work is found impossible due to incompatibility of PC parallel port. In such cases the remaining option is to invert 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:
 
Connect to drive, import settings and find the disable input settings from GDtool. Pay attention to whether input is currently inverted or non-inverted:
 +
 
[[File:Gdtool disableinverted.png]]
 
[[File: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:
 
Click Configure, select same input (in this case "Analog in 2 as digital input"), choose it and make opposite setting to Inverted checkbox:
 +
 
[[File:Gdtool disableinchange.png]]
 
[[File:Gdtool disableinchange.png]]
  
 
Click ok and verify that line looks like before except inversion setting is now the opposite:
 
Click ok and verify that line looks like before except inversion setting is now the opposite:
 +
 
[[File:Gdtool disableinverted2.png]]
 
[[File:Gdtool disableinverted2.png]]
  

Revision as of 13:14, 2 September 2014

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

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. So 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, chargepump is fed with signal or JP1 inserted and e-stop is open), then disable signal to drives goes high and drives are enabled.

Failsafe method

In some cases making it work is found impossible due to incompatibility of PC parallel port. In such cases the remaining option is to invert 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:

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!