4.4 Reading Elapsed Values
4-21
4.4 Reading Elapsed Values
4.4.1 Elapsed Value (Current Value) Area
• They are stored as 2-word 32-bit data in the axis information area of positioning memory.
• The elapsed value area will be reset when the power supply turns off. It will be held when
switching the mode from RUN to PROG.
Counting range of elapsed value (current value) area
Section Range
For single axis control -1,073,741,824 to 1,073,741,823
For interpolation axis control -8,388,608 to +8,388,607
4.4.2 Reading Elapsed Value (Current Value) Area
Use [F384 PTBLR] positioning parameter read instruction for reading elapsed values.
Instruction format
Operand Settings
Specification for reading the elapsed value
area
S1
Specification of channel numbers and
positioning memory area
H1 Specify the axis information area of CH0.
H101 Specify the axis information area of CH1.
H201 Specify the axis information area of CH2.
H301 Specify the axis information area of CH3.
S2
Starting address of positioning memory
(Offset address)
K2 Specify the offset address.
n
No. of read words K2 Specify two words.
D
Operation memory storing read data Specify an arbitrary memory.
Sample program
The following sample shows the program when reading the elapsed value (current value) of
CH3 to the data registers DT300 to DT301. For details of instructions, refer to "7Instruction
References".
R0
K2 DT300K2H301
F384 PTBLR