528  Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 
Structured Text 
Condition/State  Action Taken 
Prescan  See Prescan in the Ladder Diagram table.   
Normal execution  See Rung-condition-in is false in the Ladder Diagram table. 
Postscan  See Postscan in the Ladder Diagram table.   
Error Codes 
See Motion Error Codes (.ERR) for run time errors for motion instructions when 
MDAC is active. 
Verification Errors 
An invalid or No Master Axis will cause new errors to be generated when verified 
by the programming software. The following conditions may cause this error: 
•  The Master and Slave Axis are the same. 
•  Master or Slave Axis is not configured. 
•  Master or Slave Axis is inhibited. 
•  Redefine position is in progress. 
•  Home of an axis is in progress. 
MDSC ALL Conflict. The ALL parameter is not allowed while a Slave axis 
motion generator (for example, the jog motion generator) is already assigned. 
Examples 
Example 1 
Ladder Diagram