17.5 Current Value Update
The current value update function is used to set the "current value after conversion of unit
system" saved in the positioning memory to any value.
• Set the value as the current value via the user program in the current value update
coordinates area (positioning memory area no.0/Address HC8-HD7) of the positioning
memory.
• When the bit of the target axis of the current value update question flag area (positioning
memory area no.0/Address HC0) is set to ON, the "current value after conversion of unit
system" of the information area of each axis (positioning memory area no.1/Address H3E-
H3F) will be changed to the designated current value.
Sample program
An example of presetting any value K100000 in the positioning memory area to update the
current value after conversion of unit system of axis-1 is given below. In the first line of the
program, read the current value after conversion of unit system of axis-1 to the data registers
DT0-DT1 for monitoring.
R9010
F384 PTBLR
R1
DF
(
)
F385 PTBLW
R2
DF
(
)
F385 PTBLW
Content specified by
Code
program
Axis no. and each
①
information area
Memory area for unit
②
conversion current values
③
Update value
④
Common area
Current value update
⑤
coordinate area
Set value of current value
⑥
update request flag area
Current value update
⑦
request flag area
H1
H3E
K2
①
②
F1 DMV
K100000
③
H0
DT100
K2
④
F0 MV
H1
⑥
H0
DT102
K1
④
Value specified by program
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6
H1
H101
H201
HC8
HCA
HCC
H1
H2
H4
17.5 Current Value Update
ⓐ
DT0
DT100
ⓑ
HC8
⑤
DT102
ⓒ
HC0
⑦
H301
H401
H501
H3E
Arbitrary value
H0
HCE
HD0
HD2
H8
H10
H20
HC0
Axis 7
Axis 8
(virtual)
(virtual)
H601
H701
HD4
HD6
H40
H80
17-9