Jump to content

Damian

UniStream & UniLogic Beta
  • Content Count

    532
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Damian

  1. A bit of a weird situation with the unit in title. It is installed and working as you would expect (new application, just programmed this week), but I noticed some odd noises coming from it. I disconnected all the connectors and cables except for the 24VDC supply and it still makes the noise. When I cycle power to it, it is quiet up until it completely finished booting and then runs the application. As soon as the application starts running, the unit starts making the crackle sound again. There are not any relay IO, so it can't be a chattering contact. It is hard to tell if it is the spe
  2. Jumper settings? Wiring and common connection? MI10 overwritten somewhere else in program?
  3. BTW, I tried just doing a small subset (for example just MI) and it still choked on them.
  4. Well ........... all of them really. M, MI, MF, ML, DW. It is nice to have a backup of all the operand values in a PLC. I have had it work fine on some computers, and not at all on others. Hard to understand why since if it is truly just creating a simple CSV file it should not have anything to do with the OS or installation.
  5. How do I get around the "The CSV file you have selected cannot support the exported values" message that pops up every time I try to save the operands?
  6. Yes, my Main subroutine never has any code in it other than calls to other subroutines. One of the very first is the call to the "Inputs" subroutines, and one of the very last is the "Outputs" subroutine. I would say first that you should specify what you regard as an issue. But beyond that, I would contend that there are certain caveats with positive and negative transitions that in fact make buffering inputs and outputs even more valuable, not less. It gives you much more control. With ladder, the traditional definition of the scan had the physical IO only updating between single scan
  7. In addition to what Joe points out, you also need to make sure your common fault MB and the actual individual fault bits are not continously active. Otherwise it will just continuously reinvoke the screen call and cause all sorts of problems. The V570 has a decent size screen. I can't imagine not just putting all four of these on one screen and let them all show simultaneously. Your customer may be making your job more difficult by thinking that separate screens are "simpler"
  8. It sure is. Obviously you will need to find a wireless transmitter that is compatible with something you can get on the V570 (RS232.RS485,Ethernet, etc). Only word of caution is about speed. The analog inputs on the snap in modules in general have better performance. Make sure the conversion times and filtering are acceptable for your application. If you have a slow process there are no worries. If all of this happens in less than a second you will have to do your homework.
  9. VMware has a free utility called VMWare Player that allows you to run a windows VM on a MAC. The only catch is you need a copy of windows to install on that VM.
  10. This is happened to me before on a V1040 and I ended up having to re-install the OS. A colleague of mine also had a similar problem as this and he ended up having to pull the Ethernet adapter out. Don't know if you are using ethernet but it might be worth a try.
  11. Flex, It is definitely helpful. I myself am not a fan of how visilogic handles retentative values and especially that of timers. I would much rather see the "initial values" method completely abandoned in favor of the "current values". When I want to make abosolute certain I am cloning the operand values I use the "Remote Access" utility and uload all those values into a csv file. I also do not reference timers directly but instead buffer all presets using MI operands. This circumvents some of the flakey behavior you note above.
  12. Emil, Excellent description. Thank you for taking the time to explain it so thoroughly. Damian
  13. And this is a question for Unitronics. Why can we not assign an ML to the encoder count?? Heck, I've used encoders before that have more than 90000 counts in one rev. An MI doesn't get it done.
  14. The question was, what do YOU have them set to? Anyhow ........ MI0 is your encoder count. All MI have a range of -32768 to +32767. That means the largest value you can measure in MI0 is 32767. In your code you multiply that by 0.00293 So, 0.00293 * 32767 = 96.00731 Once it passes 32767 it will jump to -32768, so you immediately jump to negative numbers. So it is NOT counting back down. It is infact counting back up from -96. You need to set the encoder rollover point and then either have it automatically reset, or use the marker pulse on the encoder to reset it. You then need to k
  15. After actually playing around a bit, it appears that the transistions in Visilogic do not function anything like I thought they did either. As Alex hints at, it appears that the memory bits associated with change of state are sampled on each and every subroutine, including the main subroutine. This means that if you call the same subroutine twice or more within one total PLC scan, any transitional within will only be evaluated true the first time through. However, that transition will still be detected by the calling subroutine and subsequent other subroutine calls within the global scan.
  16. Well .... this did not work. Instead now it actually does open Visilogic, but then it gives me another invalid bands error once I'm inside. It also gave me another error as well that I was not able to capture. It definitely got me further in, but did not fix it.
  17. Yes, of course. Just an ADD block where one of the Source and the Destination are the same address. You can't read before and after on the same ML. You need to define one as the previous value and one as the current value. Every time you read you need to then shoft the current value into your previous value. To me it would be the other way around. It would be taking the current value minus the previous value to determine the gross of the last fill. That depends on if you need to keep track of every transaction. I might be a bit unclear about exactly what you want. Is it OK to
×
×
  • Create New...