beautypg.com

Festo Кабели и принадлежности User Manual

Page 315

background image

7. Description of the commands

7−49

Festo P.BE−SPC200−EN en 0901d

Example 5

Linked further switching condition

N010 G01 X0 FX0 Y0 FY0 Z0 FZ0

N011 G25 X10 Y10 Z10

N012 G01 X100 FX10

N013 #SQ0.0

N014 G01 Y100 FY10 Z100 FZ10

N015 .......

The SPC200 saves the preselect values for the axes X, Y and Z
in NC record N011. In the next NC record only the X−axis is
moved. When the X−axis reaches the preselect value, output
Q0.0 will be set.

The axes Y and Z are moved in NC record N014. Switching is
made to the next NC record if both axes have reached the
preselect value programmed under N011 (AND−linking).

If, beside the axis for which a preselect value has been proĆ
grammed, other axes are also to be positioned with the same
NC record, a preselect value of 100 % will apply to these
axes.

N015 G01 X0 FX0 Y0 FY0

N016 G25 X50

N017 G01 X200 FX0 Y200 FY0

N018 #SQ0.0

N019 ...

Output Q0.0 will be set if the Y−axis has reached position
Y200 and the X−axis has reached the programmed preselect
value (here X100).