Motion State Instructions 
 
70  Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 
Examples 
Example 1 
The Speed operand is a REAL tag and Speed Units is "Units per sec" 
Ladder Diagram 
 
Structured Text 
MDS(myAxis,myMotionControl,mySpeed_REAL,Unitspersec); 
Example 2 
The Speed operand is a DINT tag and Speed Units is % of Maximum 
Ladder Diagram 
 
Structured Text 
MDS(myAxis,myMotionControl,mySpeed_DINT,%ofMaximum); 
See also 
Motion State Instructions on page 29
 
Motion Error Codes (.ERR) on page 557 
Structured Text Syntax on page 635 
Common Attributes on page 663