-
Posts
3,301 -
Joined
-
Last visited
-
Days Won
240
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
14 minutes ago, jan_tem said:
Or can I display for example 25 as 2,5 in my 'numeric box' on HMI?
Yes, you absolutely can. You can get even more precision out of your particular setup by linearizing to 0-250 to get 2 decimal places, if needed.
-
1
-
-
13 minutes ago, Joe Tauser said:
Don't use floats unless you really, really need them.
This cannot be emphasized strongly enough. And when do you need them? Never. Okay, it's not never, but it might as well be. If a sensor or other device will only output a float (stupidly, in my opinion), or if there was some unique situation where you cannot know in advance the precision of a number being worked with (can't imagine how, but if so it would require a float). Any other reason? I can't think of any.
13 minutes ago, Joe Tauser said:use an MI or an ML with a virtual decimal place.
I find that far too many programmers fail to understand what this is or how to do it. Is it a failure of mathematics education, or something else?
-
1 hour ago, Saragani said:
This is actually being done differently.
Thanks, @Saragani.
-
Sheesh. I had never really paid attention to that property. Good to know.
-
6 hours ago, cesare said:
I managed to fix the problem of the backgroud color thanks.
You did this by changing the "Marking View" color on the HMI screen?
-
1 hour ago, Milosh said:
I suspect that maybe eth. card is damaged.
First thing I would do is remove the Ethernet card and inspect the pins carefully, then replace it carefully and fully and see if there is any change. If not, you might replace the card - they are not expensive.
-
40 minutes ago, sgull said:
I think if you select project in the top left corner of VISILOGIC.
Then select properties.
Under the Colors tab, I think it might be "marking view color" that you change to the same background color.
I believe this changes the default for newly created HMI screens. To change the "marking view" color for an element already present on the screen (or rather for screens already in existence - it's an individual HMI screen property, not an element property), you must right click on the HMI screen in question (in a blank location) in the project and change the property there. I haven't tested this, but if it IS the "marking view" that you're seeing, then this should fix it after downloading the project to the PLC. I have used the "marking view" for other purposes but never thought this is also what we're seeing on the screen after entering data for a numeric element - please let us know.
-
19 hours ago, Ausman said:
Flex, you could always use your many installs of Version Swapper to look at what changes. Do some saves of the same file under different editions and then peek using the likes of Notepad+.
Something obvious and tiny might show up. Or it might be a totally different way of assembling the file which will completely klang the idea!
Great suggestion. When I have some time I'll try it.
-
I've seen that highlighting behavior all through the Vision product line. I'm not sure its purpose, but the only way I've found to get rid of it is to touch the screen somewhere else to de-highlight, or change to another screen.
-
Update the O/S (firmware) in the PLC. The instructions on how to do that are in the error message you posted.
-
On 2/7/2016 at 1:02 AM, Saragani said:
Currently, it is not possible, but it's on our list.
Still on the list, @Saragani?
-
16 hours ago, Ausman said:
I do this frequently on the forum's user projects as I am still sticking with just 8.65 and many of the submitted projects are done in later versions.
I sure wish Unitronics Support would reveal their super secret way of rolling back the version on a VisiLogic project.
-
Did you apply a touch property to the frame? There should be no need for that. It's hard to tell what you're trying to do from your description. Post your program here and we'll take a look to see what's up.
-
Yes, first make sure the SD card is properly formatted using Unitronics SD Card Suite.
In VisiLogic go to Project / Create Project Files... select VisiLogic Project only (that's the default), then copy the resulting file to the folder on the SD card called USER_APP. Then go into INFO Mode to download the project to the PLC.
You didn't mention which model PLC you are using - I'm not 100% sure this works on every model PLC.
-
9 hours ago, newbie88 said:
Something I realized that only socket0 & socket2 have something to do with Modbus however socket2 seem only allow slave connection and only socket0 can be used as master client. Correct me if i'm wrong.
No this is not correct. Those are only the DEFAULT configurations. You can use any of the 4 sockets configured in any way you choose - they are completely interchangeable. You just have to make sure you don't initialize 2 or more sockets to the same configuration and port number.
-
The way I troubleshoot this sort of problem is to save the program under a different file name, then delete all the code for the connection that works, then try the other connection to see if it works, and if not, troubleshoot that independently. Compare the part that worked with the part that doesn't work, VERY CAREFULLY. Once you get that working, add back in the code for the other device.
That said, you will get your best help if you post your program file here for us to look at it. Just pictures doesn't help as much.
-
How are you downloading (serial, ethernet, etc)? And what speed is the download? When you say "very slow", how long is it?
Normally, you only have to download the images once. If you're seeing the images download multiple times even when you have not changed anything on the screen, try downloading a BLANK project, perform a RESET & INITIALIZE, then download your project.
-
The left-most item on your ladder rung with the Socket Initializations and MODBUS Configurations MUST be a Positive Transition contact or SB 2.
-
Did you set up the IO-DI16 module in the Hardware Configuration?
-
Post your program and we'll have a look.
-
Split this post to a new topic.
-
The first thing I would do is change the contacts for 'F1' & 'F2' (SB 58 & 59) to Positive Transition contacts.
-
There are example programs that came with your VisiLogic installation. Have you reviewed those?
-
39 minutes ago, Ausman said:
As an aside, I have never tried, but I would think that with Swapper in use, multiple instances of the loaded version could be done, if appropriate copies were in place. I know Flex has a large range of versions under Swapper, so maybe he could try this on one version just to see?
Yes, I do this all the time.
VisiLogic: displaying different MF's inside of one numeric field on HMI
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Anyone who has ever used a slide rule understands all of this intuitively, but I don't think anyone younger than 50 (60?) ever has. With a slide rule, you do all computations without regard to decimal location and just keep track of it mentally. At the end you add up the decimal places in your head and write it down accordingly. That said, I certainly wouldn't trade my calculator for a slide rule today.