EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Page 222

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...
220
4 OPERATION CONTROL PROGRAMS
4.15 Motion-Dedicated Functions
Program example
Program for machine program operation start request which performs linear interpolation to
positioning point P100 at a command speed of 10000 for the machine 1 that consists of axis 1
and axis 2.
[F10]
//Set machine positioning data 1
//Number of points, Machine No.
D2000=K1 // Number of positioning points(1)
D2001=K1 // Machine No.
[F11]
//Set machine positioning data 2
//Data items for positioning(common)
D2002L=H0L // Data items setting for positioning(all disabled)
FMOV D2004,K0,K32 // Expansion point items setting value
(For 32 words)(Not used(0))
[F12]
//Set data for positioning point (1)
#0=H0100 // Control method(linear interpolation (ABS))
#1=K0 // Specify positioning point(world coordinate system)
#2L=K10000L // Command speed=100.00[mm/min]
#4=K100 // Point block No.(P100)
#5=K0 // Auxiliary/central point block data(Not used(0))
#6L=K0L // Radius(Not used(0))
#8=K0 // Expansion point item setting(all disabled)
#9=K0 // Empty (0)
FMOV #10,K0,K32 // Expansion point items setting value
(For 32 words)(Not used(0))
BMOV D2036,#0,K42 // Batch transmit 42 words from #0 to
positioning point (1)
MCNST(D2000,K78) // Machine program operation start request
[F13]
[G10]
!M43911 // Wait for machine No.1 start accept flag OFF
MCNST(D2000,K78)

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals