162  Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 
Examples 
Example 1 
Ladder Diagram 
 
Structured Text 
MCCP(MCCP_1,Cam_1[0],30,1.0,1.0,Cam_pro1[0]); 
Example 2 
Ladder Diagram 
 
Structured Text 
MCCP(mccp_motion_ctrl,cam[0],2,2,10,cam_profile[0]); 
See also 
Motion Move Instructions on page 83
 
Structured Text Syntax on page 635 
Common Attributes on page 663 
Motion Error Codes (.ERR) on page 557