EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Page 197

Mitsubishi Electric R64MTCPU
354 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 OPERATION CONTROL PROGRAMS
4.14 Program Control
195
4
Program example
Program which adds K10 to #100 when #0 is K100 or adds K20 to #100 when #0 is other than
K100
Program which executes the speed change of axis 2 with CHGV instruction when M0 or M1 is
ON
IF #0 == K100
#100 = #100 + K10
ELSE
#100 = #100 + K20
IEND
IF M0 + M1
CHGV(K2, K10)
IEND

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals