Difference between revisions of "Granity user guide/Connect"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Connecting)
Line 30: Line 30:
 
====IONICUBE====
 
====IONICUBE====
 
# Wire up IONICUBE logic power (24V) supply.
 
# Wire up IONICUBE logic power (24V) supply.
# Connect IONICUBE connector X1 (any of two ports) connector to [[SimpleMotion V2 USB adapter]] with a straight Ethernet cable and plug USB adapter to computer.
+
# Connect IONICUBE connector X1 (any of two ports) connector to [[SimpleMotion V2 USB adapter]] with a straight Ethernet cable and plug USB adapter to computer.
 +
#Make sure that SM bus termination is set on (IONICUBE 4 axis board: insert jumper to JP10 position 1, see image [[IONI & IONICUBE user guide/Making the first Granity connection|here]]) and IONICUBE 1X, set DIP switch S1 position 1 on).
 
# Power up the 24 VDC power. Some leds should start blinking at the drive.
 
# Power up the 24 VDC power. Some leds should start blinking at the drive.
 
# Launch Granity software and:
 
# Launch Granity software and:
Line 101: Line 102:
 
*See [[Device connection troubleshooting]]
 
*See [[Device connection troubleshooting]]
 
{{next|[[Granity user guide/Goals]]}}
 
{{next|[[Granity user guide/Goals]]}}
[[Category:Granity user guide]]
+
 
 +
[[Category:Granity_user_guide]]

Revision as of 11:34, 16 July 2015

Granityconnect.png

This tab serves following purposes:

  • Connecting and disconnecting to a drive
  • Loading and saving settings
  • Clear drive fault state
  • Enable or disable motor control
  • Restart drive
  • Upgrade firmware of the drive

Connecting

Preparations

Before connecting drive to Granity, read through Argon setup guide.

Minimum requirements for connection:

Establishing connection

Argon

  1. Connect PE of J4 connector to protective earth. After that wire 24 VDC power supply to Argon's J3 connector, however do not power up yet.
  2. Set drive address to give an bus address to the device.
  3. Connect Argon J2 (any of two ports) connector to SimpleMotion V2 USB adapter with a straight Ethernet cable and plug USB adapter to computer.
  4. Power up the 24 VDC power. Some leds should start blinking at the drive (specifily LD3 and/or LD4).
  5. Launch Granity software and:
    1. Go to Connect tab
    2. Ensure that SM V2 USB adapter is selected from dropdown list called Communication interface device
    3. Click Connect to drive
    4. Once list of connected drives pop up, select the one you connected and click Open

IONICUBE

  1. Wire up IONICUBE logic power (24V) supply.
  2. Connect IONICUBE connector X1 (any of two ports) connector to SimpleMotion V2 USB adapter with a straight Ethernet cable and plug USB adapter to computer.
  3. Make sure that SM bus termination is set on (IONICUBE 4 axis board: insert jumper to JP10 position 1, see image here) and IONICUBE 1X, set DIP switch S1 position 1 on).
  4. Power up the 24 VDC power. Some leds should start blinking at the drive.
  5. Launch Granity software and:
    1. Go to Connect tab
    2. Ensure that SM V2 USB adapter is selected from dropdown list called Communication interface device
    3. Click Connect to drive
    4. Once list of connected drives pop up, select the one you connected and click Open

Now if everything has gone well, you should see information like drive model and serial number on the Connect tab. Connection has been successfully tested and drive may be disconnected to proceed with next setup step.

Disconnecting

To disconnect, just click Disconnect from drive button. Before disconnecting ensure following:

  • Have you changed some parameters without pressing Apply settings button afterwards?
  • Have you modified settings and wish to keep the changes? If yes, see #Loading and saving settings

Enable or disable motor control

Enable/disable feature sets drive in active (enabled) or inactive (disabled) state. In enabled state drive performs motor control (such as positioning) and in disabled states drive lets motor free-wheel (torque off) or brakes motor.

Disabling drive

  • To disable drive, click Disable drive button or Esc key from anywhere in the software
  • Alternatively set logic 0 to Enable drive physical input

Enabling drive

  • To enable drive, click Enable drive buttton
  • In order to enable drive, logic 1 must be at drive physical Enable drive input

Verifying current enable/disable status

Loading and saving settings

Different locations and transfer ways of parameters between drive, Granity and file system

Drive parameters have three possible storage medias:

Drive internal parameter memory (RAM)
  • This holds currently active set of parameters in the drive
  • These parameters are automatically fetched to the user interface every time Granity is connected to drive
  • RAM parameters are overridden by the present values of the user interface when Apply settings button is pressed
Drive internal non-volatile memory (Flash)
  • Parameters in this memory will 'stick' in drive when device is powered off
  • These parameters are automatically loaded to RAM during drive power-on
  • To store parameters from RAM to Flash, click Save settings to drive non-volatile memory button
User interface (UI)
  • Parameters visible on Granity user interface
  • Can be modified by user
  • UI parameters can be transferred to drive (Apply) or to file
File on computer filesystem
  • Parameters may be also stored and loaded from a file (file name ending: .drc)
  • To load settings, click Load settings from file and to activate these settings in drive, click Apply settings
  • To save settings currently present in the user interface to file, click Save settings to file

Clearing drive faults

If drive enters in fault state, it typically can be cleared by clicking Clear drive faults button or performing equivalent reset errors command via phyiscal IO pins.

Some faults are clearable only by restarting drive. Restarting may be done by clicking Restart drive or by cycling 24VDC power. Restart is needed if Permanent stop status register bit is on. Note: Permanent stop bit is turned on also by changing certain parameters (not a fault).


Upgrading drive firmware

See the main article Granity user guide/Uploading a firmware.

Troubleshooting

  • Check if LEDs are indicating an error (LEDs of: Argon, Ioni)
  • Ensure that each device in the bus has unique selected (Argon)
  • Ensure correct interface device has been selected from the dropdown list. If multiple choices are shown, try the other ones. If adapter is not shown, try restarting Granity.
  • Ensure that bus termination has been properly set on only on the last drive in the bus
    • Argon bus termination
    • For IONICUBE (4 axis) ensure that jumper in JP10 position 3 is inserted
    • For IONICUBE 1X, ensure that S1 position 1 is switched on)
  • See Device connection troubleshooting