146
Irinos IR Users Manual © 2015 - 2016 Messtechnik Sachs GmbH, Germany
Measurement / Control via MscDll
starting measurement
// Wait until the dynamic measurement is finished
do {
result = MSC_GetPosition(pDevice, opcRDM1, &nSamples);
if (result != MSC_STATUS_SUCCESS) return -7;
Sleep(50);
// Take a break for 50ms
} while ((nSamples < 20000) && (staticValueT4 < 384000));
// Inactivate trigger
ansiString = “
#1#
”;
WriteCommandStr(opcIT, ansiString);
// Wait until all measurement values are transferred to the PC.
// Note that if the loop above has been stoped by the second
condition
// (staticValueT4 < 384000), not all values may have been
transferred to
// the PC yet.
It is assumed that the static measurement is running in parallel. The
variable
staticValueT4
contains the measurement value T4, which is
cyclically updated via static measurement.
8.9.2
Example 2: Position-triggered dynamic measurement
Task
A roundness measurement shall be performed for a working piece.
The working piece is placed on a rotary disk, which is driven by an
uncontrolled motor with a speed of 5 s/rotation. During this rotation
720 measurement values in 0,5°-steps shall be sampled.
An incremental encoder providing 3600 increments is placed in
between the motor and the disk. The working piece is measured
using two inductive probes.
The incremental encoder is connected to measurement input T12,
the inductive probes are connected to T4 and T5.
Summary of Contents for Irinos IR
Page 2: ......
Page 7: ...Introduction...
Page 15: ...Safety instructions...
Page 22: ......
Page 23: ...System overview...
Page 39: ...Product descriptions...
Page 64: ......
Page 65: ...Pin assignment...
Page 92: ......
Page 93: ...Mounting Cabling...
Page 109: ...Setup...
Page 118: ...118 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Setup...
Page 120: ......
Page 121: ...Measurement Control via MscDll...
Page 168: ......
Page 169: ...Troubleshooting and first aid...
Page 187: ...Maintenance cleaning and disposal...
Page 190: ......
Page 191: ...Application notes...
Page 198: ......
Page 199: ...Specifications dimensions...
Page 209: ...209 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 210: ...210 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 211: ...211 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 212: ...212 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...