Difference between revisions of "Device connection troubleshooting"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Common failure reasons)
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
This article helps finding cure for connection problems between PC and drive.
+
This article helps finding cure for connection problems between PC and SimpleMotion based drive (ARGON, IONI, ATOMI etc).
==Granity==
+
===Requirements for connection===
 
[[Granity]] requires following conditions to establish connection:
 
[[Granity]] requires following conditions to establish connection:
*Compatible RS485 adapter, such as [[SimpleMotion V2 USB Adapter]]
+
*Compatible RS485 adapter, such as [[SimpleMotion V2 USB adapter]]
*SimpleMotion V2 compliant drive, such as Argon
+
*SimpleMotion V2 compliant drive, such as Argon or Ioni
*SimpleMotion V2 calbing with termination
+
*SimpleMotion V2 cabling [[SimpleMotion V2 port|with termination]]
 
*Correct bus address setting on all devices in the SM V2 bus, see [[Setting device bus address]]
 
*Correct bus address setting on all devices in the SM V2 bus, see [[Setting device bus address]]
 +
*Straight (not crossover) RJ45 cable on the devices with RJ45 ports ([[IONICUBE]], [[ARGON]])
  
Common failure reasons:
+
=== Common failure reasons ===
*Bus address conflicting between devices (two or more devices set to same address)
+
*Bus [[Setting device bus address|address]] conflicting between devices (two or more devices set to same address)
*Missing bus termination
+
*Missing [[Setting device bus address#Bus termination|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
+
**With IONICUBE, make sure that bus termination is set on
 +
***IONICUBE 4 axis board rev. 007: insert jumper to JP10 position 1, see image [[IONI & IONICUBE user guide/Making the first Granity connection|here]],
 +
***IONICUBE 4 axis board rev. 009 and higher: set switch S1 position 1 ON, see image [[IONI & IONICUBE user guide/Making the first Granity connection|here]], and
 +
***IONICUBE 1X, set DIP switch S1 position 1 ON.
 +
*Use of crossover RJ45 cable. If this has been used, it might have caused damage that might prevent communication even with correct cable.
 +
**For repair instructions of Argon, see [[Determining Argon hardware failure]].
 +
*Device has an error state, see [[Argon user guide/LED indicators|led indicators]]
 
*Wrong communication interface device selected from Granity
 
*Wrong communication interface device selected from Granity
 +
*[[SimpleMotion V2 USB adapter]] damaged, see [[Testing SimpleMotion V2 USB adapter|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
 +
*USB adapter has bee plugged in ''after'' Granity has been started (and because of that it is not in listed in the communication interface devices).
 +
**Ensure that USB device has been inserted before Granity is started.
 +
*Multiple communication interface devices are available and the wrong one has been chosen. Multiple SimpleMotion adapters may be listed even when there is only one SimpleMotion adapter plugged in because Granity might assume some other USB serial port to be also SimpleMotion adapter even when it's not.
 +
**Try all available SimpleMotion devices and see which one works.<br />[[File:wikimultipleSMdevices.png]]
  
==GDtool, DCtool and VSD-E/XE==
+
[[Category:Argon_troubleshooting]]
===Unable to establish (reliable) connection===
+
[[Category:IONI_troubleshooting]]
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 [[VSD-E/XE CMD and SPI connectors|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.
+
[[Category:Argon troubleshooting]]
+
[[Category:VSD-E/XE troubleshooting]]
+
[[Category:Granity troubleshooting]]
+

Latest revision as of 11:09, 27 April 2017

This article helps finding cure for connection problems between PC and SimpleMotion based drive (ARGON, IONI, ATOMI etc).

Requirements for connection[edit | edit source]

Granity requires following conditions to establish connection:

Common failure reasons[edit | edit source]

  • 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.
    • With IONICUBE, make sure that bus termination is set on
      • IONICUBE 4 axis board rev. 007: insert jumper to JP10 position 1, see image here,
      • IONICUBE 4 axis board rev. 009 and higher: set switch S1 position 1 ON, see image here, and
      • IONICUBE 1X, set DIP switch S1 position 1 ON.
  • Use of crossover RJ45 cable. If this has been used, it might have caused damage that might prevent communication even with correct cable.
  • 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
  • USB adapter has bee plugged in after Granity has been started (and because of that it is not in listed in the communication interface devices).
    • Ensure that USB device has been inserted before Granity is started.
  • Multiple communication interface devices are available and the wrong one has been chosen. Multiple SimpleMotion adapters may be listed even when there is only one SimpleMotion adapter plugged in because Granity might assume some other USB serial port to be also SimpleMotion adapter even when it's not.
    • Try all available SimpleMotion devices and see which one works.
      WikimultipleSMdevices.png