That explains it.
I VNC'd into the mill quick while it's fresh on my mind and I'm not sure I see how to make the PID adjustment. I started halrun with a test file that just loads up the basics so I can see pins and params. I only see pid-on and not pins, nothing I can see that a value can be read or write. There are a few that I have no Idea about though:
Code:
~ $ '/home/justin/linuxcnc-7i96/scripts/rip-environment' halrun
halcmd: source /home/justin/Documents/8i20.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
iptables: No chain/target/match by that name.
hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:10:41:24
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 010 (P1-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_7i76e.0: IO Pin 011 (P1-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_7i76e.0: IO Pin 012 (P1-09): Smart Serial Interface #0, pin TxData1 (Output)
hm2/hm2_7i76e.0: IO Pin 013 (P1-10): Smart Serial Interface #0, pin RxData1 (Input)
hm2/hm2_7i76e.0: IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0: IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0: IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
halcmd: show pins *8i20*
<stdin>:2: Unknown 'show' type 'pins'
halcmd: show pin *8i20*
Component Pins:
Owner Type Dir Value Name
7 float IN 0.3333333 hm2_7i76e.0.8i20.0.1.angle <== ang
7 float OUT 165.76 hm2_7i76e.0.8i20.0.1.bus-voltage
7 float OUT 27 hm2_7i76e.0.8i20.0.1.card-temp
7 float IN 0 hm2_7i76e.0.8i20.0.1.current
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.U-current
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.U-current-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.V-current
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.V-current-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.W-current
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.W-current-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.bus-high
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.bus-high-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.bus-overv
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.bus-overv-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.bus-underv
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.bus-underv-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.framingr
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.framingr-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.module
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.module-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.no-enable
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.no-enable-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.overcurrent
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.overcurrent-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.overrun
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.overrun-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.overtemp
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.overtemp-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.fault.watchdog
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.fault.watchdog-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.brake-old
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.brake-old-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.brake-on
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.brake-on-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.bus-underv
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.bus-underv-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.current-lim
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.current-lim-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.ext-reset
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.ext-reset-not
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.no-enable
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.no-enable-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.pid-on
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.pid-on-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.sw-reset
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.sw-reset-not
7 bit OUT FALSE hm2_7i76e.0.8i20.0.1.status.wd-reset
7 bit OUT TRUE hm2_7i76e.0.8i20.0.1.status.wd-reset-not
halcmd: show param *8i20*
Parameters:
Owner Type Dir Value Name
7 float RW 1 hm2_7i76e.0.8i20.0.1.angle-maxlim
7 float RW 0 hm2_7i76e.0.8i20.0.1.angle-minlim
7 float RW 1 hm2_7i76e.0.8i20.0.1.angle-scalemax
7 float RW 655.35 hm2_7i76e.0.8i20.0.1.bus-voltage-scalemax
7 float RW 65535 hm2_7i76e.0.8i20.0.1.card-temp-scalemax
7 float RW 10 hm2_7i76e.0.8i20.0.1.current-maxlim
7 float RW -10 hm2_7i76e.0.8i20.0.1.current-minlim
7 float RW 10 hm2_7i76e.0.8i20.0.1.current-scalemax
7 u32 RW 0x00004268 hm2_7i76e.0.8i20.0.1.nvbrakeoffv
7 u32 RW 0x00004A38 hm2_7i76e.0.8i20.0.1.nvbrakeonv
7 u32 RW 0x00009664 hm2_7i76e.0.8i20.0.1.nvbusoverv
7 u32 RW 0x00001194 hm2_7i76e.0.8i20.0.1.nvbusundervmax
7 u32 RW 0x00000DAC hm2_7i76e.0.8i20.0.1.nvbusundervmin
7 u32 RW 0x00000000 hm2_7i76e.0.8i20.0.1.nvkdihi
7 u32 RW 0x00007D00 hm2_7i76e.0.8i20.0.1.nvkdil
7 u32 RW 0x0000C350 hm2_7i76e.0.8i20.0.1.nvkdilo
7 u32 RW 0x00000032 hm2_7i76e.0.8i20.0.1.nvkdp
7 u32 RW 0x00000000 hm2_7i76e.0.8i20.0.1.nvkqihi
7 u32 RW 0x00007D00 hm2_7i76e.0.8i20.0.1.nvkqil
7 u32 RW 0x0000C350 hm2_7i76e.0.8i20.0.1.nvkqilo
7 u32 RW 0x00000032 hm2_7i76e.0.8i20.0.1.nvkqp
7 u32 RW 0x000003E8 hm2_7i76e.0.8i20.0.1.nvmaxcurrent
7 u32 RW 0x00000009 hm2_7i76e.0.8i20.0.1.nvrembaudrate
7 u32 RO 0x0000008B hm2_7i76e.0.8i20.0.1.swrevision
7 u32 RO 0x0A0000B7 hm2_7i76e.0.8i20.0.1.unitnumber
halcmd: