Delta Electronics AH — MC_SetPosition

Chapter 3 Motion Control Instructions MC_SetPosition - The changing of the coordinate system is made by modifying both the current position of the instruction (command position) and the actual position from the feedback signals with the same value, which is set by Position. 3_ - The following error between command position and actual position remains the same value.  Inputs *Note: 1. “Relative =True” means the value of Position will be added to the current position. “ Relative =False” means that command current position will be set to the value specified in the parameter Position . 2. Refer to Section 2.4 Data Type Unit (DUT): ENUM for explanation on using enumerations.

3-107 FB/FC Description FB MC SetPosition changes the current position by shifting the coordinate system of an axis. _ Name Function Data type Setting value (Default value) Timing for updating Execute Executes the instruction when Execute changes to True. BOOL True/False (False) - Position Specifies the set position. (Unit: user unit) LREAL Negative number, positive number, or 0 (0) When Execute shifts to True and Busy is False. Relative Specifies a relative distance or an absolute position. BOOL True/False (False) When Execute shifts to True and Busy is False. ExecutionMode Reserved - - - ReferenceType Specifies the source of reference position. eMC SOURCE*2 _ 0: mcCommandedValue 2:

mcActualValue (0) When Execute shifts to True and Busy is False.