7 Before Starting Positioning Operation
68
FX
3U
-20SSC-H Positioning Block User's Manual
7.1 Note on Setting Parameters
Program example
In this program, positioning parameters and servo parameters (X-axis and Y-axis) stored in the buffer
memory are initialized.
To the next page
X033
Starting the initialization of positioning parameters and servo parameters
(X-axis and Y-axis) stored in the buffer memory
Starts to change servo
parameters.
SET
M340
M340
Reads the status information
(X-axis) in unit No. 1.
U1\G28
D240
FNC 12
MOV
Reading the status information (X-axis and Y-axis)
U1\G128
D241
FNC 12
MOV
Reads the status information
(Y-axis) in unit No. 1.
U1\G72
D242
FNC 12
MOV
U1\G172
D243
FNC 12
MOV
Reads the servo status 2
(X-axis) in unit No. 1.
Reads the servo status 2
(Y-axis) in unit No. 1.
To the next page
D240.0
D242.1
READY
/BUSY
(X-axis)
SET
M341
Parameter
updating
(X-axis)
M340
Stopping the servo parameter update (X-axis)
* Programming of this circuit block is not required when the version is earlier than Ver. 1.10.
U1\G519
D244
FNC 12
MOV
Reads the operation
command 2 (X-axis) in
unit No. 1.
Sets (writes) the operation
command 2 (X-axis) in
unit No. 1.
D244
U1\G519
FNC 12
MOV
M341
SET
D244.B
Resets the servo parameter
update stop command
(X-axis) in unit No. 1.
D241.0
D243.1
READY
/BUSY
(Y-axis)
SET
M342
Parameter
updating
(Y-axis)
D240.5
Error occurrence (X-axis)
M340
D241.5
Error occurrence (Y-axis)
U1\G619
D245
FNC 12
MOV
Reads the operation
command 2 (Y-axis) in
unit No. 1.
Sets (writes) the operation
command 2 (Y-axis) in
unit No. 1.
D245
U1\G619
FNC 12
MOV
M342
SET
D245.B
Resets the servo parameter
update stop command
(Y-axis) in unit No. 1.
Stopping the servo parameter update (Y-axis)
* Programming of this circuit block is not required when the version is earlier than Ver. 1.10.