Mitsubishi Electric Melsec Q Series Programming Manual page 378

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

Advertisement

5 OPERATION CONTROL PROGRAMS
[Errors]
[Program examples]
(6) Maximum multiplicities of selective branch control are eight including conditional
branch control. (IF - ELSE - IEND)
SELECT...
CASE...
IF...
SELECT...
SEND
IEND
CEND
SEND
(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, adds K20 to #100 when #0 is
K200 or more, or adds K100 to #100 in other cases.
SELECT
CASE #0 == K100
#100 = #100 + K10
CEND
CASE #0 >= K200
#100 = #100 + K20
CEND
CELSE
#100 = #100 + K100
CEND
SEND
CASE...
(3 level)
(2 level)
CEND
5 - 155
(1 level)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents