Jump to content

Flex727

MVP 2023
  • Posts

    3,273
  • Joined

  • Last visited

  • Days Won

    239

Posts posted by Flex727

  1. There is no automatic way, but the V1210 screen is 800x600, while the V700 is 800x480. You only need to resize in the vertical direction. Before changing the PLC in the HW Config, resize or move all elements above 480. You can draw a line on the screen at 481and copy it to all the screens so you know exactly where all the elements must be before the transformation.

    Your biggest problem will be Ethernet communications, if you have any.

    Save a copy of your V1210 project so you will have access to any HMI elements that were inadvertently lost in the changeover to V700.

  2. Also, I can't see all of it but your code for the Socket Connect appears to be poor form. Check the example projects to see the best methodology. Basically you want to set a bit to connect after the MODBUS configuration block and use a direct contact of that bit to activate the Connect block. At the end of the Connect block, the connect bit should be reset.

    Your code will instantly try to re-connect upon closing the Socket.

  3. On 1/9/2022 at 5:25 PM, kratmel said:

    I have to accurately cut out the useful from the frame, then modify it to the desired appearance and set as the background of the future display. This way I know exactly what it will look like on the display and whether the proportions of the elements in the image are correct.

    What I do is open the image in Paint, go fullscreen and zoom as much as possible, then move the bottom border of the "drawing page" up and right border to the left. Then rotate the image 180 degrees and repeat. Finally rotate 180 degrees again and save. This is actually very quick and easy and doesn't require any precision mouse work.

  4. 40 minutes ago, Ausman said:

    Also....you did download it again after some mods...didn't you?  I've done this simple error before and it is very puzzling why something isn't working......Finish that minor change, compile, go to download it and the phone rings, distracting discussion, go back to monitor the program I've thought I've downloaded but haven't, scratch head pondering why it isn't working properly!  Eventually mutter rude words about what an idiot I am and do the download and it all works as expected.

    I've done this many times over the years. Makes you want to pound your head on the desk.

  5. Today while working on a project using VisiLogic 9.7.60, I inadvertently opened a file saved with 9.8.80 without using Version Swapper first. It killed my VisiLogic 9.7.60 installation and was unrecoverable. I keep extra copies of each VisiLogic installation for exactly this sort of thing. I strongly recommend all users keep an extra copy of each VisiLogic installation in a spare folder or backup drive. It will save you a lot of frustration.

    And to explain what I mean by this, go to your C drive and copy the folders in C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C (that last part may have different names if you have multiple installations to use with Version Swapper).

    • Upvote 1
  6. I often see posts on here from people struggling with using the VisiLogic Image Library. Sometimes the images are close but not exactly what you need, or the wrong color, or something else minor. It's difficult to edit them directly due to the watermark or image format. What I do is place the image on a blank HMI screen, taking care that the image is sized exactly the way I want it, then take screenshot. That screenshot can be pasted into Paint, or your favorite graphics program, and then cropped and edited as needed. No watermark and it can be saved as .bmp for further use in VisiLogic. Over the years I've built a nice library of my own that has the images the way I want them.

    Be sure you do not have the HMI screen "zoomed" in VisiLogic before taking the screenshot. One thing I've always liked about working with VisiLogic is the pixel-perfect representation on my computer screen. Also, VisiLogic seems to re-size an image with better fidelity than most graphics programs. Not sure how they do that.

    This technique can also be used to combine text and graphics so that the text over graphics has a font that perfectly matches other text on the PLC screen.

    And, finally, remember that if you are going to use any image in "Transparent" mode, that the transparency is controlled by the single pixel in the top left corner of the image. Make sure that pixel color is unique to everything except the background. I usually use pink so that it stands out to me while editing (the pink will disappear on the PLC HMI screen).

    • Like 2
  7. 24 minutes ago, kratmel said:

    But in a few years someone will say - Who built such nonsense on the PLC. He can't guess that mice used to run here ...

    Some of my programs have that issue. Programs that I wrote from scratch, but no one would see or know about the changes requested by the customer after the basic framework of the program was complete. Sometimes you just have to do what will work without regard to how elegant the solution ends up being.

    • Like 1
  8. On 12/17/2021 at 12:29 AM, SanjayP said:

    I go to enter a value into a  variable and after a couple of seconds the keypad entry screen disappears.

    The only time I've seen this happen is when I download a project update while entering a value. When the download completes, the screen refreshes and the keyboard disappears. Check to see if you are activating a screen refresh, whether SB 31 or some other method. If that's not it, you might consider posting your program here to see if someone here can duplicate the problem. If we can, then it is likely a software problem. If not, then likely a hardware problem.

×
×
  • Create New...

Important Information

Confirm to continue.