latin1.awl 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ORGANIZATION_BLOCK OB 1
  2. TITLE ="Main Program Sweep (Cycle)"
  3. VERSION : 0.1
  4. VAR_TEMP
  5. OB1_EV_CLASS : BYTE ; //Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
  6. OB1_SCAN_1 : BYTE ; //1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
  7. OB1_PRIORITY : BYTE ; //Priority of OB Execution
  8. OB1_OB_NUMBR : BYTE ; //1 (Organization block 1, OB1)
  9. OB1_RESERVED_1 : BYTE ; //Reserved for system
  10. OB1_RESERVED_2 : BYTE ; //Reserved for system
  11. OB1_PREV_CYCLE : INT ; //Cycle time of previous OB1 scan (milliseconds)
  12. OB1_MIN_CYCLE : INT ; //Minimum cycle time of OB1 (milliseconds)
  13. OB1_MAX_CYCLE : INT ; //Maximum cycle time of OB1 (milliseconds)
  14. OB1_DATE_TIME : DATE_AND_TIME ; //Date and time OB1 started
  15. END_VAR
  16. BEGIN
  17. NETWORK
  18. TITLE =
  19. L 'ä';
  20. __ASSERT== __ACCU 1, DW#16#E4
  21. L 'Ä';
  22. __ASSERT== __ACCU 1, DW#16#C4
  23. L 'ö';
  24. __ASSERT== __ACCU 1, DW#16#F6
  25. L 'Ö';
  26. __ASSERT== __ACCU 1, DW#16#D6
  27. L 'ü';
  28. __ASSERT== __ACCU 1, DW#16#FC
  29. L 'Ü';
  30. __ASSERT== __ACCU 1, DW#16#DC
  31. L 'ß';
  32. __ASSERT== __ACCU 1, DW#16#DF
  33. CALL SFC 46 // STOP CPU
  34. END_ORGANIZATION_BLOCK