Home
Win-GRAF-User-Manual-english V1.01
Contents
1. RUN BLINK d Inst BLINK1 blink S f Global variables T 2s ICYCLE _del SVV1 BOOL Deleted OUT1 BOOL o2 BOOL Watch for debuggin A Soft Scope oO Initial values Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 9 1 The following kinds of changes are not allowed Create delete or rename a program It will appear a warning message if delete a program E Test LI Exception programs Programs X Main 4 POU cannot be deleted with On Line Change active Do you want to disable it Change SFC charts Change the local parameters and variables of a UDFB Change the type or dimension or string length of a variable or function block instance Change the set of I O boards Change the definition of RETAIN variables In addition the following programming features that are not safe during a change should not be used Pulse P or N contacts and coils edge detection 4S Instead you must use declared instances of R_TRIG and F_TRIG function blocks Rising Pulse Detection Before Enable After Enable Suit Inst_F_TRIG p CLR TRIG Gi False gt True OUT Inst_R_TRIG P I CLKR TRIG G Decreased Pulse Detection ra Inst_F TRIG CL F TRIG Gl True gt False OUT nast _F_TRIG H l CLEF TRIG a Loops in FBD with no declared variable linked You need to explicitly insert a variable in the loop Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 9 2 9 2 Using On Line Change
2. to the PAC Note On Line Change is only suitable for the program that just has a little change Do not need 8 to stop the application If the program name is different from the running one in the PAC the user has to stop and download the program again refer the Appendix B Se A te wedes GLAS E Pree Download changes TEST A SF Name Value Type J Inst_ BLINK OUTI TRUE _ Main RUN BLINK Q _ ___ t Global variables S1 BC OUTI TRUE BCS SER All A Used 3 nH Gag Proiect oO Boe Ka gt i 4 gt Blocks Sovlist Define ENUM U Bss oe Beit E Click on the tool icon Do On Line change to execute the program Note After executing the On Line Change there are some using restrictions for protecting the File Edit View Insert Project Tools Window Help d amp system normal operation refer the Section 9 1 So make sure the program is correct then perform this function fy a Th Ks We GB jo Of ARN Workspace a ae Main gt Test RUN a z i TY Name E Exception programs Inst _BLINK OUTI TRUE J Main A Ly Programs A Global variables A Main Swi BC EI Watch for debuggin T 2s ICYCLE OUT1 TRUE BCF BB Soft Scope 1s i oo 8 Initial values E All F f gt ti Binding Configuration E Gay Used P 3g Global defines H v m Ea Proie
3. upper right corner to exit the setting On Line Change On Line Change Current Status Current Status Number of variables allocated Number of variables allocated ENABLED IBOOL SINT variables 9 39 BOOL SINT variables th rarrat INT variables These 3 Types DINT REAL variables DINT REAL variables need larger LINT LREAL variables LINT LREAL variables TIME variables TIME variables values Active timers Active timers F STRING variables STRING variables STRING buffers characters FB instances FB instance data bytes approx Published variables Complex variales segment bytes POUS fr n at Haw W RJ POUS Numbers displayed Used Allocated Numbers displayed Used Allocated Displayed used numbers are according to the last build Displayed used numbers are according to the last build Allacate Value 30 i 3 O Value re S Margin 2 10 Margin 2 110 6 Click Project gt Build All Projects from the menu bar compile the program again Then click On Line or click the tool icon A to link to the PAC Refer the Section 2 3 5 o E GE jo BF aa a mr A Sena Tools Window Help Build All Projects Clean All Projects Download All Projects Inst_ BLINK OUT1 4RUN BLINK Q d Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 9 4 After successfully link to the PAC click the tool icon Download changes to download the program
4. Chapter 9 On Line Change On Line Change function allows Win GRAF PAC change its application to a modified one during the PAC running time The modified application must be the same name as the original one that currently running in the PAC The On Line Change is primarily used for emergency such as when the application is not allowed to be disabled or stopped for a while or cannot find time to replace a new application for example the device needs 24 hours operation and cannot be stopped Except the above situations it is not recommended to use this function You had better stop the running application then download the modified application to the PAC see Section 2 3 5 which is more safe Application i A little modified Win GRAF fees Application 1 Original WP 8xx8 9 1 Limitations of On Line Change AN Please notice the important limitations before enabling the On Line Change When On Line change is enabled you can perform on the fly the following kinds of changes Change the code of a program Change the condition of a SFC transition or the actions of a SFC step Transitions Sequential Function Chart SFC Create rename or delete global and local variables Create rename or delete global and local function block instances Workspace Si Test at Name Type Attrib H Exception programs A Inst BLINK E J Main Programs oa Main e
5. Enable The On Line Change Function 1 Mouse click Project gt Settings from the menu bar then double click On Line Change item to set it Enabled Win GRAF Test File Edit View Insect Steam Tools Window Help Build All Projects Clean All Projects ii s E Download All Projects Project setings fx Citin hath A ties ee Ee Name Value Runtme s Communication parameters 192 168 71 18 502 Debugging WB Cycle time 0 Advanced EJ Code Generation Release AI ae Enabled B Velsior Libraries Use external objects Double click to disable or enable and configure On Line Change OK capabilities Cancel 2 Click Project gt Build All Projects from the menu bar Must compile the program first then can set up the following steps A Win GRAF Test Sele Fil Edit View Ins E Tools Window Help 8 fe E AEs See mmx manga 12 _ on Inst_ BLINK A fa Global variables EL pom tilleieeteltsh alo 4 RUN BLINK Q 0 1 swt BOOL Clean All Projects OUTI BOOL a Maes T 2s CYCLE i pettiness E All C Used i 3g Global defines i F 3 x some 4 v SG Variables 4 gt Blocks Sovlist Define ENUM KS Types a gt Variables Main 3 Build Building application data lt 9 BOOL SINT OINT 1 DINT REAL O LINT LREAL 3 TIME 1 STRING CRC 1102ac76 gt On Line Change not possible too many variables Ai
6. a aman This message can be ignored when just lt Code CRC a9ec42e6 File CRC fea1925 Size 1832 gt enable On Line Change No error detected A 4 gt Build Crossteferences Runtime Callstack Breakpoims Digital sampinatrace Prompt HMI OffLine 192 168 71 18 502 0 90 692x18 0 0 Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 9 3 Setup the Number of Variables When the On Line Change is enabled you have to set up the number of variables reserved for the declaration of the new variables and Function Blocks for future on line change usage 3 The same as the step 1 mouse click Project gt Settings from the menu bar then double click on the On Line Change to show the setting window Please set the needed new number in the Value or Margin fields Note If both Value and Margin have set values it will use the larger value In this example Value is set as 30 and Margin is set as 10 then the displayed value x 10 is smaller than 30 so it will use the larger value 30 4 Click the needed Variable Type then click the Set button E g Click BOOL SINT variables and Set button then the number become 9 30 39 Note STRING buffers characters FB instance data bytes approx and Complex variables segment bytes need to set a larger number This example uses 5000 5 After setting as the picture below click the X in the
7. ct _ 7 B Gil Variables AA gt 4 E Blocks Soviist Define ENUM E Types 4 b Variables Main 5 f Build X l Build in progress Please wait me io error detected Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 9 5
Download Pdf Manuals
Related Search
Related Contents
Software Engineering – 1 (CS504) DETS STAR-FT 医療機器の添付文書の記載要領(細則)について Bedienungsanleitung Hygrometer Tempus SuperMicro SuperServer SYS-6033P Copyright © All rights reserved.
Failed to retrieve file