-
Posts
3,325 -
Joined
-
Last visited
-
Days Won
241
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
Moved this thread to the correct forum.
-
1 hour ago, kratmel said:
You can reinstall old IO and main board to new V350.
If you do this, be very careful to maintain battery power to the board at all times.
- 1
-
Unfortunately I don't have an answer to your question, but I post to remind everyone that unless there is a necessary & known reason to do so, do NOT routinely update the software and firmware on a working PLC. There is usually never a reason to do this, even when making an update to the software. Use the version of VisiLogic that the program was originally written in to perform any updates. Unitronics makes this fairly easy with Version Swapper.
Even when creating a new program, if there are other PLCs in service, I will continue to use the version that is on the other PLCs to keep things consistent.
-
The other option is to save the program to a file on the SD card, but once again, this is an option the programmer must authorize in the original program (and supply you with a password).
This is intentional to protect the intellectual property of the programmer.
- 1
-
Clearly not?
-
Am I missing something, or is there no option for "Leading Spaces" with UniLogic numeric elements?
-
I'm humbled by your shoutout. No, we're not paid - just regular users like you are. I also came here to learn, though many more years ago. And the learning continues.
I could say the same thing as you - my shoutout would go to @Joe Tauser.
-
1 hour ago, viscoelastic said:
I believe it has had a good life and it is time to meet its maker.
You said you were building a new machine so I assumed the PLC was new as well. How old is it?
-
Likely infant mortality, but load a blank program and let it sit for the requisite hour or so and see if it red screens of death.
-
MB 29 in rung 2 needs to be a direct contact, not a positive transition. That may or may not solve your problem, but start with that.
Also, are you connecting the PLC to the I/O through a hub, or a direct cable connection? If the latter, be sure you are using a crossover cable. If using a hub, connect your PC to the hub and make sure you can ping both devices.
Thirdly, I notice you are using port 20257 for both the master and the slave. That's okay, but are you sure your slave device is looking for a connection on port 20257? In my experience slave devices of this type usually use port 502.
-
Last one always wins with PLCs.
Also remember that the update frequency of your VisiLogic is on-line mode is relatively slow. It has to go out to the PLC and read every operand value and display it. It generally take longer than a single scan to accomplish that.
-
It may not help, but I would pull the battery for an hour and try again. I would also attempt to load a blank project if it gets to a state to accept software.
-
4 hours ago, sanyc said:
Any remedies for this condition?
It doesn't really require a remedy, but the remedy would be to use the Vision or UniStream product lines.
-
Not sure how that would work since it is threaded and hyperlinked.
1 hour ago, Vytautas said:Existing help file don't have Find function and is inconsistent.
There certainly is a "Find" function (tab labeled "Search") though I will agree that it's somewhat incomplete. What information were you looking for that you couldn't find?
-
3 hours ago, DinoLet said:
but for the tables in memory I have to specify which row? Am I missing something or do I have to make my own counter?
I generally just shift the entire table down one row then write to the top row every time. No need to keep track that way and it's easily accomplished in a single ladder rung.
-
There is no reason to use floating point numbers in this situation. No digital computer or PLC can handle floating point numbers perfectly and it's best to avoid them when possible. This is due to the conversion from decimal to binary and then back to decimal. Without infinite precision, which is of course impossible, there will be rounding errors which can be significant.
In your case, use integers (add 1, not 0.1) and display the number with one decimal place. If you need to perform calculations, just keep track of where the decimal place is and make sure it matches on all the other numbers in the calculation.
-
I should point out that the OP's main question here is why are the two different motor sensors being responded to differently by the PLC. I think a partial answer is that with a 10ms response time on the input and probably 4-10ms scan time, aliasing will play a large role in detecting the pulses accurately. I would bet if you put an oscilloscope on the two sensors you would see a small difference in the pulse width which can be magnified by the PLC response due to response time and PLC scan time interacting.
-
7 minutes ago, kratmel said:
For test fan rotation you can use timer started by sysytem RUN bit.
Sensor from your setup must reset timer by --|P|-- .
If no timer reset present for preset time - you set alarm by timer and clear RUN bit.
No calculation needed.
Here is kratmel's suggestion visualized:
This really is the best way to accomplish what you're trying to do.
-
What is your PLC scan time (SI 0)? What I/O module are you using? I presume since it is I 4, then it is one of the Snap-In modules?
Also, why are you counting both rise and fall of I 4? One can't happen without the other.
-
50 minutes ago, Milosh said:
When I debugging output bit Function In Progres is always 0, but my communication works good...
In all likelihood the bit goes from 0 to 1 and back to 0 too fast for you to see. The Function in Progress bit is how you check to see if communication is active.
-
You can check the PLC Ethernet address in UniApps (touch and hold the upper right corner of the PLC screen).
-
Split this off into its own topic.
-
Does your PC have both a wired Ethernet connection and WiFi? If so, it's easy to confuse the two settings and get the subnet wrong. Make sure your PC's WIRED Ethernet connection is on subnet 192.168.0.xxx.
-
4 hours ago, KevB said:
the PLC is connected directly to a small form factor ACEPC via a straight through Cat 6 cable.
Try a crossover cable or get an Ethernet hub or switch.
Can you Ping the PLC from the PC?
DON'T UPDATE JUST BECAUSE YOU CAN!
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Great minds think alike, though I do it in DWs. I also place the info in an unobtrusive place on the HMI screen.
Good thought on the pinned post. 👍