Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
Yesterday 16:52

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

You can choose between free-run and DC-sync (and SM-sync but noone uses that).
But you are not set up for any of that at the moment.
Let's start with free-run
Add this to eeprom-generator
 
The 000 is the one I have in mind, but have both of them in there.
Save all, burn eeprom, compile and upload firmware in the usual way.
In ethercat-conf.xml leave out the <dcConf ... > statement for the slave. That makes it use free-run mode.
It should now work in free run mode. 
 
  • Hakan
  • Hakan
Yesterday 16:42 - Yesterday 16:43
Replied by Hakan on topic Unsupported access to an object

Unsupported access to an object

Category: EtherCAT

From the ethercat docs it looks like i should work. However I always use this syntax
ethercat -p 2 download 0x607c 0 0.
Actually what I always do first is to see which values the sdo has
ethercat -p 2 upload 0x607c 0
0x00000000 0
And then do the download.
ethercat -p 2 download 0x607c 0 1
to set it to 1.
  • Sekai
  • Sekai
Yesterday 16:11 - Yesterday 16:22

Advantech PCM 9362 freze when opening latency-test

Category: Computers and Hardware

Yeah wifi can be an issue sometimes.
It might be worth looking into some of the services that maybe running not is not required for a cnc machine, CUPS is one for example.  


With this configuration i will leave like this.
The next issue is i have a 12 inch touchscreen monitor 1024x768 resolution but the touch does not work.
I have another 22 inch touchscreen monitor and it works perfect.
I verify the xinput list and it register the touchscreen as Holtek touch.
I tried to enable the touchscreen with xinput enable 8 (device 8 as the touchscreen) but nothing works.


 
  • nanowhat
  • nanowhat
Yesterday 16:01
Unsupported access to an object was created by nanowhat

Unsupported access to an object

Category: EtherCAT

I'm trying to change a drive's home offset via SDO (can't be done via PDO). Executing the command 'ethercat download -p2 -t int32 0x607C 0' returns "SDO transfer aborted with code 0x06010000: unsupported access to an object"

Obviously it doesn't work. Why doesn't it work?

Everything I've found online simply parrots the failure code and doesn't say why.
  • DemonClaW
  • DemonClaW
Yesterday 14:55
Replied by DemonClaW on topic No linuxcnc widgets in designer

No linuxcnc widgets in designer

Category: Qtvcp

I have the installed version of linuxcnc on the 2.9.7 version, ive tryed to follow the orders of previes posts but they are to old and much of the links dont work anymore, if i run it from terminal the only output i get is that the plugins for LED, Buttons etc. is missing
  • vibram
  • vibram
Yesterday 14:51 - Yesterday 14:59

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

well done its working !
I need the distributed clocks working if i want it to be compatible with LinuxCNC ?
  • Hakan
  • Hakan
Yesterday 14:34 - Yesterday 14:37

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

I saw that one, that was a new one to me.
How about not solving it, and instead go around it?
Add a PDO say scale as rxpdo? I mean anything useful, you don't need to do anything with it, just a place holder.
Then you don't need that declaration in main.cpp.
I have always had rxpdos so had not encountered that before.
I can try to see what's going on in the code a bit later.

Meister, I think it is how you go from the comfort zone with Twincat to the deep waters in linux.
I read and write eeprom with "ethercat sii_read" and "ethercat sii_write", the EEPROM_generator
gives me directly the eeprom to download in bin format. The tool you refer to can be used
to take an arbitrary xml file and turn into eeprom format for downloading. It's very useful,
one of the tools to keep in the toolchest.
  • cmorley
  • cmorley
Yesterday 13:58
Replied by cmorley on topic No linuxcnc widgets in designer

No linuxcnc widgets in designer

Category: Qtvcp

What version of linuxcnc are you using?
Is it an installed version or a run in place version?
What specifically have you tried?
If you run qtdrasigner from a terminal, what does it print?
  • dfarnainekl
  • dfarnainekl
Yesterday 12:12
Replied by dfarnainekl on topic Can't get EL4001 to work - all other devices work

Can't get EL4001 to work - all other devices work

Category: EtherCAT

Thanks Hakan for the inputs.
After not finding any obvious issues using your suggestion, I did what I should have done in the first place and used TwinCAT to test the terminal.
And as it turns out, the terminal seems to be the issue despite being sold as working, I can't get it to output anything with TwinCAT either.
So I will get a new one and try again.
  • vibram
  • vibram
Yesterday 11:24 - Yesterday 11:25

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

Hello,
I updated the GIT.
I managed to flash my eeprom correctly however with the current I-m stuck in with this compilation issue:
ecat_slv.c.text.RXPDO_update+0x1c): undefined reference to `rxpdo'

I just cleaned the cb_get_inputs(void) and cb_set_outputs(void) compared to the working code and put my eeprom file in folder soes-esi

In order to compile i can add this in main.cpp

[code]// Definition of rxpdo needed when MAX_MAPPINGS_SM2 is 0
uint8_t rxpdo_buffer[512];
uint8_t *rxpdo = rxpdo_buffer;

but if i do so, I-m stuck in ERR PREOP step
[/code]
  • meister
  • meister
Yesterday 09:34

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

A little tip for non-Windows users: you don't need TwinCat to read, write, edit or convert .bin/.xml esi files.

github.com/multigcs/esitool
  • vibram
  • vibram
Yesterday 09:20

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

Hello
Thank you for pushing me :)

I took back your project and build with the SPI2, flash you r eeprom and it worked well, im in OP mode in free run.

As I'm a beginner, my goal is to have a working base (basically yours...) and edit in order to adapt my needs.
Now I have the SPI working well, I will try to integrate my encoder from thise base
  • DEVILHUNTER
  • DEVILHUNTER
Yesterday 08:23
Replied by DEVILHUNTER on topic MESA 7I76 / 7i76e Model

MESA 7I76 / 7i76e Model

Category: Show Your Stuff

Apologies for reviving this old topic but found a mistake on the diagram that may generate a lot of frustation to anyone trying to use it.

Pin AI3 is missing, so all other digital input pins from so on are displaced 1 position.

Unfortunatelly even if moderators delete the link in both  #98901  and  #112565  on the forum, the diagram is still appearing as one of the first searchs on search engines. Not sure if OP has a way to change the picture on his cloudfront account.
 
  • unknown
  • unknown
Yesterday 07:50

Advantech PCM 9362 freze when opening latency-test

Category: Computers and Hardware

Yeah wifi can be an issue sometimes.
It might be worth looking into some of the services that maybe running not is not required for a cnc machine, CUPS is one for example.
  • Sekai
  • Sekai
Yesterday 07:29 - Yesterday 07:42

Advantech PCM 9362 freze when opening latency-test

Category: Computers and Hardware

I disable hyperthreading and now it show max 16us and it never froze.
Edit: btw i think i know why it froze.
I had a wifi card put in but now i remove it.
And the latency is better without it.
Displaying 31 - 45 out of 21772 results.
Time to create page: 0.313 seconds
Powered by Kunena Forum