Jump to content
OMRON Forums

Unit101

Omron
  • Posts

    143
  • Joined

  • Last visited

Everything posted by Unit101

  1. This works for me... system "/var/ftp/usrflash/Project/C\ Language/Background\ Programs/compass25.out&";
  2. Try these steps and see which works... 1. delete INI file as described above 2. Control Panel - Programs - Repair PeWin application 3. Uninstall Pewin - remove ALL files in Directories - reinstall -be sure you are ADMIN, Run install as ADMIN, and have user UAC turned all the way down to Minimum -pewin need to edit the registry and this is often restricted in windows
  3. Integrator on project with Linear motor (Power Brick). Uses Servo.Kbreak > 0 to get good settling in position and a filter. Works well, BUT after 4 seconds the motor "BARKS!" once... then ok. If does not use Kbreak then no Bark but settling not as good. Suspects that the Servo.OutDb... is causing some integral windup to the point of the BARK. Ideas, suggestions appreciated. Attached is pdf with more details and motor setup parameters. BarkingMotor.pdf
  4. Here is interesting question from end user: For Example I would like to do something like what is below If (MyVar == Pvaraible) { stuff } // checking if MyVar is a P variable if (MyVar == Mvarialbe) {different stuff} //Checking if MyVar is a M Variable Thanks! *** Ideas on how to determine in logic a given variable is type M,Q,P ? - perhaps in CfromScript sub-routine to do a query and read back the echo text to see the letter M or P ? - In var Name append a letter at end _M _P then have a sub-routine return if text matches M or P ? Thanks for looking...
  5. Interesting.... mine is working fine, project is loaded and boots ok. ONLY when starting IDE is says "no project in pmac" ... which is not true... IDE is missing something... I just OK and go on... no problems. Just started with CK3E older fware and new IDE
  6. Since using IDE 3.1.1.0 working with a CK3E, when connecting it tells me there is NO Project in PMAC... however this is not true. All starts and works fine... Is it just me ? bigcat
  7. It sounds like you inadvertently downloaded and installed the FULL 3.1.1.0 release package (approximately 2GB) instead of the UPDATE PATCH from 3.1.0.6 to 3.1.1.0 (approximately 40MB) - either that or your prior version was not 3.1.0.6, thus resulting in the experienced request to uninstall prior version during the install process. The UPDATE PATCH can be found here: http://www.deltatau.com/DT_SoftwareDownload/SoftwareUpdates.aspx (second entry - the main download link under Software where you click on a logo/pic to download IDE is the FULL release, not the update patch). Last time I experienced similar botched installation, I ended up manually uninstalling PowerPMAC IDE, PowerPMAC Compiler(s), Acontis EC Tool, MySQL Server 5.0 and WinPCAP in Control Panel, followed by carefully removing original installation paths (after rebooting - some of these will be locked/in-use until you reboot): 1) C:\DeltaTau\ 2) %UserProfile%\AppData\Local\Omron Delta Tau Data Systems\PowerPMAC IDE\3.0 3) %UserProfile%\AppData\Local\Omron_Delta_Tau_Data_Syst (this is not a misspelling - ends with Syst) 4) %UserProfile%\AppData\Roaming\Omron Delta Tau Data Systems\PowerPMAC IDE\3.0 5) %UserProfile%\AppData\Roaming\DeltaTau 6) C:\ProgramData\DeltaTau\PowerPMAC IDE\3\Database 7) %UserProfile%\Documents\Visual Studio 2015 8) Deleted Following Registry Key (and its subkeys): HKEY_CURRENT_USER\Software\Omron Delta Tau Data Systems HKEY_CURRENT_USER\Software\Delta Tau Data Systems Inc Disabling antivirus, ensuring you right-click and run-as-admin, sticking to default installation paths, properly unzipping installation file in a safe local folder (desktop usually works great) prior to installing (and right-clicking/properties + select UNBLOCK to ensure file not marked as unsafe) = winning tips that have previously cost me timeouts or silent abortions during install. Good Luck! GREAT POST - this needs to be STICKY to PERMENANT - HOW TO INSTALL I did not even know of the PATCH WHY is the PATCH NOT on the Software DOWNLOAD WEB PAGE ? 80% of people are updating.... We make it so hard for ourselves and customers.... and we earn the reputation that DT is very hard to work with....
  8. Booyah... thanks dougjr17.... however the arrow keys not work... BUT I just did Maximize and now it appears.... I can then work with it and close it as needed. So solution is to "Delta Tau - Update Firmware - Alt+Space - Maximize" Great should work for any window that does this... often I see other like Status or Encoder do the same... However every time I open it... it flashes and goes away, then I do this trick to maximize and I can get to it. So a bit strange but no biggy with this work around. Thanks ....
  9. Make sure the UAC in Windows is ALL the Way down....
  10. Laptop - and yes when in office it is connected to external monitors. But even then the window is not visible. Searched all the docking windows still can't see it, as Brad mentioned. Tried all the tricks I can find to make windows show up and no go... tried changing resolutions... So no matter if on just laptop monitor or 3 monitors, no mater the resolutions the firmware window pops up at startup then goes away. No other application does this on my system. So this is interesting.... I go to IDE Window - Auto Hide All - all the open windows retreat and hide around the edges. NOW go to Window - Reset Window Layout - yes and bang you can see the missing window(s) for about 5 seconds... then they go away... See the attachment - it shows the IDE center, then lower right corner a Status window and the elusive Firmware window... but they disappear never to be seen again. Note most of the windows like Status, Encoder, Firmware do this same thing.. they pop up then go away... but if I do it again they will show up, however the others are still out there just hidden... in the case of Firmware... it just never comes up... sits out there forever hidden away. Next time at ODT I'll for sure show you guys... used to be I could find the windows eventually (v 3.0.1) but with 3.1.1 the firmware window and others have gone to a different dimension. I just can't use IDE for firmware... use USB instead.. more of a nuisance, but I put this post out there in case anyone else sees this... I guess not. IDE-HiddenWindows.pdf
  11. Do not give up, do not surrender. I only took me 3 days this week to get my IDE upgraded and almost everything working as it used to fine. I had one persistent error that said my variable mapping failed do I want to continue? The fix was to download the same project to a DIFFERENT PMAC CPU, went from CK3E to Power Clipper, so it used a different compiler. After that went back to same project and downloaded to CK3 with no issues. Also the logs are now clean, before complained about not able to open or read some files... I also had to un-install all compilers. Tried to re-install as admin using setup.exe but still had issues. Again uninstall, and then when download IDE did the install and it was happy ever after. This full uninstall stuff is a joke... within a major version should be able to simply patch and go... need more resources dedicated to version control. And don't even ask which version of firmware is supported by which version of IDE ??? Don't give up, don't surrender.
  12. I wonder if I'm only person with this issue ? It is unique to my PC and monitors. If I run IDE in a VMachine it is ok, running on a different PC ok. But on my laptop this has been issue since the first version of IDE 3.x and now is worse. Basically when go to Delta Tau - Update Firmware - NO Dialog appears. Used to be I see it then it goes away. After several tries it is shown, then if restart IDE I would have several Firmware dialog windows available. Now with newest IDE 3.1.1.0 I only see a Firmware dialog when starting IDE and it appears in lower right corner of monitor for seconds, then gone forever. I've tried many tricks to make all windows appear, Cascade... all the other IDE type windows, like Backup Restore will appear... but NEVER Firmware. As said works ok in a virtual machine or different PC... There is something different about how it is created in this IDE and can't be found. Must be related to my hardware, drivers, monitors but happens no matter if just on laptop or with multiple monitors. See attached file, it shows the firmware dialog as it appears for few seconds when starting IDE, then it vanishes to a different dimension ? Or maybe it is still in the real world and the IDE makes me jump to a different dimension ? Can PMAC be used for time travel ? Notice in screenshot the Firmware is attached to a Velocity dialog ? Something is fishy... Thanks, bigcat vanishingFirmware.pdf
  13. glad all working... BUT... and a BIG BUTTTT Having the IDE so tied to only working with new firmware is a huge issue if true !!! OEM's ship dozens a month with firmware as received... and tech's, field engineers all have different versions of IDE... if one upgrades he is dead... customers as well... IF a IDE version only works with Firmware x.x.x. then if needs to be very clear. And if the IDE connects to a older firmware pmac it should show a big warning. I've been in IDE hell for 3 days now dealing with getting once fine code to run on same PMAC's but with new IDE.
  14. UPDATE 11/8/17 NEW INSTALL with Version 3.1.1.0 has same Issue. It will fail to install with same error, MySql won't Start. Need to do same fix to ppmac.ini file as before and re-install.
  15. What type Power PMAC is this ? - I assume it is a CK3E with Acontis Ecat In Watch Window put this register and monitor "Ecat[0].MasterState My guess it is now "0" You will make no progress until this changes to "2" I suspect you have a problem with your Ecat network devices.... 1. do you have anything connected to ECAT ? 2. in terminal clear the PMAC with $$$***, Save, $$$ 2. try just connecting ONE device that you trust to the network. 3. Power cycle the PMAC with ECAT device... Check the .MasterState... if it goes to 2 you are ok and should be able to go ahead. I have seen when NOTHING connected to ECAT it will power up in unknown mode with .MasterState = 0 .... with this you can do nothing with ecat... After connecting ECAT you must POWER CYCLE... the $$$ will NOT fix the issue. hope this helps... bigcat
  16. --- you are not assigning the Mvar registers in order as you think... there are 5 extra registers in the middle... change you addressing so they are all in sequence M0->Y:$3600,0,8 M1->Y:$3601,0,8 M2->Y:$3602,0,8 M3->Y:$3603,0,8 M4->Y:$3604,0,8 M5->Y:$3605,0,8 M6->Y:$3606,0,8 M7->Y:$3607,0,8 M8->Y:$3608,0,8 M9->Y:$3609,0,8 .... here are the 5 0 bytes... they are between 3609 and 3610 Y:$360A Y:$360B Y:$360C Y:$360D Y:$360E M10->Y:$3610,0,8 change this to 360A M11->Y:$3611,0,8 change this to 360B M12->Y:$3612,0,8 change this to 360C M13->Y:$3613,0,8 change this to 360D
  17. I had SAME ISSUE with IDE 3.0.1.0 INSTALL. It fails to install and start the MySql service, it tells me to uninstall MySql which does not fix issue. Error during install is with a Dialog box message: "Failed to start the 'MySQL' service. Please try uninstalling 'MySQL'... and rerun the PowerPMAC IDE installer." Fix is same as before but now implemented using ini file, it appears that IDE3 is NOW using the MySql ini file on startup, the IDE2 did not. 1. So go to C:\Program Files (x86)\MySQL\MySQL Server 5.0 2. Edit the file "ppmac.ini" Attached is my ppmac.ini file (rename from .txt to .ini to use this) 3. Add this line to the file inside the # SERVER SECTION innodb_flush_method=normal 4. Save file 5. Rerun the IDE install (do NOT uninstall MySql) 6. Now the MySql will start and IDE will complete install and run ok. ppmac.txt
  18. Thanks for sharing this excellent real world data ! I will watch for experts reply... I suspect the difference is that the MM has a more powerful cpu....
  19. Here I assume you just need some basic guidelines on how to calc the accel parameters. If you have Velocity and Distance all that is needed is Time. Longer Time = lower Accel, Short time = high accel rate. So you adjust Velocity, Distance and Time to get the move with a given accel rate. Once you know desired rate, often some near max accel rate for your mechanical system then you can calculate the parameters TA,D,S for the move(s). Basic Accel Calc could be one of these: #1 Accel = Velocity/Time #2 Accel = 2Distance/Time*Time Example: move 50,000 cnts in .5 sec to a velocity of 200,000 cnts/sec #1 Accel = 200,000 / .5 = 400,000 cnts/sec-sec #2 Accel = (2*50,000) / (.5*.5) = 400,000 cnts/sec-sec So to go from 0 to 200,000 cnts/sec in 50,000 cnts distance in .5 sec will result in an accel rate of 400,000 cnts/sec-sec. To get this you would set your TA = 500 (msec) TD is same just decel rate at end of move. TS is S-curve, if you want 100% s-curve then set TA=0 and TS=250 (1/2 time) note with S-curve the accel rate in middle will be 2x your calc accel rate You can see now by simply adjusting any of the move parameters the accel rate of TA,TD,TS are affected. See the attached doc for a overview of all these motion calcs and a older turbo motion program example. Hope this helps... Formulas used in calculations.pdf
  20. I suspect your problem is that you are not filling the Ethernet packet at the end so it is NOT sent until full. I assume your HMI is using pcomm and the DPRAsciiStrToRotEx function call - when sending last line in buffer you must set the bufSendImmediate to TRUE - this way it will send the last few lines EVEN if not fill up the packet... - otherwise it should be set to False, so it fills a packet then sends a group of lines --- here is code snippet from my example dpram application.... //if this is the LAST line to send we need to flush the comm buffer //OR if we are in SingleStep mode we have to send each line as it comes if (curLineSend == totalNcLineCnt || SingleStepCheckBox.Checked) { bufSendImmediate = true; } Pmac.DPRAsciiStrToRotEx(m_nDevice, command, 0, bufSendImmediate, out status);
  21. Check the Abort input and Halls. 1. #4$ command failed with error code E0000000 -one reason is that Halls are not returning a valid state -for example if remove +5v to the halls this error will come back 2. #4$ command failed with error code E0000000 -the Abort Input is Active which does not allow power to output stage -chk global status Y:$6,0 = 1 = abort input active = will not phase
  22. This manual is provided as part of the package you buy to get Pcomm license, manuals are not publicly distributed on web site for this product. Here is the part number and price: ACC-9PNPRO2 PMAC Communications Library (Pcomm Server Pro2) COM Interface for use with Microsoft operating systems Windows 2000 and XP. This is the cost for a single user developer license. 3A0-9PPRO2-35x $561.00 You can purchase thru any DT distributor. Thanks.
  23. I just tried this in my "C" program working on today... see below, it compiled, build, downloads to pmac fine. if (main_interface->input.command.program_running == true) { //bcat-progRun_1 Note: // - now this state is skipped because .program_running bit is DISABLED xdcf_cntrl->xdcf_state_step = xdcf_floating_check_state; isnan(1); remainder(2,5); isnan(remainder(2,'a')); }
×
×
  • Create New...