7 - 65
7. AUXILIARY FUNCTION
7.12.10 Timing chart for sampling function
A timing chart for the sampling function is shown below.
(1) When the number of sampled points is 8192 or less
1) When setting 8192 to the sampling points and starting sampling of 8192 points
To start the sampling, write the sampling setting previously and turn on the start sampling command
(SMPS). When the start sampling command (SMPS) is accepted, the waiting for sampling trigger
(SMPW) turns on. Then, after trigger conditions are met, the sampling is being performed (SMPO)
turns on.
Start sampling command
(SMPS)
Waiting for sampling trigger
(SMPW)
Trigger conditions met
Sampling is being performed
(SMPO)
Sampling is complete (SMPF)
Sampling completion page number
0
Sampling read page number
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
0
1, 2, ...
sscStartSampling function
sscGetSamplingStatus function
POINT
Turn on the start sampling (SMPS) after setting 0 to the sampling read page
number.
In the following cases, sampling error occurs (SMPE: ON).
When the setting for the sampling option is outside of the setting range
When the setting for the sampling data is outside of the setting range
When the setting value for the sampling bit information is outside of the
setting range
When four or more monitor numbers for servo information are designated
for the same axis
When 0 is not set to the sampling read page number
When a monitor number is designated for an axis for which communication
with the servo amplifier has not been implemented, such as it is not the
control axis or an amplifier-less axis, the data to be sampled is always 0
(for bit, off).
(Sampling error (SMPE) and sampling error information do not turn on.)