Mitsubishi Electric Melsec Q Series Programming Manual page 376

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

Advertisement

5 OPERATION CONTROL PROGRAMS
[Errors]
[Program examples]
(1) In the following case, an operation error will occur, and the corresponding Motion
SFC program No. execution will be stopped. For the subroutine called program,
the call source program also stops to execute.
• (S) is indirectly specified device, and the device No. is outside the range.
(1) Program which adds K10 to #100 when #0 is K100 or adds K20 to #100 when #0
is other than K100.
IF #0 == K100
#100 = #100 + K10
ELSE
#100 = #100 + K20
IEND
(2) Program which executes the speed change of axis 2 with CHGV instruction when
M0 or M1 is ON.
IF M0 + M1
CHGV(K2, K10)
IEND
5 - 153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents