Skip to main content

Positioning for PLC-S Special Program Parameters

CM3 Positioning Parameters

Positioning Parameters
OffsetItemConfigurationsMemoryNote
DefaultFunction
0Select Pulse Output0Not Used: 0
High Active: 1
Low Active: 2
WORD-
+1Bias Speed11 ~ 100,000ppsDWORDLow WORD
+2High WORD
+3Speed Limit50,000Low WORD
+4High WORD
+5Acceleration/Deceleration Time 11,0001 ~ 65,535msWORD-
+6Acceleration/Deceleration Time 2-
+7Acceleration/Deceleration Time 3-
+8Acceleration/Deceleration Time 4-
+9Software Upper Limit2,147,483,647-2,147,483,648
~
2,147,483,647
DWORDLow WORD
+10High WORD
+11Software Lower Limit-2,147,483,648Low WORD
+12High WORD
+13Position Address Under Speed Control0Don't Update: 0
Update: 1
Clear/Update: 2
WORD-
+14Backlash Compensation00 ~ 65,535ppsWORD-
+15External Upper/Lower Limit Signal0Not Used: 0
Wired (Used): 1
WORD-
+16JOG Speed Limit20,0001 ~ 100,000pps
Bias Speed < JOG Speed < Speed Limit
DWORDLow WORD
+17High WORD
+18JOG Acceleration/Deceleration Time0Number of Acceleration/Deceleration Time
0 ~ 3
WORD-
+19Inching Speed1000 ~ 65,535ppsWORD-
+20Complete Output Signal Duration1,0000 ~ 65,535msWORD-
+21OPR Method0DOG/Zero Off: 0
DOG/Zero On: 1
DOG: 2
WORD-
+22OPR Direction0Forward: 0
Backward: 1
WORD-
+23Origin Address0-2,147,483,648
~
2,147,483,647
DWORDLow WORD
+24High WORD
+25OPR High Speed50,0001 ~ 100,000ppsDWORDLow WORD
+26High WORD
+27OPR Low Speed1,0001 ~ 100,000ppsDWORDLow WORD
+28High WORD
+29OPR Acceleration/Deceleration Time0Number of Acceleration/Deceleration
0 ~ 3
WORD-
+30Dwell Time00 ~ 50,000msWORD-

Select Pulse Output

  • The select pulse output parameter allows the user to configure and select which pulse output, high or low active, modes to be used according to the pulse input type of the servo or stepper motor drive connected to the positioning module.
    • It is possible to configure and adjust the settings on the other side devices.
  • If a non-zero value is assigned for this parameter, the pulse signal output is enabled and the signal type, high or low active, can be selected.
  • If a zero value is assigned, the pulse signal output is disabled for the specific axis.

High Active

Low Active

Bias Speed

  • The bias speed refers to the initial speed of the positioning operation.
  • Considering that the torque of a stepper motor is unstable when its initial speed is almost at 0, the initial speed (bias speed) has to be set during early operation in order to facilitate the motor's rotation and to save the positioning time.
  • The bias speed should NOT be entered over the selected speed limit value.

Speed Limit

  • The speed limit is the maximum allowable speed that can be set during the positioning operation.
  • The positioning operation speed cannot be configured greater than the value set as the speed limit.

Acceleration & Deceleration Time

  • Acceleration Time:
    • The duration required to reach from 0 (stop) to the maximum speed (speed limit).
      • Using the bias would be the time consumed to reach from the bias speed to the speed limit.
  • Deceleration Time:
  • The actual acceleration or deceleration time can be calculated by the following formula:
    • T = V × Ta / Vmax - Vbias
      • V: Target speed change
      • Ta: Acceleration or deceleration time
      • Vmax: Speed limit
      • Vbias: Bias speed

Software Upper & Lower Limit

  • The software upper and lower limit is the movable range of a machine in operation.
    • This is called the stroke limit.
    • It sets the upper and lower limits of the stroke into the software upper and lower limit.
  • The software upper and lower limit does not execute positioning if it operates out of the ranges configured in the parameters.
  • The range of the software upper and lower limit is checked before starting positioning and also during operation.
  • The pulse output stops when an error code (154 & 155) is detected.
  • Check for the software limit function is disabled when identical values are assigned for both the upper and lower limits.

Position Indication of the Speed Control

  • The position indication of the speed control parameter allows the user to enable or disable the update of the current position address while operations are performed under the speed control.
  • The speed control command outputs pulses according to the specified speed and direction until the axis stop signal is entered.
  • When the speed control command is executed, how the value of the current coordinates is updated differs depending on the configurations of the position indication of the speed control.
