Mesa 7i95

More
10 Oct 2021 18:15 - 10 Oct 2021 18:16 #222786 by mittim
Replied by mittim on topic Mesa 7i95
After defining my home sequence and joining y1 and y2, I only have to home once and the sequence starts :)
I will go deeper into HAL and INI the next days. Thanks for now, awesome forum!
Last edit: 10 Oct 2021 18:16 by mittim.
The following user(s) said Thank You: rodw

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

More
14 Oct 2021 19:13 #223107 by mittim
Replied by mittim on topic Mesa 7i95
I am currently  trying to get my OUTPUTS and INPUTS working.
Trying to set "setp hm2_7i95.0.gpio.041.out TRUE" via the HAL-configurator shows the set value in the terminal but measuring the OUTPUT voltage is close to 0V. What am I doing wrong?
Component Pins:
Owner   Type  Dir         Value  Name
    26  float IN            100  hm2_7i95.0.dpll.01.timer-us
    26  float IN            100  hm2_7i95.0.dpll.02.timer-us
    26  float IN            100  hm2_7i95.0.dpll.03.timer-us
    26  float IN            100  hm2_7i95.0.dpll.04.timer-us
    26  float IN              1  hm2_7i95.0.dpll.base-freq-khz
    26  u32   OUT    0x0000002A  hm2_7i95.0.dpll.ddsize
    26  float OUT     -11.08391  hm2_7i95.0.dpll.phase-error-us
    26  u32   IN     0x00400000  hm2_7i95.0.dpll.plimit
    26  u32   OUT    0x00000018  hm2_7i95.0.dpll.prescale
    26  u32   IN     0x000007D0  hm2_7i95.0.dpll.time-const
    26  s32   OUT             0  hm2_7i95.0.encoder.00.count
    26  s32   OUT             0  hm2_7i95.0.encoder.00.count-latched
    26  bit   I/O         FALSE  hm2_7i95.0.encoder.00.index-enable
    26  bit   OUT          TRUE  hm2_7i95.0.encoder.00.input-a
    26  bit   OUT         FALSE  hm2_7i95.0.encoder.00.input-b
    26  bit   OUT          TRUE  hm2_7i95.0.encoder.00.input-index
    26  float OUT             0  hm2_7i95.0.encoder.00.position
    26  float OUT             0  hm2_7i95.0.encoder.00.position-latched
    26  bit   OUT         FALSE  hm2_7i95.0.encoder.00.quad-error
    26  bit   IN          FALSE  hm2_7i95.0.encoder.00.quad-error-enable
    26  s32   OUT             1  hm2_7i95.0.encoder.00.rawcounts
    26  s32   OUT             1  hm2_7i95.0.encoder.00.rawlatch
    26  bit   IN          FALSE  hm2_7i95.0.encoder.00.reset
    26  float OUT             0  hm2_7i95.0.encoder.00.velocity
    26  float OUT             0  hm2_7i95.0.encoder.00.velocity-rpm
    26  bit   IN          FALSE  hm2_7i95.0.encoder.hires-timestamp
    26  u32   IN     0x007F2815  hm2_7i95.0.encoder.muxed-sample-frequency
    26  s32   IN             -1  hm2_7i95.0.encoder.timer-number
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.000.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.000.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.001.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.001.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.002.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.002.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.003.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.003.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.004.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.004.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.005.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.005.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.006.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.006.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.007.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.007.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.008.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.008.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.009.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.009.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.010.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.010.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.011.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.011.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.012.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.012.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.012.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.013.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.013.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.013.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.014.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.014.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.014.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.015.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.015.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.015.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.016.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.016.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.016.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.017.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.017.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.017.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.018.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.018.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.019.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.019.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.020.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.020.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.021.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.021.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.021.out
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.022.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.022.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.022.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.023.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.023.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.023.out
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.024.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.024.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.024.out
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.025.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.025.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.025.out
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.026.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.026.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.026.out
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.027.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.027.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.028.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.028.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.029.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.029.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.030.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.030.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.031.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.031.in_not
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.032.in
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.032.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.033.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.033.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.034.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.034.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.035.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.035.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.036.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.036.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.037.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.037.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.038.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.038.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.039.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.039.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.040.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.040.in_not
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.041.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.041.in_not
    26  bit   IN           TRUE  hm2_7i95.0.gpio.041.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.042.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.042.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.042.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.043.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.043.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.043.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.044.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.044.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.044.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.045.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.045.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.045.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.046.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.046.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.046.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.047.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.047.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.047.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.048.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.048.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.048.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.049.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.049.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.049.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.050.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.050.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.050.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.051.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.051.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.051.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.052.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.052.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.052.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.053.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.053.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.053.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.054.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.054.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.054.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.055.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.055.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.055.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.056.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.056.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.056.out
    26  bit   OUT          TRUE  hm2_7i95.0.gpio.057.in
    26  bit   OUT         FALSE  hm2_7i95.0.gpio.057.in_not
    26  bit   IN          FALSE  hm2_7i95.0.gpio.057.out
    26  s32   OUT             0  hm2_7i95.0.inmux.00.enc0-count
    26  s32   OUT             0  hm2_7i95.0.inmux.00.enc1-count
    26  s32   OUT             0  hm2_7i95.0.inmux.00.enc2-count
    26  s32   OUT             0  hm2_7i95.0.inmux.00.enc3-count
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-00
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-00-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-00-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-01
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-01-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-01-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-02
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-02-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-02-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-03
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-03-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-03-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-04
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-04-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-04-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-05
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-05-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-05-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-06
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-06-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-06-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-07
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-07-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-07-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-08
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-08-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-08-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-09
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-09-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-09-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-10
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-10-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-10-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-11
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-11-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-11-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-12
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-12-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-12-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-13
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-13-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-13-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-14
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-14-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-14-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-15
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-15-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-15-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-16
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-16-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-16-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-17
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-17-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-17-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-18
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-18-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-18-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-19
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-19-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-19-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-20
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-20-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-20-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-21
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-21-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-21-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-22
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-22-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-22-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.input-23
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.input-23-not
    26  bit   IN          FALSE  hm2_7i95.0.inmux.00.input-23-slow
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-00
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-00-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-01
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-01-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-02
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-02-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-03
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-03-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-04
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-04-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-05
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-05-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-06
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-06-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-07
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-07-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-08
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-08-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-09
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-09-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-10
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-10-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-11
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-11-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-12
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-12-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-13
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-13-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-14
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-14-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-15
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-15-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-16
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-16-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-17
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-17-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-18
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-18-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-19
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-19-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-20
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-20-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-21
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-21-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-22
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-22-not
    26  bit   OUT         FALSE  hm2_7i95.0.inmux.00.raw-input-23
    26  bit   OUT          TRUE  hm2_7i95.0.inmux.00.raw-input-23-not
    26  bit   IN          FALSE  hm2_7i95.0.led.CR01
    26  bit   IN          FALSE  hm2_7i95.0.led.CR02
    26  bit   IN          FALSE  hm2_7i95.0.led.CR03
    26  bit   IN          FALSE  hm2_7i95.0.led.CR04
    26  bit   OUT         FALSE  hm2_7i95.0.packet-error
    26  bit   OUT         FALSE  hm2_7i95.0.packet-error-exceeded
    26  s32   OUT             0  hm2_7i95.0.packet-error-level
    26  s32   OUT             0  hm2_7i95.0.read-request.time
    26  s32   OUT        836184  hm2_7i95.0.read.time
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-00
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-01
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-02
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-03
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-04
    26  bit   IN          FALSE  hm2_7i95.0.ssr.00.out-05
    26  u32   IN     0x000F4240  hm2_7i95.0.ssr.00.rate
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.00.control-type
    26  s32   OUT          3999  hm2_7i95.0.stepgen.00.counts
    26  float OUT             0  hm2_7i95.0.stepgen.00.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.00.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.00.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.00.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.00.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.00.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.00.enable <== x-enable
    26  float IN              0  hm2_7i95.0.stepgen.00.position-cmd
    26  float OUT             5  hm2_7i95.0.stepgen.00.position-fb ==> x-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.00.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.00.velocity-cmd <== x-output
    26  float OUT             0  hm2_7i95.0.stepgen.00.velocity-fb
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.01.control-type
    26  s32   OUT             0  hm2_7i95.0.stepgen.01.counts
    26  float OUT             0  hm2_7i95.0.stepgen.01.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.01.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.01.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.01.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.01.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.01.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.01.enable <== y-enable
    26  float IN              0  hm2_7i95.0.stepgen.01.position-cmd
    26  float OUT             0  hm2_7i95.0.stepgen.01.position-fb ==> y-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.01.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.01.velocity-cmd <== y-output
    26  float OUT             0  hm2_7i95.0.stepgen.01.velocity-fb
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.02.control-type
    26  s32   OUT             0  hm2_7i95.0.stepgen.02.counts
    26  float OUT             0  hm2_7i95.0.stepgen.02.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.02.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.02.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.02.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.02.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.02.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.02.enable <== y2-enable
    26  float IN              0  hm2_7i95.0.stepgen.02.position-cmd
    26  float OUT             0  hm2_7i95.0.stepgen.02.position-fb ==> y2-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.02.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.02.velocity-cmd <== y2-output
    26  float OUT             0  hm2_7i95.0.stepgen.02.velocity-fb
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.03.control-type
    26  s32   OUT             0  hm2_7i95.0.stepgen.03.counts
    26  float OUT             0  hm2_7i95.0.stepgen.03.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.03.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.03.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.03.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.03.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.03.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.03.enable <== z-enable
    26  float IN              0  hm2_7i95.0.stepgen.03.position-cmd
    26  float OUT             0  hm2_7i95.0.stepgen.03.position-fb ==> z-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.03.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.03.velocity-cmd <== z-output
    26  float OUT             0  hm2_7i95.0.stepgen.03.velocity-fb
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.04.control-type
    26  s32   OUT        118322  hm2_7i95.0.stepgen.04.counts
    26  float OUT             0  hm2_7i95.0.stepgen.04.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.04.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.04.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.04.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.04.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.04.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.04.enable <== a-enable
    26  float IN              0  hm2_7i95.0.stepgen.04.position-cmd
    26  float OUT       8.21683  hm2_7i95.0.stepgen.04.position-fb ==> a-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.04.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.04.velocity-cmd <== a-output
    26  float OUT             0  hm2_7i95.0.stepgen.04.velocity-fb
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.05.control-type
    26  s32   OUT             0  hm2_7i95.0.stepgen.05.counts
    26  float OUT             0  hm2_7i95.0.stepgen.05.dbg_err_at_match
    26  float OUT             0  hm2_7i95.0.stepgen.05.dbg_ff_vel
    26  float OUT             0  hm2_7i95.0.stepgen.05.dbg_pos_minus_prev_cmd
    26  float OUT             0  hm2_7i95.0.stepgen.05.dbg_s_to_match
    26  s32   OUT             0  hm2_7i95.0.stepgen.05.dbg_step_rate
    26  float OUT             0  hm2_7i95.0.stepgen.05.dbg_vel_error
    26  bit   IN           TRUE  hm2_7i95.0.stepgen.05.enable <== c-enable
    26  float IN              0  hm2_7i95.0.stepgen.05.position-cmd
    26  float OUT             0  hm2_7i95.0.stepgen.05.position-fb ==> c-pos-fb
    26  bit   IN          FALSE  hm2_7i95.0.stepgen.05.position-reset
    26  float IN              0  hm2_7i95.0.stepgen.05.velocity-cmd <== c-output
    26  float OUT             0  hm2_7i95.0.stepgen.05.velocity-fb
    26  s32   IN             -1  hm2_7i95.0.stepgen.timer-number
    26  bit   I/O         FALSE  hm2_7i95.0.watchdog.has_bit
    26  s32   OUT         43992  hm2_7i95.0.write.time

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

