6 Before Starting Positioning Operation
6.6 Operation Speed Change Function
42
FX3U-1PG User's Manual
4. Program description example
In the program below, the operation speed is changed as follows.
Operation speed will be changed to 200,000 Hz if the current address exceeds K2,000.
Operation speed will be changed to 100,000 Hz if the current address exceeds K5,000.
M8000
RUN monitor
Changes the operation speed
to 200,000 Hz
Changes the operation speed
to 100,000 Hz
Reading of current address
Reading of status information
Reading of current value of
operation speed
READY
M20
FNC 12
DMOV
U0\G26 D10
FNC 12
MOV
U0\G28 K4M20
END
FNC 12
DMOV
U0\G60 D30
FNC 12
DMOV
K200000
U0\G55
FNC 12
DMOV
K100000
U0\G55
FNC233
ANDD>
D10 K2000
FNC233
ANDD>
D10 K5000