Jump to content
OMRON Forums

tecnico

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by tecnico

  1. I use it with another bus (cclink) but basically the ACC72EX is a "carrier" for a Hilscher communication module and interfaces the PPMAC to the module's DPRAM On the manual is a ACC72EX init PLC and date exchange script PLCs, but you still have to program the Hischer ComX with Sycon.net AFAIK
  2. Hi all, I know I can run an external C program (of course after compiling it ;-)) from within a PLC with this command: system " /usr/local/bin/xxx/capp1" but what if I want to call this app from within a CPLC ? Is this possible?
  3. The problem looks like a combination of critical interrupt disabled and rticplc: when running with critical interrupt disabled my rticplc takes up 40% of the CPU0 despite being 30-40 lines long. I was suggested by ODT CH support to transform the rticplc in a cfromscript() and have it called from PLC0. This seems to solve the issue
  4. Ciao Gigi, it must be something in Lecco's area (joke) I experienced a similar problem, albeit with a different CPU (UMAC 465), when using a ethercat network. After some weeks of debugging we came to conclusion together with DTCH that there is something in the critical interrupt routine that causes a kernel panic in these conditions. Initially I thought it was related to the number of Ethercat axes (16) I was using, but then it happened (apparently in a random fashion) to "lighter" machines (just the WD, not the reboot). So it could be an idea to turn the critical interrupt off Ciao Andrea
  5. Hi all, I have a machine which is quite "heavy" (16 analog axes plus 16 ethercat). Due to a spontaneous reboot problem I was forced to disable the critical interrupt, but this led to a much more slugghish communication. Sys.BgSleepTime has been set to 2000 to mitigate for this. If I want to use the plot function on this machine I have to increase it even further but somethimes this is not enough, the plot tries to open and then ends up in closing itself. In the output window I get this error: Plot: startindex cannot be larger than length of string What could cause this error?
  6. Update: adding the files to C:\Program Files\MSBuild\14.0\bin\ seems to solve the build problem Can't understand why all this happens...
  7. Got same error on a Windows 7 machine after upgrading from IDE 3.1.06 to 3.1.1.0 via the patch .Net Framework is v4.0.30319 The DLLs were not present in C:\Windows\Microsoft.NET\Framework\v3.5 or v4.0 but adding them did not solve the error is : Error The "PPMAC460CompileTask.CompileTask" task could not be loaded from the assembly C:\Program Files\MSBuild\14.0\bin\PPMAC460CompileTask.dll. Could not load file or assembly 'file:///C:\Program Files\MSBuild\14.0\bin\PPMAC460CompileTask.dll' or one of its dependencies. Impossibile trovare il file specificato. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. Any ideas?
  8. Actually I am using the backup function to verify if the cam has been correctly written. Since I have a procedure that allows me to generate a cam via a 5th grade polynomial given the key points I just added a call to this procedure at startup, but since some of the cams never change I thought I could get away just saving them. The confusing thing is that the manual states "saved data structure elements" while they actually are not saved
  9. Same issue, fw 2.3.2.5 on a 465 UMAC CPU I have a procedure that populates cams from 1 to 4 on request, but even if I save as soon as I make a $$$ camtable[n].posdata returns to "nan" So what should be a "saved data structure element" isn't being saved. Any ideas why?
  10. Yes everything's online It's not possible to define a plot variable using Acc72Ex data structures (at least that I am aware of). So I used the pointer variable. I tried with another one, but result is the same: ptr _Fieldbus_In62 ->Acc72EX[0].Udata16[3261] ; In this variable I can read a value between 0 and 360 (degrees) in the watch window. Here is the plot with the corresponding global variable for comparison: red one is the ptr (ramping up with 10^6 values) and the violet is how it should look like. Hopefully someone from DT will chime in... PlotBug2.bmp
  11. Hi all, during a debugging session I tried to plot data coming from Acc72Ex only to find that I could only plot fuzzy data. Looking better, if I plot the whole word without any filter , I can see a huge value ramping up despite the value shown on the watch window is constant The variable is defined as Acc72EX[0].Udata16[3200] Any ideas? PlotBug.bmp
  12. Hi all, PPMAC's IDE offers the "system setup" tool to configure motors and ethercat. I configured and deployed the first machine and wanted to use the same project (actually a copy of it) to deploy a second identical machine. This second machine is in the same network of the first so it has a different IP address. Using the IDE on the second machine the system setup shows no motors configured. Downloading a configuration file from the first machine allows to have a working machine but if you need to change something you're in trouble. Now I'm at the third machine, that needs a substantial rework in the motors order. Incidentally I discovered that if I assign to the new PPMAC the IP address of the machine the project was created with ... the System setup pops up again with all the motors populated. This way things could work but I was wondering if there is a better way to be able to change the motors configuration. Thanks Andrea
  13. Using a lot of Mitsubishi stuff for me SSCNET support would be really nice. Not sure if after Omron's takeover is there any interest in adding compatibility with a competitor.
  14. if the card has 4 channels opt5 and 6 need to be different than 0 I got a ACC24E3 whose feedback mezzanine boards were not factory programmed and through Brad/Lucien I managed to program them myself
  15. since the intellisense shows 2 cards you could query the accoptions. If these don't match the valid combinations the card is not recognized by the IDE Gate3[0].PartNum Gate3[0].PartRev Gate3[0].PartType Gate3[0].PartOpt1 Gate3[0].PartOpt2 Gate3[0].PartOpt5 Gate3[0].PartOpt6 Gate3[1].PartNum Gate3[1].PartRev Gate3[1].PartType Gate3[1].PartOpt1 Gate3[1].PartOpt2 Gate3[1].PartOpt5 Gate3[1].PartOpt6
  16. I didn't try with USB - will make a test next time this happens. The strange thing is that power cycling the PMAC this behaviour disappears.
  17. In order to verify if a certain modification to a PLC has been actually done I normally upload the PLC from the machine. Hovever, especially if the connection is slow (but it happened also locally), at times the Pewin32Pro2 opens this in the Editor Window CLOSE END GATHER DELETE GATHER DELETE TRACE OPEN PLC 13 CLEAR IF(I5612!>0) CLOSE The actual PLC size is more than 800, so I don't understand why this happens. I also tried with a fresh workspace (sometimes it is impossible to make backups with a certain workspace) with no luck. What can be the cause of such a behaviour?
  18. Yes ADV500 is a DT EU Europe product, but basically it's a Clipper. So it's not possible to have a PC with a supervisor that talks with the PMAC with its own pcommserver running (using pmacgetresponse I guess) and another PC with Pewin32Pro used on another pc for machine servicing (including PLC/PLCC download)?
  19. Actually al the examples were with Pewin32Pro2.... The multi-host example is an extract from this manual (pages 19 and following) ftp://ftp.deltatau.ch/support/Software/Pmac_Pmac2_TurboPmac2/DT Driver_Install.pdf (link must be copied in navigation bar to work) It refers to UMAC but since ADV500 is also a Turbo PMAC2 with fw 1.947 and Modbus capability I assumed that it is using the same Ethernet/USB controller. The ADV500 manual only talks about Modbus configuration. What do you mean with ADV500 reference?
  20. I'm not using Adv-Nc software, just pewin32pro2 and a pcommserver based supervisor.
  21. Hello, I experienced some problems in a installation whit several ADV500 (based on Turbo Clipper, so Turbo PMAC2) all inside the same factory network. The problems were the following: -The microcontroller that handles communication goes into fault mode (replies to ping but no communication, USB is detected as "unknown device" if I try to use USB port, serial works) and I need to cicle power to be able to communicate through ethernet again -Flash memory corruption occoured on 3 machines (i.e. after power cycle 2 went in wd and one showed a corrupted PLC) The root cause of these problem has been identified in concurrent connections from different PCs (the customer installed a supervisor software that collects production data, so the supervisor PC and mine were connected to the same machine at some time) While I can't exactly understand why multiple connections can hang the micro and corrupt the flash memory, I tried setting the multi-host connection as explained in the manuals, but how can I check if I did set it correctly?
  22. Attached a photo of a ADV500 equipped with a Netgate (with CCLink slave module installed) The ethercat plate is different since for the moment we use a COM-X module with onboard connectors and CAT6 junctions on the faceplate
  23. For PC-104 based products (PMAC2A PC/104, TURBO CLIPPER and derivates like ADV500) my company has developed since 2006 a gateway that allows the use of Hilscher modules (Com-C and the newer ComX) for various fieldbus systems, including ethercat (I'm using it on our latest work).
  24. You have to use binary rotary buffer. It allows a sort of "dual channel" communication, one for the ASCII requests and the other for filling the buffer. AFAIK PLC programs are not affected when using rotary buffer.
×
×
  • Create New...