More
14 Oct 2021 19:28 #223108 by PCW
Replied by PCW on topic Mesa 7i95
7I95 inputs are:
hm2_7i95.0.inmux.00.input-00 through hm2_7i95.0.inmux.00.input-23
and
hm2_7i95.0.inmux.00.input-00-not through hm2_7i95.0.inmux.00.input-23-not

7I95 outputs are:
hm2_7i95.0.ssr.00.out-00 through hm2_7i95.0.ssr.00.out-05

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

More
14 Oct 2021 19:40 - 14 Oct 2021 19:48 #223109 by mittim
Replied by mittim on topic Mesa 7i95
output LEDS are now lighting up, but still measuring 0V. Dumb question, but do I have to apply an additional voltage, rather than the 5V to get an output? That would mean the outputs on the 7i95 are just switches?

Just read in the datasheet that the outputs are "OUTPUT SWITCHED VOLTAGE" between 0 and 36V. Am I correct with that? Don´t want to damage my valuable outputs 
Last edit: 14 Oct 2021 19:48 by mittim.

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

More
14 Oct 2021 19:57 - 14 Oct 2021 20:12 #223111 by PCW
Replied by PCW on topic Mesa 7i95
Yes, the outputs are isolated switches (0 to 36V, 0 to 2A)

So you can use 5V or 12V or 24V or anything between 0 and 36V

