startup_OB102.awl 340 B

12345678910111213141516171819202122232425
  1. ORGANIZATION_BLOCK OB 102
  2. BEGIN
  3. L MD 0
  4. __ASSERT== __ACCU 1, 0
  5. L 102
  6. T MD 0
  7. END_ORGANIZATION_BLOCK
  8. ORGANIZATION_BLOCK OB 1
  9. BEGIN
  10. // assert 4-accus
  11. __FEATURE 0
  12. __ASSERT== __ACCU 1, 4
  13. // check that OB 102 was executed
  14. L MD 0
  15. __ASSERT== __ACCU 1, 102
  16. CALL SFC 46 // STOP CPU
  17. END_ORGANIZATION_BLOCK