EasyManua.ls Logo

LSIS XEC-DP64H User Manual

LSIS XEC-DP64H
315 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #140 background imageLoading...
Page #140 background image
Chapter 5 Positioning Instructions
5 - 41
5.2.18 Current Position Preset Instruction
The current position preset instruction (PRS instruction) is for changing the current position by force.
(1) Current Position Preset Instruction (PRS)
[Area Setting]
Operand
Description
Setting range
Data size
sl
Slot No. of positioning module
XGB is fixed at 0
WORD
ax
Axis to give instruction
0 (axis X) or 1 (axis Y)
WORD
n1
Current position value to
change
-2,147,483,648 ~ 2,147,483,647 DINT
[Flag Set]
Flag Description Device number
Error If the value of ax gets out of the range F110
(a) Function
This instruction is giving the instruction of changing the current position to XGB built-in positioning.
The current position of the axis designated as ax at the rising edge of the input condition is
changed to the position set in n1 of the instruction by force.
If the origin is not fixed, the origin fixed status (axis X:K4202, axis Y:K4304) turns On and the
origin is fixed.
If the current position preset instruction is executed, and if the axis is currently operating, error
code 451 is issued and the instruction is not executed.
(b) Error
• If the value designated as ax (instruction axis) is other than 0 and 1, the error flag (F110) is set
and the instruction is not executed.
(2) Example of Use of the Instruction
(a) Example of the Program
(b) Operation of the Program
If there is the rising edge of M0001 used as the current position preset, the current position of the
positioning axis X changes into 0, which has been set in the instruction, and the origin determining
bit turns On.
Instruction
Areas available
Step
Flag
PMK F L T C S Z D.x R.x
con
stan
t
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
PRS
sl
-
-
-
-
-
-
-
-
-
-
-
-
-
4~7 - -
ax
-
-
-
-
-
-
-
-
-
n1
-
-
-
-
-
-
-
-
-
PRS
COMMAND
PRS
sl
ax n1

Table of Contents

Questions and Answers:

LSIS XEC-DP64H Specifications

General IconGeneral
BrandLSIS
ModelXEC-DP64H
CategoryController
LanguageEnglish

Summary

XGB Built-in Positioning

Safety Instruction

Crucial safety guidelines to be followed before operating the product.

Chapter 1 General

Provides general information about the positioning function, including purpose and features.

Chapter 2 General Specification

Provides general specifications for the XGB series, including environmental and immunity details.

Chapter 3 Before Positioning

Explains various positioning functions, parameters, and operation data.

Chapter 4 Positioning Check

Outlines the procedure for testing XGB positioning operation before use.

Chapter 5 Positioning Instructions

Provides detailed explanations for various positioning instructions like Origin Return, Direct Start, etc.

Chapter 6 Positioning Monitoring Package

Introduces the XGB positioning monitoring package for status monitoring and test operation.

Chapter 7 Program Examples of Positioning

Provides practical program examples for various positioning functions.

Chapter 8 Troubleshooting Procedure

Outlines basic steps for troubleshooting errors in XGB PLC and positioning functions.

Appendix 1 List of Error Codes

Details specific error codes related to the XGB positioning function.

Appendix 2 Positioning Instruction and K area List

Provides a list of dedicated K areas for positioning parameters and instructions.

Appendix 3 Motor Wiring Example

Illustrates wiring examples for connecting XGB PLC to servo motors.

Appendix 4 Dimension

Provides dimensional drawings for standard XGB main units (XBM-DN/DR series).

Related product manuals