EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 690

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
690
innovators for industry
Ctrl Command set_mcbsp_in
Function Activates Processing-on-the-fly correction for compensation of a workpiece or scan system
movement (based on position values transferred to the RTC6 via the McBSP interface). The
McBSP interface can also be used for inputting other desired signals.
Restriction If the Option Processing-on-the-fly is not enabled, then set_mcbsp_in terminates the
Processing-on-the-fly process (even though it could not have been activated).
Call
set_mcbsp_in( Mode, Scale )
Parameters
Mode
As an unsigned 32-bit value.
Allowed values:
= 0: Processing-on-the-fly correction is switched off.
= 1: Compensation of linear movement in the x direction.
= 2: Compensation of linear movement in the Y direction.
= 3: Compensation of linear movement in the x direction and y direction.
= 4: Compensation of rotary movement.
= 5: Processing-on-the-fly correction is switched off.
Mode =
0…5: All McBSP input values are alternatingly copied to internal
memory locations 1 and 2.
Mode =
1…5 (but not for
Mode =
0): McBSP input values coded with
“Bit #31 = 0” is additionally copied to internal memory location 0 and
those with “Bit #31 = 1” to internal memory location 3.
Mode =
1…4: Values copied to internal memory location 0 are applied for
Processing-on-the-fly correction.
Scale
Scaling factor or rotation resolution.
As a 64-bit IEEE floating point value.
Mode =
1…3: scaling factor in (RTC6)bits/(McBSP)bit.
Allowed value range: 1/256 |
Scale
| 16000.0
(if
Mode =
3,
Scale
applies to both axes).
Mode =
4: number of steps (counts) per revolution.
Allowed value range: |
Scale
| > 100.0.
Comments You can query the internal memory locations at any time by read_mcbsp.
For Processing-on-the-fly correction and determination of the scaling factor, see
Chapter 8.6 ”Processing-on-the-fly”, page 242.
The various Processing-on-the-fly corrections cannot be arbitrarily combined, see
Section ”Overview”, page 242.

Table of Contents