Hello Guest it is October 18, 2019, 03:42:27 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - smurph

781
In the plugin config dialog, you map S to the desired Galil axis.  Then select "Single Ended 0-10" check box. You would then wire your VFD 0-10v input to the MOCMDx (where x is the axis you chose) terminal and then tie your VFD ground to any GND terminal on the Galil ICM.  You can also wire the VFD on/off signal to the AMPENAx circuit of the Galil ICM.  You will also need to map and wire output to control the direction of the VFD.

It is important that the PID values (KP, KI, and KD) for the Galil spindle axis be set to 0 and burned to the controller if you are not running with encoder feedback.  When in this mode, the plugin controls the speed of the motor with the OF command.  You will see these commands being sent down in the debug log file if you turn on logging.

Do not check the "Spindle uses encoder" check box unless your VFD can accept a +-10v command like a servo drive does.  Even if your VFD provides encoder feedback.

That is it, in a nut shell.

Steve

782
Galil / Re: Galil plugin sends TM 1000 but I need TM 125?
« on: March 31, 2014, 12:32:21 PM »
We depend on the sample period that is defined by TM1000.  The plugins makes calculations based on this default and thus there is no workaround.  :(

The TM1000 is sent by the plugin to make sure that TM is what we need it to be.

Steve

783
You don't use ports and pins for the servos or encoders on the Galil.  They are handled in the Galil plugin.  This is because their function is known.  Meaning there is a specific place to wire them up on the Galil ICM and we can make a direct correlation as to what they do.  However, we don't know what input or output you want to use for what.  So the ports and pins tab is a way of letting you, the user, map that functionality the way you wish. 

Steve

784
Galil / Re: axis ports and pins settings
« on: March 19, 2014, 07:16:24 PM »
Yes, do not define the set and dir pins.  Put them all at port 0.

Steve

785
Galil / Re: axis ports and pins settings
« on: March 18, 2014, 12:51:05 PM »
Joe,

A simple move in the Smart Term terminal will be

DPA=0 'define 0
ACA=3000  'Set accel
DCA=3000  'Set decel
PAA=10000 ' Position Absolute to 10000
BGA ' Start motion.

The step and direction signals are not use on the Galil.  A position is sent to the Galil plugin from Mach and the Galil sould do all of the step/dir stuff to the motor drivers.

Steve

786
Joe,

The resistors are internal to the ICM.

Wilde Racing,

Either type of switch is fine.  Just if you go mechanical, then you want a good one.  Not some cheap crap that bounces.

As to the relay to run a relay, I do that a lot.  I used solid state relays to drive the coils of mechanical relays.  It may be overkill but if you are not sure how much current the coils require, then it is a safe way to handle it.

Steve

787
Well that's good news right?? What type of power supply do I need?

Any power supply that can provide the needed current draw.  24v is max. voltage.  I would suggest a 24v supply if using mechanical switches.  Less noise issues.  Don't skimp on the switches.  Good quality switches will save you from sever headaches in the future.  :)

http://www.galilmc.com/support/appnotes/optima/note1427.pdf  Shows how to wire the opto outputs.

Steve

788
Yes, LSCOMM is limits and homes.

You can probably use the 5v outputs on the ICM to power the optical switches.  No external supply needed if they don't draw much current.

You can ground LSCOMM and provide the pos signal from the switches.  However, all inputs and homes must operate in the same manner.  You can't have limits one way and home another. 

Steve

789
Galil / Re: Galil And Lathe
« on: March 10, 2014, 02:35:56 PM »
It works well except there is no support for threading at the moment.  Kenny is working on this right now.  But there are no guarantees that threading will ever be working at this point.  It looks promising.  But if you need threading, you might want to wait or choose another controller.

Steve

790
The ICM can use the logic level voltages that are present on the ICM (+5 and +12).  There is LSCOM and INCOM which are the common rails of the limit switch inputs and the general purpose inputs.  I usually tie +24 volts from an external supply to these common terminals.  I do NOT recommend using the logic level voltages on mechanical switched circuits.  So 24v is pretty much mandatory.  This sets the circuit up for the switches to ground the circuit.  Each of the wires tied to an input or limit is then tied to one side of the switch and the other end of the switch is tied to ground.  Either normally open or normally closed switches can be used.  However, for safety reasons, I would recommend that the limit switches be the normally closed type.

The output wiring depends on if the ICM is opto-isolated or not.  If it is, it will have a -OPTO label on it.  You would then supply OUTPWR and OUTGND.  Read the Galil documentations for examples of wiring the output circuits.  i usually use the outputs to drive solid state relays regardless of if the ICM is -OPTO or not.  Then you can use the logic level voltages from the ICM to control the output SSRs and let the SSRs switch what ever voltages you need.

The general inputs and outputs (8 each on your 1842 board) are not used for anything special on the Galil.  They are merely there for machine I/O duty.  There is one exception, however, and that is the case of probing.  Inputs 1-4 also serve as the high speed position latch triggers.  So if you want to use a probe, do not use these inputs for other purposes.  The triggers are PER Galil axis.  Input 1 is for axis A, input 2 is for axis B, etc...  So if you are using Galil axes A, B, and C to drive Mach axes X, Y, and Z, then you will want to reserve inputs 1, 2, and 3 for your probe inputs.  Each input should be wired up to the probe so that a probe strike activates all of the inputs at the sane time. 

Steve