Jump to content

Recommended Posts

Hi All - I want to reuse an old Vision project as a template for the HMI 's mainly and to reuse some of the ladder logic for a new Samba project.  I see I can export and import ladders but how do I reuse HMI's?

Thanks for any guidance.

Share this post


Link to post
Share on other sites

It's going to depend on the resolution of the two PLCs. If they're both the same, then it's very straightforward, but if the resolution of the Vision PLC is higher, then you're going to have to do some work. Unfortunately, it will require manually placing all the elements if the two PLCs have different resolutions.

Share this post


Link to post
Share on other sites

Flex727 - Thank you for the reply.    They are the same size 3.5" but I don't know about resolution.   However the error I am getting is 'Hardware Configuration Change 557 ...project can't be switched between PLC models.  This project compromises features that are not supported by Samba.'    I use Alarms, Trends, String Library, Compare, Add/Sub/Div, schedules, linearization, and that's about it.  I guess I can take things out until I find out...any idea what is not for the Samba?  Trends/SD cards?  

Thanks again.

Share this post


Link to post
Share on other sites

You can find the resolution of the PLCs on the Unitronics website, or just position your cursor in the lower right corner of the VisiLogic HMI programming screen to read it off directly. The problem you're encountering is because Samba has smaller memory operand space. You cannot have more than 512 MBs, 256 MIs, or 32 MLs, DWs, & Timers. If you have fewer than this number, try moving all the operands to addresses less than those numbers.

Share this post


Link to post
Share on other sites

SD card stands out to me as the Samba has no SD card slot. 

 

Also check what your using for memory as the Samba series has a smaller memory space for opeands.

Share this post


Link to post
Share on other sites

I summary - I never could just swap in a Samba - had to start a new and then import the Ladder and HMI's.  The HMI import and export option is in the project menu when working on the HMI, not when you right click on the individual HMI's, I guess that was what I was looking for.

Share this post


Link to post
Share on other sites

Sorry I'm late to the party-

As UNICO2 has discovered, you can't go directly from a Vision to a Samba.  This is not published anywhere, but Visilogic will not allow it.  I spent a bit of time trying to get a V570 program to go into a Samba 7 with the same results.

Here's what I had to do:

1. Export each subroutine individually

2. Export descriptors

3. Export all displays individually

4. Open a new project in SambaLand

5. Import everything I had exported

6. Copy and paste the logic from the Main subroutine.  Don't try to export and import this, as by default every Unitronics already has a Main overwriting it locks things up.

 

Maybe the Creators have a better way or can update Visilogic to do this for us.  It seems like this should be something that's not that hard to do.

Joe T.

Share this post


Link to post
Share on other sites

One more thing that I was surprised to uncover is just how much memory HMI variables with lists of texts take. If your project has something akin to page of alarms history, you might want to really reduce the number of possible line entries. I had a machine with status text line on main screen and 8 more lines in history screen. Measly 30 lines of ~35 symbols each. Had to go down to 5 in the history screen for project to fit in memory (specifically in HMI variables allocated memory, by project memory usage map).

Also, if you are changing resolutions and have to resize images, stock or imported, change them after resizing to any other image and back to the original image. I found this helpful, otherwise the scaled image looks really bad.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...