6 - 2
6 MOTION PROGRAMS FOR POSITIONING CONTROL
(2) Block
A block is a collection of several words. It includes information necessary to
perform a single specific operation of a machine and acts as a complete
command on a block basis.
A block is ended by the EOB (End of Block) code to indicate separation.
<Block composition>
N100
G01
X250.
F1500.
Word
Block
E0B
Y-123.4
;
Word
Word
Word
Word
1) 2) 3) 4) 5) 6)
1) N100 ··········· Sequence No. : It is used to identify a program
block, and it is indicated by a
number (up to 4 digits) after
alphabet N.
2) G01 ············· Preparatory code : The basic instruction which
commands the movement of
motion control is indicated.
(G-code)
3) X250. ·········· Coordinate position data
(Note)
: The command for coordinate
position of X-axis is indicated.
This word commands 250[mm]
of X-axis.
4) Y-123.4 ······· Coordinate position data
(Note)
: The command for coordinate
position of Y-axis is indicated.
This word commands
-123.4[mm] of Y-axis.
5) F1500. ········· Feed speed : The command of feed speed in
linear or circular interpolation is
indicated. (F-code)
This word indicates the speed of
1500[mm] per minute.
6) ; ····················EOB (End of Block) : The end (separation) of program
block is indicated.
(Note) : There are following two methods in the coordinate position data.
Absolute value command ········· G90: Method to travel the specified
coordinate position regardless of
the current position.
Incremental value command ···· G91: Method to command the next
target position based on the
current position.
Содержание Q172HCPU
Страница 35: ...2 10 2 POSITIONING CONTROL BY THE MOTION CPU MEMO ...
Страница 79: ...3 44 3 MOTION DEDICATED PLC INSTRUCTION MEMO ...
Страница 373: ...6 186 6 MOTION PROGRAMS FOR POSITIONING CONTROL MEMO ...
Страница 453: ...7 80 7 AUXILIARY AND APPLIED FUNCTIONS MEMO ...