Jump to content
OMRON Forums

tecnico

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by tecnico

  1. If I want to declare an array of bytes in contiguous memory area, what should the the syntax like? Tried this but I get a "sparse" array of bytes and this makes it impossible to reconstruct words and double words from a byte-only process image i get: appoIn(0),10->u.user:100.0.8+ appoIn(0),10-> M8192->u.user:$64.0.8 M8193->u.user:$68.0.8 M8194->u.user:$6c.0.8 M8195->u.user:$70.0.8 M8196->u.user:$74.0.8 M8197->u.user:$78.0.8 M8198->u.user:$7c.0.8 M8199->u.user:$80.0.8 M8200->u.user:$84.0.8 M8201->u.user:$88.0.8 I would like to have m8192->u.user:$64.0.8 m8192->u.user:$64.8.8 and so on
  2. to avoid further confusion here are the actual error codes I got from Brad /* 0x0001000a: Got no response on a sent Ethernet frame */ /* 0x0001000b: Got no or unexpected response on a sent ecat init command from slave */ /* 0x0001000c: Got no response on a sent ecat master init command */ /* 0x0001000e: Timeout when waiting for mailbox init command response */ /* 0x0001000f: Not all slave devices are in operational state when receiving cyclic frames */ In my case the error 1000F could have been a bit misleading because the root cause was not cabling but rather a IO slave not liking inductive kickback from a mistakenly unfiltered 24V power relay
  3. I have been talking to Hilscher technical support and, as I was afraid of, only bytes are available in the process image. The only way to get the data properly formatted is to have a PLC / C function copying the process image to a memory area (like user memory) and then configure pointers with the correct size.
  4. I have a similar issue with a slightly different error $1000F that should be read $9811000F This happens and sends my 1S drives in safeop (err 83.03) Can't understand what does thies mean tough... System is a CK3E running @2kHz, fw was 2.7.0.0 now upgraded to 2.7.1.0
  5. Hilscher NT 151XX ECS V4.2.X.xml Tried searching for "fixed" in the XML but could not find any string. Looking at other ESI files in comparison it appears that it's not a "fixed" type problem but rather that only "byte" data is defined inside the XML file. When I try to edit I just have the possibility to change the name of the entry but not the data size. If nothing comes from Hilscher then I am afraid the only way is to mirror the exchanged tata in a user memory area and then access it as desired with suitable pointers. Not exactly elegant...
  6. This is exactly what I want to avoid if possible. Let's see what Hilscher has to say
  7. HLS_RTA_mapping.xml This is the exported mapping. Don't know enough to understand if it's correct or not
  8. of course ENI file is not the correct type but I tried all the export possibilities I can also export a gateway mapping but IDE does not like it as well
  9. That's exactly what happens. The IDE reports that the ESI is invalid and can't be added. Tried all the export possibilities to no avail For example if I export Ethercat ENI I get this message
  10. Hi all, I am trying to configure a Hilscher NT151 (Ecat slave to Ecat master) to split a previously single ethercat network. While doing some tests, I succeed in almost all taks, the networks operate correctly but I am not able to properly configure the PDOs on the PMAC side. While on the Hislcher side I have a correctly structured process image, on the PMAC side I just have a byte array (and can't even edit the data type to match the secondary mapping) On the Sycon.net software I can export different config files, but none of them is accepted by the IDE (as done with ESD ECX-EC where the configurator generates an ESI file that is imported with the ESI manager in the IDE) What am I missing here? Thanks Andrea
  11. you can also copy the value into a ptr that is mapped in the user memory as signed 16bit integer -> i.user:xx.0.16
  12. I am resurrecting this old thread because I found out that Copley drives can accept also 2-phase PWM signals when PMAC is doing the commutation. This way they work pretty mush as a sinewave commutated drive using PWM signals instead of 2-phase analog, but I'm having a hard time finding how to configure ACC24E3 to correctly output the 2 PWM signals. I'm pretty sure this works with ACC24E3 (digital) but was wondering if we could use PULSE and DIR signals present on all ACC24E3 flavors with quadrature encoder since I am already using this kind of board (ACC24E3A)
  13. Hi, I got the very same problem with a Sick ECAT gateway that used IObuffer structure This is the answer from Brad @ DTCH that saved my day (and maybe yours) The file EcatConfig.cfg which is inside the configuration folder of the project contains the correct settings. When you build and download this file is also sent to the Pmac and pmac is properly configured. Ecat[].IO[].Data structures are not part of the saved data. So even if you save these values will not be put into pp_save.cfg. At $$$ it seems that EcatConfig.cfg is not loaded to the Pmac and the data is not in pp_save.cfg either. So all the offsets to the Ecat[].IOBuffer seem to get lost. I am surprised anything was working in the IOBuffer after this. As a quick test and hopefully fix I suggest you try the following. And a new .pmh file to the project. Copy the contents of EcatConfig.cfg into this new file. Now download and save and reset and verify the settings are correct and then hopefully it will also work. Hope this will help Andrea
  14. After more than one month the issue has been figured out. The Acontis stack had to be modified to tolerate a missing configuration in the ESC (register 0x410 was not implemented) This, along with a modified EEPROM from Kollmorgen to fix some wrong mailbox settings, allowed to have a working ethercat network
  15. After some further investigation with the help of DTCH we narrowed the problem - that is not solved yet - Here is what I get with "system dmesg" from IDE terminal [ 1093.097868] tEcJobTask[1757]: segfault at 4 ip 0807e024 sp aa5230f0 error 4 in EcMasterDemo[8048000+118000] So there is something coming from MKD causing a segmentation fault in the master module
  16. According to the tests performed together with Brad @ODT CH there could be some EEPROM issues causing the master to shut down at the very first scan after a ecat reset (or first power on). With a workaround (i.e. connecting the MKD after succesfully enabling the network with a reduced set of lasves) it is possible to scan the network and even to enable it, but at the next power on the original problem remains.
  17. Hi all, I have a very weird issue with Ethercat. We moved from a bunch of AKD drives with shared DC bus to the multi-axis MKD from Kollmorgen. On the cabinet side it was a great improvement, minimizing all the power connections. What I did not know is that the MKD behaves differently on the network and seems to shut down the Acontis master (on NYB2C-31PK1, but with ARM CPU is the same). Upon a ecat reset command I can see the slaves (8 to 16 in my configuration) being detected while the communication leds are still flickering, but after that Masterstate has value zero. Below the terminal reply with commencts between << >> >>>>>>>>>>>>> all slaves connected >>>>>>>>>>>>< ecat slaves ecat reset Starting ACONTIS communication Restarting ACONTIS stack Licenses granted by /opt/etherlab/etc/sysconfig/.ethercat: 64 Ecat Type: 1; ECAT License for 256 axis >>> done while leds flickering >>>> ecat slaves 0 VID=$00000002 PC=$044C2C52 0:0 PREOP + ?s? 1 VID=$00000002 PC=$03F03052 0:1 PREOP + ?s? 2 VID=$00000002 PC=$03F03052 0:2 PREOP + ?s? 3 VID=$00000002 PC=$03F03052 0:3 PREOP + ?s? 4 VID=$00000002 PC=$03F03052 0:4 PREOP + ?s? 5 VID=$00000002 PC=$07D83052 0:5 PREOP + ?s? 6 VID=$00000002 PC=$07D83052 0:6 PREOP + ?s? 7 VID=$01000056 PC=$00002301 0:7 PREOP + ?s? 8 VID=$0000006A PC=$4D4B4331 0:8 PREOP + ?s? 9 VID=$0000006A PC=$4D4B444E 0:9 PREOP + ?s? 10 VID=$0000006A PC=$4D4B444E 0:10 PREOP + ?s? 11 VID=$0000006A PC=$4D4B444E 0:11 PREOP + ?s? 12 VID=$0000006A PC=$4D4B444E 0:12 PREOP + ?s? 13 VID=$0000006A PC=$4D4B444E 0:13 PREOP + ?s? 14 VID=$0000006A PC=$4D4B444E 0:14 PREOP + ?s? 15 VID=$0000006A PC=$4D4B4332 0:15 PREOP + ?s? 16 VID=$0000006A PC=$4D4B4333 0:16 PREOP + ?s? ecat slaves 0 VID=$00000002 PC=$044C2C52 0:0 PREOP + Slave_001 1 VID=$00000002 PC=$03F03052 0:1 PREOP + Slave_002 2 VID=$00000002 PC=$03F03052 0:2 PREOP + Slave_003 3 VID=$00000002 PC=$03F03052 0:3 PREOP + Slave_004 4 VID=$00000002 PC=$03F03052 0:4 PREOP + Slave_005 5 VID=$00000002 PC=$07D83052 0:5 PREOP + Slave_006 6 VID=$00000002 PC=$07D83052 0:6 PREOP + Slave_007 7 VID=$01000056 PC=$00002301 0:7 PREOP + Slave_008 8 VID=$0000006A PC=$4D4B4331 0:8 PREOP + Slave_009 9 VID=$0000006A PC=$4D4B444E 0:9 PREOP + Slave_010 10 VID=$0000006A PC=$4D4B444E 0:10 PREOP + Slave_011 11 VID=$0000006A PC=$4D4B444E 0:11 PREOP + Slave_012 12 VID=$0000006A PC=$4D4B444E 0:12 PREOP + Slave_013 13 VID=$0000006A PC=$4D4B444E 0:13 PREOP + Slave_014 14 VID=$0000006A PC=$4D4B444E 0:14 PREOP + Slave_015 15 VID=$0000006A PC=$4D4B4332 0:15 PREOP + Slave_016 16 VID=$0000006A PC=$4D4B4333 0:16 PREOP + Slave_017 <<<< leds on the ECAT slaves stop flickering and stay still - MasterState = 0 >>>>>>>> ecat slaves <<<< no more replies to ecat slaves >>>>>>> Did anyone use MKD with Acontis succesfully?
  18. The Power UMAC is fixed @1GBps so I assumed it was the same for the power clipper. Is this by design or by mistake?
  19. The problem is 100Mbps speed. The Ethernet card on PPMAC only negotiates on 1Gbps link. Easy solution is to use a gigabit switch
  20. Got the same problem, had to switch to a Capp that saves variables on the usrflash Still can't understand why there is no provision for retentive memory
  21. So basically a lab-grade power supply with current sink is not going to make things better precision-wise than a decent unregulated power supply? The application is not going to regenerate much, btw. So far I can envision 3 topologies: 1 Classic unregulated PS (trafo, rectifier and caps) +Cheap +Can absorb power -Not regulated -Ripple 2 Switching PS + Protection diodes + (extra capacitance) +Cheap -Can't absorb power, extra energy make voltage raise on caps +Regulated (but only when providing power) 3 Lab PS -Expensive +Regulated, low noise +Can absorbe power ?Is it worth the extra price Not really sure about what to choose...
  22. What kind of CPU does your DemoBox have? EC-Engineer only works with Acontis master (CK3E, CK3M and UMAC ARM CPU) In the CPU is a 460 or 465 you have Etherlab stack and need IDE v3
  23. If you could point to a suitable Omron power supply it would be great. I could find none.
  24. Forgot to say I'm located in Europe so some of the suggestions might not be easy to source. As for unregulated supplies this looks good and pretty cheap, but still need a braking chopper: http://www.antekinc.com/ps-10n63-1000w-63v-power-supply/ This one fron TDK-LAMBDA looks to be technically perfect GEN-60-12.5-PSINK but costs 2k€ I must admit I am a bit confused. Using a lab power supply is really worth the extra cost?
×
×
  • Create New...