Difference between revisions of "SimpleMotion V2"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Downloads)
Line 18: Line 18:
 
SM V2 applications may be implemented by using a SM V2 C-language open source library. By default the library compiles on Windows & Unix and should be easily portable to other patforms, such as microcontrollers.
 
SM V2 applications may be implemented by using a SM V2 C-language open source library. By default the library compiles on Windows & Unix and should be easily portable to other patforms, such as microcontrollers.
 
===Downloads===
 
===Downloads===
The library is currently under development, however a preliminary release with an example program is available for download from the link:[[Media:SMV2Commander.zip|SMV2VCommander.zip]] (33 kb). For usage instructions, see [[Installing Qt SDK from scratch]]. You can also check out the sources directly from  [https://github.com/GraniteDevices/SimpleMotionV2 GitHub].
+
;Library source code
 +
[https://github.com/GraniteDevices/SimpleMotionV2 SimpleMotion V2 at GitHub]
 +
;Library DLL binary
 +
[[Media:SimpleMotionV2_dll.zip|SimpleMotionV2_dll.zip]]
 +
;Qt example project
 +
[[Media:SMV2Commander.zip|SMV2VCommander.zip]]
 +
;VisualStudio 2013 C++ example project
 +
[[Media:SMV2VScppExample.zip|SMV2VScppExample.zip]]
 +
Note: VS project needs updating library and header file paths from project properties (Right click on VScppExample on ''Solution explorer'' pane and go to ''Configuration properties->VC++ Directories'' and change ''Include directories'' and ''Library directories'' to point your location of SimpleMotionV2dll_Release_2 (included in the zip).  
  
The SMV2 library pre-release is also made available as pre-compiled DLL library: [[Media:SimpleMotionV2_dll.zip|SimpleMotionV2_dll.zip]].
+
Also note that smv.dll must be located in the same folder than project .exe file (I.e. in Debug folder)
  
 
==Documentation==
 
==Documentation==

Revision as of 01:03, 26 March 2014

SimpleMotion V2 bus with integrated hard-wired safety used in multiaxis drive system

SimpleMotion V2 is open source and royalty free field bus for industrial devices, such as motor drives and I/O's.

SM V2 is a complete redesign of the original SimpleMotion library. The main goals have been increasing flexibility and performance while still preserving the simplicity of the API.

Main features

Parameter communications

SM V2 is based on parameter communications. This means that all commands are implemented as settable and readable numeric parameters. For example commanding axis target position could be done by setting parameter such as SMP_TARGET_REFERENCE to a desired value.

Multidrop

SM V2 is based on RS485 physical interface yielding ability to link multiple device nodes into a single data link. Each device in the bus has unique address making it possible to target the commands to specific axis.

Buffered commands

In addition to instantly executed commands, SM V2 supports buffered commands meaning that commands may sent as chunks of multiple commands that are later interpreted by devices at predefined pace. This makes it possible to implement multiaxis synchronous interpolation without requiring a real time controller. Ring buffer implementation allows running infinite length sequences of commands.

Performance

Due to relatively high bitrate of RS485 bus and byte-efficient serial protocol, SM V2 performs very well in multiaxis real time & buffered applications. At default bit rate at least 6 axis continuously interpolated motion is possible.

Safety

SM V2 physical bus incorporates a dedicated wire for emergency stopping switch. All devices in the same bus will perform safe torque off and braking once e-stop button is pressed.

Library

SM V2 applications may be implemented by using a SM V2 C-language open source library. By default the library compiles on Windows & Unix and should be easily portable to other patforms, such as microcontrollers.

Downloads

Library source code

SimpleMotion V2 at GitHub

Library DLL binary

SimpleMotionV2_dll.zip

Qt example project

SMV2VCommander.zip

VisualStudio 2013 C++ example project

SMV2VScppExample.zip Note: VS project needs updating library and header file paths from project properties (Right click on VScppExample on Solution explorer pane and go to Configuration properties->VC++ Directories and change Include directories and Library directories to point your location of SimpleMotionV2dll_Release_2 (included in the zip).

Also note that smv.dll must be located in the same folder than project .exe file (I.e. in Debug folder)

Documentation