SoftwareDescription
FlexibleAutomation
5−1
Contents
Page
5 Software Description5−3. . . . . . . . . . . . . . . . . . . . .
5.1 Program Structure 5−3. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1 Organizational Modules OM 5−4. . . . . . . . . . . . . . . . . . . . .
5.1.2 Program Modules PM 5−5. . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.3 Data Modules DM 5−6. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 Program Flow 5−7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Program Execution 5−11. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.1 Cyclic Program Execution 5−12. . . . . . . . . . . . . . . . . . . . . . .
5.3.2 Interrupt−controlled Program Execution 5−12. . . . . . . . . .
5.3.3 Time−controlled Program Execution 5−13. . . . . . . . . . . . .
5.3.4 Definition of Variables in OM7 5−14. . . . . . . . . . . . . . . . . . .
5.4 Programming Language 5−19. . . . . . . . . . . . . . . . . . . . . . . .
5.4.1 Control Command Structure 5−19. . . . . . . . . . . . . . . . . . . .
5.4.2 Data Formats and Register Structure 5−20. . . . . . . . . . . . .
5.4.3 Addressing Modes 5−21. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.4 Address Ranges 5−23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Programming Considerations 5−26. . . . . . . . . . . . . . . . . . .
5.5.1 Program Generation and Programming 5−26. . . . . . . . . . .
5.5.2 Program Documentation 5−27. . . . . . . . . . . . . . . . . . . . . . . .
5.5.3 Program Testing 5−28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .