7i96s vfd control

More
02 Aug 2022 19:00 - 02 Aug 2022 19:01 #248860 by Samuelx
7i96s vfd control was created by Samuelx
I got mesa 7i96S card and trying to connect it to my vfd.

VFD has
+10V output pin that gives +10V (measured on multimeter)
VI pin (analog signal frequency reference input) 0-10v
DCM/COM pin (common terminal of digital and control singnals)

I hooked it up to my 7i96s card   ANALOG SPINDLE INTERFACE
vdf +10v output to mesa pin 24  (Spindle +)
vdf VI pin to mesa pin 23 (Spindle out)
vdf com/dcm pin to mesa pin 22 (Spindle -)

Is this connection right?

Next I need to modify hal and ini files ?
My spindle is spinning 50hz/1370rpm

I found this on google 
So do I need to add this to my ini file?

loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain 0.007299270073
net spindle-speed-scale spindle.0.speed-out => scale.0.in
net spindle-speed-DAC scale.0.out => <your DAC pin name>


Where can I find my pin names that I need to use when modifying hal/ini?




 
Last edit: 02 Aug 2022 19:01 by Samuelx.

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

More
02 Aug 2022 22:48 #248878 by andypugh
Replied by andypugh on topic 7i96s vfd control

Where can I find my pin names that I need to use when modifying hal/ini?


With LinuxCNC loaded, open a terminal window and type:
halcmd show pin

