SpeedS Statement

Specifies or displays the arm speed for use with the continuous path motion instructions such as Move, Arc, Arc3, Jump3, and Jump3CP.

Syntax
(1) SpeedS speed [, departSpeed, approSpeed]

(2) SpeedS

Parameters

speed
Specify the speed as an expression or numeric value (integer, unit: mm/s).
departSpeed
Optional. Real expression representing the Jump3 depart speed in units of mm/s. If Preserve is omitted, the variable doesn’t retain its values.
approSpeed
Optional. Real expression representing the Jump3 approach speed in units of mm/s. If Preserve is omitted, the variable doesn’t retain its values.

Valid entries range of the parameters:

  • Other than N2 series: 0.1 to 2000
  • N2 series: 0.1 to 1120

Return Values
Displays current SpeedS value when used without parameters.

Description
SpeedS specifies the tool center point speed for use with all the continuous path motion instructions.

This includes motion caused by the Move and Arc instructions. The is unit is [mm/s]. The default value varies from robot to robot. See the following manual for the default SpeedS values for your robot model.
"Manipulator Manual"

This is the initial SpeedS value set up automatically by the controller each time main power is turned on.

The SpeedS value initializes to its default value when any one of the following is performed:

  • Controller Startup
  • Motor On
  • SFree, SLock, Brake
  • Reset or Reset Error is executed
  • Task end by STOP switch or Quit All

In Low Power Mode, the effective SpeedS setting is lower than the default value. If a higher speed is specified directly (from the command window) or in a program, the speed is set to the default value. In High Power Mode, the motion SpeedS setting is the value of SpeedS.

If higher speed motion is required, set high power mode using Power High and close the safety door. If the safety door is open, the SpeedS settings will be changed to their default value.

If the operation speed does not change after changing SpeedS, SpeedRLimitation may be enabled. Check whether the [Suppress movement speed due to posture rotation speed] check box is selected in [Setup]-[System Configuration]-[Controller]-[Preferences] in Epson RC+. If the check box is selected, the posture rotation speed may be limited to SpeedR.

See Also
AccelS Statement, Arc, Arc3 Statements, Jump3, Jump3CP Statements, Move Statement, Speed Statement, SpeedRLimitation, SpeedR Statement

SpeedS Statement Example
SpeedS can be used from the command window or in a program. Shown below are simple examples of both methods.

Function speedtst
  Integer slow, fast, i
  slow = 50
  fast = 500
  For i = 1 To 10
    SpeedS slow
    Move P0
    Move P1
    SpeedS fast
    Move P0
    Move P1
  Next i
Fend

From the command window the user can also set SpeedS values.

> speeds 1000
> speeds 500
> speed 30     'sets point to point speed
> go p0        'point to point move
> speeds 100   'sets straight line speed in mm/s
> move P1      'moves in straight line