MalSnaize Posted October 7, 2018 Report Share Posted October 7, 2018 (edited) Hi all, some guidance please. I am displaying text labels on a V1210 screen I have a common block of MIs that I use to display the various string labels (Tank names, Pump names, Product names). The labels vary in length (eg: Tank = 6 characters in 3 MIs, product = 20 characters in 10 MIs) The Tank screen displays 40 x 6-char labels and the Product screen displays 20 x 20-char labels (please see display export). After initialising label length and number of labels I use a common net to display 1 label per cycle (see attached net). The net reads a table and copies the data to the MI offset for the current record number. Each screen label is mapped to its associated offset of the common block. When displaying the Product screen only (20-character) 11 labels are displayed and when displaying the Tank screen only the first 20 plus the 33rd labels are displayed (3-characters). When the screen is only showing around half the labels, if I manually set SB31 (refresh variable) (ie via the Visilogic connection to the PLC) then all labels suddenly appear. Also if I touch any label and the HMI keyboard appears, either ENTER or ESC also causes all the labels to appear. However if I try to set 31 programmatically in the NET when all labels have been displayed, it does not update the display. Final note, after all labels have been loaded and half not showing, looking at the live data via Visilogic shows the MI block for the screen labels is fully populated with the correct data. So it seems to be a refresh issue but I am snookered as to what it is.. Any thoughts from anyone? Thanks Mal Tank Edit 20181007a.bmp Edited October 7, 2018 by MalSnaize noticed addional behaviour now documented Quote Link to comment Share on other sites More sharing options...
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.