Jump to content

Flex727

MVP 2023
  • Posts

    3,262
  • Joined

  • Last visited

  • Days Won

    237

Everything posted by Flex727

  1. Thanks, but that appears to provide the TOTAL length of the Excel line being created. How does it know the length of the INDIVIDUAL vectors that make up the line? Or is there something I'm totally missing? Looking at the example project, (V570_DS_card_demo.vlp), Field #1 is Date to ASCII (vector of 5 MIs) and Field #2 is RTC to ASCII (also a vector of 5 MIs), then there are 2 Numeric Fields. The Indirect Text MIs (MI500 & MI510) are each LABELED as being vectors of length 5, but how does the FB know they are vectors and what the length is?
  2. There is something about this FB that I don't understand that isn't addressed in the Help file nor in the recent webinar on this subject. Looking at the Project Example for SD cards, when you open the "Create Excel Delimited Line" function there are 4 fields defined (MI500, MI510, MI508, & MI509). The "Size (in chars) column shows an "*". Why is that? Since this field is a vector of 5 MIs, where is that indicated to the function to grab 5 MIs rather than just 1 (i.e. where is it being told that MI500 and MI510 are vectors of length 5?)
  3. Thank you very much, Emil. I will spend a couple of days looking at this and get back to you.
  4. I have an odd customer request that has me stumped as to how to program this efficiently - perhaps someone here can help. I am using a v570 PLC to control 10 valves. I have 10 demand digital inputs (requests to open individual valves) and 10 digital outputs to open and close the valves. The pump that pushes chemical through these valves is not capable of handling more than a few open valves simultaneously, also some of the valves are more important than others. So, the customer would like an input on-screen to adjust the number of valves that can be open simultaneously and a priority selection for any or all of the valves. If there are more than the input value number of valves being requested to open simultaneously, then additional valves should be held off until an open valve closes. Valve opening should be in FIFO order with priority valves taking precedence. The biggest problem I'm having is trying to deal with the FIFO (i.e. maintaining a continuous and current hierarchical list of valves waiting their turn to open) and for dealing with the conflict that allows the priority valves to move to the head of the line. Can anyone suggest the basic framework of an algorithm that will accomplish this in VisiLogic? Thank you for your help.
  5. Even though I had originally installed VisiLogic from a link on the website and then tried to re-install from the CD that came with one of my V570s, all I had was an empty folder where the images should be. I tried to re-install again from the link in your reply (directly above) and the folder is now populated as it should be. I'm not sure what the problem was before, but I have my image library now. Thanks.
  6. I've seen many posts in the forum (old forum) and mention in the Help file about an image library that is supposed to be installed with VisiLogic (at C:\Program Files\Unitronics\Unitronics Visilogic_C\Data\ImagesC), but all I have is an empty folder. I tried re-installing VisiLogic, but no change. I checked the CD that came with a V570, but there is nothing there. I've searched the Unitronics website, but there is nothing there. Where is this Image Library???
×
×
  • Create New...