26.12.2012 Views

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />

Model Event Macros, The Rapid Event Macro<br />

$P8 Motion flags: These are integer flags indicating if the corresponding axis position as<br />

defined in $P2 requires a change in position of the axis. A value of “0” indicates that<br />

the axis is not moving and therefore the axis end-position should be ignored. A value<br />

of “1” indicates an actively moving axis.<br />

An OUTPUT command must be encountered during motion event processing in order for VM to<br />

move the model to the coordinates defined by that event.<br />

4.4.3.3 The Rapid Event Macro<br />

This macro is called each time motion processing switches from feed interpolation to rapid<br />

positioning. The rapid macro has no $P variables.<br />

An OUTPUT command must be encountered during raid event processing in order for VM to<br />

switch to rapid positioning.<br />

4.4.3.4 The Feed Event Macro<br />

This macro is called each time motion processing switches from rapid positioning to feed interpolation,<br />

or when the federate changes. The feed macro has a single $P variable.<br />

$P1 Velocity of the control point in model units per minute or per revolution.<br />

An OUTPUT command must be encountered during feed event processing in order for VM to<br />

switch to feed interpolation.<br />

4.4.3.5 The Load Tool Event Macro<br />

This macro is called each there is a tool related event. The load tool macro has 6 $P variables.<br />

$P1 Set to zero on return to have the simulation ignore the tool event. On input, the value<br />

is set as follows: 1=TOOLNO command, 2=tool change, 3=tool selection<br />

$P2 Type of change: 1=tool, 2=head<br />

$P3 Tool ID or head ID<br />

$P4 Pocket ID or station ID<br />

$P5 Tool index in $TLTAB or holder index in $HLDTAB (see $P3)<br />

$P6 Tool axis ID<br />

An OUTPUT command must be encountered during load tool event processing in order for VM<br />

to perform the tool change or selection operation.<br />

<strong>ICAM</strong> Technologies Corporation – Proprietary 147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!