RS232-SigmaKoki Ruby interface to Windows Serial Port API author hugo benichi email hugo[dot]benichi[at]m4x[dot]org copyright 2012,2013 hugo benichi version 0.1.4 Installation: run in the gem root directory: $ rake gem_install It will compile the gem library and produce a .gem package for ruby, and automatically install it Usage: cf test/test_rs232-sigmakoki.rb the list of commands is home # brings back both rotating plates to mechanical origin stop # stop with deceleration stop! # emergency stop status # current plate driver status rom # internal rom version ready? # is the stage ready to accept the next command busy? # is the stage currently executing some command jog '++'|'++'|'+-' # slowly moves both stages in + or - direction move a [,b] # move stage 1 of a steps, and stage 2 of b steps move! a [,b] # same as move, but wait until the stages are ready amove a [,b] # move stage 1 to position ax, and stage 2 to b amove! a [,b] # same as amove, but wait until the stages are ready position # return the position of both stages position_of i # return the position of stage i (1,2)
Project
rs232-sigmakoki
Allows to script the control of SigmaKoki step motor controllers with simple command without directly dealing with the serial port
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Runtime
>= 0
Project Readme