Difference between revisions of "SimpleMotion V2 port"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(change doc to smv2brk)
Line 15: Line 15:
 
As default SimpleMotion V2 uses 460800 BPS bitrate and can deliver over 10 000 motion commands per second.
 
As default SimpleMotion V2 uses 460800 BPS bitrate and can deliver over 10 000 motion commands per second.
 
{{damage|Don't use [http://en.wikipedia.org/wiki/Ethernet_crossover_cable crossover] cables in SimpleMotion V2 system}}
 
{{damage|Don't use [http://en.wikipedia.org/wiki/Ethernet_crossover_cable crossover] cables in SimpleMotion V2 system}}
==Use as E-stop & Enable input==
+
==Using SMV2 port as E-stop & Enable input==
In Argon drive, the same connector acts also as emergencecy stop or [[Safe torque off]] input. User may connect a e-stop button directly at the end of device chain to gain reliable stopping mechanism for all linked devices.
+
In SMV2 compatible drives, the SMV2 connector acts also as emergency stop or [[Safe torque off]] input. User may connect a e-stop button directly at the end of device chain to gain reliable stopping mechanism for all linked devices.
 
===Wiring with [[SMV2BRK]]===
 
===Wiring with [[SMV2BRK]]===
 
[[File:Smv2kit m.jpg|thumb|[[SimpleMotion V2 USB adapter|SMV2USB]] adapter and [[SMV2BRK]] bus termination board]]
 
[[File:Smv2kit m.jpg|thumb|[[SimpleMotion V2 USB adapter|SMV2USB]] adapter and [[SMV2BRK]] bus termination board]]
Line 24: Line 24:
  
 
===Wiring with bare RJ45 cable===
 
===Wiring with bare RJ45 cable===
[[File:Rj45 estop and enable.png|thumb|E-stop and enable signal wiring to RJ45 cable]]
+
To terminate SMV2 bus and connect switches without SMV2BRK, see [[SimpleMotion V2 termination with bare cable]].[[Category:Hardware]]
[[File:smv2_enablequickndirty.jpg|thumb|A quick'n'dirty way to make enable drive & disable [[safe torque off]] connection. May be used for testing before final wiring.]]
+
{{damage|SimpleMotion V2 devices use pins 3, 6 and 8 (RS485_A,RS485_B and GND) for serial communication. If something interferes these lines, communication may fail or devices may be damaged. Before powering 24V to any of the pins, ensure that pins 3 and 6 are not connected to any external circuit. It's also highly recommended to use current limited 24V power source for initial tests to reduce risk of damage (0.15-0.3A limit).}}
+
 
+
==Connector pinout==
+
{| class="wikitable"
+
|-
+
! Pin # !! Signal name !! Description || Electrical wiring
+
|-
+
| 1 || STO2_24V || STO input 2 || Supply 24VDC in this pin referenced to GND to disable STO2. <sup>1</sup>
+
|-
+
| 2 || Reserved|| Reserved for future use || Do not connect
+
|-
+
| 3 || RS485_A || RS485 signal A || RJ45 cable routes this between devices and [[SimpleMotion V2 USB adapter]]
+
|-
+
| 4 || STO1_24V || STO input 1 24V in || rowspan=2|Supply 24VDC between STO1_24V and STO1_0V to disable STO1. STO1 inputs are floating and isolated from GND. <sup>1, 2</sup>
+
|-
+
| 5 || STO1_0V || STO input 1 0V in
+
|-
+
| 6 || RS485_B || RS485 signal B||RJ45 cable routes this between devices and [[SimpleMotion V2 USB adapter]]
+
|-
+
| 7 || ENABLE_IN_24V || Drive enable control signal || Supply 24VDC in this pin referenced to GND to set drive in enabled state.
+
|-
+
| 8 || GND || Ground reference for: RS485, STO2 and ENABLE_IN || RJ45 cable routes this between devices and [[SimpleMotion V2 USB adapter]]. For enable & STO connect this to external 24V power supply ground.
+
|}
+
<sup>1</sup>) STO1 and STO2 are controlling two independent [[Safe torque off]] methods. Both must be supplied 24V simultaneously to enable torque to the motor.
+
 
+
<sup>2</sup>) STO1 has limited functionality on Argon if HV DC bus is shared between drives or external DC voltage is supplied. For more info, see [[Argon user guide/J4 connector wiring]].
+
{{damage|Even when RJ45 connector and cables are being used in Ethernet and SimpleMotion, these protocols are not electrically compatible. Never connect SimpleMotion device to Ethernet device.}}
+
 
+
[[Category:Hardware]]
+
 
[[Category:SimpleMotion]]
 
[[Category:SimpleMotion]]
 
[[Category:Argon wiring]]
 
[[Category:Argon wiring]]

Revision as of 23:28, 30 October 2014

SM V2 multidrop bus with E-stop functionality
RJ45 cable compatible with Ethernet and SimpleMotion V2

SimpleMotion V2 communication link and Argon drives use RJ45 connectors and cables as physical connection standard.

RJ45 is well known from Ethernet connectors and same cables may be used with SimpleMotion wiring.

Bus properties

SimpleMotion V2 uses RS485 electrical serial communication standard for all data transfer. Some main benefits of using RS485 are:

  • Multidrop buses possible (up to 32 devices in single serial link)
  • High reliability due to differential signaling
  • High data rates and long cable lengths possible
  • Easy to interface even from smallest microcontrollers with UART
  • Low wire count, only 2 signal wires + ground needed
  • Bidirectional data transfer (receive & transmit) in one wire pair
  • Cabling with standard RJ45 Ethernet cables

As default SimpleMotion V2 uses 460800 BPS bitrate and can deliver over 10 000 motion commands per second.

Using SMV2 port as E-stop & Enable input

In SMV2 compatible drives, the SMV2 connector acts also as emergency stop or Safe torque off input. User may connect a e-stop button directly at the end of device chain to gain reliable stopping mechanism for all linked devices.

Wiring with SMV2BRK

SMV2USB adapter and SMV2BRK bus termination board

The preferred method to wire STO and Enable signals to SM bus is to add a SMV2BRK break out board at the end of bus chain. SMV2BRK acts as RS485 termination resistor and a wire terminal for STO and Enable signals with easy interfacing to switches.

For commissioning of SMV2BRK, see it's dedicated SMV2BRK page.

Wiring with bare RJ45 cable

To terminate SMV2 bus and connect switches without SMV2BRK, see SimpleMotion V2 termination with bare cable.