
96
Epsilon EP-P Drive and FM-3/4 Module Reference Manual
Both of these lines of code will initiate Index 0 on Profile 0. The first one uses Profile 0 because it is the default profile, and
the second one uses Profile 0 because it is specified. The On Profile.0 command is completely optional, but may be used for
clarity.
To run a motion object on the other profile (Profile 1), we must specify the use of Profile 1. The following program line will
perform Index 0 on Profile 1.
Index.0.Initiate On Profile.1
Any motion may be run on either Profile, but running the same motion object on both profiles simultaneously is prohibited.
For example, it is illegal to run Index 0 on Profile 0 and on Profile 1 at the same time.
Illegal:
Index.0.Initate
Index.0.Initiate On Profile.1
Legal:
Index.0.Initiate
Wait For Index.0.CommandComplete
Index.0.Initiate On Profile.1
Any two motion objects can be run on both profiles at the same time. For example, it is legal to run Index 0 on Profile 0 and
Index 1 on Profile 1 at the same time.
Legal:
Index.0.Initiate
Index.1.Initiate On Profile.1
The distance and velocity of the two indexes is summed to generate the overall position command and velocity command for
the motor.
All motion run from the Assignments view is automatically run on Profile 0. It is not possible to change the Profile on which
motion run from the Assignments view operates. Therefore in order to run motion from both the Assignments view and from
a program simultaneously, motion initiated by the program must be run on Profile 1.
The Profile view allows the user to view the Position Command and Velocity Command for each profile individually. An
example of this view is shown below.
Figure 86: Profile View
Below is example program code that runs Index 0 on Profile 0. Wait for 1 second, and then initiate Index 1 on Profile 1. The
diagram shows how the two profiles look individually, and then shows how the motion looks after being summed by the two
profiles.
Index.0.Initiate
Wait For Time 1.00 ‘Seconds
Comentarios a estos manuales