Advanced Search

Search Results (Searched for: )

  • tar_san
  • tar_san
Today 06:25

EtherCAT master xml file for Yaskawa Sigma Servo motor?

Category: EtherCAT

I'm trying to use Yaskawa sigma servo(EtherCAT) for LinuxCNC.

But my trial does not work.
I get Alarm A12 (EtherCAT Output Syncronization Error)

Does anyone know good example master settings ?

my trial 

ini
loadusr -W lcec_conf ethercat-conf.xml

ethercat-conf.xml

<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">

    <slave idx="0" type="generic" vid="00000539" pid="02200901" configPdos="true">
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>     

      <sdoConfig idx="2701" subIdx="02" ><sdoDataRaw data="00 00 00 04" /></sdoConfig> 


<< ERROR.
LCEC: slave 0.0: Failed to execute SDO download( 0x2701:0x02, size4, bite0=0, error -5, abort_code 00000000)

...


 
  • newbynobi
  • newbynobi's Avatar
Today 06:00
Replied by newbynobi on topic Linuxcnc 2.9.x and Glade GTK3 display issue

Linuxcnc 2.9.x and Glade GTK3 display issue

Category: Gmoccapy

Please start linuxcnc from the command line and check the output there. 
You will see there the error that does stop your panel to be embedded.

Norbert
  • kello711
  • kello711's Avatar
Yesterday 03:28
Replied by kello711 on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

7I96S    CL57
+5V     PUL+
STEP-   PUL-
+5V     DIR+
DIR-     DIR-

SW3 Set for 5V mode

The ENA, ALM and BRK can be left unconnected

I have a similar setup I'm building. If I wanted to use the ENA and ALM as well as STEP/DIR, which position should the S3 switch be in 5V or 24V? I know the 7i96S provides 5V power for STEP/DIR but my field power is 24V. Can I do this or would I need to provide a separate 5V power source for my ENA/ALM signals?
  • tommylight
  • tommylight's Avatar
Yesterday 02:35
Replied by tommylight on topic Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Category: Driver Boards

Is the "unplug and plug" thing correct, meaning is it the same pinout for SSerial on 7i96S and 7i85?
Sorry if i messed that up, i never used a 7i85, yet, it was just an educated guess from experience with Mesa boards and very consistent pinout.
  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar
Yesterday 02:19

Pico Universal PWM Won't boot Random pins not working

Category: Driver Boards

So I have not used my RB1-CNC machine for a while. I tried starting it up today and I am getting errors on load that have to do with not being able to find pins on the Pico Systems Universal PWM board. Sometimes it won't find the board at all other times it won't find an generic IO pin other times it won't find an encoder pin.

This was working then I had to reconfigure from 2.7 to 2.8 and got it working again and now after setting for around a year I can't get it to load into linuxcnc unless I comment out of the hal files that tie to the pins on the UPWM board.

