McCamSwitch
Defines a digital cam or cyclic switch.
Name | Type | Meaning |
---|---|---|
TrackNumber | int |
The index of a track. Indexes are zero-based. SetGroupPathCamSwitch: ranges from 0 to 2. |
FirstOnPosition | double |
The position from which the switch is on. SetGroupPathCamSwitch: the distance between the original starting position and FirstOnPosition in a path motion command, must be nonnegative. |
LastOnPosition | double |
The position from which the switch is off. SetGroupPathCamSwitch: the distance between the original starting position and LastOnPosition in a path motion command, must be positive and greater than FirstOnPosition. |
AxisDirection | int |
The direction of an axis. The default value is zero. If you select one or two, the switch is active only when the axis is moving in the specified direction. Both: 0, Positive: 1, Negative: 2. SetGroupPathCamSwitch: this parameter is not in use because FirstOnPosition and LastOnPosition are distance. |
CamSwitchMode | int |
The cam switch is controlled by an axis' positions or time. The default value is zero. If choosing Position, you need to set FirstOnPosition and LastOnPosition; if choosing Time, you need to set FirstOnPosition and Duration. Position: 0, Time: 1. |
Duration | double | How long the switch is on. This property is available when CamSwitchMode is Time. Unit: second. |