Jump to content

Ausman

MVP 2023
  • Posts

    2,576
  • Joined

  • Last visited

  • Days Won

    174

Everything posted by Ausman

  1. Uhmmm. Not being picky, but doesn't getting 200mm out of 1000 counts mean that 1 count = 0.2mm , and subsequent maths should be based on that. You look like you've got the target correct, Visco, just a little bit more coffee needed on the other relationship. 😉 Other MLs immediately storing the encoder's current count can be used and manipulated, thus not upsetting the main encoder count at all. cheers, Aus
  2. I understand the situation, and I could be wrong but it's likely that earlier versions of RO will work ok on later O/Ss. edit: But there might be issues with the program not knowing about the latest plc versions and how to display them. There would possibly be nothing wrong with you using an early version, thus getting around the issue. And if you don't have a copy, you could ask here for what version you want. cheers, Aus
  3. So Joe, are you saying I'm old 'cause I've got lots of those? 😀 As soon as I read your suggestion I was cursing that that thought hadn't popped into my brain. Maybe the old grey matter was simply thinking along the lines of a hub anyway, forgetting "modern" progress. cheers, Aus
  4. And my brain has obviously pondered this all day, because tonight up popped this other idea. (thanks so very much for keeping my brain active!) Further to your "Just as an update", I think you should try running everything through a router, which might give you better control and monitoring to ensure that the Samba is indeed correctly on the network. Or simply wait for someone who actually knows the full details to post their secrets! But it might be a long wait. cheers, Aus
  5. Kratmel, SB314 is the same for 130s. Whenever I have no comms it is one of the first things I check, but in this case I dismissed it given the problem's description. But it would be worthwhile for CRPLC to actually check it via info mode...just to make sure it is OFF and, as you say, it hasn't been accidentally set to ON. cheers, AUs
  6. Do you have another puter you can try things on that has a native 232 port? And I've assumed all along that the plc doesn't have an ethernet card. If it does, use that instead. cheers, Aus
  7. You say that you have 2 cards. So perhaps your correct layout should be with the PC purely acting as a pass through, with shark monitoring the line. I was thinking that you might need another card, but when re-reading your post saw that you already have one on board. And another thought, perhaps all you need might be obvious if you monitor comms using serial. In theory the contents of packets would be vaguely similar and you might be able to combine this with other methods you are already using that you know works. cheers, Aus
  8. It appears that you are using a usb to serial adapter. The port settings that info mode is showing should work ok, so the only other thing that might be sus is........ Is the adapter showing correctly in device manager when you plug it into the usb port? Ensure that the com settings everywhere......device manager, Visilogic match perfectly to what is needed, sometimes this cures isses. And ensure that you haven't accidentally changed the comm type in Visi itself...you should be using Serial on whatever port it shows up at. Hmmmm. perhaps that is the issue. Wondering if something has upset the port numbering so Visi is now trying on the wrong port. Ensure that the port number showing in Device Manager is the one in your Visi comms settings. If that doesn't work, I'd uninstall the usb adapter completely.....take out the drivers too, and then reinstall it in the correct order it says to with the drivers it came with. cheers, Aus
  9. Hmmmm. Ensure your A/V isn't blocking anything. Try using a crossover cable on your first method to eliminate the switch. I can't see that will help, but perhaps worth a try. Further thinking needed. Seemed like a good idea, but I knew it might be hard to do! It does sound like some crucial bit of info is being stopped somewhere along the route. cheers, Aus
  10. One way that I could see you getting an idea of what you need would be for you to actually write a small program that uses one of your Sambas as a Master to use the Read from Data Table FB. Once you have that in place (and obviously with a bit of extra cabling) run the FB whilst using a monitor on the line to see what is actually being said b/n the Master and the interrogated Slave. Something like SmartSniff etc might do the job. Whether it will translate easily is the unknown, but it will at least give you a fairly definite starting point. cheers, Aus
  11. No. I tried pinky-click all over the place and I get your result. Sorry about the wrong comment selection. I can open a scroll command box, I can open the font format etc, but I can't make the comment space any bigger either, and I spent 10 minutes hunting around playing "find the hidden control". It looks like a bug to me, as the thing on the RHS looks like the top of a scroll bar that I assume is meant to be showing completely when you choose to see a comment. Perhaps the creators think that hovering is the best way to see the full comment...that works, but is a bit impractical. cheers, Aus
  12. One of my main issues is W10 repeatedly changing my "do not update my drivers" setting to "let us stuff up your system by changing your drivers because you have now unticked the box that stops this happening...even though we actually unticked it for you without telling you". It is so bad that on one system they even change a whole lot of gpedit settings to enable this to happen. So I have to be careful every major update to ensure all of these settings get changed back to what I have set before enough time goes by that they can do it again and make the system unbootable. I can't use WinAero on this system to stop updates happening......"security!" It's a bit like your car service guys filling your petrol vehicle's tank with diesel during a routine service. After it comes back from them you have to drain the tank, flush the lines, refill with petrol and then crank it all up and check things! Just to make your car runs correctly again. And all at your time and expense, even though they charged you for the work they did. cheers, Aus
  13. For a less sophisticated version of what Joe is talking about, forget the word "timers" completely. I think him saying "combination of a timer incrementing a pointer" is essentially referring to what I call a counter being incremented by 1 every time cycle. I often mention that in many instances counter based systems are the much forgotten/ignored method that is a much better solution than a combination of timers, due to their simplicity of making outputs do whatever you want at a certain time......but for "time" read "a section of the count". For the less sophisticated method, use compares that set your outputs on when they fall in range on the numbers coming up as the counter is running. Once everything is on, stop the counter at that point but don't reset it. To shut down, start the counter again and the outputs are shut down progressively as the compares do their stuff. Once everything is finished, you stop the counter and reset it either at the stop or the next start signal. Accuracy needed dictates what you use as your timer that increments the counter. cheers, Aus
  14. Hi Joe, As I'm not really into Unilogic, I only have 1.18.60 on my system for occasional playing around. It appears to handle comments fine. See attachments. It will automatically roll into another line and open a scroll bar if necessary. I was simply playing galloping horses on the keyboard. Same thing but with the ladder area widened. Wondering if it might be another hiccouph in the new release? Incidentally, and probably another topic, I was intrigued that I couldn't open my simple test program if I clanged the Unitronics.Notifier.exe after program open but before opening the ulpr. What exactly does this part of Unilogic do? Hmmm?!! cheers, Aus
  15. You're forgiven! But it really depends on how you view the screen...if you're the screen looking out it is on the right! 🤪 cheers, Aus
  16. Try Stemberra's suggestion before doing my full reset....which is a little akin to reinstalling Windows! But not too hard and time consuming. Just making sure that you fully understood this. You have no com init in your program at all? It still sounds to me like you have something in your program that is altering the com port settings. cheers, Aus
  17. Have you tried other cables? (the first thing to try.....you wouldn't believe the coincidences and subsequent frustrations that happen with a cable failure!!) Did your program change anything relating to the com port? What is the com port showing in info mode? Can you access it at all in boot mode? Have you tried doing a full reset of the plc using info mode and then loaded your original progam back in after doing everything else needed? cheers, Aus
  18. I wish I had a model of each type of Vision so that I could load up people's programs to check them "in the flesh", as issues are always easier to find. But sadly I don't, and never will unless Unitronics does some donations to everyone who needs them on the forum! And sometimes I can't spend a heap of time going through the program in Visi to find a hiccouph! One of the hardest things in the world is going through someone else's program to find a fault. We all do things differently! Good call Flex, and keep at it, Paul. cheers, Aus
  19. As well as all of the above suggestions, did you do what I suggested?.......... Pull the card from the plc and refit it, making sure everything is going together perfectly. Do an Initialise and Reset on the plc after doing this refit. And also make sure that the pins on the plc's and PC's sockets are all uniform height and not showing any signs of damage, misalignment etc. lastly, is anything that requires power to operate properly correctly connected and commoned?
  20. HI Kratmel, I get highlights hovering on your "modbus links", but nothing else happens. Have you got descriptions linked to them that aren't working properly? Hots is correct. Perhaps you have done this already in your descriptions that aren't showing, but I would be using a serial monitor b/n the device and the PC to find exactly what is being sent to and fro, so that you have the exact string structure you are needing to implement. cheers, Aus
  21. Hi Paul, in quickly looking at your program there are a few standout things that I would be doing very differently. 1). As Flex is fond of saying...."Unitronics don't charge for ladder rungs". You have way too much happening in a lot of rungs. eg Main routine 7. Sometimes things don't work as you would expect with too many things bundled into the same rung, due to the way things happen internally. It might work, but it is often way easier to troubleshoot later if things are broken down into separate areas. There is nothing wrong with using an MB as a "sub-controlling" bit to do the same trigger over and over in progressive rungs to prevent trying to do it all in one. 2). MRoutine rung 15 why use set and reset on actual outputs? Set and reset can lead to all sorts of issues. Much better to have them as power up as "none" and normal controls make them on or off. If you really need things to boot to a certain setting, in the Output list you can see a "power plug" and you can choose what state you want things to boot to, None, Set, Reset, but remember that immediately anything else in the program tells the output to do the opposite action it will occur. Edit: use -( )- as the coil. 3). Without a deeper look, it is possible that your way of using MBs linked to displays is causing issues. I always try to use the ON state of such an MB as the trigger for any ladderwork, and said ladderwork is often in a subroutine that is only run when the screen is active. Your method of using -[ / ]- to say a display is not on might be the reason for the hiccouph. Once you get more used to programming, you inevitably come back to something you first did and go "why in the world did I do it that way?!!" But keeping on at things and learning all the time is part of the process. As you are doing. cheers, Aus
  22. Now for my latest whinge. I still only have W10 on some systems, and not the ones I use everyday. I recently changed the desktop background on one of the W10 puters to a pic of my wife sitting in a chair whilst on holidays. Upon booting that puter a few days later, all my start menu and other settings backgrounds etc had changed to a bright red. Huh? Is this some sort of alert? What is going on? I eventually discovered that W10 has another "feature" that changes your system colours to one based on the predominant colour of your desktop background. As the chair was bright red, M$oft decided that I would like a whole host of things changed to that colour, away from what I had originally set them at because the standard colouring is hopeless to use in certain light conditions. Thankyou so much, M$oft, for again stuffing up my settings......those ones that I, the user/purchaser of your product, prefer. Edit...it's almost like a government department, with people constantly dreaming up useless things to keep themselves in employment! cheers, Aus
  23. What's wrong with 0-360° in 1° steps, user entered as a controlling number instead of a display? How "pretty" does it have to be? Is it a case of form before function? cheers, Aus
  24. So does that in some ways allow what the OP wanted to do, just to check what other things in the program display/react to etc? Or does the real input over-ride any user input immediately? cheers, Aus
  25. Damcos/David, I have moved your ask to be a new topic. It is here: cheers, Aus
×
×
  • Create New...