Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
Today 08:18
Replied by Hakan on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

It is obviously a cia402 drive.
Download and install the cia402 component.
See an example config here
github.com/dbraun1981/hal-cia402
  • H-S-W
  • H-S-W
Today 08:13 - Today 08:21

Mesa CT 2.1.7 and Mesa 7I97T setup running Gmoccapy

Category: Configuration Tools

Hi! Beginner here doing a linuxcnc conversion on an Maho MH500 using a 7I97T and a Rpi5. Running Linuxcnc 2.10, Gmoccapy 3.4.9 and Mesa CT 2.1.7.

Connecting 7I97T "Output 0" to "E-stop Out" in the Mesa CT seems to connect "hm2_7i97.0.ssr.00.out-00 <== estop-loopback". I also have a external E-stop connected which seems to behave as predicted, when pressed Gmoccapy E-stop responds and is unable to release until the external has been. 

looking at the estop-loopback in halshow i can never get it to change state..? shouldn't it as soon as i've released the E-Stop in Gmoccapy?


INI
[MESA]
VERSION = 2.1.7
BOARD = 7i97
BOARD_NAME = 7i97t
FIRMWARE = 7i97t_d.bin
CARD_0 = None
CARD_1 = None

[EMC]
VERSION = 1.1
MACHINE = FIRST_SETUP
DEBUG = 0x00000000

[HM2]
DRIVER = hm2_eth
ADDRESS = 10.10.10.10

[DISPLAY]
DISPLAY = gmoccapy
EDITOR = geany
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
POSITION_OFFSET = MACHINE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
MIN_LINEAR_VELOCITY = 0.0
DEFAULT_LINEAR_VELOCITY = 2.0
MAX_LINEAR_VELOCITY = 5.0
CYCLE_TIME = 0.1
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 0
OPEN_FILE = ""

[KINS]
KINEMATICS = trivkins coordinates=XYZ
JOINTS = 3

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

[RS274NGC]
PARAMETER_FILE = parameters.var
SUBROUTINE_PATH = /home/cnc/linuxcnc/subroutines

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

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
MAX_LINEAR_VELOCITY = 33.0
NO_FORCE_HOMING = 1

[HAL]
HALFILE = main.hal
HALFILE = io.hal
HALUI = halui

[HALUI]

[AXIS_X]
MIN_LIMIT = 0
MAX_LIMIT = 490
MAX_VELOCITY = 66
MAX_ACCELERATION = 75

[JOINT_0]
CARD = 0
TAB = 0
AXIS = X
MIN_LIMIT = 0
MAX_LIMIT = 490
MAX_VELOCITY = 66
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = -1
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = -2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = -8
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 0
HOME_USE_INDEX = True

