DELMIA Functions
DELMIA functions are specific for use by CERUN when running the control emulator integrated within the Dassault Systèmes CATIA V5 or V6 products, using a DELMIA machine model. These functions can be used to identify and move auxiliary model axes.
The $FMSCHUCK Function
Clamp or unclamp a chuck device Returns: Numeric |
The $FMSCHUCK function clamps (ON) or unclamps (OFF) the DELMIA chuck identified by the number n, where 1 is the chuck on the main turning spindle and 2 is the chuck on the sub-spindle. A value of (one) 1 is returned if the function is successful, otherwise 0 (zero) is returned. This function is only available with CATIA V6 2015x or later.
The $FMSID Function
Get the component ID of a DELMIA axis Returns: Numeric |
The $FMSID function returns the component ID of the DELMIA axis identified by the number n or the string name. The returned component ID can be used in $FMSIDN, $FMSIDT and $FMSMOVE functions to obtain axis properties or to move the given axis. A value of 0 (zero) is returned if the DELMIA axis number does not exist.
The $FMSIDN Function
Get the name of a component, given its ID Returns: String |
The $FMSIDN function returns the name of the component identified by the component ID specified by id. Component ID’s are obtained using the $FMSID function.
The $FMSIDT Function
Get the type of a component, given its ID Returns: Numeric |
The $FMSIDT function returns one of the following numeric code types that identify the component ID specified by id. Component ID’s are obtained using the $FMSID function.
- 0:
Unknown type
- 4:
Linear axis
- 5:
Rotary axis
The $FMSMOVE Function
Move a model axis Returns: Numeric (always 1) |
The $FMSMOVE function moves the model axis identified by the component ID specified by id (axis ID’s are obtained using the $FMSID function), to the specified position in model axis units, at the specified velocity in model units per minute.
If NEXT is specified, this axis motion will be deferred and included with the next model motion event. NOW (the default) causes the axis to move immediately. All pending NEXT motions can be processed by calling $FMSMOVE(0,0,0,NOW).