Mitsubishi Electric Q172CPU Programming Manual page 290

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

7 MOTION PROGRAMS FOR POSITIONING CONTROL
Starting methods
Start by the Motion
program
Automatic start by the
cancel/start
After program start
(6) Device setting (#Xx : Xx is device)
The word device (D, W, #) and bit device (X, Y, M, B, F) can be referred to by
device setting.
Because the word device (D, W, #) is handled as 32 bits (2 word data), only an
even number can be used.
The four fundamental operations of bit devices cannot be performed.
[Example]
#X180
: X180
#M2000 : M2000
#D100:L : [D101, D100] ( [upper, lower] )
• The word device can be used only an even number. The data size of a
variable is 4 bytes.
POINT
For two-word setting, set an even-numbered device.
(7) Inputting device data
The device data for indirect setting is input by the Motion CPU at the Motion
program start.
Therefore, execute the pre-read disable of M100 for the indirect setting.
The procedure by start method for setting data to devices and cautions are
shown below.
Set the data in indirect setting devices.
Start the Motion program.
Set the data to the indirect setting devices set in the
start program.
Turn the cancel command device ON.
Set the command data to the indirect setting
devices.
Execute the M100 pre-read disable.
Refer to the values set to the indirect setting devices
until the M100 is executed.
Setting procedure
7 - 29
Cautions
Do not change the indirect
setting device before the
"positioning start complete
signal" of the starting axis
turns ON.
Example
O0010;
N1 G00 X0 F1000. ;
N2 M100;
N3 G01 X100. F1500. ;
N4 G01 X#D2000L F1500. ;
M02;
%
Set "D2000, D2001" before
execution of N2.
They may not be reflected
after execution of N2.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents