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

Compare with Current View Page History

Version 1 Next »

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



  • Adapt the POU PLC_PRG as follows:



    Declaration

    VAR
        xCreateAlarm1    : BOOL;
        xCreateAlarm2    : BOOL;
        xCreateAlarm3    : BOOL;
        xCreateAlarm4    : BOOL;
        xAckAll          : BOOL;
        xAckErr          : BOOl;    
    END_VAR







  • Insert an Alarm configuration in the device tree.
    Here, the 
    Error, Info and Warning, alarm classes are created automatically, as well as the AlarmStorage object.
    In addition, an 
    AlarmManagerTask is created.










  • ldfjgpaejgf




  • jkdgnldkgaj




  • kdfgjalkdej



  • sdgsdg
  • No labels