Specifications

Table Of Contents
10 - 27
10.5.6 Current value change
Change the position at which the axis designated by CHGA command (change
address) of servo program is stopped to the set address.
CAUTION
Changing the current value during start may cause a minor error (code 300) to
occur, causing it to be unable to be executed.
(1) Current value change setting range
Current value change setting range
mm inch degree pulse
Setting
range
Unit
Setting
range
Unit
Setting
range
Unit
Setting
range
Unit
–2
31
to
2
31
–1
× 10
–4
mm
–2
31
to
2
31
–1
× 10
–5
inch
0 to
36999999
× 10
–5
deg
–2
31
to
2
31
–1
pulse
CAUTION
Even if the set value is out of stroke range, it will not result in an error.
–2
31
= 2147483648
2
31
–1 = +2147483647
(2) Program example
1) Current value change condition
Control axis Axis 1 Axis 2
Address after change 111.222mm
2) Example of SFC program to execute the servo program No.50 (to change
the current value of the stopped axis 1 forcibly to 111.222mm)
SFC program
No. 0
Real mode main
"Current value
change" is started
when X9 is turned
ON and M2001 is
turned OFF.
[Real mode main] program
Current value change
Current value change
SFC program No. 50
Servo program No. 50 start
K50: REAL
[Motion control step]
1 CHGA
AXIS 1, 111222.0µm
M2001 : Axis 1 start accept flag
PX09 : Current value change command
[Servo program]
Current value change command
Address after change of axis 1
(Set in 0.1µm units)
REAL
AXIS