Home > Anaheim > HMI/PLC > Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide

Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide

    Download as PDF Print this page Share this page

    Have a look at the manual Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 523 Anaheim manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							
    Horizontal 
    Print  Use the narrow side of paper as the 
    window top of the   printing content 
    Vertical Print Use the wide side of paper as the 
    window top of the   printing content 
    Automatically 
    Take the Paper 
    It will automatically take the paper if the 
    content in the window printed. This function 
    is only available for the needle printers, micro 
    printer is not support, and laser printers have 
    this function itself ,there is no need to set in 
    HMI 
    Print Text  If checked, print the static text and words 
    in the component tag in current window 
    Print Meter  If checked, print the meter component in 
    current window 
    Print Trend 
    graph  If checked, print trend graph in current 
    window 
    P rint All 
    Bitmap  If checked, print all the bitmap in current 
    window 
    Print All The 
    Vector  Map  If checked, print al the vector map in 
    current window 
    Print Text 
    Print 
    Background 
    Colors  
    If checked, print all background colors 
    If LB0 is ON , the Printer print out the content according to the  Custom Print Options 
    2 If uncheck the  Custom Print Options,  use the bits of    LW9054 and LW9055 to set 
    the options 
      LW9054:Bit0;  Print Text; Bit1 : Print Meter; Bit 2: Print Trend graph;  Bit3: P rint 
    All Bitmap;  Bit4: Print All The Vector    Map;  Bit5: Print Background Color,  set the 
    corresponding bits ON to printout corresponding content. 
    Recommend setting: use Multiple State  Setting to set the value of LW905. for 
    example, if you want to print all the content , set the    Multiple State Setting component in 
    the common window,  Setting Mode is Set at Window Open , Set value is 255. 
    LW9055: Bit0~Bit7, set the  Magnification(range from 1 to 50 . it means0.1 to 5 
    times ); Bit8: ON means  Monochrome printing , OFF means  color printing; Bit9: ON 
    means  Automatically Take the Paper, OFF means print  Current Page 
    Example : Magnification is 0.3, Monochrome printing, print Current Page,  so set 
    LW.B9055.0 、LW.B9055.1 and LW.B9055.8 ON ; set LW.B 9055.9 OFF. In addition, you can 
    use LW9055 to set the options, just to set LW9055 the value 259. 
     
    2 Report Printout 
    Report Printout  use a word component to control the printout of  designated window, 
    the value write in the component is a effective window number, so the content in the 
    window is printout, the value is set 0 after printing    
    						
    							
     
        The printing attributes is the same as the Screen Hard Copy, There are two ways 
    to set the output mode of printing content:1 use the  Custom Print Options, 2 ,use 
    LW9054 and LW9055. For specific  instruction, please see the Screen Hard Copy 
    Example: Print all the content of window 9. 
    1. Control Type is Report Printout, address is LW0 
    2. Select the Custom Print Options,  use the default in Print Color , 
    Magnification, Print Page, select all the options of  Print Text 
    3.  Set a Multiple State Setting LW0 in window 0,  Setting Mode is s Set 
    Constant, Set Value  is 9. 
    4.  Press the Multiple State Setting LW0 in  window 0, so printout  the content in 
    window 9, after printing , LW 0 is reset 0 automatically. 
    Note 1. when use Report Printout  function, HMI will not switch to the 
    window which is printed . And the  Screen Hard Copy is to print screen 
    where the control bit component is set 
    2.  Report Printout can not  print the content in window 0 
    Detail instructions about printing please  refer to the    EV5000 help menu - EV5000 
    Manual, the Print chapters 
    19 Copy/Del Windows 
      In Ev5000 V1.6 there adds copy/ delete windows count option in Copy/Del 
    Windows  
    Click Screen >>>  Copy/Del Windows  to copy or delete windows, and it will pop up a  
    						
    							
    dialog box as following: 
     
    Operations: 1. Copy window ,  can be single or multi-windows, it ranges from 1 to 
    999; 2 . Delete window  
    1.Copy window 
    ◆Copy Single Window 
    If the account is 1, set the  Source Window’s first ID and Destination Window’s first ID, 
    that is to say copy the screen and attribut es of Source Window to Destination Window  
    If the account is bigger than 1, set the Source Window’s first ID and Destination 
    Window’s first ID. And the Destination Window’s    ID will increase automatically according 
    to the  Copy window  count. That is to say , copy t he screen and attributes of Source 
    Window to Destination Windows from the  first ID to the end ID respectively. 
    ◆ Copy Muti-Windows. 
    If the Copy Window count  is 1, set the first ID and end ID of Source Window and the 
    first ID of   Destination Wi ndow. And the end ID of    De stination Window will increase 
    automatically according to the  Copy window count. That is to sa y ,copy the screens and 
    attributes of windows from the first ID to  the end ID to the Destination Windows from first 
    ID to the end ID in order. 
    If the Copy Window count  is bigger than 1. set the first ID and end ID of Source 
    Window and the first ID of    Destination Wi ndow. And the end ID of    Destination Window 
    will increase automatically according to the  Copy window count and source window 
    number. That is to say, copy the screens and a ttributes of windows from the first ID to the 
    end ID to the Destination Windows from fi rst ID to the end ID according to the Copy 
    Window count  in order. 
    Note Destination window  should be  the window that do not exist。 The 
    existing window can not  be the destination window 
    2 Delete Window 
    Support Delete Single Window  and Delete Multi-Windows  
    ◆ Delete Single Window 
    Set the first ID of window, that is to  delete the window with the first ID 
    ◆ Delete Multi-Windows 
    Set the first ID and end ID of window , that is to delete the windows from the first ID to 
    the end ID  
    						
    							
     
    20 There is icon display when dragging the component   
     When a component is dragging out of the  Graph element window, the icon is moving 
    with the mouse, as in the picture: 
     
    21 Don’t display the border of the components 
    When the components use graphic, the bor der is not displayed, and when the 
    components is not use graphic, display the border:  
    						
    							
     
    22.Some modifications of macro 
    There are the following changes of macro: 
    1  Improve the display interface of macro, so it can distinguish the keyword and 
    number and so on. 
    Click the macro icon in the toolbar or click  Option>>Add Macrocode…(M) to 
    build a macro: 
       
    There adds a length of description words to  a newly built macro, these words is 
    used to describe the format of loca l address which visit HMI directly.  
    						
    							
     
        Copy the example of these words to the MacroEntry function, the color of   
    this example changes, description words color is black, they are needn’t compiling 
    because they are noted by /*    */, the pa rts that are not be noted needs compiling. 
    And to some key words, like  short, void , display in blue color,  LW display in red color, 
    so that they are can be easily distinguished. 
     
    2 The macro name can be changed after building.  
    						
    							
     
    Right click the macro name, there are two options of Rename Macro and Delete . 
    Click  Rename  Macro,  pop up a dialog box, and input  the new name to change the 
    name. 
     
    3 The local address in HMI can be used in macro , but don’t need to define the 
    variables 
      
    						
    							
    This is a length of code above, and it can be used , and there is no variables 
    definition, but it meets the format of visiting the HMI loca l address directly, that is : 
    Read, Write Local address function: 
          int ReadLocal( const char *type, int addr, int nRegs, void *buf, int flag ); 
      int WriteLocal( const char *type, int  addr, int nRegs, void *buf , int flag ) 
    The function of the above codes is to read two words data from LW200., then 
    write them to the two words from Lw202, in  order to prove the codes can be executed 
    successfully, set four Number Input compone nt and a Function Key to execute the 
    macro: 
     
    Offline simulation: 
      Input 1 into LW200, 2 into LW201, then click button tagged  macro, then 
    LW202 is 1, Lw203 is 2, the macro is executed successfully 
     
     
     
    4  Support Import/Export variable function , so  that the users can copy variable 
    and code conveniently 
    Right the in code window, there pop up a menu , and  Import variable and Export 
    Va r i a b l e   options are in it. 
     
      Click Export Variable, pop up a save as dialog, input the file name  t, the suffix is 
    MPL, then save it to  the designated file:  
    						
    							
     
       
    Click Delete Variable  , then Import Variable. We can ope rate like this among different 
    projects, select the code you want ,then Copy  ,Paste in the designated location.. As to the 
    former version, copying macro in old projec t is more easier, and the user need not to 
    define the variable one by one, im prove the working efficiency . 
     
      
    						
    							
     
    5  Macro variable of bit type support the array data 
     
    In the above macro, the variable is array data: LW.B 0.0~0.f, the code is to set these 
    addresses 1. Set 16 Bit State Switches in the edit window , their address are LW.B, from   
    0.0 to 0.f. Then set a Number Display component, Code Type is BIN, address is LW0 
     
    Offline simulation:  
    						
    All Anaheim manuals Comments (0)