You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

  • Create a "Standard project" and select CODESYS Control Win V3 as the device.
  • Define the target system by means of the Network scan.



  • Open the Library Manager and add the following libraries:
    CmpApp
    SysTypes2 interfaces



  • Activate the automatic generation of the project information in Project/Project information:



  • Create a persistent variable named PersistentVars.

    Adapt PersistentVars as follows:



    Deklaration

    {attribute 'qualified_only'}
    VAR_GLOBAL PERSISTENT RETAIN
        xAutoRestart     : BOOL;
        udiCnt            : UDINT;    
    END_VAR





  • sdggd







  • No labels