Interface ICamApiMachineCLDReceiver
Machine-side command receiver. An aspect of the same object the solver receives as
ICamApiCLDReceiver, found via QueryInterface. Present only when the host feeds the
solver into the MCD former (machine CLData); nil on the geometric CLData path.
Feeds, spindle, coolant, delay, compensations, current plane, comments and
BeginItem/EndItem grouping stay on ICamApiCLDReceiver and are not duplicated here.
Frames are appended in call order into the body section of the operation toolpath.
Assembly: CAMAPI.MCDFormerTypes.dll
[Guid("58744EF8-5AE5-44C7-9600-E11B671EE5A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiMachineCLDReceiver
Properties
The live machine evaluator of the former: kinematics, axis state, robot
configuration. Valid for the duration of the solver call only; must not be stored.
Declaration
ICamApiMachineEvaluator MachineEvaluator { get; }
Property Value
Methods
Declaration
void AddAxisBrake(int AxisIndex, bool Applied)
Parameters
| Type |
Name |
Description |
| int |
AxisIndex |
|
| bool |
Applied |
|
Declaration
void AddCallSub(int SubID)
Parameters
| Type |
Name |
Description |
| int |
SubID |
|
Declaration
void AddClamp(int ClampID, bool Clamped)
Parameters
| Type |
Name |
Description |
| int |
ClampID |
|
| bool |
Clamped |
|
Declaration
void AddFrom(TST3DPoint FromPoint)
Parameters
Declaration
void AddGoHome(TST3DPoint HomePoint)
Parameters
Declaration
void AddMotion(int AxisIndex, double Value)
Parameters
| Type |
Name |
Description |
| int |
AxisIndex |
|
| double |
Value |
|
Declaration
void AddOrigin(TST3DMatrix M, TCamApiLocalCSPositioningMode PositioningMode)
Parameters
Declaration
void AddOriginByShift(TST3DMatrix ShiftMatrix)
Parameters
Declaration
void AddPPFunParam(int Index, double Value)
Parameters
Append a program-name command (PARTNO).
Declaration
void AddPartNo(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Switch the following moves to the rapid feed (RAPID). The feed state of the
evaluator is updated, so a later OutEvaluatorState emits the rapid frame.
Declaration
Declaration
void AddRotaryTable(bool Incremental, double Position, bool CounterClockwise, int Plane)
Parameters
| Type |
Name |
Description |
| bool |
Incremental |
|
| double |
Position |
|
| bool |
CounterClockwise |
|
| int |
Plane |
|
Declaration
void AddSafePos(int PointNumber, TST3DPoint SafePoint)
Parameters
Append an active-workpiece command (SELWORKPIECE) for the holder with the given
identifier. An empty identifier keeps the workpiece the machine evaluator holds.
Declaration
void AddSelWorkpiece(string WorkpieceHolderID)
Parameters
| Type |
Name |
Description |
| string |
WorkpieceHolderID |
|
Append an unconditional program stop (STOP). The optional stop is AddOpStop on
ICamApiCLDReceiver.
Declaration
Declaration
void AddSyncAxes(bool IsOn, string AxisID1, string AxisID2)
Parameters
Declaration
void AddTakeover(int PartIndex, string WorkpieceHolderID)
Parameters
| Type |
Name |
Description |
| int |
PartIndex |
|
| string |
WorkpieceHolderID |
|
Declaration
void AddThread(int Orient, int LeadType, double Step, double StartAngle)
Parameters
Close the frame opened by OpenMultiMotion and append it to the toolpath.
Declaration
Append the PPFUN command opened by OpenPPFun.
Declaration
Tell the host that nothing more will be appended, so the calculation waiting for this
receiver can go on. This is the end of the same work a solver does inside
ICamApiTechOperationSolver.MakeWorkPath - only there the end is the return from the
call, and an application that got the receiver through the machine CLData event has
no such return to be seen: the event is delivered asynchronously, and the calculation
waits for this call instead of for the delivery.
Not calling it is not fatal: the host stops waiting on its own timeout and keeps
whatever was appended by then.
Declaration
Declaration
void LoadTool(int ToolNumber)
Parameters
| Type |
Name |
Description |
| int |
ToolNumber |
|
Declaration
void OpenMultiMotion(TCamApiGotoMode mode)
Parameters
Declaration
void OpenPPFun(int SubCode)
Parameters
| Type |
Name |
Description |
| int |
SubCode |
|
Declaration
void OutEvaluatorState(TCamApiGotoMode mode)
Parameters
Declaration
void OutInterpolation(bool Enable)
Parameters
| Type |
Name |
Description |
| bool |
Enable |
|
Drop the local coordinate system appended last and go back to the previous one.
Declaration
Declaration
void SetInterpolationMode(TCamApiInterpolationMode mode)
Parameters
Declaration
Parameters
| Type |
Name |
Description |
| bool |
IsOn |
|