The leader in industrial automation and control solutions

PLC-ES Positioning Data

  • The basic controls, such as position and speed control, are executed by setting the required items.
  • The special program, Positioning Program for PLC-ES, provides a tool for positioning data.
  • A maximum of 30 position data can be configured for each axis.
  • A position data occupies 8 WORDs of memory.
    • The same structure of 8 WORDs of memory is applied to the POSCTRL instruction.
  • Control Code must be 0 at the end of the position data list.
  • When in operation, if the Control Code is 0, the PLC-ES terminates the series of positioning control and does NOT go onto the next item in the list.
  • When a set value is written to the data register used as indirect data in the sequence program, the set value of the position data gets modified.

Positioning Data

OffsetItemBitDescription
0Control Pattern0Bit 0-1:
Single Step Control: 00
Continuous Control: 01
0Control Pattern1Bit 0-1:
Single Step Control: 00
Continuous Control: 01
0Interpolation2Bit 2-3:
Non-Interpolation:
 00
Main Axis: Y (Linear Interpolation): 01
Main Axis: X (Linear Interpolation): 10
0Interpolation3Bit 2-3:
Non-Interpolation:
 00
Main Axis: Y (Linear Interpolation): 01
Main Axis: X (Linear Interpolation): 10
0Accelerate Time4Bit 4-5:
Acceleration/Deceleration Number
(0 ~ 3)
0Accelerate Time5Bit 4-5:
Acceleration/Deceleration Number
(0 ~ 3)
0Decelerate Time6Bit 6-7:
Acceleration/Deceleration Number
(0 ~ 3)
0Decelerate Time7Bit 6-7:
Acceleration/Deceleration Number
(0 ~ 3)
0Control Codes8Refer to Control Codes table
0Control Codes9Refer to Control Codes table
0Control CodesARefer to Control Codes table
0Control CodesBRefer to Control Codes table
0Control CodesCRefer to Control Codes table
0Control CodesDRefer to Control Codes table
0Control CodesERefer to Control Codes table
0Control CodesFRefer to Control Codes table
+1ReservedReservedReserved
+2Dwell Time0 ~ 65,535ms or Indirect Data (Data Register)
+3ReservedReservedReserved
+4Operation SpeedLow WORD1 ~ 100,000pps or Indirect Data (Data Register)
+5Operation SpeedHigh Word
+6Target Position AddressLow Word1 ~ 100,000pps or Indirect Data (Data Register)
+7Target Position AddressHigh Word

Control Pattern

Pattern 1: Single Step Control

  • The single step control executes only 1 position data.
  • If Dwell time is configured, the control is terminated after the Dwell time has expired.
Positioning Position Data Control Pattern Single Step Control in MapleLogic

Pattern 2: Continuous Control

  • The continuous control is used when several position data need to be executed continuously.
  • The PLC-ES automatically decelerated each time the positioning is complete.
  • Acceleration is then carried out after the positioning speed reaches 0 to carry out the next position data operation.
  • If Dwell time is set, the acceleration is carried out after the designated time elapses.
  • In continuous control operations, the next positioning number is automatically executed.
    • Always set the operation pattern as Single Step in the last positioning data to terminate the continuous positioning.
      • If the operation pattern is set to Continuous, the operation will continue until the operation pattern Single Step is found.
        • If the Single Step operation pattern can’t be found, the positioning operation may carry out until the position data reaches 30 and terminates the operation automatically.
Positioning Position Data Control Pattern Continuous Control in MapleLogic

Interpolation

Set the main axis and sub axis for interpolation control.

Non-Interpolation:

  • Used for normal single axis positioning control and does not require any additional configurations.

Main Axis Y (Sub Axis X):

  • This configuration specifies the corresponding position data as interpolation and designates Y as the main axis and X as the sub axis for the interpolation operation.

Main Axis X (Sub Axis Y):

  • This configuration specifies the corresponding position data as interpolation and designates X as the main axis and Y as the sub axis for the interpolation operation.
  • If the main axis settings between X and Y position data don’t match, the system will select the main axis automatically.
    • This is based on the moving distance.
      • The axis which has a longer moving distance becomes the main axis.
  • In continuous control, an interpolation axis waits until the other axis proceeds to the interpolation step.
    • In this case, there is no limit on the waiting time.
      • Use the Emergency Stop Request control flag to bypass the waiting status.
  • In the interpolation operation, set values such as speed, Dwell time, and acceleration or deceleration time are taken from the main axis position data set.
    • On the target position address is effectively set in the position data of the sub axis.
  • The speed control command is not applicable in an interpolation operation.
    • Commands for interpolation are restricted to ABS and INC.

Accelerate & Decelerate Time Number

  • The acceleration and deceleration time to apply for the positioning operation is configured by selecting one of the 4 Accelerate Time/Decelerate Time values configured by this parameter.

Control Code

End Instruction

Code
(Hex.)
Code
(Dec.)
CommandFunctionNote
00H0End of position dataTerminates continuous control

Operation Command Instruction

Code
(Hex.)
Code
(Dec.)
CommandFunctionNote
01H1ABSEnd of position data
05H5INCAbsolute Position Control
09H9FEEDIncremental Position Control
After Resetting Address
13H19FSCForward Speed Control
17H23RSCReverse Speed Control
80H128NOPNo Operation

Program Control Command Instruction

Code
(Hex.)
Code
(Dec.)
CommandFunctionNote
81H129JUMPForce to Change Next Step NumberNext step set value is stored in target position address
82H130LOOPFirst Step of LoopLoop count is stored in target position address
83H131LENDLast Step of Loop
84H132POSForce Change Current Position AddressNew address is stored in target position address