loading LinuxCNC on old smithy 1240
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
28 Oct 2022 17:10 - 28 Oct 2022 17:31 #255312
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
smithy@debian:~$ halrun
halcmd: loadrt hostmot2 debug_idrom=1
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_pci config="firmware=hm2/5i20/sssvst2_2_4_v31.bit"
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:04:01.0
hm2/hm2_5i20.0: Low Level init 0.15
hm2/hm2_5i20.0: IDRom:
hm2/hm2_5i20.0: IDRom Type: 0x00000003
hm2/hm2_5i20.0: Offset to Modules: 0x00000040
hm2/hm2_5i20.0: Offset to Pin Description: 0x000001C0
hm2/hm2_5i20.0: Board Name: MESA5I20
hm2/hm2_5i20.0: FPGA Size: 200
hm2/hm2_5i20.0: FPGA Pins: 208
hm2/hm2_5i20.0: Port Width: 24
hm2/hm2_5i20.0: IO Ports: 3
hm2/hm2_5i20.0: IO Width: 72
hm2/hm2_5i20.0: Clock Low: 33333333 Hz (33333 KHz, 33 MHz)
hm2/hm2_5i20.0: Clock High: 100000000 Hz (100000 KHz, 100 MHz)
hm2/hm2_5i20.0: Instance Stride 0: 0x00000004
hm2/hm2_5i20.0: Instance Stride 1: 0x00000040
hm2/hm2_5i20.0: Register Stride 0: 0x00000100
hm2/hm2_5i20.0: Register Stride 1: 0x00000100
hm2/hm2_5i20.0: Smart Serial Firmware Version 31
hm2/hm2_5i20.0: 72 I/O Pins used:
hm2/hm2_5i20.0: IO Pin 000 (P2-01): StepGen #0, pin Step (Output)
hm2/hm2_5i20.0: IO Pin 001 (P2-03): StepGen #0, pin Direction (Output)
hm2/hm2_5i20.0: IO Pin 002 (P2-05): StepGen #1, pin Step (Output)
hm2/hm2_5i20.0: IO Pin 003 (P2-07): StepGen #1, pin Direction (Output)
hm2/hm2_5i20.0: IO Pin 004 (P2-09): Encoder #0, pin A (Input)
hm2/hm2_5i20.0: IO Pin 005 (P2-11): Encoder #1, pin A (Input)
hm2/hm2_5i20.0: IO Pin 006 (P2-13): Encoder #0, pin B (Input)
hm2/hm2_5i20.0: IO Pin 007 (P2-15): Encoder #1, pin B (Input)
hm2/hm2_5i20.0: IO Pin 008 (P2-17): Encoder #0, pin Index (Input)
hm2/hm2_5i20.0: IO Pin 009 (P2-19): Encoder #1, pin Index (Input)
hm2/hm2_5i20.0: IO Pin 010 (P2-21): IOPort
hm2/hm2_5i20.0: IO Pin 011 (P2-23): IOPort
hm2/hm2_5i20.0: IO Pin 012 (P2-25): IOPort
hm2/hm2_5i20.0: IO Pin 013 (P2-27): IOPort
hm2/hm2_5i20.0: IO Pin 014 (P2-29): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_5i20.0: IO Pin 015 (P2-31): IOPort
hm2/hm2_5i20.0: IO Pin 016 (P2-33): StepGen #2, pin Step (Output)
hm2/hm2_5i20.0: IO Pin 017 (P2-35): StepGen #2, pin Direction (Output)
hm2/hm2_5i20.0: IO Pin 018 (P2-37): StepGen #3, pin Step (Output)
hm2/hm2_5i20.0: IO Pin 019 (P2-39): StepGen #3, pin Direction (Output)
hm2/hm2_5i20.0: IO Pin 020 (P2-41): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_5i20.0: IO Pin 021 (P2-43): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_5i20.0: IO Pin 022 (P2-45): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_5i20.0: IO Pin 023 (P2-47): IOPort
hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
hm2/hm2_5i20.0: IO Pin 028 (P3-09): IOPort
hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
hm2/hm2_5i20.0: IO Pin 030 (P3-13): IOPort
hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
hm2/hm2_5i20.0: IO Pin 032 (P3-17): IOPort
hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
hm2/hm2_5i20.0: IO Pin 041 (P3-35): IOPort
hm2/hm2_5i20.0: IO Pin 042 (P3-37): IOPort
hm2/hm2_5i20.0: IO Pin 043 (P3-39): IOPort
hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
hm2/hm2_5i20.0: IO Pin 048 (P4-01): IOPort
hm2/hm2_5i20.0: IO Pin 049 (P4-03): IOPort
hm2/hm2_5i20.0: IO Pin 050 (P4-05): IOPort
hm2/hm2_5i20.0: IO Pin 051 (P4-07): IOPort
hm2/hm2_5i20.0: IO Pin 052 (P4-09): IOPort
hm2/hm2_5i20.0: IO Pin 053 (P4-11): IOPort
hm2/hm2_5i20.0: IO Pin 054 (P4-13): IOPort
hm2/hm2_5i20.0: IO Pin 055 (P4-15): IOPort
hm2/hm2_5i20.0: IO Pin 056 (P4-17): IOPort
hm2/hm2_5i20.0: IO Pin 057 (P4-19): IOPort
hm2/hm2_5i20.0: IO Pin 058 (P4-21): IOPort
hm2/hm2_5i20.0: IO Pin 059 (P4-23): IOPort
hm2/hm2_5i20.0: IO Pin 060 (P4-25): IOPort
hm2/hm2_5i20.0: IO Pin 061 (P4-27): IOPort
hm2/hm2_5i20.0: IO Pin 062 (P4-29): IOPort
hm2/hm2_5i20.0: IO Pin 063 (P4-31): IOPort
hm2/hm2_5i20.0: IO Pin 064 (P4-33): IOPort
hm2/hm2_5i20.0: IO Pin 065 (P4-35): IOPort
hm2/hm2_5i20.0: IO Pin 066 (P4-37): IOPort
hm2/hm2_5i20.0: IO Pin 067 (P4-39): IOPort
hm2/hm2_5i20.0: IO Pin 068 (P4-41): IOPort
hm2/hm2_5i20.0: IO Pin 069 (P4-43): IOPort
hm2/hm2_5i20.0: IO Pin 070 (P4-45): IOPort
hm2/hm2_5i20.0: IO Pin 071 (P4-47): IOPort
hm2/hm2_5i20.0: registered
hm2_5i20.0: initialized AnyIO board at 0000:04:01.0
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
7 s32 OUT 0 hm2_5i20.0.0.debug
7 float IN 0 hm2_5i20.0.8i20.0.0.angle
7 float OUT 0 hm2_5i20.0.8i20.0.0.bus-voltage
7 float OUT 0 hm2_5i20.0.8i20.0.0.card-temp
7 float IN 0 hm2_5i20.0.8i20.0.0.current
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.U-current
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.U-current-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.V-current
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.V-current-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.W-current
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.W-current-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-high
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-high-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-overv
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-overv-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-underv
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.bus-underv-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.framingr
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.framingr-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.module
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.module-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.no-enable
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.no-enable-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overcurrent
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overcurrent-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overrun
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overrun-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overtemp
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.overtemp-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.watchdog
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.fault.watchdog-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.brake-old
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.brake-old-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.brake-on
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.brake-on-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.bus-underv
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.bus-underv-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.current-lim
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.current-lim-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.ext-reset
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.ext-reset-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.no-enable
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.no-enable-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.pid-on
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.pid-on-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.sw-reset
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.sw-reset-not
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.wd-reset
7 bit OUT FALSE hm2_5i20.0.8i20.0.0.status.wd-reset-not
7 s32 OUT 0 hm2_5i20.0.encoder.00.count
7 s32 OUT 0 hm2_5i20.0.encoder.00.count-latched
7 bit I/O FALSE hm2_5i20.0.encoder.00.index-enable
7 bit OUT FALSE hm2_5i20.0.encoder.00.input-a
7 bit OUT TRUE hm2_5i20.0.encoder.00.input-b
7 bit OUT FALSE hm2_5i20.0.encoder.00.input-index
7 bit IN FALSE hm2_5i20.0.encoder.00.latch-enable
7 bit IN FALSE hm2_5i20.0.encoder.00.latch-polarity
7 float OUT 0 hm2_5i20.0.encoder.00.position
7 float OUT 0 hm2_5i20.0.encoder.00.position-latched
7 bit OUT FALSE hm2_5i20.0.encoder.00.quad-error
7 bit IN FALSE hm2_5i20.0.encoder.00.quad-error-enable
7 s32 OUT 65535 hm2_5i20.0.encoder.00.rawcounts
7 s32 OUT 65535 hm2_5i20.0.encoder.00.rawlatch
7 bit IN FALSE hm2_5i20.0.encoder.00.reset
7 float OUT 0 hm2_5i20.0.encoder.00.velocity
7 float OUT 0 hm2_5i20.0.encoder.00.velocity-rpm
7 s32 OUT 0 hm2_5i20.0.encoder.01.count
7 s32 OUT 0 hm2_5i20.0.encoder.01.count-latched
7 bit I/O FALSE hm2_5i20.0.encoder.01.index-enable
7 bit OUT FALSE hm2_5i20.0.encoder.01.input-a
7 bit OUT FALSE hm2_5i20.0.encoder.01.input-b
7 bit OUT FALSE hm2_5i20.0.encoder.01.input-index
7 bit IN FALSE hm2_5i20.0.encoder.01.latch-enable
7 bit IN FALSE hm2_5i20.0.encoder.01.latch-polarity
7 float OUT 0 hm2_5i20.0.encoder.01.position
7 float OUT 0 hm2_5i20.0.encoder.01.position-latched
7 bit OUT FALSE hm2_5i20.0.encoder.01.quad-error
7 bit IN FALSE hm2_5i20.0.encoder.01.quad-error-enable
7 s32 OUT 0 hm2_5i20.0.encoder.01.rawcounts
7 s32 OUT 0 hm2_5i20.0.encoder.01.rawlatch
7 bit IN FALSE hm2_5i20.0.encoder.01.reset
7 float OUT 0 hm2_5i20.0.encoder.01.velocity
7 float OUT 0 hm2_5i20.0.encoder.01.velocity-rpm
7 bit IN FALSE hm2_5i20.0.encoder.hires-timestamp
7 u32 IN 0x00001FC8 hm2_5i20.0.encoder.sample-frequency
7 bit OUT TRUE hm2_5i20.0.gpio.000.in
7 bit OUT FALSE hm2_5i20.0.gpio.000.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.001.in
7 bit OUT FALSE hm2_5i20.0.gpio.001.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.002.in
7 bit OUT FALSE hm2_5i20.0.gpio.002.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.003.in
7 bit OUT FALSE hm2_5i20.0.gpio.003.in_not
7 bit OUT FALSE hm2_5i20.0.gpio.004.in
7 bit OUT TRUE hm2_5i20.0.gpio.004.in_not
7 bit OUT FALSE hm2_5i20.0.gpio.005.in
7 bit OUT TRUE hm2_5i20.0.gpio.005.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.006.in
7 bit OUT FALSE hm2_5i20.0.gpio.006.in_not
7 bit OUT FALSE hm2_5i20.0.gpio.007.in
7 bit OUT TRUE hm2_5i20.0.gpio.007.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.008.in
7 bit OUT FALSE hm2_5i20.0.gpio.008.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.009.in
7 bit OUT FALSE hm2_5i20.0.gpio.009.in_not
7 bit OUT FALSE hm2_5i20.0.gpio.010.in
7 bit OUT TRUE hm2_5i20.0.gpio.010.in_not
7 bit IN FALSE hm2_5i20.0.gpio.010.out
7 bit OUT FALSE hm2_5i20.0.gpio.011.in
7 bit OUT TRUE hm2_5i20.0.gpio.011.in_not
7 bit IN FALSE hm2_5i20.0.gpio.011.out
7 bit OUT FALSE hm2_5i20.0.gpio.012.in
7 bit OUT TRUE hm2_5i20.0.gpio.012.in_not
7 bit IN FALSE hm2_5i20.0.gpio.012.out
7 bit OUT FALSE hm2_5i20.0.gpio.013.in
7 bit OUT TRUE hm2_5i20.0.gpio.013.in_not
7 bit IN FALSE hm2_5i20.0.gpio.013.out
7 bit OUT TRUE hm2_5i20.0.gpio.014.in
7 bit OUT FALSE hm2_5i20.0.gpio.014.in_not
7 bit OUT FALSE hm2_5i20.0.gpio.015.in
7 bit OUT TRUE hm2_5i20.0.gpio.015.in_not
7 bit IN FALSE hm2_5i20.0.gpio.015.out
7 bit OUT TRUE hm2_5i20.0.gpio.016.in
7 bit OUT FALSE hm2_5i20.0.gpio.016.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.017.in
7 bit OUT FALSE hm2_5i20.0.gpio.017.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.018.in
7 bit OUT FALSE hm2_5i20.0.gpio.018.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.019.in
7 bit OUT FALSE hm2_5i20.0.gpio.019.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.020.in
7 bit OUT FALSE hm2_5i20.0.gpio.020.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.021.in
7 bit OUT FALSE hm2_5i20.0.gpio.021.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.022.in
7 bit OUT FALSE hm2_5i20.0.gpio.022.in_not
7 bit OUT TRUE hm2_5i20.0.gpio.023.in
7 bit OUT FALSE hm2_5i20.0.gpio.023.in_not
7 bit IN FALSE hm2_5i20.0.gpio.023.out
7 bit OUT TRUE hm2_5i20.0.gpio.024.in
7 bit OUT FALSE hm2_5i20.0.gpio.024.in_not
7 bit IN FALSE hm2_5i20.0.gpio.024.out
7 bit OUT TRUE hm2_5i20.0.gpio.025.in
7 bit OUT FALSE hm2_5i20.0.gpio.025.in_not
7 bit IN FALSE hm2_5i20.0.gpio.025.out
7 bit OUT TRUE hm2_5i20.0.gpio.026.in
7 bit OUT FALSE hm2_5i20.0.gpio.026.in_not
7 bit IN FALSE hm2_5i20.0.gpio.026.out
7 bit OUT TRUE hm2_5i20.0.gpio.027.in
7 bit OUT FALSE hm2_5i20.0.gpio.027.in_not
7 bit IN FALSE hm2_5i20.0.gpio.027.out
7 bit OUT TRUE hm2_5i20.0.gpio.028.in
7 bit OUT FALSE hm2_5i20.0.gpio.028.in_not
7 bit IN FALSE hm2_5i20.0.gpio.028.out
7 bit OUT TRUE hm2_5i20.0.gpio.029.in
7 bit OUT FALSE hm2_5i20.0.gpio.029.in_not
7 bit IN FALSE hm2_5i20.0.gpio.029.out
7 bit OUT TRUE hm2_5i20.0.gpio.030.in
7 bit OUT FALSE hm2_5i20.0.gpio.030.in_not
7 bit IN FALSE hm2_5i20.0.gpio.030.out
7 bit OUT FALSE hm2_5i20.0.gpio.031.in
7 bit OUT TRUE hm2_5i20.0.gpio.031.in_not
7 bit IN FALSE hm2_5i20.0.gpio.031.out
7 bit OUT TRUE hm2_5i20.0.gpio.032.in
7 bit OUT FALSE hm2_5i20.0.gpio.032.in_not
7 bit IN FALSE hm2_5i20.0.gpio.032.out
7 bit OUT TRUE hm2_5i20.0.gpio.033.in
7 bit OUT FALSE hm2_5i20.0.gpio.033.in_not
7 bit IN FALSE hm2_5i20.0.gpio.033.out
7 bit OUT TRUE hm2_5i20.0.gpio.034.in
7 bit OUT FALSE hm2_5i20.0.gpio.034.in_not
7 bit IN FALSE hm2_5i20.0.gpio.034.out
7 bit OUT TRUE hm2_5i20.0.gpio.035.in
7 bit OUT FALSE hm2_5i20.0.gpio.035.in_not
7 bit IN FALSE hm2_5i20.0.gpio.035.out
7 bit OUT TRUE hm2_5i20.0.gpio.036.in
7 bit OUT FALSE hm2_5i20.0.gpio.036.in_not
7 bit IN FALSE hm2_5i20.0.gpio.036.out
7 bit OUT FALSE hm2_5i20.0.gpio.037.in
7 bit OUT TRUE hm2_5i20.0.gpio.037.in_not
7 bit IN FALSE hm2_5i20.0.gpio.037.out
7 bit OUT TRUE hm2_5i20.0.gpio.038.in
7 bit OUT FALSE hm2_5i20.0.gpio.038.in_not
7 bit IN FALSE hm2_5i20.0.gpio.038.out
7 bit OUT TRUE hm2_5i20.0.gpio.039.in
7 bit OUT FALSE hm2_5i20.0.gpio.039.in_not
7 bit IN FALSE hm2_5i20.0.gpio.039.out
7 bit OUT TRUE hm2_5i20.0.gpio.040.in
7 bit OUT FALSE hm2_5i20.0.gpio.040.in_not
7 bit IN FALSE hm2_5i20.0.gpio.040.out
7 bit OUT TRUE hm2_5i20.0.gpio.041.in
7 bit OUT FALSE hm2_5i20.0.gpio.041.in_not
7 bit IN FALSE hm2_5i20.0.gpio.041.out
7 bit OUT TRUE hm2_5i20.0.gpio.042.in
7 bit OUT FALSE hm2_5i20.0.gpio.042.in_not
7 bit IN FALSE hm2_5i20.0.gpio.042.out
7 bit OUT TRUE hm2_5i20.0.gpio.043.in
7 bit OUT FALSE hm2_5i20.0.gpio.043.in_not
7 bit IN FALSE hm2_5i20.0.gpio.043.out
7 bit OUT TRUE hm2_5i20.0.gpio.044.in
7 bit OUT FALSE hm2_5i20.0.gpio.044.in_not
7 bit IN FALSE hm2_5i20.0.gpio.044.out
7 bit OUT TRUE hm2_5i20.0.gpio.045.in
7 bit OUT FALSE hm2_5i20.0.gpio.045.in_not
7 bit IN FALSE hm2_5i20.0.gpio.045.out
7 bit OUT TRUE hm2_5i20.0.gpio.046.in
7 bit OUT FALSE hm2_5i20.0.gpio.046.in_not
7 bit IN FALSE hm2_5i20.0.gpio.046.out
7 bit OUT TRUE hm2_5i20.0.gpio.047.in
7 bit OUT FALSE hm2_5i20.0.gpio.047.in_not
7 bit IN FALSE hm2_5i20.0.gpio.047.out
7 bit OUT TRUE hm2_5i20.0.gpio.048.in
7 bit OUT FALSE hm2_5i20.0.gpio.048.in_not
7 bit IN FALSE hm2_5i20.0.gpio.048.out
7 bit OUT TRUE hm2_5i20.0.gpio.049.in
7 bit OUT FALSE hm2_5i20.0.gpio.049.in_not
7 bit IN FALSE hm2_5i20.0.gpio.049.out
7 bit OUT TRUE hm2_5i20.0.gpio.050.in
7 bit OUT FALSE hm2_5i20.0.gpio.050.in_not
7 bit IN FALSE hm2_5i20.0.gpio.050.out
7 bit OUT TRUE hm2_5i20.0.gpio.051.in
7 bit OUT FALSE hm2_5i20.0.gpio.051.in_not
7 bit IN FALSE hm2_5i20.0.gpio.051.out
7 bit OUT TRUE hm2_5i20.0.gpio.052.in
7 bit OUT FALSE hm2_5i20.0.gpio.052.in_not
7 bit IN FALSE hm2_5i20.0.gpio.052.out
7 bit OUT TRUE hm2_5i20.0.gpio.053.in
7 bit OUT FALSE hm2_5i20.0.gpio.053.in_not
7 bit IN FALSE hm2_5i20.0.gpio.053.out
7 bit OUT TRUE hm2_5i20.0.gpio.054.in
7 bit OUT FALSE hm2_5i20.0.gpio.054.in_not
7 bit IN FALSE hm2_5i20.0.gpio.054.out
7 bit OUT TRUE hm2_5i20.0.gpio.055.in
7 bit OUT FALSE hm2_5i20.0.gpio.055.in_not
7 bit IN FALSE hm2_5i20.0.gpio.055.out
7 bit OUT TRUE hm2_5i20.0.gpio.056.in
7 bit OUT FALSE hm2_5i20.0.gpio.056.in_not
7 bit IN FALSE hm2_5i20.0.gpio.056.out
7 bit OUT TRUE hm2_5i20.0.gpio.057.in
7 bit OUT FALSE hm2_5i20.0.gpio.057.in_not
7 bit IN FALSE hm2_5i20.0.gpio.057.out
7 bit OUT TRUE hm2_5i20.0.gpio.058.in
7 bit OUT FALSE hm2_5i20.0.gpio.058.in_not
7 bit IN FALSE hm2_5i20.0.gpio.058.out
7 bit OUT TRUE hm2_5i20.0.gpio.059.in
7 bit OUT FALSE hm2_5i20.0.gpio.059.in_not
7 bit IN FALSE hm2_5i20.0.gpio.059.out
7 bit OUT TRUE hm2_5i20.0.gpio.060.in
7 bit OUT FALSE hm2_5i20.0.gpio.060.in_not
7 bit IN FALSE hm2_5i20.0.gpio.060.out
7 bit OUT TRUE hm2_5i20.0.gpio.061.in
7 bit OUT FALSE hm2_5i20.0.gpio.061.in_not
7 bit IN FALSE hm2_5i20.0.gpio.061.out
7 bit OUT TRUE hm2_5i20.0.gpio.062.in
7 bit OUT FALSE hm2_5i20.0.gpio.062.in_not
7 bit IN FALSE hm2_5i20.0.gpio.062.out
7 bit OUT TRUE hm2_5i20.0.gpio.063.in
7 bit OUT FALSE hm2_5i20.0.gpio.063.in_not
7 bit IN FALSE hm2_5i20.0.gpio.063.out
7 bit OUT TRUE hm2_5i20.0.gpio.064.in
7 bit OUT FALSE hm2_5i20.0.gpio.064.in_not
7 bit IN FALSE hm2_5i20.0.gpio.064.out
7 bit OUT TRUE hm2_5i20.0.gpio.065.in
7 bit OUT FALSE hm2_5i20.0.gpio.065.in_not
7 bit IN FALSE hm2_5i20.0.gpio.065.out
7 bit OUT TRUE hm2_5i20.0.gpio.066.in
7 bit OUT FALSE hm2_5i20.0.gpio.066.in_not
7 bit IN FALSE hm2_5i20.0.gpio.066.out
7 bit OUT TRUE hm2_5i20.0.gpio.067.in
7 bit OUT FALSE hm2_5i20.0.gpio.067.in_not
7 bit IN FALSE hm2_5i20.0.gpio.067.out
7 bit OUT TRUE hm2_5i20.0.gpio.068.in
7 bit OUT FALSE hm2_5i20.0.gpio.068.in_not
7 bit IN FALSE hm2_5i20.0.gpio.068.out
7 bit OUT TRUE hm2_5i20.0.gpio.069.in
7 bit OUT FALSE hm2_5i20.0.gpio.069.in_not
7 bit IN FALSE hm2_5i20.0.gpio.069.out
7 bit OUT TRUE hm2_5i20.0.gpio.070.in
7 bit OUT FALSE hm2_5i20.0.gpio.070.in_not
7 bit IN FALSE hm2_5i20.0.gpio.070.out
7 bit OUT TRUE hm2_5i20.0.gpio.071.in
7 bit OUT FALSE hm2_5i20.0.gpio.071.in_not
7 bit IN FALSE hm2_5i20.0.gpio.071.out
7 bit IN FALSE hm2_5i20.0.led.CR01
7 bit IN FALSE hm2_5i20.0.led.CR02
7 bit IN FALSE hm2_5i20.0.led.CR03
7 bit IN FALSE hm2_5i20.0.led.CR04
7 bit IN FALSE hm2_5i20.0.led.CR05
7 bit IN FALSE hm2_5i20.0.led.CR06
7 bit IN FALSE hm2_5i20.0.led.CR07
7 bit IN FALSE hm2_5i20.0.led.CR08
7 bit IN FALSE hm2_5i20.0.pwmgen.00.enable
7 float IN 0 hm2_5i20.0.pwmgen.00.value
7 bit IN FALSE hm2_5i20.0.pwmgen.01.enable
7 float IN 0 hm2_5i20.0.pwmgen.01.value
7 s32 OUT 0 hm2_5i20.0.read.time
7 s32 OUT 0 hm2_5i20.0.read_gpio.time
7 u32 OUT 0x00000000 hm2_5i20.0.sserial.port-0.fault-count
7 u32 OUT 0x00000000 hm2_5i20.0.sserial.port-0.port_state
7 u32 OUT 0x00000000 hm2_5i20.0.sserial.port-0.port_state2
7 u32 OUT 0x00000000 hm2_5i20.0.sserial.port-0.port_state3
7 bit IN TRUE hm2_5i20.0.sserial.port-0.run
7 bit IN FALSE hm2_5i20.0.stepgen.00.control-type
7 s32 OUT 0 hm2_5i20.0.stepgen.00.counts
7 float OUT 0 hm2_5i20.0.stepgen.00.dbg_err_at_match
7 float OUT 0 hm2_5i20.0.stepgen.00.dbg_ff_vel
7 float OUT 0 hm2_5i20.0.stepgen.00.dbg_pos_minus_prev_cmd
7 float OUT 0 hm2_5i20.0.stepgen.00.dbg_s_to_match
7 s32 OUT 0 hm2_5i20.0.stepgen.00.dbg_step_rate
7 float OUT 0 hm2_5i20.0.stepgen.00.dbg_vel_error
7 bit IN FALSE hm2_5i20.0.stepgen.00.enable
7 float IN 0 hm2_5i20.0.stepgen.00.position-cmd
7 float OUT 0 hm2_5i20.0.stepgen.00.position-fb
7 float IN 0 hm2_5i20.0.stepgen.00.velocity-cmd
7 float OUT 0 hm2_5i20.0.stepgen.00.velocity-fb
7 bit IN FALSE hm2_5i20.0.stepgen.01.control-type
7 s32 OUT 0 hm2_5i20.0.stepgen.01.counts
7 float OUT 0 hm2_5i20.0.stepgen.01.dbg_err_at_match
7 float OUT 0 hm2_5i20.0.stepgen.01.dbg_ff_vel
7 float OUT 0 hm2_5i20.0.stepgen.01.dbg_pos_minus_prev_cmd
7 float OUT 0 hm2_5i20.0.stepgen.01.dbg_s_to_match
7 s32 OUT 0 hm2_5i20.0.stepgen.01.dbg_step_rate
7 float OUT 0 hm2_5i20.0.stepgen.01.dbg_vel_error
7 bit IN FALSE hm2_5i20.0.stepgen.01.enable
7 float IN 0 hm2_5i20.0.stepgen.01.position-cmd
7 float OUT 0 hm2_5i20.0.stepgen.01.position-fb
7 float IN 0 hm2_5i20.0.stepgen.01.velocity-cmd
7 float OUT 0 hm2_5i20.0.stepgen.01.velocity-fb
7 bit IN FALSE hm2_5i20.0.stepgen.02.control-type
7 s32 OUT 0 hm2_5i20.0.stepgen.02.counts
7 float OUT 0 hm2_5i20.0.stepgen.02.dbg_err_at_match
7 float OUT 0 hm2_5i20.0.stepgen.02.dbg_ff_vel
7 float OUT 0 hm2_5i20.0.stepgen.02.dbg_pos_minus_prev_cmd
7 float OUT 0 hm2_5i20.0.stepgen.02.dbg_s_to_match
7 s32 OUT 0 hm2_5i20.0.stepgen.02.dbg_step_rate
7 float OUT 0 hm2_5i20.0.stepgen.02.dbg_vel_error
7 bit IN FALSE hm2_5i20.0.stepgen.02.enable
7 float IN 0 hm2_5i20.0.stepgen.02.position-cmd
7 float OUT 0 hm2_5i20.0.stepgen.02.position-fb
7 float IN 0 hm2_5i20.0.stepgen.02.velocity-cmd
7 float OUT 0 hm2_5i20.0.stepgen.02.velocity-fb
7 bit IN FALSE hm2_5i20.0.stepgen.03.control-type
7 s32 OUT 0 hm2_5i20.0.stepgen.03.counts
7 float OUT 0 hm2_5i20.0.stepgen.03.dbg_err_at_match
7 float OUT 0 hm2_5i20.0.stepgen.03.dbg_ff_vel
7 float OUT 0 hm2_5i20.0.stepgen.03.dbg_pos_minus_prev_cmd
7 float OUT 0 hm2_5i20.0.stepgen.03.dbg_s_to_match
7 s32 OUT 0 hm2_5i20.0.stepgen.03.dbg_step_rate
7 float OUT 0 hm2_5i20.0.stepgen.03.dbg_vel_error
7 bit IN FALSE hm2_5i20.0.stepgen.03.enable
7 float IN 0 hm2_5i20.0.stepgen.03.position-cmd
7 float OUT 0 hm2_5i20.0.stepgen.03.position-fb
7 float IN 0 hm2_5i20.0.stepgen.03.velocity-cmd
7 float OUT 0 hm2_5i20.0.stepgen.03.velocity-fb
7 bit I/O FALSE hm2_5i20.0.watchdog.has_bit
7 s32 OUT 0 hm2_5i20.0.write.time
7 s32 OUT 0 hm2_5i20.0.write_gpio.time
halcmd:
Last edit: 28 Oct 2022 17:31 by andypugh.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
28 Oct 2022 17:44 - 28 Oct 2022 17:45 #255319
by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
OK, so it looks like there used to be a parameter called 8i20.max_current but there isn't any more.
Logging in to my own machine (I use 8i20 too) I see:
So replace your
with
Logging in to my own machine (I use 8i20 too) I see:
18 float RW 6.99 hm2_8i20.0003.current-maxlim
18 float RW -6.99 hm2_8i20.0003.current-minlim
18 float RW -8.5 hm2_8i20.0003.current-scalemax
So replace your
setp hm2_5i20.0.8i20.0.0.max_current 30.0
with
setp hm2_8i20.0003.current-maxlim 30
setp hm2_8i20.0003.current-minlim -30
setp hm2_8i20.0003.current-scalemax 30
Last edit: 28 Oct 2022 17:45 by andypugh.
Please Log in or Create an account to join the conversation.
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
28 Oct 2022 18:04 #255321
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
That did not work, fwiw I have a 5i20, I tried changing to line to be more similar to what I had in the file. Mine read
setp hm2_5i20.0.8i20.0.0.max_current 30.0, but that didn't work either. Is there another way we can communicate? It may be a simpler problem than i am making of it, but with the delays with forum responses, I tend to loose where i was last at.
setp hm2_5i20.0.8i20.0.0.max_current 30.0, but that didn't work either. Is there another way we can communicate? It may be a simpler problem than i am making of it, but with the delays with forum responses, I tend to loose where i was last at.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
28 Oct 2022 18:49 #255325
by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
Sorry, I forgot that I am using the option to address the drives by serial number.
Don't be surprised if that doesn't seem to have worked either, but if you look carefully you might see that there is now a different error message
setp hm2_5i20.0.8i20.0.0.current-maxlim 30
setp hm2_5i20.0.8i20.0.0.current-minlim -30
setp hm2_5i20.0.8i20.0.0.current-scalemax 30
Don't be surprised if that doesn't seem to have worked either, but if you look carefully you might see that there is now a different error message
Please Log in or Create an account to join the conversation.
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
28 Oct 2022 19:03 #255326
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
That is the way I tried when the initial attempt failed. I am still in the same boat.
Please Log in or Create an account to join the conversation.
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
28 Oct 2022 19:42 #255328
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
I can't seem to get that to work, I tried a different setup "smithy 1240 Mill" instead of Smithy 1240 Combined Mill" which is what old SW used. That gets further, actually opens the gui up, but I get a watchdog bit error. I don't know what is different between the 2, but I'm thinking that is the config to use, as i am further along. Any thoughts on this idea?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
28 Oct 2022 20:01 #255330
by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
I think that you should go with the config that used to work.
I am pretty sure that the problem you had last time "1240combined.hal:86: parameter or pin 'hm2_5i20.0.8i20.0.0.max_current' not found" is not the error now.
We need to work through the errors one by one.
I am on the IRC channel if you want something a bit more live,
I am pretty sure that the problem you had last time "1240combined.hal:86: parameter or pin 'hm2_5i20.0.8i20.0.0.max_current' not found" is not the error now.
We need to work through the errors one by one.
I am on the IRC channel if you want something a bit more live,
Please Log in or Create an account to join the conversation.
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
28 Oct 2022 20:46 - 28 Oct 2022 20:52 #255334
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
Thank you, but at the risk of sounding like a fool, what is IRC channel.
NM, I may be there
NM, I may be there
Last edit: 28 Oct 2022 20:52 by LPMattei.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19468
- Thank you received: 6529
28 Oct 2022 21:48 #255343
by tommylight
What does
uname -a
in a terminal say?
Also, in PC's BIOS settings, disable everything regarding power saving, turbo, speed step, C states, hyperthreading, etc.
Replied by tommylight on topic loading LinuxCNC on old smithy 1240
That is a timing issue with the PC, or using the wrong kernel.That gets further, actually opens the gui up, but I get a watchdog bit error.
What does
uname -a
in a terminal say?
Also, in PC's BIOS settings, disable everything regarding power saving, turbo, speed step, C states, hyperthreading, etc.
Please Log in or Create an account to join the conversation.
- LPMattei
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
29 Oct 2022 15:31 - 29 Oct 2022 15:32 #255385
by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
uname -a Linux debian 4.19.195-rtai-amd64 #5 SMP PREEMPT Sun Jul 11 19:13:27 BST 2021 x86_64 GNU/Linux
I also just turned of virtualization in bios. I was working with AndyPugh last night, and we were making some progress, I believe we loaded a new kernel and latency test looks better, but it got late. I'm hoping to hear back from him today, but I'm open to any other ideas in the meantime.
I also just turned of virtualization in bios. I was working with AndyPugh last night, and we were making some progress, I believe we loaded a new kernel and latency test looks better, but it got late. I'm hoping to hear back from him today, but I'm open to any other ideas in the meantime.
Last edit: 29 Oct 2022 15:32 by LPMattei.
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds