All pastes #2762044 Raw Edit

Anonymous

public unlisted text v1 · immutable
#2762044 ·published 2014-05-20 06:05 UTC
rendered paste body
+ halcmd newsig boo s32
+ halcmd show sig boo
Signals:
Type          Value  Name     (linked to)
s32               0  boo

+ halcmd show pin hm2_5i22.0.encoder.00
Component Pins:
Owner   Type  Dir         Value  Name
    23  s32   OUT          6000  hm2_5i22.0.encoder.00.count
    23  s32   OUT          1012  hm2_5i22.0.encoder.00.count-latched
    23  bit   I/O         FALSE  hm2_5i22.0.encoder.00.index-enable <=> x-index-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-polarity
    23  float OUT          -0.6  hm2_5i22.0.encoder.00.position ==> motor.00.pos-fb
    23  float OUT       -0.1012  hm2_5i22.0.encoder.00.position-latched
    23  s32   OUT          4989  hm2_5i22.0.encoder.00.rawcounts
    23  s32   OUT             1  hm2_5i22.0.encoder.00.rawlatch
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.reset
    23  float OUT             0  hm2_5i22.0.encoder.00.velocity ==> motor.00.vel-fb

+ halcmd sets boo 0
+ halcmd net boo '<=' hm2_5i22.0.encoder.00.rawcounts
+ sleep 0.100
+ halcmd show sig boo
Signals:
Type          Value  Name     (linked to)
s32               1  boo
                         <== hm2_5i22.0.encoder.00.rawcounts

+ halcmd show pin hm2_5i22.0.encoder.00
Component Pins:
Owner   Type  Dir         Value  Name
    23  s32   OUT          1012  hm2_5i22.0.encoder.00.count
    23  s32   OUT          1012  hm2_5i22.0.encoder.00.count-latched
    23  bit   I/O         FALSE  hm2_5i22.0.encoder.00.index-enable <=> x-index-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-polarity
    23  float OUT       -0.1012  hm2_5i22.0.encoder.00.position ==> motor.00.pos-fb
    23  float OUT       -0.1012  hm2_5i22.0.encoder.00.position-latched
    23  s32   OUT             1  hm2_5i22.0.encoder.00.rawcounts ==> boo
    23  s32   OUT             1  hm2_5i22.0.encoder.00.rawlatch
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.reset
    23  float OUT  0.0007475462  hm2_5i22.0.encoder.00.velocity ==> motor.00.vel-fb

+ halcmd delsig boo
+ sleep 0.100
+ halcmd show sig boo
Signals:
Type          Value  Name     (linked to)

+ halcmd show pin hm2_5i22.0.encoder.00
Component Pins:
Owner   Type  Dir         Value  Name
    23  s32   OUT          5999  hm2_5i22.0.encoder.00.count
    23  s32   OUT          1012  hm2_5i22.0.encoder.00.count-latched
    23  bit   I/O         FALSE  hm2_5i22.0.encoder.00.index-enable <=> x-index-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-enable
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.latch-polarity
    23  float OUT       -0.5999  hm2_5i22.0.encoder.00.position ==> motor.00.pos-fb
    23  float OUT       -0.1012  hm2_5i22.0.encoder.00.position-latched
    23  s32   OUT          4988  hm2_5i22.0.encoder.00.rawcounts
    23  s32   OUT             1  hm2_5i22.0.encoder.00.rawlatch
    23  bit   IN          FALSE  hm2_5i22.0.encoder.00.reset
    23  float OUT   0.000379121  hm2_5i22.0.encoder.00.velocity ==> motor.00.vel-fb