AX-Series Motion Controller Instructions Manual               Chapter 2 
121 
2.2.7  MC_ReadActualPosition 
 
  Supported Devices: AX-308E, AX-8, AX-364E 
 
MC_ReadActualPosition reads the current axis position. 
 
FB/FC  Instruction  Graphic Expression  ST Language 
FB  MC_ReadActualPosition 
 
MC_ReadActualPosition_instance( 
Axis : =, 
Enable : =, 
Valid =>, 
Busy =>, 
Error =>, 
ErrorID =>,   
 
  Inputs 
 
Name  Function  Data Type 
Setting Value 
Timing to Take Effect 
Enable 
Run the function 
block. 
BOOL 
True/False 
(False) 
- 
 
  Outputs 
 
Output Range (Default Value) 
Valid 
True when the parameter to read 
exists and can be further processed. 
BOOL  True/False (False) 
Busy 
True when the function block is 
BOOL  True/False (False) 
True when an error occurs. 
ErrorID 
Record the error code when an error 
occurs.   
Refer to Appendix for error 
code descriptions. 
SMC_ERROR*  SMC_ERROR (SMC_NO_ERROR) 
Position  The current position of axis  LREAL  Positive, negative, or 0 (0) 
*Note: SMC_ERROR: Enumeration (Enum) 
 
  Output Updating Time 
 
Timing for Shifting to True 
Timing for Shifting to False 
Valid 
 
When Enable is triggered to True. 
  When the parameter to read exists. 
 
When Enable turns from True to False. 
  When Error is rising edge. 
Busy 
 
When Enable is triggered to True. 
 
When the parameter to read exists. 
 
When Enable turns from True to False. 
 
When Error is rising edge.