B&R UK

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About B&R UK

  • Rank
    Hi, I am New!

Profile Information

  • Country United Kingdom
  1. B&R Automation Studio 3.X

    Hello everyone sikenga: Typically (but not all) of the BR2005 PLC's will have either a Compact Flash card or a MEMCARD. With a compact flash you can take an image of it with Norton Ghost, or our PVI Transfer program. To get an online connection you will need to have a free Serial or TCP/IP port, and have it configure in the application to use it as a communications port (INA). donbinno: I have put a reply for your other post in the HMI/SCADA section.
  2. HMI with BR AUTOMATION 3.080

    Hello donbinno. The way I would achieve this is to use a Bitmap Group in the Visual Components. A bitmap group allows you create a table of images (technically they are PNG files) and choose one of these images a runtime, optionally with a variable. This means that you can use your variable to "index" through the list of images on the screen. Furthermore, when you are using a Bitmap group, you can specify an offset. Say for example you wish to show 5 images on the screen at once, then I would have all 5 button controls, each with the Format->BitmapSource->Source to "Multiple Bitmaps", select the same "Bitmap Group" you wish to use and set the "BitmapIndexOffset" with offsets 0, 1, 2, 3, 4. Then link them to a datapoint (variable) in the Format->BitmapIndexDatapoint" which you wish to show the corresponding image (lets say, "imgIdx"). Next, I would create two buttons for scrolling up and down the image list. If you create both buttons, and two Virtual; Keys as "UpDownDatapoints" and specify the variable (i.e. "imgIdx") with your minimum and maximum limits (which will be 0 as a minimum, and 20 as a maximum - as with 5 image controls on the page you will see the 23rd item). To scroll down the list you will need a step value of 5 (or the number of images you have on the page) and to scroll up the step value needs to be negative of this number (i.e. -5). If you wish to scroll one at a time, set the step values to 1 and -1 (and the maximum to 22). Next, you will need to know what item the user has pressed. As you have 5 buttons, just give each button a different set action as it's virtual key (i.e. the first is "set datapoint = 1", the next is "set datapoint = 2" etc). The data point you use MUST be different to the one you are using to display the bitmaps. Also, in your code you should add the "imgIdx" to this value so you know exactly what image is selected. Of course later on you can make it pretty, and show a border around the selected image. I hope this has been helpful.