McCamTable

Defines a cam table.

Name Type Meaning
Length int The length of the MasterPositions and SlavePositions array.
MasterAbsolute BOOL

Chooses the absolute or relative coordinates for the master axis. 1 = absolute, 0 = relative coordinates. By default, it is 0.

Absolute coordinates: every position is counted from zero.

Relative coordinates: the position is counted from the previous position in the table. For example, if the previous absolute position is five, and you move the master two units, the next absolute position is seven, but the relative position is two.

SlaveAbsolute BOOL

Chooses the absolute or relative coordinates for the slave axis. 1 = absolute, 0 = relative coordinates. By default, it is 0.

Absolute coordinates: every position is counted from zero.

Relative coordinates: the position is counted from the previous position in the table.

Periodic BOOL

Determines whether to repeat the cam profile. 1 = periodic, 0 = non periodic (single-shot). By default, it is 0.

Periodic: repeats the execution of the cam profile on a continuous basis, even if the cam profile doesn't match the modulo. This means that for a modulo axis with modulo is 360 degrees, and the cam profiles is specified for 90 degrees, it will be executed 4 times in a modulo. In reverse mode the profile is run the inverse way.

Non-Periodic: the cam profile is run only once. If the master position is outside the cam profile, the slave axis stays in synchronized motion and keeps the last position. In reverse mode, the cam profile is not executed after having reached the "EndOfProfile" position. The 90 degrees example above will be run only once.

InterpolationType McCamInterpolationType Selects the motion type of cam.