Note that the outputs are not protected against shorted loads
so use a fused or current limited supply. Also the switches
are polarized (if you connect them backwards they will appear
to be always on)

I should add, you can use an Ohmmeter to test the outputs.
 
Last edit: 14 Oct 2021 20:12 by PCW.
The following user(s) said Thank You: mittim

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

More
16 Oct 2021 14:00 #223296 by myval
Replied by myval on topic Mesa 7i95
Hi,
I have one more VFD question.
The problem I have found is that the VFD needs 0-100KHz signal to drive the speed but duty have to be 30% +-2%.
The manual does not state this duty requirement, I have wasted couple of days working out why the hack it does not do what it is supposed to do.
If I drive it with STEPGEN as suggested by PCW it only works at really narrow frequency range when stepgen pulses are about 30% duty.

Now the question is, is there any way to change STEPLEN and STEPSPACE on the fly dependent on the output frequency?
Or is there any other way to generate frequency 0-100KHz with 30% duty?

Thanks
Joe

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

More
16 Oct 2021 16:45 - 16 Oct 2021 18:58 #223305 by PCW
Replied by PCW on topic Mesa 7i95
Its a bit bizzarre that it will not take a 50% duty cycle.
(which you can get by setting the stepgen into quadrature mode)

There should be a way get a constant 30% duty cycle
by enabling the stepgens table mode and having a 10 length table
with 3 on bits and 7 off bits but I cant seem to get it to work ATM
I'll take a look at what's needed when I have a chance.

