Jump to content

Ausman

MVP 2023
  • Posts

    2,590
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by Ausman

  1. Decision at 1015 makes no sense to me given the number relationships in the table at the top. I would be expecting the decision at 1014 if the values are 32-bit. Is this perhaps a typo? Or am I missing something? It wouldn't be the first time I've seen wrong info from a maker that completely screws up attempts to read things correctly. I'd be doing Joe's thoughts but as 2 steps, with the 2nd step being the decision block into the MI as you have already done successfully. But Joe does way more of this sort of thing than me, so will likely have a much better way. cheers, Aus
  2. Yep, missed that in the first net. Perhaps it is one of my stooopid days today. Next theory on the issue is that anything to do with SD card read/writes happens veryyy slowlllyyy. Try reading/writing to the card online and see how slowly it goes. Maybe you are running out of time and the card write is not actually finished. Trial making TD13 a minute and see what happens. And Edit...I just noticed you are using Append! Doesn't this mean that you have (60/6) x 30) ie 300 writes to the card? Which again gets back to my original comment about 64 files. cheers, Aus
  3. This possibly may not be the bug at all, but a true problem that is bringing up the same screen because of a genuine error. The bug incorrectly brought up this screen in certain circumstances of running. Yours sounds like a corruption issue, and I would be starting again from the very basics. cheers, Aus
  4. Try making TD13 in net 2 a positive transitional. At present it appears to be writing every scan if MB211 is on. Or change some of your other contacts to transitionals, so that they only work for one scan. The little people inside the PLC are running out of breath doing the same thing again and again and again. ? cheers, Aus
  5. Further to Joe's response, use Modbus poll or similar on your PC to interrogate the device and see how the answers come back. Much quicker than trying changes on the 350, and then points you in the right direction. cheers, Aus
  6. Hi jkoenig, perhaps you have missed the info about size limits for SD card folders. Using the index in Help, find SD and then look at SD cards. In there you will eventually find the 64 files limit references, under Folders and File types. This might be the explanation and you might need to change your procedures/methods. cheers, Aus
  7. Mohammed, I had you confused with the OP, as your post seemed to take on from there. Hence me...and possibly others... thinking you were on an adapter. Have you throttled back/changed around in trial the FIFO buffers on the com port? cheers, Aus
  8. OK, last attack for me. This still sounds like the plc is changing its comms settings during the process. Have you forced the settings to standard on com 1 via info mode? Are you on W10? It may have changed your usb to serial converter drivers without you knowing it. Put back in the ones it came with. Do this anyway if on another version. Have you added any cards? And is the snap-in correctly and fully seated? Ensure that the pins on the port are all OK. I have seen pins bent through clumsy plug insertions that prevent proper contact. You need fine tweezers/bent pointy probe and steady hands for this. Some V230s can also communicate via com port 2, so try that. Again, make sure com port 2 is set correctly, changing it if necessary via info mode. If you have internal jumpers set to use it differently make sure they are set for standard 232. I also haven't asked if you have an ethernet port on the units? You could use that instead. And does your user program have a com port init in it that alters port 1's behaviour? Are your 27 plcs talking to each other? I'm still not convinced that it isn't a fairly simple problem, but without being there in the flesh it is hard......and frustrating for everyone! Probably time for another 230 to see if it does the same thing. cheers, Aus
  9. Hi Visco, Flex is correct but sort of. You can do this in a roundabout way. Have a look at my topic here: You can pretty much do as many instances as you want, and skip b/n them. For your cut and paste answer, what you can do is use Export/Import which is available as various Right Click options on hovering over different items. So to Copy X routine into your new program, in the running Visi with your source you right click/export and then in your other instance of running Visi you import it to where needed. You can do this with just one instance of Visi by changing programs, but having 2 instances on screen is easier. BUT... AND THIS IS A BIG BUT(T!! I'm sure there's a joke there that these days would get someone somewhere angry!) You have to be very careful that all the operands in your import are not already in use, as things just get brought in and added without regard to what is there. So it is useful, but has to be applied judiciously. I talk about this in the middle of the second topic mentioned in the above topic. My print as a pdf method is often far easier to work with, even though it is actual keyboard work. I remember mentioning on the forum the ability to copy paste with control over the operand numbers would be the ideal solution, but couldn't find it quickly and it also hasn't happened. So we are stuck with current procedures which work....sort of. All excellent programmers always think way ahead and figure out that we might need 15 subroutines from program X in new program Y, and actually start with Y and trim it down and then add all the new stuff. Yeahh......right! cheers, Aus
  10. Perhaps this is the real issue. You might need to be thinking about using the O/S and Visilogic version that match the original plc/program. cheers, Aus
  11. OK. We are assuming that your Visilogic install is OK being installed as Admin and also being run as Admin....not just by being the user logged on with Admin rights.....they are different....., and timeouts are large. It looks like there is a comms issue that happens part way through a transfer. (But the screenshot you are showing really really reminds me of NON-Admin issues!) There is a chance that a driver issue for your usb converter is at fault here....is there any way you can try another converter (or a direct coms port)...preferably from a good maker like Shentek etc? As you can do "Get OPLC information", in theory you can do an Initialise and Reset which is in the 2nd tab. Do this and try again. If it again falls over, again go into the communications window and select the 4th tab, click check and see what it brings up. Make a note of the OS mentioned which might be needed later if the next stuff doesn't work. Important: The following suggestions relate to using Info mode, and a good guide to it's use is here: https://unitronicsplc.com/Download/SoftwareHelp/VisiLogic_Knowledgebase/Utilities/Information_Mode.htm There are various bits of info on this page including a greyed area further down. 1). Go into Info mode and then go to System and scroll down until you get to the Serial port 1 settings. Ensure they are the same as your PC's device. See how that goes. If it doesn't work, try slowing the baud rate down on both ends. 2). As a final measure you can try fully erasing the PLC as you have your copy of the User Program. Again go into info mode and using the instructions in the above page listed under System/Erase all PLC data, get into bootstrap mode and have your comms ready to roll. Simply observe the display as instructed and connect at the right moment. Let's see how that all goes. cheers, Aus
  12. Like many devices that used to be 9 pin serial, the Jazz has "modernised" to being able to use a usb cable....but in reality it has simply had a usb to serial converter chip fitted onboard and is essentially still a serial device as it now has it's very own "USB to serial converter cable" built in. That's why it shows as such in Device Manager. Ensure you have the same settings in Device Manager as you have in U90. Sometimes a mismatch occurs and comms won't work. Also check your cable against known good...showing up in DM doesn't necessarily mean all the wires are connected! You would be surprised at the huge number of devices that used to be 9 pin 232 but have gone down the same path of "pretending" to be usb. For this reason you should assess each item that used to be serial but now has a usb connection very carefully, as the plugging in process can over-write existing drivers (often with total duds that only work for that device) and can tie you up in all sorts of painful knots. If you search on this forum you will find all sorts of references to USB to 232 converter issues, and they might be of assistance. If you still have issues, see what driver is actually being used for the link in DManager to ensure it is the correct one. cheers, Aus
  13. yes.....but are any of the 485 network IDs throughout the network the same? Aus
  14. Initial thought is to check that you don't have the same ID somewhere throughout the 485 network. cheers, Aus
  15. so the problem is solved? cheers, Aus
  16. So has anyone played with "Raw Value" underneath the Ohms indicator? I can't at present, and in answering this question I also can't find info about how Raw works. Seems a bit airy fairy,....what...you can just chuck anything at it and get the read direct?....but what?......mv, ma...huh? cheers, Aus
  17. Hi Milosh, It is unusual for the specific measurement of Ohms on most Unitronics gear, hence Isak's suggestion/answer. But this module is one of them and my understanding is that the Ohms setting lets you read a range of 1-320 Ω at 0.1 Ω resolution. I have attached the pdf manual which mentions this. cheers, Aus V200-18-E4XB.pdf
  18. And visiting this again, I think I see where your fundamental thinking is astray. I have a feeling that you are expecting to see MI0 showing the actual voltage. It doesn't work that way, it works the way Flex has pointed out in that analogue inputs generate numbers b/n a range, dependent on speed of read and type of input. And I still want you to use a voltmeter! cheers, Aus
  19. Yes....but what is the actual reading at the connections at the plc using a voltmeter? As Flex says, the MI0 is essentially indicating nothing is there at all. As C_R says, check connections, especially that your 0V are commoned correctly. cheers, Aus
  20. With device manager in windows open, when you plug in the Jazz does a com port appear in the list? And you do have the Jazz powered, don't you?!? cheers, Aus
  21. Hi again all, In setting up a new little computer that I'll talk about soon in another post, I persevered with an issue I could see arising. Discussed this with Saragani and eventually arrived at this simple solution. I was worried that if the tablet was ever lost or stolen, the device had all my ethernet links and passwords to remote sites on it, essentially embedded into Visilogic. Not really a good thing to have all the client's websites and plc access readily available to the crooks! I wanted a simple way to have that info somewhere else, like the TF card that I could remove as necessary. I considered installing the entire program onto the card, but this would then lead to lag as it was accessed for everything. Instead, I eventually found out about Symbolic Links. Those of you more into puters than me likely know of them already, but they were news to me, even though I've been using puters from when you ran them by burning a stick! They work like a shortcut that Windows itself uses. If Visilogic is being correctly run as Admin, it stores all the ethernet settings in C:\Program Files (X86)\Common Files\Unitronics as a file called Eth_Favorites.evb. What the link does is leave a "redirection" at that location to the location of the "real" Eth_Favorites.evb. In my learning curve, I found lots of info, with this site being the best explanation: https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ and the little program that I found easiest to use and doesn't install is here: http://www.softpedia.com/get/PORTABLE-SOFTWARE/System/System-Enhancements/Portable-Symbolic-Link-Creator.shtml We now come to how to use it all, so have a look at the attached screenshot. It is all pretty self-explanatory. The Real info is at E:\Unitest\Eth_Favorites.evb whilst the link is in the correct folder. If you do it correctly, it all works and is totally transparent. To make sure of full operation, do a test address to ensure that the real .evb is updated correctly. Using Notepad++ or similar, you should see the test address has been correctly added after you close the program. cheers, Aus
  22. For Michal and Arnor, another unlikely possibility for you to consider. Quite by accident I discovered that my A/V program has placed some Unitronics programs into the "I don't fully trust this program" areas of it's firewall. It has never upset my comms at all, so I am not changing it, but just wondering if your issues might be somehow related to what your A/V has done in regards to Rem Op. Cheers, Aus
  23. Thanks Jamie, good for everyone to know. cheers, Aus
×
×
  • Create New...