Absolute Positioning: Move Absolute
Original instructions
Description
This function is used to manage a complete movement of the axis from the current position to a specified target position.
The target position is directly specified with its coordinate, in pulses, relative to a previously set origin.
The velocity of the axis will follow a trapezoidal profile:
NOTE: No absolute positioning command can be performed while "REFERENCED" is low. Any absolute positioning command sent while REFERENCED is low will be rejected and an error notification is reported in the CMD_FLT status word (%MWr.m.c.3.5).
"REFERENCED" is an implicit bit (%IWr.m.c.6.7) which reports information on whether the axis is referenced or not.This bit will be set to 1 by the module when a referencing command (Homing or SetPosition) is completed
It will return to 0:
  • Each time synchronization is lost between the PTO channel and the drive (Drive_Ready input is off.)
  • At the beginning of each new homing command.
Physical Inputs/Output
Input/Output
Description
Drive_Ready&Emergency input (optional)
The pulse output is generated as long as a current goes through Drive_Ready&Emergency input.
Proximity&LimitSwitch input (optional)
Used as a LimitSwitch.
Counter_in_Position input (optional)
Only for information.
Input from the drive goes high when positioning movement is completed (the drive’s error counter is empty).
Drive_Enable output:
To be connected to the corresponding input of the drive.
Enables the drive when active.
This output is directly controlled by the user through an implicit command object (%Qr.m.c.0).
Configuration Parameters
Parameter
Valid Values
PTO Output Mode
Value 0: Pulse + Direction (Default)
Value 1: CW/CCW
Value 2: A/B Phases
Value 3: Pulse + Direction – Reverse
Value 4: CW/CCW – Reverse
Value 5: A/B Phases – Reverse
Acceleration / Deceleration Unit
ms or Hz/2ms
Default is ms
Representation in FBD
Representation:
Representation in LD
Representation:
WARNING
UNINTENDED APPLICATION BEHAVIOR-COMMAND SENT ON EACH PLC CYCLE
Commands will be sent on every PLC cycle if EN is set to 1.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Representation in IL
Representation:
MOVEABSOLUTE (CH := (*ANY_IODDT*), TARGET_POSITION := (*DINT*), TARGET_VELOCITY := (*DINT*), BUFFERMODE := (*BYTE*)) 
ST (*BYTE*)
Representation in ST
Representation:
(*BYTE*) := MOVEABSOLUTE (CH := (*ANY_IODDT*), TARGET_POSITION := (*DINT*), TARGET_VELOCITY := (*DINT*), BUFFERMODE := (*BYTE*));
Command example using the WRITE_CMD command mechanism in ST representation:
if (ChangePos = True) then  %CH0.1.0.CMD_CODE := 3;  %CH0.1.0.TGT_VELOCITY := 5000; %CH0.1.0.TGT_POSITION := 50000; %CH0.1.0.BUFFER_MODE :=1; WRITE_CMD(%CH0.1.0); ChangePos := False; end_if;
Command Specific Parameters
Parameter
Valid Values
Target position (in pulses)
- 2,147,483,648 to 2,147,483,647
Must be enclosed between SW Low Limit and SW High Limit
Target Velocity (in Hz)
1 Hz to 200 kHz
Absolute value limited by Max Frequency
Buffer mode
Value 0: Abort
Value 1: Buffered
Value 2: BlendingPrevious
Parameters
Parameter
Valid Values
Hysteresis (Slack)
0 to 255 pulses, default is 0
For A/B Phase output mode only (Normal or Reverse)
Start Frequency (in Hz)
0 Hz to 65,535 Hz
Default is 0Hz, limited by Max Frequency
Stop Frequency (in Hz)
0 Hz to 65,535 Hz
Default is 0Hz, limited by Max Frequency
Acceleration Rate
10 to 32,500, default is 100, limited by Max Acceleration
Deceleration Rate
10 to 32,500
Default is 100, limited by Max Deceleration
Emergency Deceleration Rate
10 to 32,500
Default is 100, limited by Max Deceleration
Software High Limit (in pulses)
-2,147,483,647 to 2,147,483,647
Default is 2,147,483,647
Must be between SW Low Limit and SW Max High Limit
Software Low Limit (in pulses)
-2,147,483,648 to 2,147,483,646
Default is - 2,147,483,648
Must be enclosed between SW Min Low Limit and SW High Limit
Debugging Parameters
This table describes all the functional parameters associated to the function.
Explicit Command Parameters
Setting Parameters
Adjustment Parameters
Address
Parameter
Address
Parameter
Address
Parameter
%MWr.m.c.6 (byte 0)
Command Code (=3)
%KWr.m.c.1 (byte 0)
Output Mode
%MWr.m.c.18
Start Frequency
%MDr.m.c.10
Target Velocity
%KWr.m.c.1 (byte 12)
Acc/Dec Unit
%MWr.m.c.19
Stop Frequency
%KWr.m.c.4
Acc Max
%MWr.m.c.20
Acceleration Rate
%KWr.m.c.5
Dec Max
%MWr.m.c.21
Deceleration Rate
%KDr.m.c.6
FMax
%MWr.m.c.25
Hysteresis
Special cases
If the set target velocity cannot be reached before attaining the target position, the axis velocity will then follow a triangular profile:
Complex Profiles
Complex profiles for MOVEABSOLUTE Position are the same as for MOVERELATIVE