Jump to content

Damian

UniStream & UniLogic Beta
  • Content Count

    532
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Damian

  1. It is generally understood no matter whose platform you use that the transitions are based off WHEN in the program that bit of memory gets written resulting in a change of state. It is not (should not be) be directly related to the "housekeeping" portion of the scan. However, if you are reading physical Inputs, then those are updated only during the "housekeeping" portion of the scan. Unless of course you use an immediate IO read to sample the hardware IO before the "housekeeping". Since MB bits are internal, there is no housekeeping necessary for them, therefore the end of the scan is irr
  2. You have X1 and Y1 swapped in your linearize function.
  3. Also, it doesn't appear to be application specific because this application opens just fine elsewhere.
  4. Aha, it happended again! Argh!!!!!!!!!!!!! Oddly enough I did not even remember this thread. I did a search for the error on the fourm and up popped one hit. I said hey, look, someone else already had the same problem. Then I said hey, that someone else was me. Getting old is so much fun. Anyhow, the application I was trying to open was in post #8 here http://forum.unitronics.com/index.php?/topic/1501-high-speed-counter/
  5. I don't know anything about ACCESS, but in excel when you import things you have a lot of options and controls over how things are imported and what settings to use. I would expect ACCESS to have these same options somewhere albeit hidden. Not really an answer but maybe a hint at where to look for one.
  6. I think that is exactly his point. Since download is obviously a non-reversable process, why does it show up as an option under the UNDO? Try it yourself. Do a download and then select the download in the UNDO list. If you go back to the undo list it shows that it processed the UNDO? But what did it actually do? It shouldn't do anything. It shouldn't even show up on the list in the first place.
  7. Can we please get a functional chart of the PID process along with the equations involved so that we can better understand what is happening behind the scenes. ALL other PLC/Motion Control manufacturers publish this information so that a clear understanding of the structure can be had. The auto tune feature rarely provides satisfactory operation and there was no means given to favor steady state response or step response depending on the needs of the application.
  8. Why not simply make it a String Entry field? You can also hide a string entry field on some other config screen that allows them to enter the string. That string will point to a location in your string library. Then your text field would also point to that same spot in the string library.
  9. RMozes, Thanks, I already restored my VM to a previous point and it is OK now. Next time I re-install I'll delete the directories you mention. D
  10. So, Visilogic V9.4 crached on me last week. Apparently it crashed very hard because after that I could no longer successfully download from that point forward. Rather than battle this one out, I decided it would be easier to simply uninstall and re-install the software. So I did. At least I though I did?!? After the uninstall process I rebooted. Then I re-installed the software. Then I ran the software. And to my suprise, the very first thing it tells me is that Visilogic was not shut down properly last time and that it would perform the recovery. Really? How could it have not sh
  11. Is it possible for you to normalize these values prior to the PLC operating on them? What I mean by that is 12000 radians is the same as 5.3992485942. (12000/(2PI) - INT(12000/(2PI))) * 2PI If you take the COS of 5.3992485942 in the Unitronics PLC you will get 0.6341115. Unfortunately I tried to normalize the value in the PLC first prior to putting in the COS function but the precision of the FLOAT operation required to do this are just as bad. If someone can figure out how to normalize your values in the PLC without loosing precision then you should be good.
  12. Just a quick tip for all that go back and forth between an extended monitor. First select your program with Alt+Tab so it is the actice application (skip this if it is already active) and then use Alt+Space+M. Now you can use the arrow keys to move the window back into view.
  13. I just realized i had not read the orignal post very well. All of your slaves are V570s as well. I understand where linxchas is coming from now although the solution is definitely specific to using all Vision controllers as slaves.
  14. What 3rd party Ethernet based controllers have you used that support Modbus over UDP? I have never seen any that don't require TCP and the socket dance.
  15. I would recommend using 3 sockets total for the Modbus TCPIP and communicating to 5 slaves on each socket. Make a sequencer to Connect Socket Write a block of holding registers Wait for Write comple Read a block of holding registers Wait for Read complete Close Socket Index pointers to next Slave and repeat Wit a V570 expect about a 120ms access cycle per slave for each socket. Therefore your total cycle will probably be around 600ms using three sockets. If you can live with up to 2 seconds, by all means simplify your code and put them all on one socket. With 15 slaves you will pro
  16. There is one other small trick that might help give you a little better resoution, but ultimately your scan time is going to limit you. Look at Utils > Debug > Interval > You will find a block for Interval Start and Interval End. They give a very precise meaurement of time between two events.
  17. Sounds more like a browser issue. Are you using Internet Explorer?
  18. Also, check your windows "themes". If you stray from the default windows themes it can cause some items in visilogic to display incorrectly or not at all.
  19. I wonder if the auto-zero function is actually causing the drift. I would be curious to see you perform the same experiment without it. This would at least rule out your load cell, which is very unlikely to be the cause of the issue anyhow. I have no idea what the algorithm for the zero-tracking function looks like under the hood. But I would expect that it relies on the peaks and valleys you would get from cyclical readings to determine the hypothetical zero point. So having this feature enabled in a static situation might confuse it. And that might be exacerbated if you have any filter
  20. I have had similar issues when the OS I was using did not match up with the version of Visilogic I was using.
  21. Just to put some numbers to this to give the OP a sense of timing. Using a V570 (fastest CPU) and dedicating connections to a single slave each, I can perform a full read and write cycle to 4 slaves in on average 15ms. That is, I can read and write to all four slaves in under 12.5 to 20ms. It peaks out at 20ms and occasionally I might get one 22.5ms cycle hear or there. Not deterministic of course. Now as an example, and I decide to multiplex one socket and talk to all four slaves that way you will find that it takes about 100ms to establish the connection. And this is for each slave. O
  22. If you are trying to read it all in on one telegram it will be too large. You will have to split it up. You are limited to 256bytes including the header and trailer. 4*64 is exactly 256. It will need to be split up in at least 2 telegrams.
×
×
  • Create New...