Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,860
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Adding a Module does not affect the program in any way. It's just a visual thing. I use modules when the number of subroutines or screens gets above five or so- Joe T.
  2. First of all, you've got too many logical statements in each network, and you've done it throughout your program. It can cause the program to compile in a way that is not predictable. This is wrong: This is the right way to do it: Notice there's only one output per network. There is no limit on the number of networks you have. Now you may come back and say "It compiles without errors so I'm going to leave it alone". Yes, it probably will compile but go back to my first statement - it may not operate the way you think it should. There are other posts on this forum where that is exactly what happened. I can't force you to go back and separate all your networks but I obviously highly recommend it. Enough criticism - on to your question. Use each reset button to set a bit, and then call the confirmation display. The Yes and No buttons continue or cancel the reset operation and return. I've added a subroutine called "Confirm Reset" and a display to your project for the first reset. You can do the rest. Take a look and let us know if it's what you're looking for. Joe T. LADDERMAQUINADECURAV2 JT.vlp
  3. New program version saved every day. Cloud backup program that synchronizes almost instantaneously - I use "Syncplicity". Then it copies everything to my secret remote development location, too. Joe T.
  4. Never use port 1 to communicate to external devices unless you've installed an Ethernet card so you can still get in. Buy another serial port and use COM 2 for this sort of thing or get an Ethernet card. Joe T.
  5. If you post your program I'll hack one in for you. "Do you want to blow up the world?" "Confirm YES" and "Well, not today" buttons will appear. You can then look at how I did it. Joe T.
  6. When I put a V700 on a project (which is my go-to model these days) I often get the comment "Couldn't you have used a bigger screen?" Gah. We sell a lot of 1210's for that reason. Actual screen sharpness has never been a complaint. They're not watching the Netflix on this thing. In the end you just need to decide how big of a screen you want. Joe T.
  7. I'm converting a V700 program to UniStream and came across a PWM SCAN block for heater SSR control. I searched the Toolbox and the Help and came to learn that the PWM block is not a standard block in UniLogicLand. Then I went looking on the UniStream software and hardware forums - nothing there. After about an hour of getting frustrated I looked through the UniLogic examples. Which I don't normally do - I'm an experienced programmer, by cracky!😫 Anyway, lo and behold, there was a PWM example. Turns out the PWM block has been morphed to a UDFB, which was actually pretty easy to implement after I figured out one of the input tags is a TIMER data type. Fortunately one of the Creators thought of this. So I'm posting the UDFB for everyone's reference. Joe T. PWM.ulle
  8. This can certainly be done. I looked through the examples and didn't find one for this application, but it shouldn't be too hard. Look over the data sheets and determine which outputs are high speed and then connect one to one of the inputs. Take a swing at it and post your program so we can help. Joe T.
  9. Cellular router for the mobile locations - Sierra RV50X. Joe T.
  10. I have written a program running 24 PID loops which worked fine. You do have to provide a separate memory allocation for all the MI's (including the auto-tuners) for each one. Post your program so we can have a look. Joe T.
  11. Send your modem model and any other details that may be helpful to support@unitronics.com Joe T.
  12. This is much easier if you put Ethernet cards in all your PLCs and network them. Then give us an idea of what you mean by "control them all". Do you want to see or change data on all the PLCs at the same time on one PC? If so, then hotwires' suggestion on some HMI software is the best way to do it. Joe T.
  13. Understand that the forum is not the official Unitroncs support channel - it is manned by volunteer users and sometimes gets visited by Unitronics employees. I suggest forwarding your bug to support@unitronics.com for an official response. Joe T.
  14. Screenshot, boys. Screenshot. Joe T.
  15. Send your application to support@unitronics.com and they'll have an official look at your problem. Joe T.
  16. I am a distributor. There is a two year warranty on Unitronics hardware. I'd contact your supplier. Schematics are not available anywhere, so this is a risky endeavor at best. Joe T.
  17. Stay out of Info Mode for this sort of thing. You can use sockets to have up to four simultaneous Ethernet connections to the same PLC. If you really need to change the IP address you can re-init the card from logic - there's no rule that the card can only be initialized on startup. Post your program and I'll hack it up for you to show you what I'm talking about. Joe T.
  18. The commons of the sensor and PLC power supplies must be connected together. Can you post an electrical drawing of your wiring? Joe T.
  19. Update- Further research now that I have a UAC-02RS2 RS232 module, an RS232 barcode scanner, and a terminal connected with a null modem cable on my UniStream for a project. The example in the Help didn't specify which element to use, so I took a guess. USING ARRAY ELEMENT ZERO TO SENSE THE CR (13d) IS WRONG. The local values of the RX buffer only stay around until the Rx COM block is called, which then resets them. So it's kind of hard to troubleshoot without a little extra effort. I made a UINT8[4] array to copy the Last Bytes Waiting in the Buffer array tag of the port in question. I was curious about the Time from First Byte, too. Here's what came out in the "last byte copy" array tag: As you can see, the CR is in the highest element of the array (3). It's also interesting that the whole transaction took 1 millisecond. ! Note that your string must be at least four bytes (characters) long ! If your string only has one or two characters with a CR then you have to go looking for it in the array. Replace the = 13 block with this: I hate leaving incorrect information out there for the world to see 😉 Joe T.
  20. Not quite. You've reference TD 0 but not activated it using a coil assigned to the timer's address. Also the Toggle coil will toggle on and off every other scan because you're continuously triggering it. Always use a P contact with a keypad bit and with toggle coils. You don't need MB 0. I think this is what you're looking for- The timer will reset itself when you remove power (net 2). Note that if you press Key #2 again while the bit is ON and the timer is running then you will toggle the bit off. If you want it to stay on, replace the toggle coil in net 1 with a SET coil. Joe T.
  21. @sachinda Would you post your program that worked? Joe T.
×
×
  • Create New...