Device connection troubleshooting

From Granite Devices Knowledge Wiki
Revision as of 15:20, 20 February 2014 by Tero K (Talk | contribs) (GDtool, DCtool (VSD-E & VSD-XE drives))


Jump to: navigation, search

This article helps finding cure for connection problems between PC and drive.

Granity (Argon & Ion drives)

Granity requires following conditions to establish connection:

Common failure reasons:

  • Bus address conflicting between devices (two or more devices set to same address)
  • Missing bus termination or too long stub after termination. Correct termination is important especially if RJ45 cable is longer than 3 meters or stub longer than 0.5 meters.
  • Device has an error state, see led indicators
  • Wrong communication interface device selected from Granity
  • SimpleMotion V2 USB adapter damaged, see testing of SMV2 adapter
  • Electromagnetic interference that is coupled to the communication cables, try separating signal and power cables and use EMI suppression cores on cables (including SimpleMotion RJ45).
  • Device has insufficient logic voltage supply causing erroneous operation or rebooting of device
  • Possibly some incompatibility with the computer, try connection from another computer

GDtool, DCtool (VSD-E & VSD-XE drives)

Symptoms

  • Software refuses to connect to the drive
  • After importing parameters, they seem invalid (many 0, 4095 or 65535 values)
  • Drive blinks communication error led sequence

Unable to establish (reliable) connection

Some most common resons for failing GDtool connection with VSD-E and VSD-XE:

  • Cable to CMD connector is connected simultaneously when USB adapter is plugged in (CMD connector should be left unconnected while using GDtool to prevent communication interference because these connectors have shared signals)
  • Wrong software being used for the installed firmware. Use only GDtool for single axis firmware and only DCtool for DualDC firmware. If you accidentally used wrong tool, re-flash the firmware file to reset all drive settings to factory state.
  • Electromagnetic interference (EMI). If connection breaks when HV voltage is applied to drive (and works fine when only 12V is applied), then it is probably cause by electromagnetic interference. Typical reasons:
    • Motor output cable is not shielded and shield not connected to drive FG (frame ground)
    • Motor casing (metal) not connected to drife FG via cable shield or earthing connector.
    • Interference escaping from power supply leads
    • Interference escaping from other nearby equipment such as VFD or welding machine
    • EMI suppression cores on motor, power & USB cable may help
  • Device power-up sequence not properly done during establishing connection
  • USB adapter may have been damaged. Damage may occur with voltage potential error or when used with CMD cable plugged simultaneously. Also DOA cables have been the reason in rare cases (less than 1%).

More things to try:

  • Try on another computer
  • Try on isolated system with only one drive, 12V power supply and a computer. Preferably far from EMI sources.

Getting communication error during normal use

If drive indicates communication error during normal operation (i.e. step/dir usage), it is caused by one of following reasons:

  • Drive is not configured & saved in correct input mode. Ensure that "Force SPI" input mode is not active.
  • IN3 in CMD connector is not in correct state during powering-up of 12V supply. Opto-in 3 (IN3 in CMD connector) should be held at logic 0 (or keep unconnected) while powering up logic supply voltage. If logic 1 is driven to IN3 during power-up, drive will enter into GDtool configuration mode which overrides functions of pins IN3, IN4 and OUT1 for SPI communication or enters in a device firmware upgrade mode. Correct IN3 pin setting is ensured in VSDEPI breakout board design.

Testing USB adapter condition

Sometimes inability to connect is caused by damaged USB adapter. To verify condition of the cable, please download following tester application and copy the cableTest.exe to GDtool installation folder (same folder with GDtool.exe). Typically GDtool is installed at C:\Program Files\GDtool.

http://granitedevices.com/assets/files/cabletest.zip

A short piece of wire that can be inserted in USB adapter 6-pin connector is needed for testing.


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.