RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
338
Normal List
Command
camming
Function Enables Camming functionality.
Call
camming ( FirstPos, NPos, EncoderNo, Ctrl, Scale, Code )
Parameters
FirstPos
Starting address of the Camming command list (absolute address in
RTC6 List Memory).
As an unsigned 32-bit value.
Allowed values: [0…(2
23
–1)].
NPos
Length of the Camming command list (without terminating
set_end_of_list or list_return).
As an unsigned 32-bit value.
Allowed values: [1…(2
23
–
FirstPos
)].
EncoderNo
Number of the encoder counter, whose pulses is evaluated for
controlling the Camming process.
As an unsigned 32-bit value.
Allowed values:
= 0: Encoder counter “Encoder0”.
= 1: Encoder counter “Encoder1”.
Higher bits are ignored.
Ctrl
Camming control mode.
As an unsigned 32-bit value.
Allowed values:
= 0: RTC6 board controls laser as with a [*]mark[*] Command.
camming terminates automatically.
= 1: User controls laser.
camming terminates automatically.
= 2: User controls laser.
camming does not terminate automatically.
The Camming command list is executed until the end point
(0 or
NPos
–1) and then waits for a new external /START.
= 3: User controls laser.
camming does not terminate automatically.
The Camming command list is continuously processed
in circulation (output index modulus
NPos
).
Scale
Translation (conversion factor) between the encoder-counter value and
the command index.
As a 64-bit IEEE floating point value.
Allowed values: 2
–60
< |
Scale
| < 2
60
.
Code
Is not used.
As an unsigned 32-bit value.
Comments • See also Chapter 8.11 ”Camming”, page 279.
• If there are unallowed parameter values, camming is replaced by a list_nop
already during loading (get_last_error return code
RTC6_PARAM_ERROR
).