Mitsubishi Electric R16MTCPU Programming Manual page 197

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Program example
■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
■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
4 OPERATION CONTROL PROGRAMS
4.14 Program Control
4
195

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents