Jump to content
OMRON Forums

leandro.martins

Members
  • Posts

    79
  • Joined

  • Days Won

    5

leandro.martins last won the day on January 30

leandro.martins had the most liked content!

3 Followers

Consent

  • Cookies Consent
    Opt-In

Recent Profile Visitors

840 profile views

leandro.martins's Achievements

Enthusiast

Enthusiast (6/14)

  • Reacting Well Rare
  • Dedicated Rare
  • First Post
  • Collaborator Rare
  • Week One Done

Recent Badges

10

Reputation

  1. I have used the MATLAB library only on older version, so just a guess: Is this the "DeltaTau" menu that you're looking for, by any chance? In other versions it used to be next to the "C code", but I assume that changes in the simulink layout along the versions might be making the "DeltaTau" menu to be placed in an awkward place.
  2. Hi Martin89, Is it possible to try the IDE troubleshooter? Right-click on Motor1 > Troubleshooters > Motor Report. Also it might worth to have a look in the file using any text editor, to see if there is any obvious issue. Maybe that can give an idea of any unexpected value.
  3. I have a similar issues when I try to download a project saved in a drive different (a network drive in my case) from the one where the IDE is installed. The problem happens at version 4.6.0.14. I didn't have the opportunity to check if I can reproduce that is the latest IDE release though. Also, I should say that I don't have admin permission in the PC, so cannot test if it's a windows permission issue.
  4. The latest Matlab version supported by the PowerPMAC IDE 4.6.0.14 is the 2020b. You can check all the supported versions on the path: C:\DeltaTau\PowerPMAC\4\IDE\MATLAB Component Another option would be checking if there were any updates about Matlab support on the latest IDE release.
  5. Not much related, but it might be interesting to add for discussion. Recently I have faced some differences on Sys.Cdata[i] structure between different firmware versions. I can't say if the difference is due to firmware version, or is something more intrinsic to the cpu (since the PowerPC endianess diverge from the ARM). While in fw 2.5.0.4 the Sys.Udata[0] points to the same region of Sys.Cdata[3], in fw 2.7.1.0 Sys.Udata[0] points to the same location of Sys.Cdata[0]. About the roll over, I have tested and both of the versions presented the same behaviour that Dave described.
  6. I can't remember if I got that message, but when I had issues opening the tune and gather tools, it was due to the Windows firewall. It might worth to have a look if the DeltaTauGatherProgram is an allowed app in Windows Defender Firewall, for the type of network that you are using to connect with the Power PMAC.
  7. For the Sys.Udata[x] stucture this seems to work ptr pUdata(8)->u.user:$24.0.32+ // OR u.user:36.0.32+ // OR u.user:36+ ,if not using offset or setting the maximum size pUdata(0),8 M8192=0 M8193=0 M8194=0 M8195=0 M8196=0 M8197=0 M8198=0 M8199=0 M8192,8-> M8192->u.user:$24 M8193->u.user:$28 M8194->u.user:$2c M8195->u.user:$30 M8196->u.user:$34 M8197->u.user:$38 M8198->u.user:$3c M8199->u.user:$40 Sys.Udata[9]=9,10,11,12,13,14,15,16 pUdata(0),8 M8192=9 M8193=10 M8194=11 M8195=12 M8196=13 M8197=14 M8198=15 M8199=16
  8. As just an educated guess, to set correctly the Motor[x].HomePos in that case, it's necessary to consider the current HomePos. Since the queried position on the position window is equivalent to Motor[x].ActPos-Motor[x].HomePos, so setting a position to zero should look like something like Motor[x].HomePos={commanded position}-Motor[x].HomePos As far as I know, the PSET also exists for PowerPMAC, that I suppose that does exactly the same operation manipulating the HomePos. I hope that helps.
  9. Hi @DaveBarnett, What I know about that kind of syntax is this equivalence Sys.Udata[0] // u.user:0 Sys.Udata[1] // u.user:4 Sys.Udata[2] // u.user:8 Sys.Udata[3] // u.user:c The same applies for Idata, Fdata and Ddata (respecting the data structure organization) The u.user structure follows something like this u.user:{Beginning of that memory}:{Number of bits shifted}:{Number of bits}. Haven't been able to find the purpose of the "+" on your example, maybe is something specific for the BufIO. I'm also interested if there is anyway more elegant of handling those structures.
  10. I couldn't spot any kind of error in your code. What is the behaviour that you are obtaining?
  11. If I recall correctly, the .pmh file is generated only if you use tunable parameters. Is that your case? Are the .txt files being generated?
  12. Indeed, the firewall was blamed. For anyone that might have the same issue, the firewall configuration can be checked in: Control Panel > System and Security > Windows Defender Firewall > Allowed applications Here, it should exist an entry for DeltaTauGatherProgram, if there isn't it can be added with "Allow another app" option and pointing the path that should be something like : C:\DeltaTau\PowerPMAC\4\IDE\PlotControl\DeltaTauGatherProgram Notice that the permission is defined for each: Domain, Private and Public.
  13. It might be related with the issue described in: My suggestion would be: try to query Sys.RtIntErrorCtr to check its value, then set it to 0, and check it again. If possible repeat the same steps without using the IDE (ssh'ing the controller, and opening a gpascii connection) If the error is not recurrent, then it is possible to include in the PLC that runs after a power-on/reset, setting it to 0.
  14. Hi James, Have you tried to check the "Legacy Mode", under the "Gather options" in the plot window?
  15. Since you want a high-frequency pulse generator, it might help to use PhaseCtrl = 8. In that way, I suppose that with your servo routine being executed at the phase interruption, obtaining the same effect as a motor being commuted (without closing the current loop). If I'm right in supposing that, you will need to : Consider the Sys.PhaseOverServoTime in your servo routine. Set your feedback properly to this mode by configuring the Motor[x].pPhaseEnc/PhaseEncLeftShift/PhaseEncRightShift I hope that helps.
×
×
  • Create New...