-
Posts
2,860 -
Joined
-
Last visited
-
Days Won
308
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Joe Tauser
-
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.
- 3 replies
-
- module
- subroutine
-
(and 1 more)
Tagged with:
-
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
-
One weird trick to avoid losing your work :)
Joe Tauser replied to Flex727's topic in Best Programming Practices
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. -
will not download
Joe Tauser replied to Viking Tool's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Vision 1210 question
Joe Tauser replied to sasdiscos's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
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
-
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.
-
PLC - PLC communication with routers on mobilenetwork
Joe Tauser replied to micapp's topic in UniLogic Software
Cellular router for the mobile locations - Sierra RV50X. Joe T. -
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.
-
Send your modem model and any other details that may be helpful to support@unitronics.com Joe T.
-
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.
-
VNC operation does not set General.Touched Bit
Joe Tauser replied to Fotonic's topic in UniLogic Software
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. -
-
Indirect Clock Function data entry
Joe Tauser replied to Marin's topic in Jazz, M91 PLCs and U90Ladder
Send your application to support@unitronics.com and they'll have an official look at your problem. Joe T. -
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.
- 8 replies
-
- tcp/ip card init
- visilogic
-
(and 1 more)
Tagged with:
-
Question for Power Supply
Joe Tauser replied to Heitor's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
The commons of the sensor and PLC power supplies must be connected together. Can you post an electrical drawing of your wiring? Joe T. -
GEN Protocol with Unitronics PLC RS485 communication
Joe Tauser replied to sachinda's topic in Unitronics PCOM Protocol
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. -
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.
-
GEN Protocol with Unitronics PLC RS485 communication
Joe Tauser replied to sachinda's topic in Unitronics PCOM Protocol
@sachinda Would you post your program that worked? Joe T.