Skip to main content
Skip table of contents

Motion Instructions

Motor Function

FunctionPropertiesValuesComments
MOTORMotorOn / OffUse the MOTOR function to enable the servo drive and perform a specified motion. 

Example :

Enable motor and servo drive:

Position Command

FunctionPropertiesValuesComments
POSITION





ModeAbsolute / RelativeAbsolute displacements are executed related to zero position defined by Homing. Relative displacements use as reference the current position.
Target positionConstant / variableIt can use any readable variable in the controller.
Target valuePosition value in countsCheck encoder counts to get the right conversion.
Profile velocityVelocity in counts /s

 

 Check motor rated speed and encoder counts to get the right conversion.

Profile AccelerationAcceleration in counts /s2
Profile decelerationDeceleration in counts /s2
Setpoint modeImmediate / Queue 
Wait modeTarget reached / noneThe setting of the WAIT MODE determines if the program will wait for the move to be finished, or if the program will continue executing the next instruction.

Example:

Move 45,000 counts from current position and wait for the move to be finished. In this example a rotary motor has attached an incremental encoder with 4,000 CPR (45,000 counts / 4,000 CPR * 360º = 4,050 º).

Velocity Command

FunctionPropertiesValuesComments
VELOCITY



Target VelocityConstant / variableIt can use any readable variable in the servo drive.
Target Velocity valueVelocity value in counts/ sCheck encoder counts or calculator to get the right conversion.
Profile AccelerationAcceleration in counts /s2

 

Check motor rated speed and encoder counts to get the right conversion.

Profile decelerationDeceleration in counts /s2
Wait modeTarget reached / noneThe setting of the WAIT MODE determines if the program will wait for the move to be finished, or if the program will continue executing the next instruction.

Example:

Set velocity at 1,200 RPM and wait for the speed to be reached. In this example the rotary motor has attached an incremental encoder with 4,000 CPR.

(80,000 counts / 4,000 CPR * 60 s = 1,200 RPM)

Torque/Force Command

FunctionPropertiesValuesComments
FORCE


Target Force / TorqueConstant / variableIt can use any readable variable in the servo drive.
Target valueForce/ Torque value in 0/00 of Rated valueCheck motor or actuator rated torque or force. The target value is expressed in 0/00.
Profile slopeForce increase in 0/00/sDefines force slope to reach the target
Wait modeTarget reached / noneThe setting of the WAIT MODE determines if the program will wait for the move to be finished, or if the program will continue executing the next instruction.

Example:

Set output force of axis at 50% or rated value.

Homing Command

FunctionPropertiesValuesComments
HOMING


Method
  • EndStop
  • EndStop & IndexPulse
  • IndexPulse
  • Current position
  • Switch

Use the Homing function to take the axis to its reference position(home).

Up to eight different parameters are responsible for determining how the home cycle is performed, depending on the method selected.

By choosing a homing method, the following behavior is determined: The homing signal (positive limit switch, negative limit switch, home switch), the direction of actuation and where appropriate, the position of the index pulse.

Wait modeTarget reached / noneThe setting of the WAIT MODE determines if the program will wait for the move to be finished, or if the program will continue executing the next instruction.
DirectionPositive / NegativeDisplacement direction.
AccelerationIn counts / s2This parameter establishes the acceleration used for all accelerations and decelerations in homing methods.
Velocity for End StopIn counts / s
Two search speeds are used during the typical homing process, a fast one to locate the switch position or mechanical limit and a very slow one to find the encoder index pulse.
Velocity for Index SearchIn counts / s
Force for End Stop0/00 of rated forceMax force to apply during homing sequence.
TimeoutIn ms

Timeout to occur in case the servo drive does not complete the homing.

Home OffsetIn countsThis value indicates the configured difference between the zero position for the application and the machine home position (found during homing).

Example:

Homing center of travel: using a linear actuator, this macro searches negative mechanical limit then moves 2,000 counts and sets this point as new home (full stroke is 4,000 counts).

  • Motor ON enables the axis
  • Homing EndStop moves the axis until reaching the negative mechanical limit and sets this position as Home.
  • Move Absolute displaces the axis 2,000 counts
  • Homing current position
  • Motor Off disables the axis

Oscillate Command

FunctionPropertiesValuesComments
OSCILLATE


 AmplitudecountsPeak amplitude
FrequencyHz Check motor / actuator mechanical limits

Example:

This macro triggers a 10 Hz oscillation during 10 s and 1,500 counts amplitude.

  • Motor ON enables the axis
  • Set command source to internal signal generator ( register 0x02430 = 6).
  • Oscillate 10 Hz, 1,500 counts amplitude
  • Wait for 10 s
  • Set command source to network ( register 0x02430 = 0).

Oscillate

Oscillate instruction requires to first change command source to internal signal generator. The oscillation starts from the current position, therefore is necessary to check first that there is enough stroke / length in both sides to perform the displacement.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.