Here is one of the error outputs.
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.8.4-1-gb7824717b
Machine configuration directory is '/home/jim/linuxcnc/configs/RB1-CNC_Gmoccapy_DEV_1_10'
Machine configuration file is 'RB1-CNC_Gmoccapy.ini'
INIFILE=/home/jim/linuxcnc/configs/RB1-CNC_Gmoccapy_DEV_1_10/RB1-CNC_Gmoccapy.ini
VERSION=1.1
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./univpwm_load.hal
Found file(REL): ./univpwm_servo.hal
Found file(REL): ./univpwm_io.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
PPMC: bus 0 epp_dir = 0
PPMC: bus 1 epp_dir = 0
PPMC: bus 2 epp_dir = 0
PPMC: checking EPP bus 0 at port 0378
PPMC: slot 0: ID code: 08 PPMC: Check Parallel Port connection.
read cache bitmap: 00000000
write cache bitmap: 00000000
PPMC: slot 1: ID code: 10 PPMC encoder card 1
PPMC: exporting encoder pins / params
read cache bitmap: 00001fff
write cache bitmap: 00002000
PPMC: slot 2: ID code: 28 PPMC DAC card
PPMC:  exporting PPMC DAC
read cache bitmap: 00000000
write cache bitmap: 000000ff
PPMC: slot 3: ID code: 21 PPMC DAC card
PPMC:  exporting PPMC DAC
read cache bitmap: 00000000
write cache bitmap: 000000ff
PPMC: slot 4: nothing detected at addr 4 reads 4f
PPMC: slot 5: nothing detected at addr 5 reads 5f
PPMC: slot 6: nothing detected at addr 6 reads 6f
PPMC: slot 7: nothing detected at addr 7 reads 7f
PPMC: slot 8: nothing detected at addr 8 reads 8f
PPMC: slot 9: nothing detected at addr 9 reads 9f
PPMC: slot 10: nothing detected at addr a reads af
PPMC: slot 11: nothing detected at addr b reads bf
PPMC: slot 12: nothing detected at addr c reads cf
PPMC: slot 13: nothing detected at addr d reads 5f
PPMC: slot 14: nothing detected at addr e reads ef
PPMC: slot 15: nothing detected at addr f reads ff
PPMC: bus 0 complete
./univpwm_io.hal:14: Pin 'ppmc.0.din.04.in' does not exist
1199
Stopping realtime threads
Unloading hal components
PPMC: shutting down
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: Thu 18 Dec 2025 08:12:47 PM CST
            UTC Date: Fri 19 Dec 2025 02:12:47 AM UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 20:12:47 up 1 min, 1 user, load average: 0.98, 0.53, 0.20
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/jim/linuxcnc/configs/RB1-CNC_Gmoccapy_DEV_1_10
                USER: jim
             LOGNAME: jim
                HOME: /home/jim
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1600x900 pixels (423x238 millimeters)
                PATH: /usr/bin:/home/jim/linuxcnc/configs/RB1-CNC_Gmoccapy_DEV_1_10/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: RB1CNC
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.249-2 (2022-06-30)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-21-rt-amd64 root=UUID=43e45ba2-b737-4e61-84e3-76e380b282e4 ro quiet
          model name: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
               cores: 4
             cpu MHz: 1191.600
             parport: 0000-0000 : parport0 0000-0000 : parport0
              serial: 0000-0000 : serial 0000-0000 : serial

Versions:
                 gcc: gcc (Debian 8.3.0-6) 8.3.0
              python: Python 2.7.16
                 git: not_in_PATH
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.4-1-gb7824717b
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /etc/init.d/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib

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-dev        <none>               <none>       (no description available)
un  linuxcnc-doc        <none>               <none>       (no description available)
ii  linuxcnc-doc-en     1:2.8.4.1.gb7824717b all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.8.4.1.gb7824717b all          controlador de movimiento para máquinas CNC y robots (Español).
ii  linuxcnc-doc-fr     1:2.8.4.1.gb7824717b all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <none>               <none>       (no description available)
un  linuxcnc-sim-dev    <none>               <none>       (no description available)
ii  linuxcnc-uspace     1:2.8.4.1.gb7824717b amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.4.1.gb7824717b amd64        PC based motion controller for real-time Linux
  • PCW
  • PCW's Avatar
Yesterday 01:18

Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Category: Driver Boards

tommylights suggestion is on the right track,
Modbus needs RS-485 and the 7I85 serial interfaces
are RS-422 only (no TXEN).
  • tommylight
  • tommylight's Avatar
Yesterday 00:30
Replied by tommylight on topic Black Friday Sale!!

Black Friday Sale!!

Category: User Exchange

Did you get any reasonable offer?
  • tommylight
  • tommylight's Avatar
Yesterday 00:26
Replied by tommylight on topic Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Category: Driver Boards

What if you connect the 7i84 to the 7i85 and use the 7i96S SSerial for PktUART ?
Just an idea as wiring the 7i84 to 7i85 works without any setup and requires simple unplug from 7i96S and plug to 7i85, but also editing the hal to change the SSerial card channel.
  • Muzzer
  • Muzzer
Yesterday 22:12

Updating from LINUXCNC - 2.8.4-23, Mint 20.3 - gmoccapy lathe structure

