-
Posts
3,325 -
Joined
-
Last visited
-
Days Won
241
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
@Mirko, are you having a problem we can help you with? This is your second post that just quotes others but has no content. Should I delete those?
-
2 hours ago, Joe Tauser said:
Not that I'm discouraging hacking.
LOL!
-
1 hour ago, Flex727 said:
And as Joe suggests, these modifications are problematic in high noise environments.
And needless to say, are not approved by Unitronics, to the best of my knowledge.
-
Why are you using Real instead of integer?
-
9 hours ago, Gugun said:
Is it very very safe to replace the battery when V570 powered on, without back up data before?
I don't think it's safe EVER to run a PLC without some backup precautions haven been taken. Eventually something will happen requiring need for a backup.
9 hours ago, Gugun said:How many seconds can we replace the battery without losing data when the V570 is on (because I don't have a PLC program).
The battery is only used when the 24V power is disconnected from the PLC. If the PLC is powered on, then there is no time limit for replacing the battery.
-
I've also successfully extended the expansion cable with a standard Cat 5 Ethernet cable. Note: extended, not replaced, as the pinout is different between the expansion cable and an Ethernet cable - you have to use an Ethernet coupler and a straight-thru Ethernet cable and make sure the direction is correct per the labeling on the expansion cable.
And as Joe suggests, these modifications are problematic in high noise environments.
-
Reset is a soft boot (like ctrl-alt-del on a PC in the olden days). Initialize loads a zero into every operand.
I've never found Initialize & Reset to do much, however, loading a blank project often does wonders to correct all sorts of issues with the PLC. If your PLC is acting up, by all means try the Initialize & Reset routine, as it's quick and easy. But if the problem persists, load a blank project, THEN Initialize & Reset, then re-load your original project. That sequence has never failed me when it's anything other than an actual hardware failure.
-
2 hours ago, kratmel said:
Is it possible that present this issue from help?
Nope.
-
Three string columns, total 58 characters.
-
My Data Table has 100 rows and I'm inserting a single row. Every instance of "Insert Row to DTI" triggers a compile warning. This is insane. There should be no compile errors or warnings that cannot be corrected.
-
I'm having trouble understanding how this could be a problem. This error message is new (didn't exist in previous versions of UniLogic) and is very annoying. A compile warning should not be generated for every single instance of a standard function block used in a normal way. This type of warning belongs in the Help file, not on compile.
@Cara Bereck Levy, can you take a look at this? Feel free to PM me if you want more details.
-
Anyone want to attempt to interpret this warning alarm?
"Inserting rows to an 'Indexed Data Table' when the insert index in a small number can increase scan time and cause a CPU Watchdog."
Is there a typo in the message? This warning didn't exist in an earlier version of UniLogic and I'm not sure what to do about it.
-
If you opened a program in 9.8.90 that was last saved in 9.8.64, VisiLogic will automatically save a backup of the previous version file.
-
There's no law that says you can't do it and the program will compile without errors, it just that experienced programmers consider it poor programming practice. There's a reason for that, but it doesn't mean it's impossible to be successful reusing coils in conditional subroutines. When you're the programmer you get to create your own style and technique.
-
My personal policy is to ALWAYS avoid conditional subroutines. There just isn't any good reason for them. Write your code so that every ladder rung is executed on every scan and you will avoid unnecessary grief.
17 hours ago, viscoelastic said:Under that circumstance would it still be bad practice to reuse coils that were in another routine even though they cant be called at the same time?
In VisiLogic with Vision PLCs, you have 8192 coils. Are you running out?
-
3 minutes ago, Glenn said:
Still would like to resolve the issue though...
I believe the issue, or something similar, has been discussed elsewhere on this forum along with some potential solutions. Poke around a bit and perhaps it can be found.
-
Yes, this is almost certainly a Windows 10 updating issue. Do these PLCs have Ethernet cards installed? If so, you might consider doing all the updating by Ethernet. I do this routinely and generally recommend an Ethernet card as part of the system integration.
-
4 hours ago, Pavel M said:
So, i guess, i'll need to buy expansion module with high-speed inputs
Your V200-18-V3XB _HAS_ high-speed inputs.
-
On 5/19/2020 at 5:12 AM, Pavel M said:
So, the question is: is that possible to make it with 1.25ms interrupt + immediate read physical input? Just put positive transition contact with increment of some integer
@Joe Tauser (I think?) posted something on this recently but I can't find it now. Perhaps he'll drop back in.
-
Just click OK. The old copy is retained and will still run.
- 1
-
When you install a new version of UniLogic it asks you if you want to keep the previous version. Say yes. You will then have both versions installed. You can continue this as needed. I have 8 versions installed on my desktop right now.
- 1
-
Report the issue to Unitronics and they will likely have it taken care of quickly.
Also, go ahead and use 9.8.65 instead of 9.8.64. The .64 version had a few minor issues IIRC. Your PLC won't know the difference between .64 & .65.
-
- MODBUS Config MUST be activated by a Positive Transition (or SB 2).
- You cannot initialize multiple sockets to the same port number. Remember that the Port number in the Socket Initialization FB is for the PLC. You assign the Port number you are connecting to in the MODBUS Configuration and the Connect functions. The PLC port numbers and the slave device port numbers are unrelated.
- Do NOT place more than one logic thread in a ladder rung (such as you have in rungs 6-8 & 14.
- Your 3 slave devices need to have different IP addresses, which is placed in the 3 MODBUS config blocks and the Connect blocks (each MODBUS Config must match with the corresponding Connect).
- The R.H.R. must be associated with the corresponding Configuration block.The sequence you want for MODBUS TCP is as follows:
1) Initialize Ethernet card
2) Initialize Socket
3) Configure MODBUS TCP
4) Set a bit to connect the socket to the slave
5) Perform the Socket Connect
(All of these are usually activated by SB 2)
6) Reset the connect bit at the end of the connect rung
7) After connection is established, perform the R.H.R. (or other MODBUS command) communication at the required interval.You can read from 3 different slave devices simultaneously if they each use a different socket. Each socket is independent.
In order to read multiple registers, they either need to be addressed closely enough to read a vector that includes all the data you want, even if you don't need some of the data in between, or you will need multiple R.H.R. functions that are called separately with a small time interval to allow each read to complete.
There are example projects that came with your VisiLogic installation that show this in detail. They included projects specifically for the V700. Take a look at those for help on this.
-
The programmer can assign the PLC name in ladder - there is a function block to do it. You can also get the current name in INFO Mode.
Timer Delay not restarting when "reenergized"
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
This is normal operation. The Preset gets loaded into the Current when the timer start is initiated or if the timer is reset. If you want the timer current to show 00:04 when you go to the screen, do a timer reset at screen load.