Transition Programs - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 TRANSITION PROGRAMS

6. TRANSITION PROGRAMS
6.1 Transition Programs
(1) Transition programs
(a) Substitution operation expressions, motion-dedicated functions, bit device
control commands and transition conditions can be set in transition
programs.
(b) Multiple blocks can be set in one transition program.
(c) There are no restrictions on the number of blocks that may be set in a single
transition program.
Note that one program is within 64k bytes.
(d) The maximum number of characters in one block is 128.
(e) Transition condition must be set in the last block of a transition program.
Transition program is repeated until the transition condition enables, and
when the transition condition has enabled, it shifts to the next step.
Transition condition can be set only in the last block.
(f) As a special transition program, a program which only no operation (NOP) is
set in one block can be created.
This program is used when it is not set as interlock to process to next step
with completion of servo program.
Refer to Section "4.9 Branches, Couplings" for details.
A transition program example is shown below.
#0=D0+(D1+D2)*#5//Substitution expression (four arithmetic operations)
W0:F=SIN(#10F)//Substitution expression (standard function)
CHGV(K2,K10)//Motion-dedicated function
SET M100=M0+X0//Bit device control (SET=)
RST M10=D100>K10//Bit device control (RST=)
DIN D0,X0//Bit device control (DIN)
D0>K100//Standby until transition condition enables
6 - 1
Comment
Transition condition
6
1 block
1 program

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents