rendered paste bodytomp@cncbox:~/emc2-head$ bin/halscope
halscope: config file '.scope.cfg' could not be opened
Floating point exception
tomp@cncbox:~/emc2-head$ bin/halcmd show
Loaded HAL Components:
ID Type Name PID State
00010 User halcmd13051 13051 ready
00009 RT scope_rt ready
00008 User halscope 12901 initializing
00007 RT threads ready
00005 User halcmd12862 12862 ready
00006 User l298jogr6 12869 ready
00004 RT encoder ready
00003 RT pwmgen ready
00002 RT hal_parport ready
Component Pins:
Owner Type Dir Value Name
04 s32 OUT -1 encoder.0.counts
04 bit I/O FALSE encoder.0.index-enable
04 bit IN FALSE encoder.0.phase-A <== XEncA
04 bit IN TRUE encoder.0.phase-B <== XEncB
04 bit IN FALSE encoder.0.phase-Z
04 float OUT -0.001 encoder.0.position ==> valu4dro
04 bit IN FALSE encoder.0.reset <== XEncRst
04 float OUT 0 encoder.0.velocity
06 float IN -0.001 l298jogr6.droDisplayValu <== valu4dro
06 float OUT 0 l298jogr6.dutyPsycho ==> Xvel-cmd
06 bit IN FALSE l298jogr6.enaNdk8r <== Xenable
06 bit OUT FALSE l298jogr6.guiSetRef ==> XEncRst
06 bit OUT FALSE l298jogr6.pwmGenEna ==> Xenable
02 bit IN FALSE parport.0.pin-01-out
02 bit IN FALSE parport.0.pin-02-out
02 bit IN FALSE parport.0.pin-03-out
02 bit IN FALSE parport.0.pin-04-out
02 bit IN FALSE parport.0.pin-05-out
02 bit IN FALSE parport.0.pin-06-out
02 bit IN FALSE parport.0.pin-07-out
02 bit IN FALSE parport.0.pin-08-out
02 bit IN FALSE parport.0.pin-09-out
02 bit OUT TRUE parport.0.pin-10-in
02 bit OUT FALSE parport.0.pin-10-in-not
02 bit OUT TRUE parport.0.pin-11-in
02 bit OUT FALSE parport.0.pin-11-in-not
02 bit OUT FALSE parport.0.pin-12-in ==> XEncA
02 bit OUT TRUE parport.0.pin-12-in-not
02 bit OUT TRUE parport.0.pin-13-in ==> XEncB
02 bit OUT FALSE parport.0.pin-13-in-not
02 bit IN FALSE parport.0.pin-14-out <== Xenable
02 bit OUT TRUE parport.0.pin-15-in
02 bit OUT FALSE parport.0.pin-15-in-not
02 bit IN FALSE parport.0.pin-16-out <== pwmgenUpSgl
02 bit IN FALSE parport.0.pin-17-out <== pwmgenDnSgl
03 bit OUT FALSE pwmgen.0.down ==> pwmgenDnSgl
03 bit IN FALSE pwmgen.0.enable <== Xenable
03 bit OUT FALSE pwmgen.0.up ==> pwmgenUpSgl
03 float IN 0 pwmgen.0.value <== Xvel-cmd
Signals:
Type Value Name
bit FALSE XEncA
==> encoder.0.phase-A
<== parport.0.pin-12-in
bit TRUE XEncB
==> encoder.0.phase-B
<== parport.0.pin-13-in
bit FALSE XEncRst
==> encoder.0.reset
<== l298jogr6.guiSetRef
bit FALSE Xenable
==> l298jogr6.enaNdk8r
<== l298jogr6.pwmGenEna
==> parport.0.pin-14-out
==> pwmgen.0.enable
float 0 Xvel-cmd
<== l298jogr6.dutyPsycho
==> pwmgen.0.value
bit FALSE pwmgenDnSgl
==> parport.0.pin-17-out
<== pwmgen.0.down
bit FALSE pwmgenUpSgl
==> parport.0.pin-16-out
<== pwmgen.0.up
float -0.001 valu4dro
<== encoder.0.position
==> l298jogr6.droDisplayValu
Parameters:
Owner Type Dir Value Name
04 float RW 1000 encoder.0.position-scale
04 s32 RO -1 encoder.0.rawcounts
04 bit RW TRUE encoder.0.x4-mode
04 s32 RO 2848 encoder.capture-position.time
04 s32 RW 26352 encoder.capture-position.tmax
04 s32 RO 636 encoder.update-counters.time
04 s32 RW 24348 encoder.update-counters.tmax
02 bit RW FALSE parport.0.pin-01-out-invert
02 bit RW FALSE parport.0.pin-02-out-invert
02 bit RW FALSE parport.0.pin-03-out-invert
02 bit RW FALSE parport.0.pin-04-out-invert
02 bit RW FALSE parport.0.pin-05-out-invert
02 bit RW FALSE parport.0.pin-06-out-invert
02 bit RW FALSE parport.0.pin-07-out-invert
02 bit RW FALSE parport.0.pin-08-out-invert
02 bit RW FALSE parport.0.pin-09-out-invert
02 bit RW FALSE parport.0.pin-14-out-invert
02 bit RW FALSE parport.0.pin-16-out-invert
02 bit RW FALSE parport.0.pin-17-out-invert
02 s32 RO 3276 parport.0.read.time
02 s32 RW 25792 parport.0.read.tmax
02 s32 RO 3356 parport.0.write.time
02 s32 RW 33700 parport.0.write.tmax
02 s32 RO 0 parport.read-all.time
02 s32 RW 0 parport.read-all.tmax
02 s32 RO 0 parport.write-all.time
02 s32 RW 0 parport.write-all.tmax
03 float RO 0 pwmgen.0.curr-dc
03 bit RW FALSE pwmgen.0.dither-pwm
03 float RW 1 pwmgen.0.max-dc
03 float RW 0 pwmgen.0.min-dc
03 float RW 0 pwmgen.0.pwm-freq
03 float RW 1 pwmgen.0.scale
03 s32 RO 716 pwmgen.make-pulses.time
03 s32 RW 26796 pwmgen.make-pulses.tmax
03 s32 RO 708 pwmgen.update.time
03 s32 RW 23508 pwmgen.update.tmax
09 s32 RO 0 scope.sample.time
09 s32 RW 0 scope.sample.tmax
Exported Functions:
Owner CodeAddr Arg FP Users Name
04 e0ce5330 e0f231ec YES 1 encoder.capture-position
04 e0ce5240 e0f231ec NO 1 encoder.update-counters
02 e0cd9360 e0f230b4 NO 1 parport.0.read
02 e0cd9440 e0f230b4 NO 1 parport.0.write
02 e0cd9520 e0f230b4 NO 0 parport.read-all
02 e0cd9560 e0f230b4 NO 0 parport.write-all
03 e0ce21e0 e0f23188 NO 1 pwmgen.make-pulses
03 e0ce2360 e0f23188 YES 1 pwmgen.update
09 e0f00160 00000000 NO 0 scope.sample
Realtime Threads:
Period FP Name (Time, Max-Time)
0 YES fast ( 3492, 27280 )
1 parport.0.read
2 encoder.update-counters
999012 YES slow ( 6724, 37440 )
1 parport.0.write
2 pwmgen.update
3 encoder.capture-position
499506 YES pdmthrd ( 252, 26796 )
1 pwmgen.make-pulses
tomp@cncbox:~/emc2-head$