Transition Programs - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

8 TRANSITION PROGRAMS

8. TRANSITION PROGRAMS
8.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 you want to proceed to the next step on
completion of a servo program run and there are no special conditions to be
set as interlocks. Refer to Section "6.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
8 - 1
Comment
1 block
1 program
Transition condition
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents