EasyManuals 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:

Question and Answer IconNeed help?

Do you have a question about the LSIS XEC-DP64H and is the answer not in the manual?

LSIS XEC-DP64H Specifications

General IconGeneral
BrandLSIS
ModelXEC-DP64H
CategoryController
LanguageEnglish

Related product manuals