Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 11/13/2018 in Posts

  1. 2 points
    @Arnor, I think I've found the problem. Take the dll below and overwrite the one that exists in your installation folder. Make sure to create a backup of the original dll first. Please update me if it helps. Thanks. Unitronics.RemoteOperator.dll
  2. 1 point
    Debug function for rung time mesurement... Find in help.
  3. 1 point
    In net 2 you have Socket 0 Connect four times to different IP addresses. You can't do this - the socket can only connect to one at a time. And you have to close the socket each time. You should also use a positive transitional for this, as the Socket won't talk while it's Connecting. It looks like want to talk to the valves every 5 seconds. You also don't have a coil for MB 435 Socket 0 Close. You may need a short delay (0.1 s) before switching IP addresses to another valve to let the Modbus finish. I put this into one of my State Machines as this is what I do for fun on a Saturday night and this is a good example for other users. The pointer / Equal block method allows more control. I did this in VisiLogic 9.8.79. Let us know if it works. Joe T. sample1040tcpip JT.vlp
  4. 1 point
    We need to see inside those function blocks to provide any meaningful help. Post your .vlp file. Alternatively, you can review the example projects that came with your VisiLogic installation. They show the proper way to set up MODBUS TCP communications.
  5. 1 point
    All Vision PLCs work the same way when it comes to Modbus, so the ladder code in the V130 example will work in the V350. Typically the Modbus master is using the RHR #3 (read holding registers) and PHR #16 (preset holding registers) commands when talking to a slave such as a VFD. The picture of your code uses function #8 Loopback Test, which isn't going to do anything except prove the PLC can talk to itself. Post your actual PLC program and a link to the Hitachi x200 communication reference containing the Modbus register table. Joe T.
  6. 1 point
    There are a few things wrong here. My understanding is you want the plc to control the Hitachi. So the plc is going to be the Master. I suggest that you look at Visilogic/Help/Examples/Version 900/ Project examples/Communications/Modbus/V130 Modbus_Master to give you a better idea of how to go about things. cheers, Aus
  7. 1 point
    A is a string you wish to know the length of and B is the numerical length. You would put an INT16 variable in B and compare it to the result of another string (or to the number 10) to see if they're equal.
  8. 1 point
    Have you tried the String Length function (in the strings menu)? Joe T.
  9. 1 point
    Responded to a private message about what the J terminology is, that appears in product naming. It is simply the fitting of the flat fascia. So in case you don't know, a V130-J-RA22 is the equivalent of a V130-33-RA22. The same naming system is across all the models. In Visilogic choose accordingly. Cheers, Aus
  10. 1 point
    Just put a positive transition of SB3 in front of your Store function in line 14.
  11. 1 point
    Dan- You are really going to be freaked out when you realize Unitronics allows multiple coil stacking and curvy logic joints- If your primary focus has been the various flavors of RSLogix, I totally understand your irritation with the Unitronics way. After I originally read your post I considered the packages I've also programmed- AB SLC500 + uLogix, PLC 5, RSLogix 5000, Omron, Mitsubishi, Idec, Siemens, and the Modicon x84 series. As you state, it seems to be a toss-up as to rung-starting methodology. None of them were especially difficult to figure out with the exception of Omron, with it's little key-initiated edit/insert mode that's not really explained anywhere. And no subroutines, just a continuation of segments. I hated working with that product. In the BeforeTime, when there were only two real PLCs in the US market (AB and Modicon), it's interesting to note that AB always used the rung-and-branch method while Modicon used the 7 x 11 network method. You could have up to 7 contacts hanging on the rail with interconnecting logic This was the comment that raised my eyebrows- Especially on your first post. This software is free. All of it. Always has been. So is the forum. And support requests. It does work, albeit with some quirky nuances. I was just quoted $950 for an additional FactoryTalk View ME license to allow me to program the $5,000 PanelView Plus I just bought. Add that to my $800 annual TechConnect contract. It's one thing to pay for software, it's another thing to get totally bent over for it. Hopefully you can get past the software weirdness and find the product to be a good and cost-effective solution. Joe T.
  12. 1 point
    You might want to look at this post and read the entire topic . It might be of use to you, or at least point you in the right direction. It all depends on how many pulses you get per given flow amount. Cheers, Aus
  13. 1 point
    That appears to be a digital pulse flowmeter. You will need to write some code to sum the pulses and divide by the time. This link may help you get started: https://control.com/thread/1239744023
  14. 1 point
    This is a user forum. While Unitronics employees occasionally weigh in, this forum is mostly populated by users who are not directly affiliated with Unitronics. I recommend that you send an email to support@unitronics.com to get an answer directly from the source.
  15. 1 point
    Dear JotaPey, one of the attributes is called "actions", first in the attributes list, if you select this a small window will appear...in this window you can select many actions (set or reset BIT, load screen etc)...maybe you have added one action but without coupling the specific BIT to set or other...please check.
  16. 1 point
    https://unitronicsplc.com/Download/SoftwareUtilities/DataXportSetup_3_1_Build22.exe Found under the listings at the bottom of this page: https://unitronicsplc.com/software-visilogic-for-programmable-controllers/ cheers, Aus
  17. 1 point
    Alternatively do some maths before your overflow condition is reached, with the "tipping point" then adding 1 to another DW which is the count for the much larger amount, and then resetting the primary count to 0. Depending on how quickly this all happens, sometimes you even cascade this sort of thing down through a series of DWs. I arrange the maths so that the cascaded DWs etc are all in simple to work with numbers, like exactly 1,000,000,000. Each time this condition is met at the primary count, the +1 addition is done to the next DW and the primary count is reset to 0 and starts again. So you might end up with primary of 984,455,654 and the next one in line being 123,456 which means your total count is 984,455,654 + (1,000,000,000 X 123,456) = 123,456,984,455,654. The final maths is done in whatever external program is used to monitor the results, but doing things the way I have said above also makes it easy to do things in your head if necessary. cheers, Aus
  18. 1 point
    I got this UDFB from support when asking about NTP. Maybe you need to modify it to suit you. It works. It was easier in VisiLogic. UniStream_070_RFC_1305_UDFB.ulpr
  19. 1 point
    This is a question for the Creators. Cut and paste your above post and send it to support@unitronics.com. This forum is not an official representation of the Unitronics staff, although they do weigh in from time to time. Joe T.
  20. 1 point
    Hi Cheris, this might sound harsh, but the forum does not do your work for you. I once said this in another post: << The real art to programming plcs is to first break down your process to every single procedure you are going to need to achieve your desired result, and then arranging those procedures to achieve this result in the most efficient manner. (You need to remember that in general plcs are very dumb and need to be told how to do everything.) I do this using a spreadsheet owing to the ease of moving things around, but there are many other methods including whiteboards, depending on complexity. (Some people end up with a correctly drawn flow chart once everything is finalised, but for me that isn't needed.) Once you have done that, if there is a procedure needed that you are unfamiliar with, or haven't used before, you then go to your plc's list of things it can do and find the function/maths/compare etc that best matches what you need to achieve. You then learn everything you can about the way it works, by consulting the help files, looking at examples and then physically doing a trial, using the plc, of something simple involving that procedure to ensure you are totally familiar with the way it works. Eventually you can tie it all together into a fully functioning, simple as possible program that the little men, women and gender neutral people (we are very PC on this forum!) running around inside the plc are quite happy to do over and over and over again without getting tired. >> Members of the forum are very glad to help when you have a question regarding an issue/question/problem you discover when developing your own program using the above principles. We all started from basics, using help files and experiments. cheers, Aus
  21. 1 point
    Ik krijg mijn waarden op de Excel-pagina maar kan maar 1 waarde zien. Ik zou mijn waarden elke minuut willen zien, zodat ik er een grafiek van kan maken. Ik gebruik nu M90 en ik lees het in Excel via uniDDe server. Wie geeft mij advies?
  22. 1 point
    Loaded your code into a V570 (it's what I have handy - really need to appropriate myself a V700) and connected it to the PC running the terminal program. This is what came out: So it appears to be working. I added a Scan block and a field on the display to show the raw value of what comes back. Load this in and let us know what you find. Joe T. rs232send_JT.vlp
  23. 1 point
    I recently upgraded a client's computers with some nice little Lenovos. Perfect, except that they didn't come with any recovery media...you order what/if you want and they deliver as necessary. They say this is to save the planet's resources.....great idea. Here's the pic of what arrived. Have a good look at the ruler and something else in the pic and you'll understand my exasperation! cheers, Aus
  24. 1 point
    Hello, I'm attaching an example of how to load the current value of a timer in count up form into MI. This is a 1 minute timer example, you can use 13sec timer and replace 6000 with 1300. Then just use comparison functions to achieve the image sequence you need by storing values in another MI linked to images list based on timer's current value.
  25. 1 point
    Hello Marko, Quick question: are you using 115,200 baud? This is required, as the enhanced series PLCs always revert to 115,200 baud once the OS has been erased. Also, try powering down the unit, removing the battery and leaving the unit powered down for at least 30 minutes. Then power up with your finger on the (i) key, and try the OS update again. Once all is well you can put the battery back in. DISCLAIMER: I haven't yet powered up a V560 for myself, so am assuming it behaves the same as its cousins.
×