Category: Gmoccapy

Anyway, back to the problem in hand. When I run my installation, I'm getting a lot of missing content in the "cycles" tab:
 

And the command line errors currently look like the contents in the attached text file.
 

File Attachment:

File Name: gmoccapy_errors.txt
File Size:3 KB

It looks as if there is something seriously wrong in the Gtk / python / gladevcp bit. Could somebody suggest how I might troubleshoot / resolve these errors?
LinuxCNC seems to run OK but the macros are still not showing up. Many thanks.
  • mmt
  • mmt
Yesterday 20:53

Linuxcnc 2.9.x and Glade GTK3 display issue

Category: Gmoccapy

Just upgraded to 2.9.x from 2.7.x i am in the process of recreating my glade window with gtk3. All worked good in 2.7.x and gtk2 but now with 2.9.x and gtk3 this code below in my ini file deletes the the box_vel_info but does not start the motion_control_test.ui
not sure what is going on. help is appreciated

EMBED_TAB_NAME = MOTION CONTROL
EMBED_TAB_LOCATION = box_vel_info
EMBED_TAB_COMMAND = gladevcp -x {XID} motion_control_test.ui
  • scotta
  • scotta's Avatar
Yesterday 19:52

Remora 1.1.0 + BTT Octopus – jog overshoot and joint following error

Category: Computers and Hardware

Hi, remora-1.1.0 is now over 4 years old. Please try the main branch which will give you the latest remora-spi component.

That's a very slow SPI frequency and is probably taking longer than a servo thread to send the full packet, hence the lag.

I'd suggest working on your noise issue to improve it as much as possible so that you can increase the SPI frequency. An occasional "bad SPI payload" is not a show stopper.
  • Pinaz993
  • Pinaz993
Yesterday 18:22 - Yesterday 18:23

Usable Interface for CNC Turntable on Manual Mill

Category: Other User Interfaces

Wow! Lots of replies that I was hoping to receive an email about. >.> 

I'll admit, Arduino would absolutely be a better platform for this, considering the timing overhead of running the entire Linux kernal for the sake of a single stepper motor. That being said, (and at the risk of falling prey to sunk cost) I'd really like to use this as a jumping off point to using LinuxCNC for other stuff down the line. Also, I've got the Pi in hand, whereas I'll have to order an Uno clone to pivot on hardware. 

I'm also hoping to make the solution a black box that presents a web interface advertised to `turntable.local`, so that my uncle can control the thing from any device on the LAN. I'm pivoting from using the desktop interface because he's hoping to use a tablet to control the turntable. (Personally I think a touchscreen would be KISS, but I'm not going to argue with the 'customer'.)

Or enter G0 X-40 in the MDI for it to go to -40 degrees.

G0, huh? I think that might be my ticket in under the hood, assuming I can get the HAL config all figured out. I'm going to give that a go before I make another topic asking for help adapting a `STEPCONF` output.
  • Pinaz993
  • Pinaz993
Yesterday 18:12
Replied by Pinaz993 on topic User name rpi-first-boot-wizard

User name rpi-first-boot-wizard

Category: Installing LinuxCNC

Can confirm: Rob fixed two issues that I had with the images before I even reported them. Don't be like me, folks, check to make sure the issue is still an issue in the latest image BEFORE you report it.
  • DerKlotz
  • DerKlotz
Yesterday 16:21
Replied by DerKlotz on topic Error finishing read! Mesa 7i76e

Error finishing read! Mesa 7i76e

Category: Driver Boards

Itś all good now. Thanks
  • tommylight
  • tommylight's Avatar
Yesterday 15:38
Replied by tommylight on topic Error finishing read! Mesa 7i76e

Error finishing read! Mesa 7i76e

Category: Driver Boards

1. USB-LAN adapters should not be used on production machines, USB has inherent latency issues
2. from your explanation it seems like interference issues, so is the machine and PC properly grounded?
Displaying 1 - 15 out of 280897 results.
Time to create page: 1.777 seconds
Powered by Kunena Forum