Difference between revisions of "Argon user guide/J5 connector electrical interfacing"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Pin-out)
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article explains the internal circuity behind J5 connector of [[Argon (servo drive)|Argon servo drive]].
+
{{SetAUGTitle|J5 connector wiring}}{{ArgonManualNav}}This article explains the internal circuity behind J5 connector of [[Argon (servo drive)|Argon servo drive]].
{{info|Exceeding ratings may affect drive operation and cause instability or even damage the drive.}}
+
{{damage|Exceeding ratings may affect drive operation and cause instability or even damage the drive.}}
  
 +
==J5 connector pin-out and electrical ratings==
 +
*Overview: [[Argon wiring]]
 +
*I/O electrical ratings: [[Argon specifications]]
 +
==Pin groups==
 +
[[File:J5groups.png|480px]]
  
==Pin electrical categories==
+
[[File:ArgonJ5pinout.png|400px]]
 +
===Internal schematics of pin groups===
 +
These images show the circuity behind the J5 connector inside the Argon drive (simplified schematics). Left side end represents J5 pins and right side continues to drive internal circuity.
 +
<gallery widths=250>
 +
File:hsin.png|'''High speed digital input''' circuity inside the drive. Total 1 of these circuits.
 +
File:anain.png|'''Analog input''' circuity inside the drive. Total 2 of these circuits.
 +
File:gpo.png|'''Digital output''' circuity inside the drive. Total 4 of these circuits.
 +
File:gpi.png|'''Digital input''' circuity inside the drive. D27 protects optocoupler from reverse polarity and ESD. Total 4 of these circuits.
 +
</gallery>
 +
