Mitsubishi Electric R16MTCPU Programming Manual page 199

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Operation error
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.
Program example
■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
4 OPERATION CONTROL PROGRAMS
4.14 Program Control
4
197

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents