Jump to content
OMRON Forums

tecnico

Members
  • Posts

    92
  • Joined

  • Last visited

Posts 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. 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

  3. 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

  4. 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?

  5. 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?

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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?

  12. 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)?

  13. 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?

  14. The muti-host “socketed” communication techniques used with Turbo PMAC over Ethernet are not compatible with the ADV-NC software - this will cause packet corruption.

     

    I'm not using Adv-Nc software, just pewin32pro2 and a pcommserver based supervisor.

  15. 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?

  16. 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).
×
×
  • Create New...