[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = 335
MAX_VELOCITY = 66
MAX_ACCELERATION = 75

[JOINT_1]
CARD = 0
TAB = 1
AXIS = Y
MIN_LIMIT = 0
MAX_LIMIT = 335
MAX_VELOCITY = 66
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = 1
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = 2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = -8
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 1
HOME_USE_INDEX = True

[AXIS_Z]
MIN_LIMIT = -320
MAX_LIMIT = 0
MAX_VELOCITY = 33
MAX_ACCELERATION = 75

[JOINT_2]
CARD = 0
TAB = 2
AXIS = Z
MIN_LIMIT = -320
MAX_LIMIT = 0
MAX_VELOCITY = 33
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = 0.5
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = 2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = 6
HOME_LATCH_VEL = 1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 2
HOME_USE_INDEX = True

[INPUTS]
# DO NOT change the inputs they are used by the configuration tool
INPUT_0_0 = E Stop 0
INPUT_INVERT_0_0 = False
INPUT_SLOW_0_0 = False

[OUTPUTS]
# DO NOT change the outputs they are used by the configuration tool
OUTPUT_0_1 = Spindle CW
OUTPUT_INVERT_0_1 = False
OUTPUT_0_2 = Spindle CCW
OUTPUT_INVERT_0_2 = False
OUTPUT_0_3 = Coolant Flood
OUTPUT_INVERT_0_3 = False
OUTPUT_0_4 = Tool Change
OUTPUT_INVERT_0_4 = False
OUTPUT_0_0 = E-Stop Out
OUTPUT_INVERT_0_0 = False

[OPTIONS]
# DO NOT change the options they are used by the configuration tool
LOAD_CONFIG = True
INTRO_GRAPHIC = emc2.gif
INTRO_GRAPHIC_TIME = 0
MANUAL_TOOL_CHANGE = True
CUSTOM_HAL = False
POST_GUI_HAL = False
SHUTDOWN_HAL = False

io.hal
[code]# Inputs

# E-Stop Chain
loadrt estop_latch count=1
addf estop-latch.0 servo-thread

# E-Stop Loop
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-loopout estop-latch.0.ok-out => iocontrol.0.emc-enable-in

# E-Stop Reset
net estop-reset iocontrol.0.user-request-enable
net estop-reset => estop-latch.0.reset
net remote-estop0 estop-latch.0.fault-in <= hm2_7i97.0.inmux.00.input-00

# Outputs
net estop-loopback => hm2_7i97.0.ssr.00.out-00
net spindle-cw spindle.0.forward => hm2_7i97.0.ssr.00.out-01
net spindle-ccw spindle.0.reverse => hm2_7i97.0.ssr.00.out-02
net flood-output iocontrol.0.coolant-flood => hm2_7i97.0.ssr.00.out-03


/Hampus



 
[/code]
  • fletch
  • fletch's Avatar
Today 08:05

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Thank you very much for your replies. I did read all of this thread (all 7 pages!) but didn't quite make the connection that the linux-headers would be named differently for rpi. I've used the 'sudo apt install linux-headers-$(uname -r)' a fair few times in the past but it's the first time I've noticed a mismatch between uname and the installed headers. Every day is a learning opportunity - even with a Bank Holiday brain.

I also did try just plugging the dongle in but according to this the drivers are not merged into the kernel until 6.13. The WiFi in my workshop is pretty weak - my NUC with two antennas struggles to with signal from the AP - I suspect the foil faced insulation board is creating a bit of a Faraday cage. And it's the ISP supplied router/AP at that end.

Once I'd 'discovered' the headers were already installed, I did the Basic Installation for All Distros and success!

For anyone else following along, the RTL8811AU chipset requires the rtw_8821au driver to be loaded (modprobe'd) as per this issue .

Thanks again, much appreciated.
 
  • emresensoy
  • emresensoy
Today 08:01
Replied by emresensoy on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

I have similiar problem with this,
My configuraton has 1 VEICHI sd700 servo drive and 1 8I 8O digital IO card,
IO card working no problem,
Servo drive's encoder position is also working, I can see the encoder pos value changes  when control is not enabled and I turn the motor by myself
But when I enable machine, servo drive not goes to enable state,

could you please help to me?
  • jjdege
  • jjdege's Avatar
Today 06:48 - Today 06:51

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thank you
it's not a configuration problem
I tried the procedure you described, but nothing changes

 

XYB works, ZC dir doesn't work, A doesn't work
it's a hardware problem.
Thanks
  • besriworld
  • besriworld
Today 06:22
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

It seems that the two problems are related. I just have to try another gui
  • Aciera
  • Aciera's Avatar
Today 06:18

36 MESA boards new and used Auction ending 4/19

Category: User Exchange

The boards seem to have been sold now.
  • rodw
  • rodw's Avatar
Today 05:13
Replied by rodw on topic amplifier fault troubleshooting

amplifier fault troubleshooting

Category: Driver Boards

This:

net plasmac:breakaway joint.0.amp-fault-in <= hm2_7i97.0.inmux.00.input-04-not

Looks like the only thing that can generate a amplifier fault

Why would you connect the torch breakaway switch to an amplifier fault? That is wrong
  • rodw
  • rodw's Avatar
Today 05:08

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Looks like the path in your ini file  to your Ethercat xml file is wrong
  • Soccer Kid
  • Soccer Kid's Avatar
Yesterday 03:17 - Yesterday 03:19

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Personally, I think compiling through source code will have a much better effect. Usually, different environments lead to very poor compilation results...
  • Soccer Kid
  • Soccer Kid's Avatar
Yesterday 03:06
Replied by Soccer Kid on topic .xml generic drivers not working?

.xml generic drivers not working?

Category: EtherCAT

Thank you very much for your answer. After repeated tests, I found that this BUG occurs on a specific machine. I have two identical machines at hand. One machine will never have this problem no matter what, while the other machine always has it. After this, I updated to 1.25.1 and this problem was solved!

Cheers! scottlaird!!!
  • RushA
  • RushA
Yesterday 02:39
  • PCW
  • PCW's Avatar
Yesterday 02:38 - Yesterday 02:39
Replied by PCW on topic amplifier fault troubleshooting

amplifier fault troubleshooting

Category: Driver Boards

The 7I97T is likely repairable if only the encoder interface chip(s) are damaged.

You might check if any encoder inputs work.
  • bentiggin
  • bentiggin
Yesterday 01:30
Replied by bentiggin on topic amplifier fault troubleshooting

amplifier fault troubleshooting

Category: Driver Boards

Ah, thanks for setting me straight.
Since I'm getting encoder signals to the 7i97t, but it's not getting that signal to linuxcnc, than I assume that the high frequency start somehow damaged it.
  • PCW
  • PCW's Avatar
Yesterday 22:44
Replied by PCW on topic amplifier fault troubleshooting

amplifier fault troubleshooting

Category: Driver Boards

if you measure across A+ , A- you should get alternating polarities like your +3.5V, -3.5V

If you measure A+, A- relative to ground they should be close to ground in one state
and > 2.4V in the other.
Displaying 1 - 15 out of 26686 results.
Time to create page: 0.239 seconds
Powered by Kunena Forum