-
Posts
3,271 -
Joined
-
Last visited
-
Days Won
238
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
See my edit above also.
-
You need to do something like this:
Keep in mind that I haven't inspected your function blocks to see if they're right, just added the logic for triggering the writes. The Set & Reset bits may not be necessary, but it's good practice when there are gating contacts between the trigger and the desired function.
- 1
-
2 hours ago, Joe Tauser said:
why are you triggering the first write with the second write's success bit?
Check again with your readers on, Joe. We don't know what MB 69 is attached to, but it's probably the source of the problem.
-
No, the .csv file format is purely text only. As far as I know, formatting text in a .csv file is not possible with any program. You can add any formatting you want when you bring the .csv file into a spreadsheet program.
-
6 minutes ago, sgull said:
I think if you open the FB and click on the glasses on the FB (not the normal one on the top menu), the column gets populated.
Gee, you would think I might have thought of that! Thanks, @sgull
-
Anyone ever noticed the lovely eyeglasses column in the Linearization FB? What is the secret to getting that column populated when online with the PLC? If you're online, the FB can't be opened, and when the FB is open, you can't go online.
-
Is there a reason you can't use an integer instead of REAL?
-
Never place the contact for a timer in the same rung as the timer coil. Further, in my opinion it is poor form to hang a coil off the left ladder rail.
Here is how I would do it:
Why use SB2 to activate the timer coil? No important reason, but it indicates that this action is taken at the beginning of the PLC run and not at any other time. You could use SB 1 or any MB that has its Power Up as Set.
Don't try to do too much in a single ladder rung. As a matter of fact it is best form to do as little as possible in a ladder rung. That makes the logic more bullet-proof (you can be more certain that the logic will compile as you are expecting it to) and it makes it easier to understand when you or someone else must edit it at a later date.
-
I often run into the problem you're having. There are so many different items that must be configured, and they must all be configured exactly right, and it's very easy to get a bit confused as to what's what. Even after hundreds of projects using MODBUS TCP I still have to stop and go through it all very carefully before it works perfectly.
-
16 hours ago, Fernando Castro said:
it seems that v570 does Modbus master properly only on with socket 0.
I have not found this to be true in my experience. The Vision PLCs do not care which socket is used as long as they are initialized properly and port numbers are not duplicated (which can easily happen if you only initialize the socket you are using and forget about another socket's default configuration).
-
2 hours ago, Fernando Castro said:
I already eliminated all the logic while I trying to troubleshoot. this just reads one MI, and write a single coil (on each press it toggles the value so on each press should be turning on /off the coil) connect, read, write and close are triggered by on screen buttons. It can not be simplified more than this.
You're welcome to post a simplified program here for master & slave that you are unable to get to work properly and I'll load them up on my test bench to see what I find. I have several V570s, V1210s, and V700s that I can set up any way needed. You can also PM me if you prefer and I'll give you my email address.
-
2 hours ago, Fernando Castro said:
I was under the impression that on ModbusTCP/IP the ID's are irrelevant
I am under that same impression.
2 hours ago, kratmel said:Maybe Creators know something about V570 as TCP master and do not place V570 master project to Examples
I have programmed Vision PLCs using MODBUS TCP maybe a couple hundred times. I mostly use V570, V1210, & V700 in various combinations. I have never had an issue with MODBUS TCP not working properly in any scenario.
-
12 hours ago, m444x said:
I am currently on training with this software so have been left to work some things out like the above for example.
No worries - we're happy to help.
- 1
-
Your understanding of ladder logic needs a lot of work. I recommend reading the Help file, reviewing the project examples that came with your VisiLogic installation, and watching the help videos Unitronics has on YouTube.
Here is what kratmel was suggesting:
-
18 hours ago, Aleksander KS said:
Why did you send an information via PM? Is it secret?
She posted a link to the file in this thread.
-
Moved to the UniLogic forum.
-
Email Unitronics at support@unitronics.com and they can help you.
-
1 hour ago, Flex727 said:
There must be a Null character at the end of any string.
-
There must be a Null character at the end of any string.
If you're referring to what you see in VisiLogic ("Value Va"), just ignore that - it's just for visual reference while you're programming and has no effect on what shows up on the actual PLC.
-
6 hours ago, __sub__g said:
I want to program if there is a keypad entry change reflect that change in other address.
It's not clear to me what you're saying here. Can you clarify or post your program here?
-
1 hour ago, MalSnaize said:
I dont have the option to add the EX2AX expansion adaptor
Just to clarify - the expansion adapter must be present, but you do not add it in the HW Configuration in VisiLogic. @kratmelhas provided the appropriate troubleshooting advice.
-
7 hours ago, Graham Witkowski said:
What I am trying to do is to get create a button that writes a fix value into the DW for the required distance in MM (1000, 5000, 10000, etc) for frequently used sizes, to save the user having to use the keyboard.
I frequently use "List of Texts: By Pointer" with associated ladder code to index through the list. It might look like this:
- 1
-
We need to see inside your Delimited Line function block.
- 1
-
14 hours ago, Gabriel Franco said:
Why don´t you un-dock the center toolbar (HMI standard toolbar?
To zoom, use ctrl+i
Thank you, @Gabriel Franco
CSV File Output In different Line
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Yep, good catch.