Jump to content


Popular Content

Showing content with the highest reputation since 03/26/2019 in all areas

  1. 3 points
    OK, Done. Next release.
  2. 2 points
    I watched the attempted moon landing today with great anticipation. Sadly, there was a failure just seconds before the landing which prevented the mission from being a total success, however, I would like to congratulate the Israel Space Agency, Israel, and all the Israeli people for what they did accomplish. This was a private initiative that attempted to do something that only 3 other nations have accomplished in the history of man (and something that none of them are still able to accomplish). What they did successfully accomplish was to place a spacecraft into a stable orbit around the moon, which also has only been performed by three other nations. This was an inspiration to us all and I am certain the next attempt will be 100% successful.
  3. 2 points
    Actually..... https://en.wikipedia.org/wiki/Apollo_Guidance_Computer The V130 has more horsepower than this. I listened to this book about the space program on audio- http://www.craignelson.us/books/rocket-men/ The actual landing of the lunar module on the moon was done by the astronauts. The landing site initially selected wasn't what NASA thought it was - it was full of boulders and Neil Armstrong had to manually fly the lander sideways for quite a distance to clear them. There are just some circumstances with too many unknown variables that a computer can't handle. J
  4. 2 points
    @chay Seriously, dude, you are going to catch nothing but grief asking questions like this on the forum. This forum is maintained by unpaid volunteers. If somebody posts code showing that they have put the time in and tried to learn themselves we will bend over backwards trying to help them. Put the time in yourself. Then ask questions. Joe T.
  5. 1 point
    At the end of program (at the end of every scan) copy those registers into some other free DWs. Then at startup copy them back, via SB2 contact. I think there should be a complete example of this method somewhere in this forum, I've seen this topic before.
  6. 1 point
    first configure the PLC to be a TCP-Server After that insert to the ladder the element to receive data from the client. The "Received Buffer" should be very long so your incoming message can be fully received with no problem. The "Length received" integer and "Received message" bit will be use to parse your message and get your information. After receiving your buffer you would like to parse the massage, for that you first need to create the general form of the message your PLC receives. You said you will send a message that looks like "/X300,Y300,Z300/" while the numbers are the only one who change, so this is the general message form and in the places your numbers appears I put a different variable for each number. After that you should put the ladder element for parsing your message, and add your number to the HMI. You can use a program called Hercules, to simulate TCP connection as a client, this is how I checked that my application works.
  7. 1 point
    I believe USB is converted to Ethernet inside the Unistream. Your firewall could be blocking it. I use Avast and have to put it in "silent mode" or add an exception for USB to Unistream to work.
  8. 1 point
    Understand that this is a volunteer forum. You can always send your questions to support@unitronics.com. When you ask for help, you'll get a quicker response if you post a link for the manual of the device you're trying to talk to. This is professional courtesy; otherwise we have to go digging to try to help you with something you bought from another vendor. If we have time. So this is what you should have put in your post- http://files.danfoss.com/download/Drives/Vacon-100-Modbus-User-Manual-DPD00156D-UK.pdf I do appreciate the photo of your com cable - it is made correctly for RS485. Did you enable Modbus protocol in the drive? (pg 23) Unitronics Modbus is zero based, while a lot of devices are 1-based - try reading address 2102. When you activate your test bit, does status MI 2 go to 5 or 0? Did you try swapping the A & B wires on the RS 485 port on the drive? Joe T.
  9. 1 point
    I have found the Vect. Linearization block most useful in Visilogic for dealing with applications involving temperature. For example, how do you get rid of that pesky decimal point on a whole thermocouple module in one fell swoop? Here's how- So when I'm translating this application to UniStream I discover this block is missing. The Help on the UniLogic describes how an array can be passed as a parameter, but it doesn't mention that only one element of the array can be passed. I spent a fair amount of time trying to specify my thermocouple structure as the input argument to the Linearize block to no avail and eventually contacted support. No, you can't pass a whole array. So having learned my lesson from the PWM block I went looking in the examples. Sure enough, one of the Creators had wisely made an example app containing the "Linearize Array" UDFB, which is set up to handle a 16 element array. Make sure all your variable structures and data types match when you're using any UDFB. On top of removing the decimal, my customer made the totally unreasonable request of being able to convert all the temperatures from F to C from a button on the screen. Fahrenheit rules the world! No, wait a minute, it doesn't. Anyway, here's what I came up with using the UDFB- Remove the decimal. Notice that the convert F to C block does it automatically- Now the first time I did this, I realized that all the user setpoints were still in the units entered. So we have to convert all those, too. I do like how the input parameters are easily recognizable and editable using the UDFB. And good times where had by all. Joe T. Linearize Array.ulle
  10. 1 point
    This feature has been asked for recently. +1 on its handiness. All posts need to be approved by a moderator until Cara decides you are worthy and mature enough to approve your own posts. Joe T.
  11. 1 point
    Issue is resolved. As Dan T suggested, 1. Power off. 2. Touch screen until power cycled On for over 1 second. 3. Tap screen several times. 4. Go to Connection in Visilogics. 5. Go to Communication -PC settings and select 115200k baud (i had used 57.6k, which may have caused the problem). select Get to confirm the unit is communicating. 6. Proceed with os download as before. Just for clarify: 1. Power was never an issue. The plug was firmly attached, and I noticed the draw on my v130 dimming every time I plugged in the v570. 2. My confusion was in expecting some visual response after the power cycle and tapping routine. When the unit stayed black screened, I panicked. I should have tried to connect to it. 3. Thanks to Tom from tech support for stepping me thru. all good now.
  12. 1 point
    I'm talking about something like this- Whenever the machine reaches the position want the operator to start from you trigger MB 0 to create a reference. The SUB block ties them together and ML 2 will equal 0. Then you compare the value of ML2 to something to get your operator cut. Joe T.
  13. 1 point
    Just to reiterate what Ausman said, if there was a single piece of advice I could place at the top of the forum in giant flashing red letters it would be: DO NOT PLACE MULTIPLE LOGIC NETWORKS IN A SINGLE LADDER RUNG! The whole point of having ladder rungs is to separate out your logic networks. That said, I did load your program into a V700 I have here in my office, and while I cannot attest to whether your logic is working as you expect it to, it did not create the "Fatal Error" you are seeing. You have a hardware or electrical noise issue causing your problem.
  14. 1 point
    I've had a quick look at your program, and there is way too much happening in single ladder rungs/nets (however you call them). In particular, compile brings up warnings, noting that you are doing what I say above, by changing bit values in a net and reading the value in the same net. You have numerous direct coils/sets/resets in the same net. It all might work, but it is a potential problem and ideally needs to be cleaned up a lot. I'm not saying that this is the issue, but it is possible. The plc does not always run through a complex ladder rung the way you have it on your screen, and this can cause issues. If Barry and Joe's suggestions don't help immediately, revisit the portions of your ladder that compile says are issues. Split them out into extra rungs. Do the same for any other rung that looks too "cluttered". This might need a fair bit of work, and a few extra MBs etc, but in the long run will make any work or troubleshooting on the machine far, far easier. cheers, Aus
  15. 1 point
    This is most probably the same problem as the "V350 Fatal Error" post. There may well be electrical noise in your system causing the fault. Do you have VFDs and/or large contactors in your system? If you can, post a schematic of your machine. Quickly. Joe T.
  16. 1 point
    Another option is to send a compressed file to a SD card installed in the PLC and then trigger it to update the program from there. We typically do this if we are not having a tech on site(sales reps don’t count). As we have a copy of the current program in the SD card the rep can test and if there’s a problem they can revert back to the previous program and NOT rely on the Ethernet connection to stay up.
  17. 1 point
    Moved post to the correct forum. You use VisiLogic, not Remote Access to download a program. To answer your question, you can download a program remotely through Ethernet exactly the same way you do locally through Ethernet. All you need is a connection through the internet, whether by port forwarding, VPN, or any other method that gives you a network connection.
  18. 1 point
    It would be a lot nicer if the built-in silencing button could work to silence whatever external alarm sounds there are. Are there any plans to add this functionality?
  19. 1 point
    Screenshot, boys. Screenshot. Joe T.
  20. 1 point
    You can find many example projects that you can refuse to and use. You could find there a "UniStream_070_schedule.ulpr" that will help you in setting a schedule. Furthermore, with in that folder, you will have a folder named UDFB, copy it`s content and save is in the next path: C:\Users\Guys\Documents\Unitronics\UniLogic\Library\Ladder (Set your [User Name] incited of "Guy") Within UniLogic, go to "Library" and add "RTC to ASCII" , drag the new "RTC to ASCII" subroutine to yor 'Function1", and set in the input the format you like. Time .ulpr
  21. 1 point
    ofer.yishai, I've found a workaround to the timer bug. The timers are being triggered on the Initial Ladder Cycle when active on bootup. If you place an inverted contact for "General.Ladder Initial Cycle" in front of the timer logic, then the timer will behave as it should (reset on bootup without triggering the Out bit, and continue timing).
  22. 1 point
    You can create a struct that contains the information structure that you want to pass to the UDFB. It is more logical to pass a struct with 50 members other than passing 50 inputs. Think of how the ladder element that accepts the 50 inputs will look like. it will start at the benining of the screen, and you would have to scroll few pages down in order to see its end.
  • Create New...