-
Posts
3,279 -
Joined
-
Last visited
-
Days Won
239
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
It doesn't work because you didn't use include the code I posted above.
-
Let me see your code. What you posted above doesn't look anything like what I showed you.
-
Just select any unused MI.
-
This will work. You need just a few milliseconds of delay time to allow the Start-Up screen to fully load before trying to load the previous screen from before the PLC reset. SI 252 holds the screen number of the current screen. You just need to keep it stored continuously in a MI and then load that value into SI 252 almost immediately after the reset.
-
Moved to the correct forum.
-
An MI is a 16-bit signed integer. By definition it cannot hold a number outside the range of -32,768 - 32,767. An ML is a 32-bit signed integer which has a range of -2,147,483,648 to 2,147,483,647. If there is ANY possibility of a number outside the range of -32,768 - 32,767, then you must use an ML.
- 1
-
I haven't looked at your code yet, but I presume you are connecting and disconnecting for each VFD communication. If so, you need to provide surprisingly long wait times between each operation - on the order of at least a couple of seconds, if not more. If the total cycle time becomes too long for your application, you can connect to 2 or 3 at a time since you have 4 sockets available.
A better option would be to use the V700, since it has 8 sockets, so that you can maintain communication with all 5 simultaneously and continuously.
-
Moved to the correct forum.
Your V130 has 10-bit analog inputs. That means the 0-10V input will be read as an integer from 0-1023 and placed in the register you assign in the Hardware Configuration (you have MI 26 and MI 3 for analog inputs 0 & 1, respectively). You can convert that from 0-1023 to 0-10V by using the Linearization function in ladder.
Also, be sure your jumpers are set correctly for the inputs. An Installation Guide should have come with your PLC, but you can also find it in PDF form on the Unitronics website.
-
26 minutes ago, TozoM8 said:
but I had bad luck with the mini USB port on multiple units (V1210)
Did you try a different cable? It's surprising how often USB cables fail.
-
I have had the Firmware update fail before more than once. In every case I just kept retrying until it succeeded. If it fails several times in a row, and you're sure you have good communications (confirm or re-install the driver, replace the cable, etc) and you have removed any extra modules (Snap-In, Ethernet, etc), then it's likely you have a hardware problem. Contact your distributor and see if he can help or contact support@unitronics.com.
-
Yes, COM 1 is labeled Port 1 on the side of the V570, but the USB connection is also COM 1.
-
1 minute ago, Seversean said:
This whole time the help file tabs sidebar had been slid over as to make it hidden. I couldn't see search or index or contents or anything. Been driving me mad trying to find anything.
Yeah, I had the same thing happen awhile back and it took me way too long to figure out what was wrong and how to fix it.
- 1
-
In the Help file, go to the Index tab and double-click Alarms, then double-click Alarms again.
- 1
-
I never use the built-in alarms function on the PLC and prefer to use my own. I started programming Unitronics PLCs before the Alarms function existed and just continued to use my own creation.
- 1
-
26 minutes ago, Csoto said:
Thanks, when the program indicates "COM 1", does it specifically refer to "COM 1" on my PC?
The COM 1 that Unitronics is referring to is COM 1 on the PLC. COM 1 on your PC is different. The driver will choose a COM port on your PC and you should use that. The COM port number on the PLC and the COM port number on your PC are totally unrelated.
-
On 3/3/2021 at 10:35 AM, Seversean said:
Then I came across bit SB350 'Show Alarms on LCD (On=Show, Off=Hide) Turning this on popped up the alarm screen. So now I'm confused how this bit should be used. Left on all the time? Turned on in ladder logic? There has never been any mention of this bit anywhere.
Seversean is correct that this System Bit is not mentioned anywhere in the Help file that I can find. @Cara Bereck Levy, can you address this?
- 1
-
7 minutes ago, Csoto said:
I have been using the USB-MICROUSB cable and seeing the comments I understand that I should be using “Port 1” with a USB-serial cable for this purpose, is it correct?
No, you can use the USB-MiniUSB cable to connect to your PLC for Firmware update. Just be sure you have the correct driver installed from VisiLogic.
-
It's in units of 10ms, i.e. 35sec would load as 3500 in the ML.
-
I haven't worked with a Samba in a while. Do they not have a USB port?
-
15 hours ago, Ausman said:
I thought SB8 was universal across all devices that use U90. Is this incorrect?
10 hours ago, Joe Tauser said:I honestly don't know on the JZ10. I don't use the Jazz series very often.
I happen to have a JZ10 sitting on the shelf. I hooked it up and went online. SB 8 was zero, so that really doesn't tell me anything. So I opened it up with the intention to remove the battery to see if SB 8 goes high, but found that the battery is soldered in.
-
@zavisis AWOL, but perhaps he has a day job like the rest of us.
zavis, if you do return to this thread, I want to mention something I neglected previously. In the picture you pasted you have two logic threads in ladder rung 5. Do not do that. Separate those two statements into two different ladder rungs. Also, though it's not hurting anything, you don't need SB 1 there. I'm not sure why you felt the need to include it.
-
I also have two comments. It's been awhile since I worked with U90 ladder and had forgotten that there is no Toggle Coil. Ugh, this situation really calls for it.
1 hour ago, Ausman said:This could all be easily achieved with a drum.
I immediately thought this was a great application for Joe's famous state machine. I did not opt for that because it would take more time on my part and would require more explanation to zavis than I had time for and may not be appropriate for a beginner.
-
-
Just drop a note to support@unitronics.com and they'll be happy to send it to you.
That definitely needs to be added to the list on the website.
initialization in last screen used in the HMI
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Copy the code I posted above except change T 0 and MI 0 to unused operands. Looking at your program, you can use T 30 and MI 100.