Jump to content


Members More Space
  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Isakovic

  1. Meet in the middle

    I tried breaking NET 86 into several smaller ones and making it simpler, It couldn't been done in one NET anyway. It's always better to have simpler nets, I learned it the hard way. I don't have much free time now to work out the logic of the whole thing (like when should T1 start counting), you'll have to test if this is what you were looking for. I'd also suggest breaking programs into smaller subroutines, so you'll have Main routine (with optionally couple of nets for config blocks) calling other subroutines. Much less scrolling. Also, I see you went with SB15. Tell us how it works, and what precision you got. All the best, 59c0a61fb1bec_Sheetfolder.vlp
  2. Where to find unitronics PLC

    Type Unitronics Belgrade in Google. As close to Kosovo as it gets.
  3. This EVENT block is new to me. Glad I found it. I always used ladder with mesh of timers and indexes to achieve such scrolling through messages. This is much more elegant.
  4. Meet in the middle

    Well, you could put SB15 (transition contact for 100ms pulse) and input in series and use it to increment a counter. When input goes low multiply counter value by 10 (because timer value is in units of 0.01s) and store the result in timer via "Store Timer" function block (under "Store" tab). I'm not sure about precision you can get from this. It may work ok for your application or it may be way off. As Visco said encoder is the best solution.
  5. How to do a total run hour in U90

    In U90 you have to build accumulated timer with ladder logic: https://unitronicsplc.com/Download/SoftwareHelp/U90LadderKnowledgebase/Timers/Counting_accumulated_time.htm In Vision controllers you can use accumulated timers.
  6. Is there any way to remove "Add new subroutine" button? I often click on it when I want to add a new net.
  7. New VisiLogic Version 9.8.64

    All that workspace! Do you also plan to widen U90Ladder?
  8. Samba Screen sensitivity

    I like your style.
  9. I didn't see this was in Job Board, I thought it was in Vision Forum and you need help programming, that's way I replied like that.
  10. That looks like an interesting project. But since it is incomplete not much could be said regarding your questions, maybe a few comments. It is good practice to have a safety par of limit switches. Maybe you don't need limit switches for oscillation since you should know the position from the encoders. Did you make an electric scheme? I opened your project and there is not much code in there. All I can say about it is that you shouldn't use normal contacts for load display function as it will be called in every scan and lock the screen. Also that ESTOP input should power off the outputs. A lot of work still, maybe you could start with ladder and post here when you get stuck.
  11. Looking for a piece of advice here. I put safety contact on wire that brings power to outputs, and noticed while testing that sometimes PLC loses serial connection with laptop when safety is activated. This made me wonder is any circuitry in controller powered from this side and is this good practice or should I change it? Jazz controller is on the picture but I also noticed this on Vision.
  12. Safety contact on outputs

    Thanks for input guys, that's a good thread sgull, very informative. There's always one safety contact for contactor command voltage for motors and in run command circuit of VFDs. Maybe cutting power to outputs has sense only for relay models, especially with disturbance it is causing.
  13. Ing. Electronico

    It happened to me when I had "Set String Library" called in every scan. Easiest way to find error if you have your program divided into subroutines is to put MBs you don't use in front of "subroutine call" in main routine and call them one by one by setting MBs.
  14. v700 modbus tcp ip communication

    You use MB23 to connect Socket 2, MB23 is set only on power up, so if you lose connection there is no logic that tells it to reconnect. Add net: SB149 MB23 -|/|--------------(S)-
  15. OPC Communication Slow

    You can use Modbus for Vision-Jazz communication. Jazz has only one Ethernet port but it can be configured for both Modbus and PC connection (only one active at a time). Put memory segments you need to read in sequence (MI0, MI1, MI2...). Contact support for additional help to make SCADA work with all PLCs, it must be something trivial that you overlooked. I always received fast and useful advice Unitronics support.
  16. OPC Communication Slow

    I did have performance issues with UniOPC, it would overload CPU when large number of tags is being sampled, for this I switched to ModbusTCP. But it would work just fine with small number of tags. I never worked with ZView, what are communication settings for this SCADA? Like "Query pause" or com settings for channels (if you can switch communication to different channels they would run in parallel, while PLCs on single channel get pooled in sequence which tends to be slow). Are there any settings for tags like "store values" (for remembering historic values for graphs), I noticed those values get less omitted than those that are not keeping a record. Anyway, having instant response for SCADA with less than 1 second delay is not realistic. Like your 0,5 second flashing bit. You need different type of communication protocol to catch such a change.
  17. Help if possible.

    Hi there, You can use linearization blocks for this purpose by comparing current position with set point or use PTO functions in "Utils" menu to do this for you, there are examples for both ways in Help->Examples->Version900->Project Examples. If motor is not sized properly and you fear of loosing steps you could attach an encoder to Snap-in you are using.
  18. Is there any way to see which Ethernet socket is active on V700? I went with V700 because it has integrated Ethernet port, but now I can't use SB 147-150 like on other models that require expansion card.
  19. Correct me if I'm wrong: When bit goes from 0 to 1. In the next scan all -P- contacts for that bit go high for that scan. Similar with negative transition. What happens if bit restarts during the scan when -P- contacts are high? Do they go down after net where bit was restarted or do they stay high during the whole scan?
  20. Mr.

    I agree with this.
  21. Transition contacts

    Hi Alex, Thanks for the suggestions. Yes, I am using a Vison controller. There's this thread I found that deals with what goes "behind" ladder when using transitions, that I think answers my original question: I'll get my hands on a new controller in a couple of days and experiment to get it clear in my head just when -P- and -N- go high and when they go low. I saw this in the manual also, might be a smart thing to do when you are forced to use a lot of transitions.
  22. Transition contacts

    I have to troubleshoot one program that ended up overbloated and probably far more complex than needed to be because of a lot of crucial changes and irrational functions that I was requested to make. I would like to rewrite it, but unfortunately there's not much room for experimenting at this time. This is what's problematic in net 23: Sequence goes like this: 1 - ML0 register is restarted (goes to 0) (also ML0 is linked to high speed input) 2 - 0.4 seconds delay 3 - MB 9 is set, MB101 is set 4 - Net 23 doesn't change value of ML13 (problem) After manually changing value of ML13 in info mode it all works fine from that point on, PLC goes through that line of code as expected, it only stutters for the first time. These two registers aren't used much in other parts of program so that they could get overwritten somewhere in the process. There are a lot of transition contacts in program and couple of strange bugs that happen "sometimes". Program wouldn't even work until I broke big nets into more simple ones (I learned that this is good practice the hard way). Your example does show that there's something strange with using transition contacts, it also gave me an idea to try. I would like to better understand how PLC treats transition contacts. I assume it goes like this: - SCAN 1 - MB0 is set - SCAN 2 - MB0 transition contacts go high - SCAN 3 - MB0 transition contacts go low I assume it works like that because transitions can be used in net 1, and SET/RESET coil can be in net 20, for example. I don't have any Vision I could test this on at the moment. I'll get around this problem, I am more interested in learning about this strange behavior and why big nets don't work as expected.
  23. V 570 and kepserver

    It would be helpful to submit your ladder and screenshot of tags settings, that's probably where the problem is. If you did all as in Henny's post maybe you have a problem in network. Did you try to ping V570? Also try pinging with cable disconnected, maybe you have two devices with same IP address.
  24. You are correct, Vision Controler does have 512 MLs. Excel sheet is just expanded to 4096 for all operands, amount of registers wasn't accounted for. I tried to read address 30030 from V350 through Modbus TCP (with function codes 3: and 35:) but didn't get any reading. I don't know if it is a valid address or not. Just for clarification, do addresses from Excel read correct values in your case or do they have +30000 offset as Joe said?
  25. Ok I edited program a little bit, if I understood correctly what are you trying to do . There is an example program for MODBUS TCP in the VisiLogic examples in help menu if you haven't checked it out yet. Layout.vlp