EasyManua.ls Logo

LSIS XBM-DN32S

LSIS XBM-DN32S
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
Loading...
Chapter 5 Positioning Instructions
5 - 40
5.2.17 M Code Cancel Instruction
M code cancel instruction (MOF) is for cancelling the M code generated during operation. For details,
refer to 3.3.
(1) M code cancel instruction (MOF)
[Area Setting]
Operand
Description
Setting range
Data size
sl Slot No. of positioning module XGB is fixed at 0 WORD
ax
Axis to cancel M code
0 (axis X) or 1 (axis Y)
WORD
[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 cancelling the M code to XGB built-in positioning.
The M code On signal (axis X: K4203, axis Y: K4303 bit) of the axis designated as ax at the rising
edge of the input condition and M code number (axis X : K428, axis Y:K438 word) are
simultaneously cancelled.
(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 M code cancel instruction signal and if there is an
M code in positioning axis X, the M code On signal and M code number are cancelled.
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)
MOF
sl
-
-
-
-
-
-
-
-
-
-
-
-
-
4~7 - -
ax
-
-
-
-
-
-
-
-
-
MOF
COMMAND
MOF
sl
ax

Table of Contents

Related product manuals