Position Indication of the Speed Control Parameter
Set ValuePosition Address OperationDescription
0Do not updateValue is maintained without changing the current coordinates while controlling the speed.
1Update
Software Upper/Lower Limit Detection
Displays the current coordinate by accelerating or decelerating through the speed control in the last positioning coordinates.
Since the current coordinate changes, it is possible to detect the software upper and lower limits.
2Clear & Update
Software Upper/Lower Limit Detection
After configuring the current coordinates as 0, this function displays the current coordinates as much as the amount of movement.

Backlash Compensation

  • A loose connection is made on the gear and screws of the motor shaft for the purpose of preventing abrasion.
    • Due to this, an error, backlash, occurs during the shifting of a direction.
  • The error that occurs due to backlash when moving the machine via gears can be compensated.
  • When the backlash compensation amount is configured, the pulse equivalent to the compensation amount will be output each time the direction changes during positioning.

External Upper & Lower Limit input

  • To use the external upper limit, (Xn.8 or Xn.B) and the external lower limit (Xn.7 or Xn.A) input signals during operation, this parameter must be set to 1.
    • Otherwise, it does not detect the upper and lower limits and the 4 terminals (Xn.7, Xn.8, Xn.A, and Xn.B) will operate as general input contacts.
  • The external upper and lower limit input signals operate by B contact.
    • The external input signals are detected when switching from ON to OFF.
      • The axis stops immediately.
  • IMPORTANT: Be cautious when using a stepper motor because the motor may operate out of phase.

JOG Speed Limit

  • The JOG operation, a type of manual operation, is driven by a pattern characterized by an acceleration constant speed deceleration.
  • This parameter configures the speed for the constant speed phase.

JOG Acceleration & Deceleration Time

  • The JOG acceleration and deceleration time parameter configures the period of time for the acceleration and deceleration of the JOG operation.

Inching Speed

  • The inching operation, a type of manual operation, outputs the specified amount of pulses at the speed configure in this parameter.
  • Unlike the JOG operation, which makes it difficult to move to the correct destination because it is driven by the ON and OFF signals of the start contact, the inching operation allows a user to reach the target point by easily setting the desired amount of movement in the inching command.
  • The JOG command to move quickly to the vicinity of the work place and then use the POSCTRL-Inching Command for fine movement.
    • Or, after writing the desired amount of inching movement at replace this (offset +8) of the operation memory ara, the user can turn ON the JOG and Inching signal to move to the correct location of the work place.

Origin Point Return (OPR) Method

  • Origin point return (OR) is executed after power is supplied to confirm the position of the origin, a reference position when executing positioning control.
  • The PLC-S provides 3 different OPR Methods:
  1. Origin Point (Zero) Detection After Turning DOG OFF

    • OPR begins with the OPR high speed in the OPR direction configured under the OPR parameters until the DOG signal is turned ON.
    • When the DOD signal is OFF, the first Zero signal is detected, as well as the OPR ending at the same time.
    • DOG and Zero signals can be entered by external signals.
      • DOG and Zero signals can't be entered in the internal scan program.
        • External buttons must be used for DOG and Zero signals.

  2. Origin Point (Zero) Detection After Decelerating when DOG Signal is ON

    • OPR begins with the OPR high speed in the OPR direction configured under the OPR parameters until the DOG signal is turned ON.
    • After the deceleration, the first Zero signal is detected, as well as the OPR ending at the same time.

  3. DOG Signal Detection

    • OPR begins with the OPR high speed in the OPR direction configured under the OPR parameters until the DOG signal is ON.
      • This will cause the OPR to decelerate, stop, and drive in the reverse direction with the OPR low speed.
    • When the DOG signal is OFF, OPR decelerates to a stop and then drives in the reverse direction with the OPR low speed.
      • When the DOG signal is detected again, the pulse output stops, and OPR is complete.

Origin Point Return (OPR) Direction

  • The origin point return (OPR) direction configures the direction to go to the origin when the OPR command is executed.

Origin Address

  • The origin address sets the address used as a reference point for the positioning control (ABS system).
  • When OPR is completed, the stop position address is changed to the origin address.
    • The origin address is saved as the current positioning address.

Origin Point Return (OPR) High Speed

  • The origin point return (OPR) high speed parameter configures the speed for the high speed part of the OPR operation.
  • The allowable input range is:

Origin Point Return (OPR) Low Speed

  • The origin point return (OPR) low speed parameter configures the speed for the low speed part of the OPR operation.
  • The allowable input range is:

Origin Point Return (OPR) Acceleration & Deceleration Time

  • The origin point return (OPR) acceleration and deceleration time parameter specifies the number of the acceleration or deceleration time (1 ~ 4) for the acceleration and deceleration time of the OPR operation.

Dwell Time

  • The Dwell time parameter sets the time that the machine dwells after the positioning operation stops (pulse output stop) to the output of the positioning complete signal.