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

Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide

Here you can view all the pages of manual Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide. The Anaheim manuals for HMI/PLC are available online for free. You can easily download all the documents as PDF.

Page 111

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...

Page 112

 
    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...

Page 113

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...

Page 114

 
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:  

Page 115

 
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.  

Page 116

 
    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.  

Page 117

 
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 
  

Page 118

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...

Page 119

 
   
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 . 
 
  

Page 120

 
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:  
Start reading Anaheim HMIPLC Release note for Version 16 all20110601 Users Guide
All Anaheim manuals