
 5
CURRENT LIMIT 
 
The current LIMIT trimpot sets maximum current the motor is permitted to have. It is adjustable from 0 amps to 20 amps. 
Normally the LIMIT trimpot is set to maximum (20 amps) unless you want to limit motor torque to a lower value. 
 
Motor speed and position is unaffected by the current LIMIT setting unless the torque demand due to load exceeds this 
setting, then the motor position will fall behind the command position because of insufficient torque. 
 
FAULT INDICATOR 
 
The FAULT indicator is on while the drive is in power-on reset, the DISABLE input is held “low” or if the protection circuit is 
tripped due to a fault condition. All power MOSFETs are turned off and all internal counters are restet. The FAULT 
condition lasts for 3 seconds, and then self-resets to try again. If the protection circuit tripped it and the cause is not 
cleared, then it will immediately re-enter the FAULT state again and repeat the cycle. 
 
There are two conditions that will trip the protection circuit. One condition is if a short-circuit occurs and current exceeds 
20 amps. The other condition is if the POSITION ERROR exceeds +/- 120 counts causing a break of the servo-lock. This 
condition can have several causes: 
 1) The loop settings are severely under-damped and the motor breaks out into oscillation. 
2) Excessive motor load due to acceleration or workload. 
3) The speed command in excess of what the motor can deliver. 
4) The current LIMIT is set too low. 
5) The power supply current is insufficient for the demand. 
6) The power supply voltage is below 18 VDC. 
7) The motor is wired backwards, is broken or disconnected. 
8) Encoder failure. 
 
REVERSING DEFAULT MOTOR DIRECTION 
 
The G340 will turn the motor in the CW direction when the DIRECTION input is “high” (logical “1”, or +5VDC). If instead 
CCW is preferred, then: 
 
 1) Reverse the motor “+” and “-“ leads (term. 3 with term. 4) 
2) Reverse the encoder “channel A” and “channel B” leads (term. 8 with term. 9) 
 
USING THE G340 WITH VERY SMALL MOTORS 
 
Very small motors have low inductance relative to their operating current. Consequently ripple current due to pulse-width 
modulation can quickly overheat and destroy these motors. If the G340 will be used with these motors, then an external 
low pass filter must be used to attenuate ripple current to tolerable levels. 
 
A suggested filter consists of two 150 microhenry inductors in series with each motor lead and a 2 microfarad, low 
inductance film capacitor across the motor leads. The inductors must be rated for the anticipated peak motor current. 
 
This filter is also need if ironless-armature or “pancake” motors are used. These motors have very low inductance as well 
and will overheat if driven directly by the G340. 
 
 
 
(TERM. 5) ERR / RES 
 
This terminal functions as an ERROR output and as a RESET input. Because this terminal functions as both an input and 
an output, some detailed description is necessary. 
 
When first testing the G340, ERR/RES (term. 5) was connected to ENC+ (term. 7). It can be left that way if it is not 
necessary to read the state of the ERROR output. Otherwise, the following details are important. 
 
The ERROR output is latched in the “ERROR” state (term. 5 = “0”) by the power-on reset circuitry in the G340. It will stay 
in this state indefinitely until it is cleared by applying +5V to this terminal for at least 1 second. 
 
The voltage on this terminal is +5VDC when the G340 is functioning normally. The voltage on this terminal goes to 0VDC 
whenever the FAULT indicator is lit. This output can be used to signal your controller that an error has occurred. 
 
Normally when the G340 is first powered up, it will be necessary to push the momentary switch to START for 5 seconds. 
This will clear the power-on reset condition and extinguish the FAULT LED. The motor will then be enabled and the drive 
will begin to operate. If at anytime after that a condition occurs that causes the G340 to “fault out”, such as not being able 
to complete a step command, the ERR/RES terminal will go to “0”, signaling the computer an error has occurred. This will 
require the operator to correct the problem that caused the fault and then push the switch to “START” for 5 seconds to re-
enable the G340.