7 - 69
7. AUXILIARY FUNCTION
2) Sampling is being performed
The user program reads the sampled data sequentially according to the sampling completion page
number.
The user program can read the page from the page of the sampling read page number to the page of
the sampling completion page number in numerical order. The sampling data buffer area is a ring
buffer of 256 pages. For example, when the sampling read page number is the page 254 and the
sampling completion page number is the page 2, the pages 254, 255, 256, 1 and 2 can be read.
When the sampling read page number differs from the sampling completion page number, the user
program writes the next page number of the sampling read page number and executes the process
of reading page.
Page number
1 345
Sampling completion
page number
Sampling data stored area
(position board internal memory)
Can be read
Cannot be read
253252
Sampling read
page number
Start sampling command
(SMPS)
Sampling is being performed
(SMPO)
Sampling is complete
(SMPF)
Sampling completion page
number
Sampling read page number
Read sampled data
completion page number
Valid read sampled points
Read processing of sample
data from read area
(host computer)
OFF
OFF
ON
OFF
ON
ON
Reading 254
th
page Reading 255
th
page Reading 1
st
page
2 254 255 256
254
255 256
254 255
256
-1 -1
-1
256
32
253
1
253
1
253
254 255
1
-1
32 32
32
32
Reading 256
th
page