loading LinuxCNC on old smithy 1240

More
4 years 5 days ago #255246 by LPMattei
I posted them again below in plain text rather than an uploaded file as above

Please Log in or Create an account to join the conversation.

More
4 years 5 days ago #255261 by andypugh
Can you run the following in a terminal window to get a pin list? The point is to see if the 8i20 is being detected:
Code:
halrun loadrt hostmot2 debug_idrom=1 loadrt hm2_pci config="firmware=hm2/5i20/sssvst2_2_4_v31.bit" show pin

Paste the output here.

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago - 4 years 4 days ago #255312 by LPMattei
Code:
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: 4 years 4 days ago by andypugh.

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago - 4 years 4 days ago #255319 by andypugh
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:

Code:
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
Code:
setp hm2_5i20.0.8i20.0.0.max_current 30.0

with
Code:
setp hm2_8i20.0003.current-maxlim 30 setp hm2_8i20.0003.current-minlim -30 setp hm2_8i20.0003.current-scalemax 30
Last edit: 4 years 4 days ago by andypugh.

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #255321 by LPMattei
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.

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #255325 by andypugh
Sorry, I forgot that I am using the option to address the drives by serial number.
Code:
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.

Time to create page: 0.057 seconds
Powered by Kunena Forum