EDIT
 figured it out, its my fault as usual. I managed to break table
mode in master  when I added stepgen index and reset.
I will fix this ASAP

When master is fixed or if you are running 2.8.x you would set
the stepgen table length to 10:

setp hm2_7i95.0.stepgen.NN.step_type 10

and then set the step table data to 3 on bits (and 7 off)

setp hm2_7i95.0.stepgen.NN.table-data-0 0x00010101

Note that the PWM frequency will be the set rate divided by the table length
so you will need to set the velocity 10x higher than before







 
Last edit: 16 Oct 2021 18:58 by PCW.

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

More
16 Oct 2021 18:45 #223313 by myval
Replied by myval on topic Mesa 7i95
Tel me about it bizarre to say the least. I did test it as best as I could and bellow 28% it dropped off and above 33% dropped off too.

I was just thinking if 7i95 can run stepgen in step type 3? If it can it is worth trying I guess that would give me on one phase 33% and that might be about good enough.

with what you have suggested how do I enable the table mode?

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

More
16 Oct 2021 18:57 - 16 Oct 2021 19:02 #223316 by PCW
Replied by PCW on topic Mesa 7i95
If you are running 2.8.x, my instructions above should work and give 30.0% duty cycle

if you are running master (2.9.x) I need to push a tiny patch before it will work
Last edit: 16 Oct 2021 19:02 by PCW.

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

More
16 Oct 2021 19:33 #223319 by myval
Replied by myval on topic Mesa 7i95
I am running 2.9 but if it is easier I will go to 2.8 no problem

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

Moderators: PCWjmelson
Time to create page: 0.283 seconds
Powered by Kunena Forum