Jump to content
OMRON Forums

iclim

Members
  • Posts

    51
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

iclim's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Can someone please tell me how the C function MacroMotorNode defined in the rtpmacapi.h works, i.e. what definition does it look at to determine the Macro Node. I would really love an equivalent for the EncTable as I intend to use multiple MACRO nodes for a single motor node. Thanks
  2. Issue resolved, issue was caused by MacroMode configuration issue
  3. Also I have two MACRO stations on the ring and both have the same behavior. I am assuming there is some PPMAC variable that has not been set correctly, but I cannot determine what could be causing this
  4. Hello, So I have encountered another current tuning issue on the same development setup and I have no idea why this started. For some reason my PPMAC reset to default values and now the current control for my motors is doing the following. Has anyone ever encountered this I have checked all the previous setting and both GEO MACRO and PPMAC have the same PhaseFrequency
  5. Can I please have an update on this, specifically for the C API. Base on previous comments, at present I am looking at pshm->Coord[x].Ldata.Status However it looks like this bit is set when the Coord system is trying to hold a position. ie. [code] int status = pshm->Coord[1].Ldata.Status & 0x1; return !status; [/code] Are there any other bits that I should be looking at? FYI I am using this bit to determine if I need to send an "abort" command and reissue a motion program Thanks
  6. Hello, I am trying to run a PLC program which queries a register on a Macro station. according to the documentation, I thought the following command should work cmd"MacroSlaveRead %d,%u,%u",8,I920,P1; however the only method which I can get to work correctly is the following cmd"MacroSlaveRead %d,I%d,P%d",8,920,1; In my first method am I doing something incorrectly ?
  7. Thanks Brian, I am assuming it outputs a CSV file somewhere?
  8. Hello, The software manual refers to a "gather_csv utility program" a couple of times. Could someone please tell me - Where it is located i.e. where the program is in the file directory of the PPMAC - The arguments to give to the programs - Where it outputs to Thank you
  9. I have a motion program which runs a durability program. Is there an elegant method of setting Gather.Enable if the Coordinate system goes out of closed loop? Or do I need to write a PLC program which monitors the ClosedLoop state ?
  10. iclim

    DesAccel

    Hello, I wanted some clarification on the feed forward acceleration. We have a cascaded servo loop setup. For our inner loop I wanted to examine the DesAccel (second derivative of DesPos). I see there is DesPos and DesVel, is there in internal register which holds the value of DesAccel or again is this something which must be determine via post processing.
  11. Thanks Steve, that is all I needed to know, I can post process it
  12. Hello, I am trying to examine the affect of the Servo.BreakPosErr deadband on a few things and I was wondering is Motor[x].PosError variable pre or post the application of the Servo.BreakPosError ? It looks like it is Pre application of the Pos Error. If I am correct is there a variable that I could examine ??
  13. All, I found that the Plot tool that is provided with the IDE really has limitation in displaying plots with any more that two signals. If any of you are using Python there are some great FREE modules out there that people have written. I created a couple of (quick and dirty) programs to make data display easier (this literally took me 30 mins and is by no means finished or polished). Here is an example of one of the plot outputs If anyone is interested I have attached the Python scripts (rename to .py). You will also need Python3 and matplotlib To use the program setup you gather as usual and after you Upload Chose Export Gather Data from the file menu. This will create two files the gat file and the gat.set file. The program uses the .set file to figure out the axis names and the gat file for the raw data. I will continue to refine my program (e.g. colours and other presentation stuff), so if you like it let me know and I will keep you in the loop. Choon plotPPMAC_GatheredData.py.txt PPMAC_SupportFuncs .py.txt
  14. Hello, We encountered a strange issue, which I am hoping someone can shed some light on. The EPICS framework uses the clock_gettime function from to determine timestamps. However for some reason everytime after a reboot of the machine the return value of this function appears to be the time since reboot. In comparison the time () function returns the correct time in seconds since the Epoch regardless of weather the machine has been rebooted or not. We have temporarily solved this problem by calling the clock_settime function with the value returned from the time function, however if we are synchronizing from a NTP server there is the possibility for time drift. Can someone please explain this behavior ?
×
×
  • Create New...