Mitsubishi Electric R16MTCPU Programming Manual page 222

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

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.
MCNST(D2000,K78)
[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
[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
BMOV D2036,#0,K42 // Batch transmit 42 words from #0 to
[G10]
!M43911 // Wait for machine No.1 start accept flag OFF
[F13]
MCNST(D2000,K78) // Machine program operation start request
4 OPERATION CONTROL PROGRAMS
220
4.15 Motion-Dedicated Functions
(For 32 words)(Not used(0))
(For 32 words)(Not used(0))
positioning point (1)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents