Home

Pixsys Suite Logiclab Overview

image

Contents

1. LogicLab shows now the editor window of the Main program object On the top of the window there is the local variables editor The variables editor allows to add remove copy and paste variable definitions Name Type Address Array Init value Attribute Description The textual source code editor is placed in the bottom part of the window 6 Insert a new local variable by pressing the Insert record button in the Project toolbar Alternatively you can use the Insert option of the Variables menu 7 Edit the name for example Counter and the type of the variable A double click in the type field opens the type selection dialog Choose the INT data type 8 Implement a simple counter in ST language as shown below E Main a Name Type Address Array Initvalue Attribute Description 1 counter INT Auto No 0 A 0002 A simple counter 0003 counter counter 1 9 In order to be executed the program Main has to be assigned to a task In the Workspace window right click on the Slow task and select the Add program option The Object browser window pops up i Function Blocks i Functions Global variables Eel Tasks cook Fast 10 LogicLab user manual mm mg l 10 Select the Main program and click OK The picture below shows the Workspace win dow after the successful completion of the operation Objects filter Programs _ Operators Main Programs
2. You can switch on and off the full screen mode with the Full screen option of the menu View or with the corresponding command of the Main toolbar 20 Us Project Debug Communicatio Toolbars Bb i Tool windows ay a Full __ gt Ctrl L Es Grid peple Project Programs gM Fazt bs Init Z Main LogicLab user manual mm 3 6 ENVIRONMENT OPTIONS If you click Options in the File menu a multi tab dialog box appears and lets you customize some options of LogicLab General Autosave if the Enable Autosave box is checked LogicLab periodically saves the whole project You can specify the period of execution of this task by entering the number of minutes between two automatic savings in the Autosave interval text box Graphic Editor This panel lets you edit the properties of the LD FBD and SFC source code editors General Graphic Editor Test Editors Language Directories Tools Font name Graph Objects Network grid color Background network color Selection color Object color Symbal System Tahoma Tempus Sans ITC Test color Selected text color Error color Comment color bes lee Terminal Times Hew Roman Times New Roman Baltic Times New Roman CE l gt M1 Font dimension A h 4 x Library Text Editors Language You can change the language of the environment by selecting a new one fr
3. cot SS gt a Ra wv adel You can make the tool window float by double clicking on its name or by pressing the CTRL key or by moving the tool window away from the main window borders i Symbol Symbol A tool window can be resized by clicking and dragging on its border until the desired size is reached Watch x ales i au 18 LogicLab Watch x gn 6G v l au Symbol x A Location lt w user manual mm mg 3 4 WORKING WITH WINDOWS LogicLab allows to open many source code editors so that the workspace could get rather You can easily navigate between these windows through the Document bar and the Win ty x messy dow menu Tools Help 2 Cascade Tile 4 J o a Arrange Icons H 4 Close All 1 Fast VAR 2 Stati VAR 3 Exec VAR 4 Global variables VAR 5 Running VAR 3 4 1 THE DOCUMENT BAR VAR_INPUT VAR_INPUT viam homer IE Exec B Global variables at Running Name Array Init yalue Attribute NotEnabled BOOL No FALSE Transition result NotRunning BOOL No FALSE Transition result NotStopped BOOL No FALSE a Transition result n DINT No 0 a 1 Running BOOL No FALSE Transition result 0 enab BOOL No FALSE 1 run FALSE mar ewr The Document bar allows to switch between all the currently open editors simply by click ing on the correspon
4. Function Blocks _ Functions Standard functions Variables Local variables User types Basic types Check all Check none Other filters Name Location All Library Al Wars type Choose other Delete LogicLab user manual 11 mm 12 VPLC1 is a software which emulates a simple programmer controller provided with digital and analog I O It is possible to interact with simulator as explained in Simu Lab manual or briefly in Resources tab File Edit View Project Debug Communication Variables Window Tools Help amam o Be o eT TATRIIROE ic ie El lw a Fa mol Eji Description cis 5 8 5 S S s oea Sl ol Nl l S i LA ESE 2 im m m m m m m m m m m m m m Jem om n O O O O 9 O O O 9 O 9 oo O aisisisi ai si a S usss sS S a e ue o Mo o o 5 amp o S 3 a Analog I O z mfanoo 0 Bain U El AID2 I l AID3 DODO DD01 D002 D003 D004 DOD5 DDOE D007 D008 D009 D010 D011 D012 D013 D014 D015 A000 a Be j AOOT a ADD2 Eg E ADD3 i L X Library x Name Type Address Size Group Description i sys naloglnputs INT 2IW1 0 4 Analog Inputs System analog inputs Li sys nalogOutputs INT 20W1 0 4 Analog Outputs System analog outputs Vf sysDigitallnputs BOOL 21X0 0 16 Digi
5. b Print Ctrl P Print preview as Open project Printer Setup Exit 8 LogicLab user manual 4 mm a Insert the new project name for example PIcExample and choose the destination folder then press 0K VPLC1 virtual target has been selected for this project Logi cLab s workspace looks now like in the picture shown at step 2 that is all operators and target variables are shown preprocessing status log has been printed in the output window New projet Project Name PlcExamplel Directory L NP jT raining T arget selection Select the target for a new project WPLC1 1 0 X Options Case sensitive 5 To add a new empty program to the project select New program from the menu Pro ject gt New object View Maes Debug Communication Tools Help a Copy Object New function Block Paste object New function Bun pices Mew variable Delete object Pl PLC Object properties Alt E ner t Recompile all TEW E FEB Generate redistributable source module Import object from library Export object to library ta Library manager Macros Select target Options Choose the ST language insert the new program name for example Main and press OK It is also possible to assign here the program to one of the available tasks New program a Language IL FBD Name Main Task LogicLab user manual 9 mm
6. panels described in the preceding paragraphs are usually always available in the L7 brary window However other panels may be added to this window one for each library included in the current LogicLab project For example the picture above was taken from a LogicLab project having two included libraries basic pll and thermmodel pll see also Paragraph 4 7 Name Type Description oo o oo Ja BitToByte Function Compose a byte From amp bits F BitTo word Function Compose a word From 16 bits TF BybeToBik Function block Split a byte into bits TF byteTo word Function Compose a word From 2 bytes Function block Falling pa detector basic thermmadel 4 LogicLab user manual 1 1 6 THE WORKSPACE WINDOW LOGIC CTAB The Workspace window consists of three distinct panels as shown in the following picture Project x Project x Ee Project O Definitions Resources O gt O Definitions Tag Resources mA EC Project B Programs HA Fast Init Main Function blocks it Schema S P Stati 2 HE Input variables 2 Local variables B C Actions Exec Initialize B 63 Transitions H NotEnabled it NotRunning it NotStopped it Running B 63 Functions Wait a Global variables rs Automatic variables 2 170 variables a Onda quadra r period r tau r valueFilt r valueRef C Constants C Retain variables m a u gt OO O O co Timed
7. ALSE BOOL PLC mm RESET FALSE BOOL PLC COUNTER 0 UINT PLC fn CONTATORE PLC F 2 CONTATORE PLC F 3 CONTATORE PLC A iw 1 1 5 THE LIBRARY WINDOW The Library window contains a set of different panels which fall into the categories ex plained in the following paragraphs You can choose the display mode by clicking the right button of your mouse In the View I ist mode each element is represented by its name and icon Instead a table appears in the View details mode each row of which is associated with one of the embedded elements The latter mode also displays the 7ype Operator Function and the description of each element If you right click one of the elements of this panel and you click 0bject properties from the dialog box then a window appears with further details on the element you selected input and output supported types name of input and output pins etc 1 1 5 1 OPERATORS AND STANDARD BLOCKS This panel lists basic language elements such as operators and functions defined by the IEC 61131 3 standard lx AES Function Absolute value LX ACcOS Function Arccosine 400 Operator Arithmetic addiction amp AND Operator Logical bitwise AND ASIN Function Arcsine Function Arckangent Target variables thermmadel LogicLab user manual 3 LOGIC UAB 1 1 5 2 TARGET VARIABLES This panel lists all the system variables also called target variables wh
8. Scheme Variables Window Tools Developer Hf Baga ee ee ee ey ON Pizzi AxB NM e Pe bo bonT TE Hb S Project x ia Fast fa Main Bi Watch i x Ea Project a aP Definitions EE Resources i lolx BEF ee z E p Prqprams ODS 16 000F0281 5 1 Schema Schema Auto Pulse Auto El El Local variables E 2 ent INT Auto FF_D Auto fbFilter 3 fbStati Stati Auto TusFilter Auto Bd fbFlipFlop G fbPulse pvtenanit Auto No fbSplit ByteToBit Auto No i fbSplit_o Ladder logic it alt k 004 fbSchema il inpl is aE 0005 out0 MEN Boe gg O OU mr 8S ae eee ae 3N Function blocks SguarewaweonoutMt FFF i 4 Functions Up down logic on ahalog q m ee ee ea ee oe S E Global variables C E IER See ee Ar asnar a Milne gey B E Automatic variables aout3 aout3 incr IE di freeRunCounter IF aout3 gt 2047 yTEEN B E Analog out 3 NT vall a 1 0 variables _ 0013 ELSIF aout3 lt tie THEN AWS Constants 00 EG me p TO INT val0 EM Analog out 3 a S a O Wl Ga oF eae eR eS a eS i Klnilner 0017 is bal ng Da mal UP TO A ORR ee aOR Ae Re ag Retain variables 0018 Tasks 0019 aout0 ainpO ainpl FM ese POTRA DAGDU DR ORDY B 2 Timed SFC sikis is es a Mamea 77 te wrens MR gic mey aa aa
9. TUP PROCEDURE In order to install LogicLab follow this simple procedure 1 Close all the applications running on the system 2 Run LogicLab s setup executable file and follow the instructions shown in the setup wizard iE Setup Axel LogicLab 2 8 0 9 Welcome to the Axel LogicLab 2 8 0 9 Setup Wizard This will install Axel PC Tools LogicLab 2 8 0 9 on your computer lt is recommended that you close all other applications before continuing Click Nest to continue or Cancel to exit Setup The setup procedure adds the following Start menu l Axel PC Tools D LogicLab 2 LogicLab 2 SimuLab jl Uninstall LogicLab 2 The LogicLaD s folder in the file system has the following structure 4 Axel PC Tools p uk Catalog gt d Common 4 di LogicLab2pU y Docs gt Ju templates p di SampleProjects gt JJ SimuLab LogicLab user manual 7 mm 2 2 USING THE IDE The following steps show you how to create run and debug a simple LogicLab PLC pro gram The program will be written in the ST language and will be executed directly on your machine A virtual target VPLC1 has been installed by the setup procedure VPLC1 emulates a simple programmable controller provided with digital and analog I O 1 Launch LogicLab from the Start menu l Axel PC Tools l LogicLab 2 LogicLab 2 SimuLab jl Uninstall LogicLab 2 2 When LogicLab is started for the first time not all windows and toolbars are
10. aziocni IEC IEC svt zml completed 0 warnings errors Buld Fid n peice Build The Build panel displays the output of the following activities Opening a project compiling a project downloading code to a target Find in project This panel shows the result of the Find in project activity Debug The Debug panel displays information about advanced debugging activities for example breakpoints Resources The Resources panel displays messages related to the specific target device LogicLab is interfacing with 1 1 2 THE STATUS BAR The Status bar displays the state of the application at its left border and an animated control reporting the state of communication at its right border Ready EDIT MODE CONNECTED 2 1 1 3 THE DOCUMENT BAR The Document bar lists all the documents currently open for editing in LogicLab Pa Fast E Main B Global variables 2 LogicLab user manual mn mn 1 1 4 THE WATCH WINDOW The Watch window is one of the many debugging tools supplied by LogicLab Among the other debugging tools it is worth mentioning the Oscilloscope see Paragraph 9 2 trig gers and the live debug mode see Paragraph 9 4 Watch x ES eG b lian Eu Symbol Yalue Type mm CNT_1 ENABLE TRUE BOOL PLC FHS PROVASTRU STRUTTURA PLC w REALE 0 584264 REAL PLC INTERO INT PLC cnt_o CONTATORE PLC F 0 i CONTATORE PLC mm ENABLE F
11. configuration on application exit in order to persist your preferences between different working sessions 3 2 TOOLBARS 3 2 1 SHOWING HIDING TOOLBARS In details in order to show or hide a toolbar open the View gt Toolbars menu and select the desired toolbar for example the Function Block Diagram bar Wie Project Debug Communication Scheme Variables Window Tools Help Tai i Toolbars vw Main toolbar Aea fo Tool windows v Status Bar 8 Full screen Ctrl U Debug bar CrhB W E an C FBDbar Cad PE fect LD ber Ci Name peple Project SFC bar Cr Programs Project bar Ctrl 2 foFlipFlop H A Fast Network Ctrl N 3 foFilter 4 Split Main Document bar Ctrl M au Function blocks fol amp Ez fbSplit_O tt Schema lt h Stati Functions 0001 ngi Global variables rE The toolbar is then shown hidden WA Fie Edit View Project Debug Communication Scheme Yariables Window Tool Banas o amp Ba da amp Ga DHARE DE a oi diri ls FE FF_D ar AU fbF ilter TusFilter Auto E Mai foSplit ByteToBit Auto Lo aM blacks 3 foSplit_o Byte Tobit Auto H E Functions E EJ Global variables EAr 3 2 2 MOVING TOOLBARS You can move a toolbar by clicking on its left border and then dragging and dropping it to the destination Ma File Edit view Project Debug Communication Scheme Variabl
12. d B a Background y fhGtati ah inni mm an nuit wa OE E SS OEE ae eAUaO a ee Ye O A I S Global variables Name Type Address Array Initvalue Attribute 1 _ freeRunCounter DINT Auto 0 2 incr INT Auto Analog ouk 3 No 0 2 period REAL MD1 11 OndaguaWa No 0 4 valueFilt REAL MWI1 8 Onda quadra No 0 REAL MD1 9 Onda quadra No 0 v i 2 X Library E i i Type Description IXIABS Function Absolute value Preprocessing thermmodel completed Function Arccosine Reading symbol file L ApplicazioniNIECNIEC sym xml completed Operator Arithmetic addition Nu W NN Reading target symbol file L ApplicazioniNIEC MIEC syt xml completed Operator Logical bitwise AND unction Arcsine nction aoe 0 warnings 0 errors 4 gt f Build Find in project k Debug Resources if CONNECTED Output window Library window Status bar LogicLab user manual 1 n mg The following paragraphs give an overview of these elements 1 1 1 THE OUTPUT WINDOW The Output window is the place where LogicLab prints its output messages This window contains four tabs Build Find in project Debug and Resources Dutput x Preprocessing Global shared completed A Preprocessing Menu completed I Preprocessing basic completed Preprocessing thermmodel completed Reading symbol file L Applicazicni IEC IEbC zvm zml completed Reading target symbol file L Applic
13. ding name B Global variables ji unning P Name Type Array Init value Attribute NotEnabled BOOL No FALSE NotRunning BOOL No FALSE NntStnnnerd RAAI Nn FAI SF Lill i TO HE mg Fast B stati Exec GYR UY You can show or hide the Document bar with the menu option of the same name in the menu View gt Toolbar S LogicLab user manual 19 mm 3 4 2 THE WINDOW MENU The Window menu is an alternative to the Document bar it lists all the currently open editors and allows to switch between them nan Tools Help Cascade Tile Arrange leons Close All 2 Stati 3 Eec 4 Global variables 5 Running Moreover this menu supplies a few commands to automate some basic tasks such as closing all windows 3 5 FULL SCREEN MODE In order to ease the coding of your application you may want to switch on the full screen mode In full screen mode the source code editor extends to the whole working area making easier the job of editing the code notably when graphical programming languag es that is LD FBD and SFC are involved WA File Edit View Project Debug Communication Scheme Variables Window Tools Help Bg Fast B stati Name 1 fbPulse 2 fbFlipFlop 3 thFilter 4 foSplit 5 foSplit_0 Type Pulse FF_D TusFilter ByteToBit ByteToBit Exec Address Auto Auto Auto Auto Auto t Running Array ooooo Init value Attribute Description
14. es Window Tools Help Bans o JER HEH 42 TARAS o ED T DJ o i gt i si tj 4 Er H T gn Eb of Eg Ga Ta i EU iMd rn ee ss The toolbar shows up in the new position LogicLab user manual 15 mm l EHA File Edit View Project Debug Communication Scheme Variables Window Tools Help I Fast Ea a dao o BB AS SR Bele E Fa 8 Bu Bg RAE le A so OD bni d a e You can change the shape of the toolbar from horizontal to vertical either by pressing the Shift key or by moving the toolbar next to the vertical border of any window Watck Description Em 4 Symb Description Absolute value Arccosine A AM eka o E Y Description e pFlop FD q IO oe tn et ei 8 wad a se 4 Hs _ obo im mee m h FE ant ex a pee ak ee tj ww 4 go me AS OE k 5 Ma A amp EN se ani F v WE lt Description Absolute value You can also make the toolbar float either by pressing the C7RL key or by moving the toolbar away from any window border 16 Communication Scheme Variables Window Tools Help Communication Scheme Variables Window Tools Help Fe oh a SL DADA B el aes eb a E OD m 1 5 E eng G a DAHAS io E amr Fast Name Type Address Array Init value Atl 2 fbFlipFlop FF_D Auto No 0 3 f
15. es a set of editors to manage edit and print source files written in any of the 5 programming languages defined by the IEC 61131 3 standard see Chapter 6 Aa E3 E4 Main Name Type Address Array NotEnabled Schema Auto No NlatBunnine INT Auto No Stati Auto No fbSchema il inp0 i2 inpl i3 outO fbSchema ol Up down logic on analog output 3 aout3 aout3 incr IF aout3 gt 2047 THEN incr TO INT yall 1 ELSIF aout3 lt 2048 THEN incr TO_INT vall END IF Analog output 0 analog inp 0 analoc Ul ron outputs 8 to 15 Sl fbSplitO The definition of both global and local variables is supported by specific spreadsheet like editors Name Type Address Group Array Init value Attribute Description 2 incr INT Auto Analogout3 No 0 3 period REAL MD1 11 Ondaquadra No 0 4 valueFilt REAL MVV1 8 Ondaquadra No 0 5 tau REAL MD1 9 Onda quadra No 0 6 valueRef REAL MD1 10 Ondaquadra No 0 eg 7 klnilner INT Auto Analogout3 No 50 CONSTANT 6 LogicLab user manual 2 1 mm mg OUICK START This chapter is a step by step tutorial that introduces you to the use of the LogicLab de velopment environment You will be guided through all the tasks you need to accomplish in order to run and moni tor a simple PLC application The examples in this chapter refer to a virtual target VPLC1 which is installed along with LogicLab during the setup procedure SE
16. fa Fast Background fa Main oat Init on l st 1 1 6 1 PROJECT S o jama TypeDefs Structures B a LData f actual f max f min Enumerations SubRanges T uint Macro lt The Project panel contains a set of folders Project x EE Project O Definitions Resources C Configuration Ej Modbus objects A EEPROM Parameters amp Status variables AN Enums BIOS Parameters Menu RE 1 0 Mapping Alarms Help Program Function blocks Functions each folder contains Program Organization Units briefly POUs see Paragraph 5 1 of the type specified by the folder name Global variables it is further divided in Variables I O Variables Constants and Retain variables Each folder contains global variables of the type specified by the folder name see Paragraph 5 2 Tasks this item lists the system tasks and the programs assigned to each task see Paragraph 5 3 1 1 6 2 DEFINITIONS The Definitions panel contains the definitions of all user defined data types such as structures or enumerated types 1 1 6 3 RESOURCES The contents of the Resources panel depends on the target device LogicLab is interfacing with it may include configuration elements schemas wizards and so on LogicLab user manual mm 1 1 7 THE SOURCE CODE EDITORS The LogicLab programming environment includ
17. hFilter TusFilter Auto No 0 gt R fbSplit ByteToBit Auto No 0 5 fbSplit_o ByteToBit Auto No 0 Square wave on output eee id A Dhoom pe Toots poo fbPulse cl Fast Name Type Address Array Init value Atl 2 fbFlipFlop FF_D Auto No 0 3_ fbFilter TusFilter Auto No 0 4 fbSplit ByteToBit Auto No 0 5 fbSplit_o ByteToBit Auto No 0 LogicLab user manual mm mg 3 3 DOCKING WINDOWS 3 3 1 SHOWING HIDING TOOL WINDOWS The View gt Tool windows menu allows you to show or hide a tool window for example the Output window EA File Edit Ban Project Debug Communication Scheme Variables Window Tools Help Ctrlew Ctrl U Library Ctrl L E2 K Asyne graphic window Ctrl K Watch window Ctrl T Type Address 1 fp 5 eo Atr Eal Project Definitions 2 peple Project FF_D 2J Programs a Ta Fast TusFilter Auto yn ByteToBit Auto 5 Function blocks ByteToBit Auto tH Schema Ta Stati 29 Functions 9 Global variables Tasks ii Square wave on output Period 10 ms val11 inp Em MW yo TO_UINT Period gt Dutput x Library Preprocessing Module TARGET completed Preprocessing Module MAIN completed Preprocessing basic completed Preprocessing thermmodel completed 0 warnings 0 errors rf Build Show or hide the Output bar The tool window is then shown hidden Mi File Edit View Pr
18. ich are the inter face between firmware and PLC application code i Ad InPo INT obi 1 DEB AMALOG DIGITAL EM incremental position i Jd Nucci INT yD 12 DEB AMALOG DIGITAL EN DSP cycles without position increment di Ad Pesp CIMT eT 10 DEB 4N4LOG DIGITAL EN calculated speed i Ad Secor INT e n 2 DEB 4N4LOG DIGITAL EN sine channel offset di Ad ViPo CIMT TW 2 DEE ANALOG DIGITAL EN virtual position di Ad viPoIni CINT ewn 215 DEB GN4LOG DIGITAL EM 4 Operator and standard blocks Target variables thermmodel 1 1 5 3 TARGET BLOCKS This panel lists all the system functions and function blocks available on the specific target device Library aa Name Type Description A Gf M sglnterpMano Function Checks messages from single axis int i evsQuiesInterphonoP le Function Werllies the end of an interpolated sin F eysAesetlnterpMonoP le Function Resets an interpolated single axis mo Ia sysSleep Function Puts the current task in the sleeping GF sysStartlnterpMono Function Starts an interpolated single axis mow Ji sysStartlnterpMonoP lec Function Starts an interpolated single axis mow F yT argetlnterpMonoP lc Function Vertes if the target of an interpolated Uch F us waillnternhlano Function Waits until the end of an interpolated w la i Operator and standard blocks Target variables Target blocks 1 1 5 4 INCLUDED LIBRARY PANELS The
19. le which should increment continuously 12 LogicLab user manual _ _ _ __ SS i mni 2 3 Seles Type Address Array Init value Attribe Auto No 0 A simple counter SURES counter 1 os Ge Symbol COUNTER You are at the end of this very simple but complete edit compile download debug work ing session with LogicLab Further steps you should take in order to acquire a deeper Knowledge of the tool include the use of the other languages function amp function blocks global variables libraries real time debugging and so on Refer to the following sections of this manual to obtain the necessary information A MORE COMPLEX EXAMPLE In the SampleProjects Samp e subdirectory of your LogicLab installation you can find a more complex VPLC1 example which offers an overview of IEC 61131 3 languages To open the project use the File Open project menu option and open VPLC1Sample ppjs or select it from Example projects list in the welcome page LogicLab user manual 13 n l 14 LogicLab user manual MMM 8 3 USING THE ENVIRONMENT This chapter shows you how to deal with the many UI elements LogicLab is composed of in order to let you set up the IDE in the way which best suits to your specific development process 3 1 LAYOUT CUSTOMIZATION The layout of LogicLab s workspace can be freely customized in order to suit your needs LogicLab takes care to save the layout
20. mm mg OVERVIEW LogicLab is an IEC61131 3 Integrated Development Environment supporting the whole range of languages defined in the standard In order to support the user in all the activities involved in the development of an applica tion LogicLab includes textual source code editors for the Instruction List briefly IL and Structured Text briefly ST programming languages see Chapter 6 graphical source code editors for the Ladder Diagram briefly LD Function Block Dia gram briefly FBD and Sequential Function Chart briefly SFC programming lan guages see Chapter 6 a compiler which translates applications written according to the IEC standard directly into machine code avoiding the need for a run time interpreter thus making the pro gram execution as fast as possible see Chapter 7 a communication system which allows the download of the application to the target environment see Chapter 8 a rich set of debugging tools ranging from an easy to use watch window to more pow erful tools which allows the sampling of fast changing data directly on the target envi ronment ensuring the information is accurate and reliable see Chapter 9 THE WORKSPACE The figure below shows a view of LogicLab s workspace including many of its more com monly used components Workspace Source code IG GW editors Document bar Watch window File Edit Views Project Debug Communication
21. oject Debug Communication Scheme Variables Window Tools Help BAGS o o 5 Ben ASH EGR DARED EE Bra FR OD Il f Address B peple Project 5 6 Programs FRAD MIS Fast TusFilter Auto m ByteToBit Auto 5 0 Function blocks ByteToBit Auto it Schema Ta Stati 29 Functions C Global variables Square wave on output 7 Tasks Period 10 ms val11 im gt zx ES eS He TO_UINT D Library Name Type Description ABS Function Absolute value L lt Acos Function Arccosine F ADD Operator Arithmetic addition AND Operator Logical bitwise AND LX ASIN Function Arcsine LX ATAN Function Arctangent LXAJATAN2 Function Arctangent of Y X Operator and standard blocks Target variables basic thermmodel LogicLab user manual 17 mm 3 3 2 MOVING TOOL WINDOWS In order to move a tool window click on its name at the top of the window and then drag and drop it to the destination Description FF_D od q elk Watch x eee gt gt Eu Iau ic addition bitwise AND ant ant of Y X f a value lic cosine ic division ssponential basic thermmodel Description A O o HL od ag dd te 5 as wl a uw aw BE 42 ae BU Y OM ke WW ES gt R op ome GW MW FREE ARREARS EE AAKeREREE ST Se G YA O O OE 2 X Watch x
22. om the list shown in this panel After selecting the new language press the Se ect button and confirm by clicking OK This change will be effective only the next time you start LogicLab General Graphic Editor Test Editors Language Directories Tools Default Enait Select the program language You need to restart the program for the change to take effect _ a Tools You can add up to 16 commands to the Tools menu These commands can be associated with any program that will run on your operating system You can also specify arguments for any command that you add to the Tools menu The following procedure shows you how to add a tool to the Tools menu LogicLab user manual 21 mm l 1 Type the full path of the executable file of the tool in the Command text box Other wise you can specify the filename by selecting it from Windows Explorer which you open by clicking the Browse button General Graphic Editor Text Editors Language Directories Tools Command de Arguments Menu string 2 Inthe Arguments text box type the arguments if any to be passed to the execut able command mentioned at step 1 They must be separated by a space 3 Enter in Menu string the name you want to give to the tool you are adding This is the string that will be displayed in the Tools menu 4 Press Add to effectively insert the new c
23. ommand into the suitable menu 5 Press OK to confirm or Cancel to quit For example let us assume that you want to add Windows calculator to the Tools menu Fill the fields of the dialog box as displayed General Graphic Editor Text Editors Language Directories Tools Command C AWINDOW S system32 calc exe led Arguments Menu string Cald Press Add The name you gave to the new tool is now displayed in the list box at the top of the panel General Graphic Editor Test Editors Language Directories Tools And in the Tools menu as well 22 Help a bel Gud God rr Comnmand C AWINDOWS system32 calc exe Arguments Menu string Cale LogicLab user manual
24. shown You can customize LogicLab s workspace through the View menu File Edit View Project Debug Communication Window Tools Help alx Q cx 0 oe aar el s amp RRRA 0 ie EB O Nines Sd E Ih Fa PE O EE Ph iD A D OD me 14 1 Ti HE tH MOO O amp O CETERE EU id O Bees sles ic R PKBM gt DMIR Project x Eg Resources Watch x EEF Project o Definiti ER gm S gt Eu Ra sets E Besace VPLC1 Configuration Les I gt Hi B ga PlcExample Project E Programs Function blocks C Functions How to use this H E Global variables project E Tasks VPLC1 Manual Custom pages Library ame rccosine Arithmetic addition ol Operator Logical bitwise AND Functi Aresit Fun Arctangent uni x Preprocessing Module TARGET completed Preprocessing Module MAIN completed Preprocessing Standard completed Preprocessing Pid complete 0 warnings 0 errors 4 f Build fi Find in project Debug Resourc es F EDIT MODE NOT CONNECTED 3 In order to create a new project select the item New project from the menu File Edit View Project Debug Communication Window Tools S Newpoiet amp hn e a T Open project View project read only Welcome to New text file Log icLab Open file a R r Close New project Options amp
25. tal Inputs System digital inputs f sysDigitalOutputs BOOL 20 0 0 Digital Outputs System digital outputs arget extensi lud sysTimer UDINT MD60000 0 1 System Timers System timer ms OE EI b sysUserDataBlock BYTE ZMB1 D 10000 Internal variables Data block available for user data ma MYD m m m m m m m m Jew m m Jew m Jew m 8 warnings 0 P P P Preprocessing 0 T P 0 warnings 0 errors 4 gt Build Findin project Debug Resources 4 f Operator and standard blocks Target variables Standard Pid i A J A A A Ready EDIT MODE L ERROR The status of the VPLC1 I O is available in LogicLab as the Target variables listed in the Library window 13 With LogicLab connect to VPLC1 through the apposite button on the toolbar Aaa k 14 Press F7 or select the menu option Project Compile to compile the application Verify that the compilation ends with 0 warning 0 errors otherwise correct the errors and compile again 15 Download the code by means of the appropriate toolbar command ef Ba Go TE S PLC is now running on VPLC1 You can see the LogicLab bottom bar indicating Source ok Connected 16 Open the Watch window through the View menu then select the variable in the text editor with a double click and drag and drop it into the Watch window The Watch window should display the value of the Counter variab

Download Pdf Manuals

image

Related Search

Related Contents

Gabarit d`affûtage manuel Veritas MKII : notice d  Allegato I – Relazione Energetica  取扱説明書  Candy CFT 610  User Manual    SMM Coding User Manual  PAR SLIM LED TRI - 54W  TUFLOW Manual - 2007  Ⅰ 乳幼児の事故防止とは  

Copyright © All rights reserved.
Failed to retrieve file