
This chapter describes the types of user programs and
describes how to create and write them to the Controller.
User Program Types and Execution Timing 4-3
Ladder Programs . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Motion Programs . . . . . . . . . . . . . . . . . . . . . . . 4-12
Sequence Programs . . . . . . . . . . . . . . . . . . . . . 4-24
The M-EXECUTOR . . . . . . . . . . . . . . . . . . . . . . 4-26
Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
Creating Ladder Programs . . . . . . . . . . . . 4-53
Creating Motion Programs . . . . . . . . . . . . 4-57
Creating a Group Definition . . . . . . . . . . . . . . . . 4-57
Creating a Motion Main Program . . . . . . . . . . . 4-58
Creating a Motion Subprogram . . . . . . . . . . . . . 4-60
Creating a Sequence Program . . . . . . . . . 4-62
Creating a Sequence Main Program . . . . . . . . . 4-62
Creating a Sequence Subprogram . . . . . . . . . . 4-63
Transferring Data with the MPE720 . . . . . . 4-65
Writing Parameters to the Machine Controller . . 4-66
Writing into a Project File . . . . . . . . . . . . . . . . . 4-67
Reading from the Machine Controller . . . . . . . . 4-68
Reading from a Project File . . . . . . . . . . . . . . . . 4-68
Saving to Flash Memory . . . . . . . . . . . . . . . . . . 4-69
Comparing to the Machine Controller . . . . . . . . 4-70
Comparing Flash Memory and RAM Data . . . . . 4-70
Comparing to a Project File . . . . . . . . . . . . . . . . 4-70
Creating User
Programs
4