Home
Pixsys Suite Pagelab Overview
Contents
1. W Pop up oesi Consequently a new item appears in the Pages folder of the project tree Project o X e DemoHMI Project Pages fr Properties Init E Fagz Eini Messages H E Global variables ba Global procedures SP Project A Resources 2 4 2 DIMENSIONING AND SETTING THE SECONDARY PAGE Note that the icon of the Init page different from the new PagZ2 one In fact the last one has been created as pop up page whereas the first one has been created as child page Pop up pages are not subjected to any restriction from the frame set see 4 2 their di mensions and positions can be chosen by the user Assign to the secondary window the dimensions 300x180 pixel and set it x y 250 150 because these are the top left hand corner s coordinates of the window Double click on the Pag2 item of the project tree In this way you open the corresponding document Assign dimensions and position n ft Properties F Events 4 2 8 PageLab user manual PA GE ee After editing the colors too the new window will look like the picture below be Pee z o __ ee _ oe See o RR ee ee Sens lare bs Se oe ss 5 rarene a OOX 8 se The grey area in the centre is the active area of the Pag2 page whereas the clearer area which surrounds it represents the video area of the target system In this way you obtain a clear vision of the new page placement 2 4 3 V
2. Type the name you want to assign to the project in the Mame field and in the Directory field specify the directory where you want to create the project folder Select the target which will execute the HMI from the Target selection menu The contents of this menu can be customized if the desired target does not appear in the list refer to your hardware provider Confirm your choice by pressing OK PageLab automatically creates the folder 7 Demo manuale Demo HMI as specified in Directory PageLab user manual 5 PA GE LAEB 2 3 INSERTING THE FIRST AGE IN THE PROJECT 2 3 1 CREATING A NEW PAGE To insert a new page in the project right click on the Pages item of the project tree Project x EMEA DemoHMI Project Page properties Display Frame set Insert page Paste Page Import page Import page From template Import var procedures Export yvar procedures EP Project ay Resources Select the Insert page option from the menu which has just shown up This causes a dialog box to appear where you have to specify the page name and whether the page is a pop up one or not Insert the name of the new page Pop up Cancel If you do not select the Pop up property when creating it the page is called Child Page Its main feature is that it fits the whole video area Consequently the user cannot define position and size of a child page because they are automatically set depending on the video are
3. sysTCHPixY 1 sysTCHPixX sysTCHPixY 1 Es 1 sysVoid 12 InkTnSet sysTCHPixX 1 sysTCHPixY sysICHPixX 1 sysTCHPixY sysVoid Video_Line PageLab enables the implementation of procedures which may be as complex as you want in the ST language Through these procedures the user can interact with the PageLab application the PLC application or the target system variables to customize the interface s behaviour or the whole CNC PageLab user manual 3 PA GE LAEB 1 2 RUN TIME FUNCTIONALITIES Asynchronous messages management Alarm PLC Application not loaded OK PageLab supports the issue of asynchronous messages whatever their complexity You can entirely customize the issue messages management by typing a simple ST procedure Multilingual support PageLab allows you to change strings resources and enumerations language without recompiling nor reloading the application Events management ix Properties Events al gt OnLoad proclnitLang OnUnload Ret pplication On ctivate proclnitLang procRefrDia PageLab applications are structured in events the user may seize the available events and manage them through ST coded procedures 1 3 COMMUNICATING WITH THE TARGET Device Link Manager Config v10 0 2 Eg Current selected protocol ModbusTCP Protocols Active o Actyve Propertie Actyate Description You can esta
4. controls with O whrere there are not numbers View always sign show the symbol in editbox Password show only symbols Target custom format the target can define custom format to show the data in a particular way In that case there is a variable on the target with the value of the corresponding user mode String format x Password cancel _ Password show only symbols The Target custom format is a special feature which enables a particular custom for mat implemented on the target The format is specified according with language printf syntax see 5 7 2 2 9 2 EDIT BOX AND PAGELAB LOCAL VARIABLE ASSOCIATION The edit box which you have just inserted lacks an essential element the associated variable to take the values to display from Let us assume that you want to link the edit box to a local variable in order to get information on how to declare a local variable see 2 8 1 PageLab user manual 23 PA GE LAEB Select the edit box by clicking it once and select the Variable property You can either type the name of the variable or click on the field and open the dialog win dow by clicking on the apposite button si llPar apsAlA eset slaArialnp slaraQ ut sveBootln seCandlarr sheCandsylr sisLandsylr sisLandsylr gt Filter All amp dd varnable You can restrict the research just to the local variables of the Init page consequently only the n variable by usin
5. variables _ J ID_SUP_GENERAL Generale System menu No B Local procedures E ID_SUP_PUNZO Punzonatura ppearance Raised 4 iji ID_SUP_FORA Foratura PgTabella a PgTabellaFile ID_LPAR_GENERALI conen PgTabellaFileNew ID_PAR_TEMPI Tempi H E Local variables S Local procedures oOninit Onok Onchange Clickinch E pgTabellaFileErase PgTabellaFileGest EE pgTabellaParam PgTabellaSelLine E pgTabellaSetup pgTabellaDebug pgTabellamdi E pgFileManager pgFileMnt pgFileUmnt E pgToolManagement g Messages 59 Global variables ID_PAR_BARRIERE Barriere Offe ot Orinin se al livello ALL MSG o COLL a ioll bekCol COL_GRIGIO LSE 1 lt gt 0 THEN fica llarmi 0 a foll foreCol COL_BIANCO aeeetoll bckCol COL_ARANCIONE fbFramesetEdit_AllMsgColl enumId 5 FlagAllMsgCustom TRUE IF ResetAllarmiMessaggi THEN ResetAllarme TRUE i END_IF ELSIF NotificaMessaggi 0O lt gt 0 THEN CurrAllMsgColl NotificaMessaggi O fbFramesetEdit_Al1lMsqColl foreCol COL_NERO Target vars and parameters Gutput x t Axe_f_ap r Axe_F_qi r Axe_p_b2n Preprocessing file BmpfolderDw plk completed a pes T F Preproc
6. 5618 0 0 65535 num NTC calibration gain 413 rte Gain_PT1000_AI3 UINT Modbus 15619 0 0 65535 num PT1000 calibration gain 413 8 Gain_5V _AI3 UINT Modbus 15620 0 0 65535 num 0 5 calibration gain 413 Ba Gain_10 _AI3 UINT Modbus 15621 0 0 65535 num 0 10 calibration gain AI3 0 Gain_mA_Al3 UINT Modbus 15622 0 0 65535 num 4 20m calibration gain 413 0 Gain_Ntc_Al4 UINT Modbus 15623 0 0 65535 num NTC calibration gain 414 8 Gain_PT1000_AI4 UINT Modbus 15624 0 0 65535 num PT1000 calibration gain 414 0 Gain_5V_Al4 UINT Modbus 15625 0 0 65535 num 0 5 calibration gain 414 Ft Gain_10 _AI4 UINT Modbus 15626 0 0 65535 num 0 10 calibration gain 414 20 Gain_mA_Al4 UINT Modbus 15627 0 0 65535 num 4 20m calibration gain 414 8 Gain_Ntc_Als UINT Modbus 15628 0 0 65535 num NTC calibration gain 415 rte Gain_PT1000_A4I5 UINT Modbus 15629 0 0 65535 num PT1000 calibration gain 415 al Gain_S _AIS UINT Modbus 15630 0 0 65535 num 0 5 calibration gain 415 4 gt PLC vars Frigo When you need to update the list of parameters if the parx file has not been moved to another directory it is not necessary to repeat the above mentioned procedure but it is enough to press the button 2 9 INSERTING EDIT BOX An edit box is a text frame which lets you display and eventually edit an associated vari able or parameter 2 9 1 INSERTING AN EDIT BOX IN THE PAGE Insert an Edit box control in the page by pressing the corresponding button in th
7. C VARIABLES IN THE PAGELAB PROJECT Usually an HMI project is not a stand alone one but is an interface for a PLC More pre cisely if the PLC project has been carried out with LogicLab you can easily publish some variables to PageLab A variable of the LogicLab project can be exported to PageLab if it has been allocated ona datablock it is not an automatic variable If this pre condition holds when compiling the PLC the program automatically creates an exp file which contains a list of the exported variables with their location in the datablocks which the PageLab program can work out In order to import in PageLab the variables which have been exported from the PLC LogicLab project you have to select the Link PLC variables file from the Project menu A window opens and lets you select the file which contains the exported variables If you confirm to include the exp file in the PageLab project a new table called PLC vars appears in the libraries window It contains the list of the exported variables i TagetVaIs PLC vars When you need to update the list of the exported variables if the exp file has not been moved to another directory it is not necessary to repeat the above mentioned procedure It is enough to launch the Refresh PLC variables command from the Project menu PageLab user manual 19 PA GE LAEB 2 8 4 INSERTING FIELD PARAMETERS Target system usually has internal variables and is connected on a f
8. EB You can edit the contents of the string through the Text property of the control For ex ample Text string k ext Text string image below conn peeees K a oe z nee Pesan eevee DERES A if ni This is the basic use of the string Alternatively you can assign strings by taking them from the resources see 4 9 3 DATA MANAGEMENT IN PAGELAB This paragraph shows you the variables management in PageLab It is possible to distin guish the data in local variables visible in the page scope only and global variables vis ible from every page For some controls it is possible to use parameters and sets DECLARING A LOCAL VARIABLE First of all declare a local variable which you can use just in the specific page where the declaration takes place In the pages tree under the Init page item right click on the Local variables item and select Open in the contextual menu which appears Project k 42 DemoHMI Project e Pages Sf Properties a g Init L m T qd e qd r i ta b m H E Global variables gt Global procedures H Resources SF Project The local variables editor window opens It is blank at present Click the New record button in the Project toolbar pal A dialog window opens requesting to specify the new variable s basic features We can declare n as a new 16 bit unsigned integer variable PageLab user ma
9. IEWING THE TITLE BAR AND THE SYSTEM BUTTON PageLab enables the automatic creation of a title bar Title bar properties Yes and of a button to close the page System menu properties Yes besides the print of a text string as title Caption properties Let us assume that you want to activate the title bar and the close button and to print the Pagina 2 string as title Title bar Yes Page border Yes Caption Pagina 2 System menu No ppearance Flat Then the secondary page looks like the following picture Pagina 2 L The text and the background color and the used font are the same for all the pages of the project so you will not find them in this specific page properties In order to customize these features double click on the Properties item of the project tree l DemoHMI Project 2i E Pages i Bie croperties cm TE Init i B Fagz fl Messages ee 3 Global variables beeen Fd Global procedures EP Project 45 Resources PageLab user manual 9 et ee ee A multi tabs window opens In System options assign the font in this case 8x16 the text color and the background color in this case respectively white and blue Pages properties General System options Language selection Alarms Window title bar Fort 916 Text color _ ms _ Back color Ok Annulla Then the secondary page looks like the following figure Fagina Z m 2 4 4 ASSIGNING A STY
10. LE TO THE WINDOW PageLab supports three styles for the windows which you can select through the Appear ance property Flat the default style when you create a window Sunken and Raised Choose the last one Appearance Raised The window looks like the picture below Pagina 2 a 10 PageLab user manual PA GE LAEB 2 4 5 CHOOSING THE START WINDOW The user has to indicate the start window of the whole HMI project The start window will open at the HMI application start If the project consists in one single page the system will take this one as start page You can indicate the start page in the project properties window which you can open by double clicking on the Properties item of the project tree The General window is used for this purpose Pages properties General System options Language selection Alarms Initial page Select the initial page In order to indicate the start page select the desired one from the list Then confirm your choice by clicking OK The start page is marked in the project tree by a red triangle Poet HHE DemoHMI Project e Pages fff Properties H Fagz fl Messages E Global variables z Global procedures SP Project 45 Resources 2 5 INSERTING STATIC CONTROLS The two pages which you have just created are blank yet Go back to the first page Init and start inserting some controls Static controls are objects which are drawn once when o
11. N IMPORTED BITMAP WITH AN IMAGE CONTROL The control which is aimed to display the static images is called Image press the corre sponding button in the Page toolbar PageLab user manual 15 PA Ge LAEB 2 7 Move the mouse to the active area of the page A cross appears The object will be in serted in the grid near to the mouse cursor Confirm the insertion point by left clicking A new blank frame appears Trough the Bitmap property specify the image which this Image control must display Choose the desired bitmap from the list in this case you can see and select the only bitmap which you have imported BmpBulbOn aux Keinen The control changes its size to be compatible with the assigned bitmap measures The image in the page preview looks like the following picture TEXT STRINGS Text strings are not part of static controls because they have some properties which let them change in a page through time Visibility selection and refresh may be assigned to variables which may change their value at any time 2 7 1 INSERTING A TEXT STRING Click the corresponding button in the Page toolbar Aa Move the mouse to the active area of the page A cross appears The object will be in serted in the grid near to the mouse cursor Confirm the insertion point by left clicking A new Static that is string control with the default text str appears 16 PageLab user manual 2 8 2 8 1 PA GE LA
12. PA GE LAEB 1 OVERVIEW PageLab is a software application that allows the developer to create user interfaces for embedded systems based on HMI runtime PageLab is an easy to learn and use software which allows the user to implement graphi cal interfaces in a visual way The realized pages are viewed in PageLab as they will ap pear on the final target Thanks to its multi pages structure PageLab can support HMI Human Machine Interface applications with an arbitrary number of pages It is equipped with a considerable number of tools to realize even complex applications and it interfaces directly to the PLC IEC1131 LogicLab compiler for managing the variables which are defined in the target PLC application The following paragraphs show you the main features of this product Fie Edit View Project Page Window Help EDIE Dg La So ol x E GeneralRefres String table _ Propetties x Project Properties BA esc OX wee a Properties Events Frame set 4 A PgStart 1 i Paster Excalibur EE ChaDinY 2 Font K9649_8x16 H E Local variables Reset 5 8 Local procedures cmdTabella pee Debug Back Color poseg AXX 0 000 AXY CO ET ee TestColor i 5 Pagalicne ID_TAB_PARAMETRI Par Title bar Yes E Local variables ID_OUTPUT Output Pags Bors Wee Local procedures fg Pagallarmi IDLINPUT Input Caption ID_TABELLA E Local
13. Transp 14 PageLab user manual Cancel Import PA GE LAEB Pressing the Browse button you can navigate in the computer resources and select the source file In this case the source file is BulbOn jpg which represents a lighted bulb Import bitmap into project m Source bitmap Converted bitmap Browse H 149 W 83 Transparency E Bmp Name BmpBulbOn A Ox1C G Ox54 amp B Ox1B Cancel mon _ In the Bitmap Name field you can assign the bitmap name which will appear in the re sources tree the default name is the file name without extension and preceded by the Bmp prefix The Transparency color field lets you specify the transparency color that is a color which will not be really drawn but will let the elements appear through the bitmap back ground You can customize the transparency color by taking the desired one with the mouse from the Converted bitmap window RGB indicate the transparency color components If the values are n a it means that no transparency color has been selected The Reset Transp button lets to cancel the last selected transparency color At last you can confirm the operation by clicking the Import button The imported bitmap appears as a new item in the resources tree Project Resources Italiano wa Fonts a g Bitmaps Da BripBulbOn phe String table oe Enumeratives Egs Image lists E Sets EP Project Aesources 2 6 2 ASSOCIATING A
14. a and on an eventual frame set see 4 2 Choose to create a child page and call it Init type the name Init in the apposite field and press OK to confirm your choice A new node appears in the pages folder of the project tree Project x 4B DemoHMI Project ag Fages fit Properties EE i Messages H E Global variables z s Global procedures E Project 43 Resources 6 PageLab user manual PA GE ULAB Double click on the Init item to open the document with this page preview which is blank at the moment 2 3 2 EDITING THE COLORS OF THE PAGE You can edit the background color of the page and the foreground default text color through the page properties double click in the Background Color field A little button appears 2 Pressing it the colors palette appears Then you can select the desired color Properties i o E Al E Properties a E m oe 7 EERNEE BETE EE a mm System menu Ho ppearance Flat Choose grey as background color and black as default text color Background color Test color E PageLab user manual 7 PA GE LAEB 2 4 INSERTING A SECONDARY PAGE 2 4 1 CREATING A SECONDARY PAGE Let us assume that you want to create a secondary page right click on the Pages item of the project tree and choose the Insert page option from the contextual menu Type the name Pag in the dialog box which appears and select the pop up property Inzert the name of the new page Pag
15. at value can be inserted only if a variable is just available It opens a dialog window with these settings according to the type of variable integer real string Integer format Integers 1 31 1 Decimals 1 7 1 Hexadecimal Uppercase 00H Hexadecimal Lowercase 00h Fill with zeroes View always sign Password Target custom format Enumerative cm 22 PageLab user manual PA GE LAEB Integers number of digit before comma Decimals number of digit after comma Hexadecimal Uppercase the number is shown as 0 0H representation with up percase H letter Hexadecimal Lowercase the number is shown as 0 0h representation with low ercase h letter Fill with zeros fill the entire editbox controls with O where there are not num bers View always sign show the symbol in editbox Password show only symbols Target custom format the target can define custom format to show the data in a particular way In that case there is a variable on the target with the value of the corresponding user mode Fnumerative this representation allows to select a string value corresponding to numeric value defined in Resources under Enumeratives Real format Integers 1 31 Decimals 1 7 Fill with zeroes View always sign Password Target custom Format Integers number of digit before comma Decimals number of digit after comma Fill with zeros fill the entire editbox
16. blish the communication with the target device through the PC communica tion drivers thus using one of the available custom protocols which can be easily imple mented thanks to the modular structure of the communication system PageLab user manual 2 1 2 2 PA GE LAEB CREATING A SIMPLE PAGELAB PROJECT PURPOSE OF THIS CHAPTER This chapter aims to lead the user to realize a simple HMI project with PageLab through a sequence of easy steps Here below you can find the list of this chapter s topics Creating a new project starting at zero the realization of a HMI project Inserting the first page in the project Inserting a secondary page Inserting static controls how to insert simple objects lines rectangles etc in a page Inserting static images how to insert an image in a page starting ata bmp file Inserting strings how to insert a text label Inserting edit boxes how to access the data of the system and the control PLC how to declare new variables how to insert text frames to view edit these data Inserting buttons learning to use an essential control for the interaction between the user and the system Compiling and downloading the project CREATING A NEW PROJECT Launch PageLab then select the New Project command from the File menu The follow ing dialog box appears Project Name Directory Target selection A A AA i AA A O a z OF Cancel
17. c Ejona TELELE ee Do RRR KKK KKK x BExcalib een Xe XCaLLDUL EEE EEE EE te OOD SSS aX E pgFileManager cx Re cx ix Cx ie cx Xe d SESS C54 ESES ree EEEIEI a abcdef ghijkLmnopqrstuvwxyZAB abcdef ghijkLmnopgqrstuywxyZAB abcdef ghijkLmnopqrstuvwxyZAB abcdef ghijkLmnopqrstuywxyZAB abcdef ghijkLmnopqrstuvwxyZAB abcdef ghijkLmnopgqrstuywxyZAB abcdef ghijkLmnopqrstuywxyZAB abcdef ghijkLmnopgqrstuywxyZAB abcdef ghijkLmnopqrstuvwxyZAB abcdef ghijkLmnopqrstuvwxyZAB abcdef ghi jk LmnoparstuvwxyZAB abcdef ghijkLmnopgqrstuywxyZAB abcdef ghijklLmnoparstuvwxyzAB abcdef ghijkLmnopqrstuvwxyZAB abcdef ghijkLmnopgqrstuywxyZAB abcdef ghijkLmnopgqrstuvwxyZAB PageLab supports the definition of an arbitrary number of pages full screen or pop up Each page may contain links to other pages so that the whole project takes a tree structure Resources management E E Resources BaseLanguage Eele Fonts dee EWP2_8x16 wee EWP 6x8 f Bitmaps p fe Bmpooi_FirstPage abs String table H 9 Enumeratives fj Enum oo a Enum As Image lists P Project T Resources 2 PageLab user manual PA GE LAEB The controls properties in the page are not statically defined in the project code but they can be managed separately as resources Resources include fonts for characters display images string table enumerated data types and ele
18. ckness set to 1 Border points 1 Border color Background color Transparent TRUE In the page preview you can see how the rectangle looks like Now superimpose another rectangle to the first one Let us assume that you want the new rectangle to be transparent with black borders and thickness set to 2 Border points 2 Border color Background color f Transparent TRUE In the page preview you will see the following image PageLab user manual 13 HA Ge LAE 2 6 INSERTING STATIC IMAGES The following paragraph shows you how to insert static images in the page Static images are different from animations images which may change dynamically even though they have fixed position and dimensions and from floating images images which move in the page 2 6 1 IMPORTING A BITMAP IN THE PROJECT Image that has to be visualized must be available on PC as a basic Windows image file bmp dib emf gif ico jpg wmf If this pre condition holds you can start the importing procedure Right click the Bitmaps item in the resources tree and select the Import bitmap com mand in the contextual menu which appears E E Resources Italiano Import bitmap g Enumeratives ga Image lists i EG Sets EP Froject AH Resources A dialog window opens Import bitmap into project Source bitmap Converted bitmap H Oo Ww 0 Transparency Bmp Name R na G n a B n a Reset
19. e Page toolbar abl Move the mouse to the active area of the page A cross appears The object will be in serted in the grid near to the mouse cursor Confirm the insertion point by left clicking A new text frame appears It consists by de fault in a certain number of characters and its font is specified in the Font property of the page Edit this control s properties as you can see below PageLab user manual 21 PA GE LAEB Properties x Properties Events nal gt K9649_16x32 Background color Text color Sel background Sel foreground Border points Border color Number of chars In the following list you can find all the changes which may be carried out Appearance you can make the edit box appearance sunken by assigning the Sunken property Font you can customize font by choosing for example a 16x32 font instead of the default 8x16 font Select background and Select Foreground respectively text and background colors when the edit box is selected Number of Chars maximum number of characters which can be displayed Access in order to set the read only mode replace RW read write with RO read only Refresh in order to constantly update the contents of the edit box select the TRUE option Otherwise the contents are refreshed just when drawing the page for the first time Format it represents the display format of the associated variable s value The form
20. essing file Bmpscroll plk completed F f r r All_aznok Axe_f_com Axe_f_ar Axe_p_b2p Preprocessing file BmpLogoTAURO plk completed allUpsBatt f Axe _F_CurrLim f Axe_f_recu f Axe_p_b3n Preprocessing file BmpbtnDiagno plk completed allUpsLine f Axe_F_CurrReal r Axe_F_sp f Axe_p_b3p Preprocessing file BmpbtnTaglio plk completed 7 Preprocessing file BmpOkSetup plk completed E r f paratrene Axa il Axe_f_vr Axe p_base Preprocessing file BmpPunta plk completed AnaRampa Lf Axe_f_feed f Axe_p_acc r Axe_p_bran Preprocessing file excal_iec exp completed i AnaTarget f Axe_F_max f Axe_p_bin f Axe_p_brgp Axe_drive_ready f Axe _F_min f Axe_p _bip f Axe_p_corr 0 warnings 0 errors E S gt v 4 gt Target vars 4 h Output Ready Num GDB 0 1000 TCPIP 10 0 0 50 5000 1 1 MAIN ELEMENTS Set of controls al g mal OB E m el o aF la nH E ee Each page may contain an arbitrary number of defined graphic controls There are two classes of graphic controls Static controls drawing tools such as lines rectangles and figures Dynamic controls multilayered objects which enable data and images display and user interaction strings editboxes textboxes buttons progress charts and trends custom controls PageLab is an open system allowing the implementation of custom controls which may be included in the target system PageLab user manual 1 Multi pages structure E PgTabella E PagallCn
21. g the Filter tool Yariable selection Cancel Select the local variable The Variab e field in the table properties refreshes accordantly Variable fi Then the Edit box control shows the n local variable s value constantly refreshed 24 PageLab user manual PA GE LAEB 2 9 3 EDIT BOX AND PAGELAB GLOBAL VARIABLE ASSOCIATION The principle to associate the Edit box control with a global variable is similar to the one to associate the Edit box control with a local variable The difference consists in the variable declaration in order to get information on how to declare a global variable see 2 8 2 You can associate the Edit box with the global variable through the dialog window which was introduced in the preceding paragraph but in this case it is necessary to use a differ ent filter in the Filter field Yariable selection Filter Page globals Add variable 2 9 4 LINKING AN EDIT BOX WITH A TARGET OR SYSTEM VARIABLE The target system executing PLC and HMI often publishes some variables which allow the interaction between user interface and system In PageLab such variables are called target variables You can view them in the Target vars table of the Target Vars and Parameters window fuS selPDO_1 tf sysallGen jus selPoo 2 us sys 4llNurn jus selPDO_3 us sysallPar jus selPDO_4 itl sysallReset lf sysalldux i sysanalnp f sysallCne i sysanaQut You can associate an Edit b
22. ieldbus so it needs to show some variables of the different devices which are connected on the net For this reason PageLab lets you link a specific file which contains the variables definition on the bus Click the apposite button in the toolbar a The parameters management window appears Parameters management id name _ Address mode Add Device Remove Device Through the Add Device button you can add a new object linked to the target on the fieldbus The selection window appears Then you have to take from your PC a parx file see chapter 7 After inserting this file the parameters management window will look like the image below Parameters management gt lt Address made Add Device 0 Frigo Modbus l Remove Device A device called Frigo has been inserted In order to see the relevant parameters click the Close button In the Window target vars and parameters you will see the device and its param eters 20 PageLab user manual Target vars and parameters Name Type dress in max um Description 20 Par_TAB UINT Modbus 15716 0 0 65535 num Tab map code Ba Par_POLI UINT Modbus 15717 0 0 65535 num Polycarbonate code 0 Par_PARMOD BOOL Modbus 15719 0 0 1 flag Parameter modified 8 Gain_Ntc_Alt UINT Modbus 15616 0 0 65535 num NTC calibration gain 411 B Gain_Ntc_Al2 UINT Modbus 15617 0 0 65535 num NTC calibration gain 412 0 Gain_Ntc_Al3 UINT Modbus 1
23. ments sets Specifically regarding the images PageLab allows to import bitmap files directly from the Windows formatted file bmp gif emf jpg ico etc Languages management a String table IDW_VIDEO IDS_LCDCONTRASTO IDS_STATOPLC IDS_TEMPIFAST IDS_TEMPIINOUT IDS_MEMODISK imma m a Memoria Connessione seriale Tempi di esecuzione ms Lingua Baud rate Pacchetti RX Pacchetti TX Pacchetti RX errati Pacchetti TX errati Debug di sistema Testtouch screen Video e touch screen Luminosita LCD Stato PLC Ciclo fast 2 mS Ciclo infout Spazio su disco byte a String table Hek C i IDS_LCDCONTRASTO IDS_STATOPLC IDS_TEMPIFAST IDS_TEMPIINOUT Memory Serial connection Execution time Language Baud rate RX packets TX packets Bad RX packets Bad TX packets System debug Test touch screen Video e touch screen LCD contrast PLC status Fast cycle 2ms Infout cycle Disk space byte Strings and enumerated data types are structured as to ease the multilingual de vice moreover PageLab provides a function to export import the above mentioned elements to from a text file in order to simplify the translation from a language to another Variables and procedures Local variables Video Ox o Name Tye Aray Initvalue Description J No 0 Non serive sopra la title bar IF sysTCHPixY gt 48 THE Croce nella posizione del touchscreen gt Video_Line sysTCHPixX
24. nual 17 PA GE LAEB Name El D Type UIN T Array E Attribute ai Confirm the operation by clicking 0k The new corresponding record is added to the vari ables editor You can change this new variable s features editing the fields of the record which you have just created For example you may assign an initial value different from null and a comment or when you close the variables editor PageLab adds a new item in the pages tree It cor responds to the local variable which you have just declared Project X 22 DemoHMI Project Pages offi Properties fg Init o EHI Local variables Oo Fa Local procedures o E H Page 3 a ne Messages H E Global variables Global procedures SF Project AH Resources 2 8 2 DECLARING A GLOBAL VARIABLE Let us assume that you want to declare a floating point global variable t right click on the Variables item under the Global variables node of the resources tree and select the Open command in the contextual menu which appears 18 PageLab user manual PA GE LAEB Project x gT Properties Eig Init H 3 Local variables fui n a Local procedures ES Fagz 3 Piin Messages E E Global variable Retains fee Global procedures ia Project 42 Resources Follow the steps as shown in paragraph 2 8 1 until the new global variable appears as a new item in the pages tree 2 8 3 IMPORTING THE PL
25. ox with a target variable through the dialog window which opens from the Variab e field but in this case it is necessary to use a different filter in the Filter field PageLab user manual 25 PA GE LAEB Yariable selection spsAlA eset aps nalnp aps nalut apsBoot n aysCan larrr sisLandsylr sisLandsylr sisLandsylr sisLandsylr gt Add vanable Cancel 2 9 5 LINKING AN EDIT BOX WITH A PLC LOGICLAB VARIABLE You can associate an Edit box with a PLC LogicLab variable through the dialog window which opens from the Assoc var field see 2 9 2 but in this case it is necessary to use a different filter in the Filter field Yariable selection Filter PLC application Add vanable Cancel 2 9 6 LINKING AN EDIT BOX TO A PARAMETER You can associate an Edit box with a parameter through the dialog window which opens from the Variable field see 2 9 2 but in this case it is necessary to use a different filter in the Filter field 26 PageLab user manual
26. pening the page and they do not change until the page is active PageLab user manual 11 PA Ge LAEB 2 5 1 INSERTING A LINE Insert a line by clicking the corresponding button in the Page toolbar H Move the mouse to the active area of the page A cross appears The object will be in serted in the grid near to the mouse cursor Confirm the insertion point by left clicking A new Line control appears It has a default size and horizontal alignment You can resize it by dragging one of the two ends of the line You can edit the line thickness through the Thickness points property of the control For example assign a 3 pixel thickness IT hickness points 3 In the page preview you can see how the line looks like 2 5 2 INSERTING A RECTANGLE IN THE PAGE Press the corresponding button in the Page toolbar z 12 PageLab user manual PA GE LAEB Move the mouse to the active area of the page A cross appears The object will be in serted in the grid near to the mouse cursor Confirm the insertion point by left clicking A new Rectangle control appears It has a default size You can edit both the dimensions dragging one of the rectangle vertexes or one dimen sion at a time dragging one of the rectangle s sides You can customize the border and the background color and the transparency through the control properties For example make the rectangle white and opaque with white border and thi
Download Pdf Manuals
Related Search
Related Contents
取扱説明書ダウンロード HPMS First Time User Guide User's Manual Sound Level Meter FSM 30Plus Quickstart Type 8619 multiCELL Rumble 15,30,75_848KKI013a converted.indd UnityINOVA - Installation Planning 遺伝子工学研究用試薬 Ampdirect® Plus 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file