===Pin-out===
 +
{| class="wikitable"
 +
|-
 +
! Pin # !! Pin name !! Electrical || Isolated || Function¹
 +
|-
 +
| 1 || GND || [[Argon I/O connector electrical interfacing#Supply| Supply ]]|| rowspan=10|No² ||  Ground
 +
|-
 +
| 2 || +5V_OUT ||  [[Argon I/O connector electrical interfacing#Supply| Supply ]] || 5V output
 +
|-
 +
 
 +
| 3 || HSIN1- ||  [[Argon I/O connector electrical interfacing#High speed input| High speed digital input ]] || rowspan=2 |
 +
*Step pulse train (in [[Pulse and direction]] setpoint mode)
 +
*Quadrature A channel (in [[quadrature]] setpoint mode)
 +
*PWM input direction (in [[PWM]]+Dir setpoint mode)
 +
|-
 +
| 4 || HSIN1+ ||  [[Argon I/O connector electrical interfacing#High speed input| High speed digital input ]]
 +
|-
 +
 
 +
| 5 || HSIN2- ||  [[Argon I/O connector electrical interfacing#High speed input| High speed digital input ]] || rowspan=2 |
 +
*Direction signal of pulse train (in [[Pulse and direction]] setpoint mode)
 +
*Quadrature B channel (in [[quadrature]] setpoint mode)
 +
*PWM (in PWM and [[PWM]]+Dir setpoint modes)
 +
|-
 +
| 6 || HSIN2+ ||  [[Argon I/O connector electrical interfacing#High speed input| High speed digital input ]]
 +
|-
 +
 
 +
| 7 || ANAIN1- || [[Argon I/O connector electrical interfacing#Analog input| Analog input ]] || rowspan=2 |Analog [[setpoint signal|input setpoint]]
 +
|-
 +
| 8 || ANAIN1+ || [[Argon I/O connector electrical interfacing#Analog input| Analog input ]]
 +
|-
 +
 
 +
| 9 || ANAIN2- || [[Argon I/O connector electrical interfacing#Analog input| Analog input ]] || rowspan=2 |Direction reversal signal for analog input [[setpoint signal]].
 +
|-
 +
| 10 || ANAIN2+ ||  [[Argon I/O connector electrical interfacing#Analog input| Analog input ]]
 +
|-
 +
 
 +
| 11 || GPO1- ||  [[Argon I/O connector electrical interfacing#Digital output| Digital output ]] || rowspan=16 |Yes² || rowspan=2 | Servo ready status. True when drive is initialized and ready to accept user commands/setpoint.
 +
|-
 +
| 12 || GPO1+ || [[Argon I/O connector electrical interfacing#Digital output| Digital output]]
 +
|-
 +
 
 +
| 13 || GPO2- || [[Argon I/O connector electrical interfacing#Digital output| Digital output ]] || rowspan=2 | Position/velocity control mode [[tracking error]] warning status. True when tracking error has reached more than user configured 1/8 of fault limit value or when drive is not enabled. May be used by [[controller]] to throttle the [[setpoint]] thus avoid triggering an tracking error fault. {{FWU|1.0.5}}
 +
|-
 +
| 14 || GPO2+ || [[Argon I/O connector electrical interfacing#Digital output| Digital output]]
 +
|-
 +
 
 +
| 15 || GPO3- || [[Argon I/O connector electrical interfacing#Digital output| Digital output ]] || rowspan=2 | Fault stop status. True when drive is stopped due to fault.
 +
|-
 +
| 16 || GPO3+ || [[Argon I/O connector electrical interfacing#Digital output| Digital output]]
 +
|-
 +
 
 +
| 17 || GPO4- || [[Argon I/O connector electrical interfacing#Digital output| Digital output ]] || rowspan=2 | Braking status. Set true when drive attempts to brake motor.
 +
|-
 +
| 18 || GPO4+ || [[Argon I/O connector electrical interfacing#Digital output| Digital output]]
 +
|-
 +
 
 +
| 19 || GPI1- || [[Argon I/O connector electrical interfacing#Digital output| Digital input ]] || rowspan=2 | Home switch input.
 +
|-
 +
| 20 || GPI1+ || [[Argon I/O connector electrical interfacing#Digital output| Digital input]]
 +
|-
 +
 
 +
| 21 || GPI2- || [[Argon I/O connector electrical interfacing#Digital output| Digital input ]] || rowspan=2 | Positive feed enable input. Used for axis limit switches.
 +
|-
 +
| 22 || GPI2+ || [[Argon I/O connector electrical interfacing#Digital output| Digital input]]
 +
|-
 +
 
 +
| 23 || GPI3- || [[Argon I/O connector electrical interfacing#Digital output| Digital input ]] || rowspan=2 | Negative feed enable input. Used for axis limit switches.
 +
|-
 +
| 24 || GPI3+ || [[Argon I/O connector electrical interfacing#Digital output| Digital input]]
 +
|-
 +
 
 +
| 25 || GPI4- || [[Argon I/O connector electrical interfacing#Digital output| Digital input ]] || rowspan=2 | Clear drive faults input. Transition from false to true attempts to reset active faults of drive. If drive is simultaneously in enabled state, motor will start moving immediately.
 +
|-
 +
| 26 || GPI4+ || [[Argon I/O connector electrical interfacing#Digital output| Digital input]]
 +
|-
 +
|}
 +
¹) This is the default function with stock firmware. Function may be different in future or custom firmware versions.
 +
 
 +
²) Non-isolated lines are referenced to GND pin / J3 V- terminal. Isolated lines have functional isolation between GND and other isolated +-/- pairs.
 +
 
 +
==Wiring guide==
 
===Supply===
 
===Supply===
 
Supply pins output a regulated 5V voltage to external circuits. GND pin is tied to J3 connector V- terminal.
 
Supply pins output a regulated 5V voltage to external circuits. GND pin is tied to J3 connector V- terminal.
Line 11: Line 105:
 
*Maximum load 500 mA  
 
*Maximum load 500 mA  
 
*Maximum injected current -10 mA
 
*Maximum injected current -10 mA
{{Caution|Never connect multiple supply outputs parallel. Supply output may be connected only current consuming circuity to prevent current injection to the supply port.}}
+
{{damage|Never connect multiple supply outputs parallel. Supply output may be connected only current consuming circuity to prevent current injection to the supply port.}}
  
===High speed digital input===
+
===High speed digital input group===
[[File:hsin.png|thumb|Simplified HSIN circuity inside the drive. Left side end represents J5 pins and right side continues to drive internal circuity.]]
+
 
HSIN is differential digital input capable of receiving digital signals up to 4 MHz.  
 
HSIN is differential digital input capable of receiving digital signals up to 4 MHz.  
  
;Electrical properties
+
Electrical properties
*Maximum voltage to +/- pins referenced to GND: -0.5 to 6V. Nominal 3.3 or 5.0V.
+
*Maximum voltage to HSINx+/- pins referenced to GND: -0.5 to 6V. Nominal 3.3 or 5.0V.
 
*Maximum injected current +/- 10 mA
 
*Maximum injected current +/- 10 mA
*When negative input (-) is left floating, it floats around 2.5V
+
*When negative input (HSINx-) is left floating, it floats around 2.5V
*Input state is logic 1 when voltage on positive pin is greater than voltage on negative pin, otherwise it's logic 0
+
*Input state reads logic 1 when voltage on positive pin is greater than voltage on negative pin, otherwise it's logic 0
  
;Wiring when driving using differential source
+
Wiring when driving using differential source
*Positive (+) inputs: to positive outputs of source
+
*Positive outputs of source to HSINx+
*Negative (-) inputs: to negative outputs of source
+
*Negative outputs of source to HSINx-
 
*GND must be connected to source ground
 
*GND must be connected to source ground
  
;Wiring when driving using single ended source (TTL, CMOS or open collector)
+
Wiring when driving using single ended source (TTL, CMOS or open collector)
*Positive (+) inputs: to outputs of source
+
*Outputs of source to HSINx+
*Negative (-) inputs: leave floating
+
*Leave HSINx- floating
 
*GND must be connected to source ground
 
*GND must be connected to source ground
  
===Analog input===
+
===Analog input group===
[[File:anain.png|thumb|Simplified analog input circuity inside the drive. Left side end represents J5 pins and right side continues to drive internal circuits.]]
+
Analog input accepts ±10V from and may be used as [[setpoint signal]].
Analog input accepts ±10V from and may be used as [[Reference signal|reference signal]].
+
Electrical properties
;Electrical properties
+
 
*Input impedance ~10 kΩ
 
*Input impedance ~10 kΩ
*Maximum +/- pin voltage vs GND ±20V
+
*Maximum ANAINx+/- pin voltage vs GND ±25V
 
*Maximum injected current ±10 mA
 
*Maximum injected current ±10 mA
 
*Sampling resolution 12 bits
 
*Sampling resolution 12 bits
;Wiring to differential signal source
+
Wiring to differential signal source
*Connect positive output to positive input
+
*Connect positive output to ANAINx+
*Connect negative (inverted) output to negative input
+
*Connect negative (inverted) output to ANAINx-
 
*Connect source ground to GND
 
*Connect source ground to GND
;Wiring to single ended signal source
+
Wiring to single ended signal source
*Connect output to positive input
+
*Connect output to ANAINx+
*Connect source ground to negative input
+
*Connect source ground to ANAINx-
 
*Connect source ground to GND
 
*Connect source ground to GND
 +
Wiring to 0-10V analog output with digital direction output:
 +
*Follow the earlier guidelines but connect controller's direction signal to ANAIN2+ and the ground reference of digital output to ANAIN2-. Setpoint gets inverted inside the drive if ANAIN2 voltage is between 3-24VDC and non-inverted between 0-3VDC. {{FWU}}
  
===Digital output===
+
===Digital output group===
[[File:gpo.png|thumb|Simplified digital output circuity inside the drive. Left side end represents J5 pins and right side continues to drive internal circuits.]]
+
Digital output is an optoisolated transistor output to drive various types of inputs of target devices (logic gates, relays, lights etc)
===Digital input===
+
Electrical properties
[[File:gpi.png|thumb|Simplified digital input circuity inside the drive. Left side end represents J5 pins and right side continues to drive internal circuits. D27 protects optocoupler from reverse polarity and ESD.]]
+
*Load voltage range 3-24V
 +
*Maximum allowed load 50 mA
 +
*Logic 1 state equals conducting state of optocoupler transistor (current flows from GPO+ to GPO- pins), logic 0 stops current flow between GPO+ to GPO- pins.
 +
*+ to - pin voltage drop at 50 mA less than 2 VDC
 +
Wiring to logic gate input (CMOS or TTL)
 +
*Connect GPO+ pin to target VCC (typ 5V)
 +
*Connect GPO- pin to target input pin (so input pin is pulled to 5V when output state is logic 1)
 +
{{tip|Multiple GPO's may be wired parallel to combine multiple status signals into one wire. In such connection the combined output becomes logic 1 (conductive) if any of the paralleled outputs becomes logic 1.}}
 +
 
 +
===Digital input group===
 +
[[File:gpiswitch.png|thumb|Connection from electromechanical switch or relay to isolated digital input. PSU may be external power supply or 5V supply from J5 connector.]]
 
Digital inputs are optoisolated (floating potential) inputs for general purpose control signals.
 
Digital inputs are optoisolated (floating potential) inputs for general purpose control signals.
;Electrical properties
+
Electrical properties
 
*Signal voltage range 3-24V
 
*Signal voltage range 3-24V
*Logic 0 when difference between +/- inputs less than 1.5V, logic 0 when more than 2.9V
+
*Logic 0 when difference between +/- inputs less than 1.5V, logic 1 when voltage is between 2.9-25V
 
*Current needed to drive logic 1 is 0.8-9 mA depending on input voltage
 
*Current needed to drive logic 1 is 0.8-9 mA depending on input voltage
*Maximum voltage difference between +/- inputs 27 VDC
+
*Maximum voltage difference between GPIx+/- inputs 27 VDC
*Maximum voltage difference between +/- inputs vs GND 120 VDC
+
*Maximum voltage difference between GPIx+/- inputs vs GND 120 VDC
{{caution|Isolation is only functional and does not provide safety insulation. Use only with [http://en.wikipedia.org/wiki/Extra-low_voltage ELV circuits].}}
+
Connection to electromechanical switch or relay
;Connection to electromechanical switch or relay
+
[[File:gpiswitch.png|thumb|Connection from electromechanical switch or relay to isolated digital input. PSU may be external power supply or 5V supply from J5 connector.]]
+
 
*See schematics image in right side
 
*See schematics image in right side
;Connection to CMOS source
+
Connection to CMOS source
*Connect source output to + input  
+
*Connect source output to GPIx+ input  
*Connect source ground to - input
+
*Connect source ground to GPIx- input
;Connection to open collector or TTL source
+
Connection to open collector or TTL source
*Connect source output to - input  
+
*Connect source output to GPIx- input  
*Connect source VCC (typ 5V) to + input
+
*Connect source VCC (typ 5V) to GPOx+ input
[[Category:Argon]]
+
{{caution|Digital input and output isolation is only functional and does not provide safety insulation. Connect only to [http://en.wikipedia.org/wiki/Extra-low_voltage ELV circuits].}}
[[Category:Setup guides]]
+
 
[[Category:Unfinished]]
+
==Examples==
 +
===Wiring axis limit and home switches to J5===
 +
To operate the motor, limit switches must be connected to the GPI1 and GPI2. Feeding logic 1 to one of these ports enables axis motion feed in certain direction.
 +
 
 +
The behavior of feed enable signals can be configured via [[Granity user guide/Machine|Granity machine tab]]. Logic 1 to these pins is required for drive operation:
 +
*GPI1 - enable positive direction feed.
 +
*GPI2 - enable negative direction feed.
 +
Home switch (optional):
 +
*GPI3 - home switch input. Polarity can be configured via Granity.
 +
 
 +
In the image below A way to connect switches to J5 port. Inputs are supplied by the J5 connector 5V output. Alternatively the switches may be also supplied from an external 5-24VDC supply.
 +
 
 +
[[File:J5switches.png|500px]]
 +
 
 +
The example below illustrates an alternative way of connecting limit switches that are connected in series. However this way requires that axis is being manually pulled away from end of travel if either switch is open as drive doesn't know which way is the safe running direction.
 +
 
 +
[[File:J5switches2.png|540px]]
 +
====Alternative limit switch wiring considerations====
 +
It is possible to connect limit switches several way, or omit them completely. The table below summarizes the different methods:
 +
{| class="wikitable"
 +
|-
 +
! Method # !! Connections / configurations !! End of travel causes a fault stop state !! End of travel causes active braking of motor !! Can move motor electrically out end of travel  !! Remarks
 +
|-
 +
| A || Connect limit switches independently to GPI2 and GPI3 inputs || Yes (but depends on parameterization) || Yes (but depends on parameterization) || Yes || This is the most typical method used
 +
|-
 +
| B || Connect limit switches in series to GPI2 and GPI3 inputs parallel || Yes (but depends on parameterization) || Yes (but depends on parameterization) || No || Drive has info only that limit switch is open but no info about which way is safe to move
 +
|-
 +
| C || No limit switches, instead use homing function (position control mode only) and set soft travel limits by parameterization || No || Yes || Yes|| Sensorless & wireless solution
 +
|-
 +
| D || Connect limit switches [[Safe torque off]] input || Yes || No, motor may free wheel|| No || A very secure way to remove torque from motor. If such feature is desired, it's recommended to install second pair of limit switches or use soft travel limits that stop motion ''before'' the STO switches, so STO switches would serve only as backup.
 +
|-
 +
| E || Connect limit switch to enable drive input || No || Yes || Yes ||
 +
|}
 +
 
 +
===Pulse and direction setpoint===
 +
This example shows how to wire a typical single ended [[Pulse and direction|pulse and direction]] controller.
 +
 
 +
[[File:j5pulsedir.png|400px]]
 +
===Quadrature signal setpoint===
 +
This example shows how to wire a typical single ended [[quadrature]] controller.
 +
 
 +
[[File:j5quadrature.png|420px]]
 +
===PWM signal setpoing===
 +
This example shows how to wire a typical single ended [[PWM]] controller.
 +
 
 +
[[file:j5pwm.png|390px]]
 +
 
 +
===Analog signal setpoint===
 +
This example shows how to wire a typical single ended [[Analog setpoint]] controller. Maximum analog signal voltage is +/-10V.
 +
 
 +
[[file:j5analog.png|390px]]
 +
====0-10V analog input with digital direction signal====
 +
Follow the earlier guidelines but connect controller's direction signal to ANAIN2+ and the ground reference of digital output to ANAIN2-. Setpoint gets inverted inside the drive if ANAIN2 voltage is between 3-24VDC and non-inverted between 0-3VDC. {{FWU}}
 +
 
 +
 
 +
[[Category:Argon wiring]]
 +
 
 +
===Complete example with pulse & direction===
 +
The examples above can be combined to achieve the user goals. The example below has complete set of I/O features used.
 +
*Pulse & direction set point
 +
*Clear faults output (off-on-off pulse generated by controller user if FAULT input goes on)
 +
*Monitoring of drive state: servo ready, tracking error warning, drive fault, motor braking status
 +
*Axis limit switches & home switch
 +
Notes:
 +
*The controller in the example has 5 volt single ended inputs & outputs
 +
*Controller inputs have pull-down resistor or other means to ensure ''off'' or 0 state when input is floating
 +
*It's not required to to monitor & control the I/O lines at controller
 +
 
 +
[[file:j5pulsedircomplete.png|700px]]
 +
 
 +
 
 +
===Complete example with differential analog setpoint===
 +
Same as above expect this time the setpoint signal is a differential analog voltage output (max +/-10V).
 +
 
 +
[[file:j5analogcomplete.png|700px]]

Latest revision as of 12:48, 14 June 2015

This article explains the internal circuity behind J5 connector of Argon servo drive.

J5 connector pin-out and electrical ratings[edit | edit source]

Pin groups[edit | edit source]

J5groups.png

ArgonJ5pinout.png

Internal schematics of pin groups[edit | edit source]

These images show the circuity behind the J5 connector inside the Argon drive (simplified schematics). Left side end represents J5 pins and right side continues to drive internal circuity.

Pin-out[edit | edit source]

Pin # Pin name Electrical Isolated Function¹
1 GND Supply No² Ground
2 +5V_OUT Supply 5V output
3 HSIN1- High speed digital input
4 HSIN1+ High speed digital input
5 HSIN2- High speed digital input
  • Direction signal of pulse train (in Pulse and direction setpoint mode)
  • Quadrature B channel (in quadrature setpoint mode)
  • PWM (in PWM and PWM+Dir setpoint modes)
6 HSIN2+ High speed digital input
7 ANAIN1- Analog input Analog input setpoint
8 ANAIN1+ Analog input
9 ANAIN2- Analog input Direction reversal signal for analog input setpoint signal.
10 ANAIN2+ Analog input
11 GPO1- Digital output Yes² Servo ready status. True when drive is initialized and ready to accept user commands/setpoint.
12 GPO1+ Digital output
13 GPO2- Digital output Position/velocity control mode tracking error warning status. True when tracking error has reached more than user configured 1/8 of fault limit value or when drive is not enabled. May be used by controller to throttle the setpoint thus avoid triggering an tracking error fault. May require FW upgrade.
14 GPO2+ Digital output
15 GPO3- Digital output Fault stop status. True when drive is stopped due to fault.
16 GPO3+ Digital output
17 GPO4- Digital output Braking status. Set true when drive attempts to brake motor.
18 GPO4+ Digital output
19 GPI1- Digital input Home switch input.
20 GPI1+ Digital input
21 GPI2- Digital input Positive feed enable input. Used for axis limit switches.
22 GPI2+ Digital input
23 GPI3- Digital input Negative feed enable input. Used for axis limit switches.
24 GPI3+ Digital input
25 GPI4- Digital input Clear drive faults input. Transition from false to true attempts to reset active faults of drive. If drive is simultaneously in enabled state, motor will start moving immediately.
26 GPI4+ Digital input

¹) This is the default function with stock firmware. Function may be different in future or custom firmware versions.

²) Non-isolated lines are referenced to GND pin / J3 V- terminal. Isolated lines have functional isolation between GND and other isolated +-/- pairs.

Wiring guide[edit | edit source]

Supply[edit | edit source]

Supply pins output a regulated 5V voltage to external circuits. GND pin is tied to J3 connector V- terminal.

Electrical properties
  • Output voltage 4.9-5.2 V
  • Maximum load 500 mA
  • Maximum injected current -10 mA

High speed digital input group[edit | edit source]

HSIN is differential digital input capable of receiving digital signals up to 4 MHz.

Electrical properties

  • Maximum voltage to HSINx+/- pins referenced to GND: -0.5 to 6V. Nominal 3.3 or 5.0V.
  • Maximum injected current +/- 10 mA
  • When negative input (HSINx-) is left floating, it floats around 2.5V
  • Input state reads logic 1 when voltage on positive pin is greater than voltage on negative pin, otherwise it's logic 0

Wiring when driving using differential source

  • Positive outputs of source to HSINx+
  • Negative outputs of source to HSINx-
  • GND must be connected to source ground

Wiring when driving using single ended source (TTL, CMOS or open collector)

  • Outputs of source to HSINx+
  • Leave HSINx- floating
  • GND must be connected to source ground

Analog input group[edit | edit source]

Analog input accepts ±10V from and may be used as setpoint signal. Electrical properties

  • Input impedance ~10 kΩ
  • Maximum ANAINx+/- pin voltage vs GND ±25V
  • Maximum injected current ±10 mA
  • Sampling resolution 12 bits

Wiring to differential signal source

  • Connect positive output to ANAINx+
  • Connect negative (inverted) output to ANAINx-
  • Connect source ground to GND

Wiring to single ended signal source

  • Connect output to ANAINx+
  • Connect source ground to ANAINx-
  • Connect source ground to GND

Wiring to 0-10V analog output with digital direction output:

  • Follow the earlier guidelines but connect controller's direction signal to ANAIN2+ and the ground reference of digital output to ANAIN2-. Setpoint gets inverted inside the drive if ANAIN2 voltage is between 3-24VDC and non-inverted between 0-3VDC. May require FW upgrade.

Digital output group[edit | edit source]

Digital output is an optoisolated transistor output to drive various types of inputs of target devices (logic gates, relays, lights etc) Electrical properties

  • Load voltage range 3-24V
  • Maximum allowed load 50 mA
  • Logic 1 state equals conducting state of optocoupler transistor (current flows from GPO+ to GPO- pins), logic 0 stops current flow between GPO+ to GPO- pins.
  • + to - pin voltage drop at 50 mA less than 2 VDC

Wiring to logic gate input (CMOS or TTL)

  • Connect GPO+ pin to target VCC (typ 5V)
  • Connect GPO- pin to target input pin (so input pin is pulled to 5V when output state is logic 1)

Digital input group[edit | edit source]

Connection from electromechanical switch or relay to isolated digital input. PSU may be external power supply or 5V supply from J5 connector.

Digital inputs are optoisolated (floating potential) inputs for general purpose control signals. Electrical properties

  • Signal voltage range 3-24V
  • Logic 0 when difference between +/- inputs less than 1.5V, logic 1 when voltage is between 2.9-25V
  • Current needed to drive logic 1 is 0.8-9 mA depending on input voltage
  • Maximum voltage difference between GPIx+/- inputs 27 VDC
  • Maximum voltage difference between GPIx+/- inputs vs GND 120 VDC

Connection to electromechanical switch or relay

  • See schematics image in right side

Connection to CMOS source

  • Connect source output to GPIx+ input
  • Connect source ground to GPIx- input

Connection to open collector or TTL source

  • Connect source output to GPIx- input
  • Connect source VCC (typ 5V) to GPOx+ input

Examples[edit | edit source]

Wiring axis limit and home switches to J5[edit | edit source]

To operate the motor, limit switches must be connected to the GPI1 and GPI2. Feeding logic 1 to one of these ports enables axis motion feed in certain direction.

The behavior of feed enable signals can be configured via Granity machine tab. Logic 1 to these pins is required for drive operation:

  • GPI1 - enable positive direction feed.
  • GPI2 - enable negative direction feed.

Home switch (optional):

  • GPI3 - home switch input. Polarity can be configured via Granity.

In the image below A way to connect switches to J5 port. Inputs are supplied by the J5 connector 5V output. Alternatively the switches may be also supplied from an external 5-24VDC supply.

J5switches.png

The example below illustrates an alternative way of connecting limit switches that are connected in series. However this way requires that axis is being manually pulled away from end of travel if either switch is open as drive doesn't know which way is the safe running direction.

J5switches2.png

Alternative limit switch wiring considerations[edit | edit source]

It is possible to connect limit switches several way, or omit them completely. The table below summarizes the different methods:

Method # Connections / configurations End of travel causes a fault stop state End of travel causes active braking of motor Can move motor electrically out end of travel Remarks
A Connect limit switches independently to GPI2 and GPI3 inputs Yes (but depends on parameterization) Yes (but depends on parameterization) Yes This is the most typical method used
B Connect limit switches in series to GPI2 and GPI3 inputs parallel Yes (but depends on parameterization) Yes (but depends on parameterization) No Drive has info only that limit switch is open but no info about which way is safe to move
C No limit switches, instead use homing function (position control mode only) and set soft travel limits by parameterization No Yes Yes Sensorless & wireless solution
D Connect limit switches Safe torque off input Yes No, motor may free wheel No A very secure way to remove torque from motor. If such feature is desired, it's recommended to install second pair of limit switches or use soft travel limits that stop motion before the STO switches, so STO switches would serve only as backup.
E Connect limit switch to enable drive input No Yes Yes

Pulse and direction setpoint[edit | edit source]

This example shows how to wire a typical single ended pulse and direction controller.

J5pulsedir.png

Quadrature signal setpoint[edit | edit source]

This example shows how to wire a typical single ended quadrature controller.

J5quadrature.png

PWM signal setpoing[edit | edit source]

This example shows how to wire a typical single ended PWM controller.

J5pwm.png

Analog signal setpoint[edit | edit source]

This example shows how to wire a typical single ended Analog setpoint controller. Maximum analog signal voltage is +/-10V.

J5analog.png

0-10V analog input with digital direction signal[edit | edit source]

Follow the earlier guidelines but connect controller's direction signal to ANAIN2+ and the ground reference of digital output to ANAIN2-. Setpoint gets inverted inside the drive if ANAIN2 voltage is between 3-24VDC and non-inverted between 0-3VDC. May require FW upgrade.

Complete example with pulse & direction[edit | edit source]

The examples above can be combined to achieve the user goals. The example below has complete set of I/O features used.

  • Pulse & direction set point
  • Clear faults output (off-on-off pulse generated by controller user if FAULT input goes on)
  • Monitoring of drive state: servo ready, tracking error warning, drive fault, motor braking status
  • Axis limit switches & home switch

Notes:

  • The controller in the example has 5 volt single ended inputs & outputs
  • Controller inputs have pull-down resistor or other means to ensure off or 0 state when input is floating
  • It's not required to to monitor & control the I/O lines at controller

J5pulsedircomplete.png


Complete example with differential analog setpoint[edit | edit source]

Same as above expect this time the setpoint signal is a differential analog voltage output (max +/-10V).

J5analogcomplete.png