fcs-lpc-motor

command module
v0.0.0-...-52fb3cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2017 License: BSD-3-Clause Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

fcs-lpc-motor

fcs-lpc-motor is a simple test program to read (some) values from the Unidrive M702.

Installation

sh> go get github.com/go-lsst/fcs-lpc-motor

Example

sh> fcs-lpc-motor
[fcs-motor]  === motor [134.158.125.223:502] ===
[fcs-motor] Pr-00.001 (00000): [0 0] 0
[fcs-motor] Pr-00.002 (00001): [117 48] 30000
[fcs-motor] Pr-00.003 (00002): [7 208] 2000
[fcs-motor] Pr-00.004 (00003): [7 208] 2000
[fcs-motor] Pr-00.010 (00009): [0 0] 0
[fcs-motor] Pr-00.031 (00030): [0 0] 0
[fcs-motor] Pr-00.037 (00036): [125 223] 32223
[fcs-motor] Pr-00.048 (00047): [0 3] 3
[fcs-motor] Pr-00.050 (00049): [24 44] 6188
[fcs-motor] Pr-00.016 (00015): [0 150] 150
[fcs-motor] Pr-00.019 (00018): [3 232] 1000
[fcs-motor] Pr-00.020 (00019): [0 1] 1
[fcs-motor] Pr-00.021 (00020): [0 1] 1
[fcs-motor] Pr-00.022 (00021): [0 0] 0
[fcs-motor] Pr-00.023 (00022): [0 0] 0
[fcs-motor] Pr-00.024 (00023): [5 220] 1500
[fcs-motor] Pr-00.025 (00024): [0 200] 200
[fcs-motor] Pr-00.027 (00026): [0 0] 0
[fcs-motor] Pr-00.028 (00027): [0 10] 10
[fcs-motor] Pr-01.006 (00105): [117 48] 30000
[fcs-motor] Pr-01.009 (00108): [0 0] 0
[fcs-motor] Pr-01.010 (00109): [0 1] 1
[fcs-motor] Pr-01.011 (00110): [0 0] 0
[fcs-motor] Pr-01.021 (00120): [0 0] 0
[fcs-motor] Pr-05.001 (00500): [0 0] 0
[fcs-motor] Pr-05.004 (00503): err=modbus: exception '2' (illegal data address), function '131'
[fcs-motor] Pr-05.014 (00513): [0 0] 0
[fcs-motor] Pr-05.053 (00552): [0 0] 0
[fcs-motor] Pr-11.029 (01128): [24 44] 6188
[fcs-motor] Pr-21.015 (02114): [0 0] 0
[fcs-motor] Pr-22.010 (02209): [11 186] 3002
[fcs-motor] Pr-22.011 (02210): [78 62] 20030
[fcs-motor] Pr-22.050 (02249): [43 21] 11029
[fcs-motor] 
[fcs-motor] -- end --

Or, interactively:

sh> fcs-lpc-motor shell

mbus> get 3.29
[fcs-motor] Pr-03.029: hex=[0x00 0x00 0xc7 0xab] dec=[  0   0 199 171] (51115)

Or, via a web interface:

sh> fcs-lpc-motor web
[fcs-motor] listening on http://localhost:7070/lsst-fcs-motors ...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址