You can either copy and paste the output to a text editor (it's shift-ctrl-c in the terminal for copy) or send it direct to a file with
halcmd show pin > pins.txt

You probably want to run
halcmd show param
too.

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

More
02 Aug 2022 23:21 - 02 Aug 2022 23:22 #248880 by PCW
Replied by PCW on topic 7i96s vfd control
How this is connected depends on you current hal/ini files
can you post them here?

You likely don't need the scale component  as the analog scaling
is typically done with the PWM generators scale parameter.
Last edit: 02 Aug 2022 23:22 by PCW. Reason: sp

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

More
03 Aug 2022 14:40 - 03 Aug 2022 14:51 #248935 by Samuelx
Replied by Samuelx on topic 7i96s vfd control
# Generated by PNCconf at Wed Aug  3 17:23:08 2022
# Using LinuxCNC version:  Master (2.9)
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=0xxxxx" 
setp    [HMOT](CARD0).watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z,pid.s

addf [HMOT](CARD0).read          servo-thread
addf motion-command-handler   servo-thread
addf motion-controller        servo-thread
addf pid.x.do-pid-calcs       servo-thread
addf pid.z.do-pid-calcs       servo-thread
addf pid.s.do-pid-calcs       servo-thread
addf [HMOT](CARD0).write         servo-thread
setp [HMOT](CARD0).dpll.01.timer-us -50
setp [HMOT](CARD0).stepgen.timer-number 1

# external output signals

# --- SPINDLE-CW ---
net spindle-cw  =>     [HMOT](CARD0).ssr.00.out-00


# external input signals

# --- MIN-HOME-X ---
net min-home-x     <=  [HMOT](CARD0).gpio.000.in

# --- MIN-HOME-Z ---
net min-home-z     <=  [HMOT](CARD0).gpio.001.in


#*******************
#  AXIS X JOINT 0
#*******************

setp   pid.x.Pgain     [JOINT_0]P
setp   pid.x.Igain     [JOINT_0]I
setp   pid.x.Dgain     [JOINT_0]D
setp   pid.x.bias      [JOINT_0]BIAS
setp   pid.x.FF0       [JOINT_0]FF0
setp   pid.x.FF1       [JOINT_0]FF1
setp   pid.x.FF2       [JOINT_0]FF2
setp   pid.x.deadband  [JOINT_0]DEADBAND
setp   pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp   pid.x.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp   pid.x.maxerror 0.012700

net x-index-enable  <=> pid.x.index-enable
net x-enable        =>  pid.x.enable
net x-pos-cmd       =>  pid.x.command
net x-pos-fb        =>  pid.x.feedback
net x-output        <=  pid.x.output

# Step Gen signals/setup

setp   [HMOT](CARD0).stepgen.00.dirsetup        [JOINT_0]DIRSETUP
setp   [HMOT](CARD0).stepgen.00.dirhold         [JOINT_0]DIRHOLD
setp   [HMOT](CARD0).stepgen.00.steplen         [JOINT_0]STEPLEN
setp   [HMOT](CARD0).stepgen.00.stepspace       [JOINT_0]STEPSPACE
setp   [HMOT](CARD0).stepgen.00.position-scale  [JOINT_0]STEP_SCALE
setp   [HMOT](CARD0).stepgen.00.step_type        0
setp   [HMOT](CARD0).stepgen.00.control-type     1
setp   [HMOT](CARD0).stepgen.00.maxaccel         [JOINT_0]STEPGEN_MAXACCEL
setp   [HMOT](CARD0).stepgen.00.maxvel           [JOINT_0]STEPGEN_MAXVEL

# ---closedloop stepper signals---

net x-pos-cmd    <= joint.0.motor-pos-cmd
net x-vel-cmd    <= joint.0.vel-cmd
net x-output     => [HMOT](CARD0).stepgen.00.velocity-cmd
net x-pos-fb     <= [HMOT](CARD0).stepgen.00.position-fb
net x-pos-fb     => joint.0.motor-pos-fb
net x-enable     <= joint.0.amp-enable-out
net x-enable     => [HMOT](CARD0).stepgen.00.enable

# ---setup home / limit switch signals---

net min-home-x     =>  joint.0.home-sw-in
net min-home-x     =>  joint.0.neg-lim-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in

#*******************
#  AXIS Z JOINT 1
#*******************

setp   pid.z.Pgain     [JOINT_1]P
setp   pid.z.Igain     [JOINT_1]I
setp   pid.z.Dgain     [JOINT_1]D
setp   pid.z.bias      [JOINT_1]BIAS
setp   pid.z.FF0       [JOINT_1]FF0
setp   pid.z.FF1       [JOINT_1]FF1
setp   pid.z.FF2       [JOINT_1]FF2
setp   pid.z.deadband  [JOINT_1]DEADBAND
setp   pid.z.maxoutput [JOINT_1]MAX_OUTPUT
setp   pid.z.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp   pid.z.maxerror 0.012700

net z-index-enable  <=> pid.z.index-enable
net z-enable        =>  pid.z.enable
net z-pos-cmd       =>  pid.z.command
net z-pos-fb        =>  pid.z.feedback
net z-output        <=  pid.z.output

# Step Gen signals/setup

setp   [HMOT](CARD0).stepgen.01.dirsetup        [JOINT_1]DIRSETUP
setp   [HMOT](CARD0).stepgen.01.dirhold         [JOINT_1]DIRHOLD
setp   [HMOT](CARD0).stepgen.01.steplen         [JOINT_1]STEPLEN
setp   [HMOT](CARD0).stepgen.01.stepspace       [JOINT_1]STEPSPACE
setp   [HMOT](CARD0).stepgen.01.position-scale  [JOINT_1]STEP_SCALE
setp   [HMOT](CARD0).stepgen.01.step_type        0
setp   [HMOT](CARD0).stepgen.01.control-type     1
setp   [HMOT](CARD0).stepgen.01.maxaccel         [JOINT_1]STEPGEN_MAXACCEL
setp   [HMOT](CARD0).stepgen.01.maxvel           [JOINT_1]STEPGEN_MAXVEL

# ---closedloop stepper signals---

net z-pos-cmd    <= joint.1.motor-pos-cmd
net z-vel-cmd    <= joint.1.vel-cmd
net z-output     => [HMOT](CARD0).stepgen.01.velocity-cmd
net z-pos-fb     <= [HMOT](CARD0).stepgen.01.position-fb
net z-pos-fb     => joint.1.motor-pos-fb
net z-enable     <= joint.1.amp-enable-out
net z-enable     => [HMOT](CARD0).stepgen.01.enable

# ---setup home / limit switch signals---

net min-home-z     =>  joint.1.home-sw-in
net min-home-z     =>  joint.1.neg-lim-sw-in
net z-pos-limit     =>  joint.1.pos-lim-sw-in

#*******************
#  SPINDLE
#*******************

setp   pid.s.Pgain     [SPINDLE_0]P
setp   pid.s.Igain     [SPINDLE_0]I
setp   pid.s.Dgain     [SPINDLE_0]D
setp   pid.s.bias      [SPINDLE_0]BIAS
setp   pid.s.FF0       [SPINDLE_0]FF0
setp   pid.s.FF1       [SPINDLE_0]FF1
setp   pid.s.FF2       [SPINDLE_0]FF2
setp   pid.s.deadband  [SPINDLE_0]DEADBAND
setp   pid.s.maxoutput [SPINDLE_0]MAX_OUTPUT
setp   pid.s.error-previous-target true

net spindle-index-enable  <=> pid.s.index-enable
net spindle-enable        =>  pid.s.enable
net spindle-vel-cmd-rpm     => pid.s.command
net spindle-vel-fb-rpm      => pid.s.feedback
net spindle-output        <=  pid.s.output

# ---setup spindle control signals---

net spindle-vel-cmd-rps        <=  spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs    <=  spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm        <=  spindle.0.speed-out
net spindle-vel-cmd-rpm-abs    <=  spindle.0.speed-out-abs
net spindle-enable             <=  spindle.0.on
net spindle-cw                 <=  spindle.0.forward
net spindle-ccw                <=  spindle.0.reverse
net spindle-brake              <=  spindle.0.brake
net spindle-revs               =>  spindle.0.revs
net spindle-at-speed           =>  spindle.0.at-speed
net spindle-vel-fb-rps         =>  spindle.0.speed-in
net spindle-index-enable      <=>  spindle.0.index-enable

# ---Setup spindle at speed signals---

sets spindle-at-speed true


#******************************
# connect miscellaneous signals
#******************************

#  ---HALUI signals---

net axis-select-x  halui.axis.x.select
net jog-x-pos      halui.axis.x.plus
net jog-x-neg      halui.axis.x.minus
net jog-x-analog   halui.axis.x.analog
net x-is-homed     halui.joint.0.is-homed
net axis-select-z  halui.axis.z.select
net jog-z-pos      halui.axis.z.plus
net jog-z-neg      halui.axis.z.minus
net jog-z-analog   halui.axis.z.analog
net z-is-homed     halui.joint.1.is-homed
net jog-selected-pos      halui.axis.selected.plus
net jog-selected-neg      halui.axis.selected.minus
net spindle-manual-cw     halui.spindle.0.forward
net spindle-manual-ccw    halui.spindle.0.reverse
net spindle-manual-stop   halui.spindle.0.stop
net machine-is-on         halui.machine.is-on
net jog-speed             halui.axis.jog-speed
net MDI-mode              halui.mode.is-mdi

#  ---coolant signals---

net coolant-mist      <=  iocontrol.0.coolant-mist
net coolant-flood     <=  iocontrol.0.coolant-flood

#  ---probe signal---

net probe-in     =>  motion.probe-input

#  ---motion control signals---

net in-position               <=  motion.in-position
net machine-is-enabled        <=  motion.motion-enabled

#  ---digital in / out signals---

#  ---estop signals---

net estop-out     <=  iocontrol.0.user-enable-out
net estop-out     =>  iocontrol.0.emc-enable-in

#  ---manual tool change signals---

net tool-change-request    <= iocontrol.0.tool-change
net tool-change-confirmed  => iocontrol.0.tool-changed
net tool-number            <= iocontrol.0.tool-prep-number

#  ---ignore tool prepare requests---
net tool-prepare-loopback   iocontrol.0.tool-prepare      =>  iocontrol.0.tool-prepared


# Generated by PNCconf at Wed Aug  3 17:23:08 2022
# Using LinuxCNC version:  Master (2.9)
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

[EMC]
MACHINE = Emco_PC_50_Turn
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 2.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/samuel/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
LATHE = 1
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
CYCLE_TIME = 100

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

[HMOT]
CARD0=hm2_7i96.0

[HAL]
HALUI = halui
HALFILE = Emco_PC_50_Turn.hal
HALFILE = custom.hal
POSTGUI_HALFILE = gmoccapy_postgui.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal

[HALUI]

[KINS]
JOINTS = 2
KINEMATICS = trivkins coordinates=XZ

[TRAJ]
COORDINATES =  XZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 1.25
MAX_LINEAR_VELOCITY = 12.50

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#******************************************
[AXIS_X]
MAX_VELOCITY = 12.5
MAX_ACCELERATION = 750.0
MIN_LIMIT = -46.01
MAX_LIMIT = -0.99

[JOINT_0]
TYPE = LINEAR
HOME = -1.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 12.5
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 15.62
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 8000.0
MIN_LIMIT = -46.01
MAX_LIMIT = -0.99
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 8.333333
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#******************************************

#******************************************
[AXIS_Z]
MAX_VELOCITY = 12.5
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.01
MAX_LIMIT = 236.01

[JOINT_1]
TYPE = LINEAR
HOME = 41.5
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 12.5
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 15.62
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 20000
DIRHOLD    = 20000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 8000.0
MIN_LIMIT = -0.01
MAX_LIMIT = 236.01
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -8.333333
HOME_LATCH_VEL = -0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#******************************************

[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 2000.0
 
Last edit: 03 Aug 2022 14:51 by Samuelx.

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

More
03 Aug 2022 16:09 #248946 by Samuelx
Replied by Samuelx on topic 7i96s vfd control
I also tryed to use mecact tool.
Tool is working but when trying to start linuxcnc i got folowing error.
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/samuel/linuxcnc/configs/emco_pc_turn_50_mesact'
Machine configuration file is 'emco_pc_turn_50_mesact.ini'
INIFILE=/home/samuel/linuxcnc/configs/emco_pc_turn_50_mesact/emco_pc_turn_50_mesact.ini
VERSION=1.1
PARAMETER_FILE=emco_pc_turn_50_mesact.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XZ
KINEMATICS=trivkins coordinates=XZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: iov2
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./emco_pc_turn_50_mesact.hal
Shutting down and cleaning up LinuxCNC...
iov2: exiting
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:16:80:86
hm2_eth: Unrecognized ethernet board found: 7I96S -- port names will be wrong
hm2_eth: discovered 7I96S
hm2/hm2_7i96.0: Low Level init 0.15
hm2/hm2_7i96.0: Smart Serial Firmware Version 43
hm2/hm2_7i96.0: 51 I/O Pins used:
hm2/hm2_7i96.0:     IO Pin 000 (??-01): InM Input Module #0, pin in0 (Input)
hm2/hm2_7i96.0:     IO Pin 001 (??-14): InM Input Module #0, pin in1 (Input)
hm2/hm2_7i96.0:     IO Pin 002 (??-02): InM Input Module #0, pin in2 (Input)
hm2/hm2_7i96.0:     IO Pin 003 (??-15): InM Input Module #0, pin in3 (Input)
hm2/hm2_7i96.0:     IO Pin 004 (??-03): InM Input Module #0, pin in4 (Input)
hm2/hm2_7i96.0:     IO Pin 005 (??-16): InM Input Module #0, pin in5 (Input)
hm2/hm2_7i96.0:     IO Pin 006 (??-04): InM Input Module #0, pin in6 (Input)
hm2/hm2_7i96.0:     IO Pin 007 (??-17): InM Input Module #0, pin in7 (Input)
hm2/hm2_7i96.0:     IO Pin 008 (??-05): InM Input Module #0, pin in8 (Input)
hm2/hm2_7i96.0:     IO Pin 009 (??-06): InM Input Module #0, pin in9 (Input)
hm2/hm2_7i96.0:     IO Pin 010 (??-07): InM Input Module #0, pin in10 (Input)
hm2/hm2_7i96.0:     IO Pin 011 (??-08): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96.0:     IO Pin 012 (??-09): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96.0:     IO Pin 013 (??-10): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96.0:     IO Pin 014 (??-11): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96.0:     IO Pin 015 (??-12): OutM Output Module #0, pin Out-04 (Output)
hm2/hm2_7i96.0:     IO Pin 016 (??-13): OutM Output Module #0, pin Out-05 (Output)
hm2/hm2_7i96.0:     IO Pin 017 (??-01): StepGen #0, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 018 (??-14): StepGen #0, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 019 (??-02): StepGen #1, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 020 (??-15): StepGen #1, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 021 (??-03): StepGen #2, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 022 (??-16): StepGen #2, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 023 (??-04): StepGen #3, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 024 (??-17): StepGen #3, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 025 (??-05): StepGen #4, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 026 (??-06): StepGen #4, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 027 (??-07): Encoder #0, pin A (Input)
hm2/hm2_7i96.0:     IO Pin 028 (??-08): Encoder #0, pin B (Input)
hm2/hm2_7i96.0:     IO Pin 029 (??-09): Encoder #0, pin Index (Input)
hm2/hm2_7i96.0:     IO Pin 030 (??-10): IOPort
hm2/hm2_7i96.0:     IO Pin 031 (??-11): IOPort
hm2/hm2_7i96.0:     IO Pin 032 (??-12): IOPort
hm2/hm2_7i96.0:     IO Pin 033 (??-13): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96.0:     IO Pin 034 (??-01): IOPort
hm2/hm2_7i96.0:     IO Pin 035 (??-14): IOPort
hm2/hm2_7i96.0:     IO Pin 036 (??-02): IOPort
hm2/hm2_7i96.0:     IO Pin 037 (??-15): IOPort
hm2/hm2_7i96.0:     IO Pin 038 (??-03): IOPort
hm2/hm2_7i96.0:     IO Pin 039 (??-16): IOPort
hm2/hm2_7i96.0:     IO Pin 040 (??-04): IOPort
hm2/hm2_7i96.0:     IO Pin 041 (??-17): IOPort
hm2/hm2_7i96.0:     IO Pin 042 (??-05): IOPort
hm2/hm2_7i96.0:     IO Pin 043 (??-06): IOPort
hm2/hm2_7i96.0:     IO Pin 044 (??-07): IOPort
hm2/hm2_7i96.0:     IO Pin 045 (??-08): IOPort
hm2/hm2_7i96.0:     IO Pin 046 (??-09): IOPort
hm2/hm2_7i96.0:     IO Pin 047 (??-10): IOPort
hm2/hm2_7i96.0:     IO Pin 048 (??-11): IOPort
hm2/hm2_7i96.0:     IO Pin 049 (??-12): IOPort
hm2/hm2_7i96.0:     IO Pin 050 (??-13): IOPort
hm2/hm2_7i96.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./emco_pc_turn_50_mesact.hal:18: parameter or pin 'hm2_7i96s.0.watchdog.timeout_ns' not found
7479
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Wed Aug 3 07:02:48 PM EEST 2022
            UTC Date: Wed Aug 3 04:02:48 PM UTC 2022
        this program: /usr/bin/linuxcnc_info
              uptime: 19:02:48 up 35 min, 1 user, load average: 0,56, 0,59, 0,67
     lsb_release -sa: Linuxmint Linux Mint 21 21 vanessa
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/samuel/linuxcnc/configs/emco_pc_turn_50_mesact
                USER: samuel
             LOGNAME: samuel
                HOME: /home/samuel
              EDITOR: 
              VISUAL: 
            LANGUAGE: en_US
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0
             DESKTOP: mate
        display size: 1920x1080 pixels (508x285 millimeters)
                PATH: /usr/bin:/home/samuel/linuxcnc/configs/emco_pc_turn_50_mesact/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

uname items:
         nodename -n: samuel-OptiPlex-755
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Debian 5.18.5-1 (2022-06-16)
          machine -m: x86_64
        processor -p: x86_64
         platform -i: x86_64
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-5.18.0-2-rt-amd64 root=UUID=e11f68d1-151d-4191-b0d9-f85eba8fe23a ro quiet splash isolcpus=1
          model name: Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz
               cores: 1
             cpu MHz: 3325.229
             parport: 0000-0000 : parport0 0000-0000 : parport0
              serial: 0000-0000 : serial 0000-0000 : serial

Versions:
                 gcc: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
              python: Python 3.10.4
                 git: git version 2.34.1
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.0~pre0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version                             Architecture Description
+++-===============-===================================-============-=============================================
un  linuxcnc        <none>                              <none>       (no description available)
un  linuxcnc-doc    <none>                              <none>       (no description available)
un  linuxcnc-doc-en <none>                              <none>       (no description available)
un  linuxcnc-sim    <none>                              <none>       (no description available)
ii  linuxcnc-uspace 2.9.0~pre0+git20220402.2500863908-4 amd64        motion controller for CNC machines and robots

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

More
03 Aug 2022 16:29 - 03 Aug 2022 16:45 #248948 by PCW
Replied by PCW on topic 7i96s vfd control
Looks like an old copy of LinuxCNC 2.9 (before 7I96S support was added ~April this year)
Last edit: 03 Aug 2022 16:45 by PCW.

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

More
03 Aug 2022 18:35 - 03 Aug 2022 18:37 #248958 by Samuelx
Replied by Samuelx on topic 7i96s vfd control
Where  can i find the newest version?
And the next question is how to update :D

I am sorry about all the questions, I promise that after a year, I will be helping beginers here also.

 
Last edit: 03 Aug 2022 18:37 by Samuelx.

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

More
03 Aug 2022 19:09 #248961 by PCW
Replied by PCW on topic 7i96s vfd control
How did you install 2.9?

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

More
03 Aug 2022 19:14 - 03 Aug 2022 19:16 #248962 by Samuelx
Last edit: 03 Aug 2022 19:16 by Samuelx.

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

More
03 Aug 2022 19:31 - 03 Aug 2022 19:33 #248963 by PCW
Replied by PCW on topic 7i96s vfd control
Wow that's a bit unfortunate... the Debian deb is from April 6 and the 7I96S support was added April 7...

I suspect the easiest way to install it is to get the latest LinuxCNC buildbot deb
Last edit: 03 Aug 2022 19:33 by PCW.

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

Time to create page: 0.110 seconds
Powered by Kunena Forum