UF_SIM_activate_tool (查看源代码)
定义在: uf_sim_commands.h
概述
Activate a mounted tool.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_activate_tool
(
UF_SIM_engine_p_t engine,
char* tool_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | tool_name | Input(输入) | - the name of the tool to activate |
UF_SIM_ask_axis_dof_junction (查看源代码)
定义在: uf_sim_commands.h
概述
Returns the full junction name (= <comp_name>@<junction_name> of the axis
that defines the degree of freedom.
Also, returns the direction of the degree of freedom axis. The jct_name
character array has to be of length 2UF_SV_KIM_MAX_NAME_LEN+2.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_axis_dof_junction
(
UF_SIM_engine_p_t engine,
const char* axis,
char* jct_name,
UF_SV_KIM_degof_direction_t* direction
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | axis | Input(输入) | - the name of the axis |
| char* | jct_name | Output(输出) | - the name of the corresponding junction |
| UF_SV_KIM_degof_direction_t* | direction | Output(输出) | - the direction of the axis |
UF_SIM_ask_axis_is_reversal_allowed (查看源代码)
定义在: uf_sim_commands.h
概述
Ask if the reversal mode for the given NC axis is allowed.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_axis_is_reversal_allowed
(
UF_SIM_engine_p_t engine,
const char* axis_name,
logical * allow_reversal
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | axis_name | Input(输入) | - name of the NC axis |
| logical * | allow_reversal | Output(输出) | - switch of axis |
UF_SIM_ask_axis_limits (查看源代码)
定义在: uf_sim_commands.h
概述
Returns the axis limits.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_axis_limits
(
UF_SIM_engine_p_t engine,
const char* axis,
double* min,
double* max
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | axis | Input(输入) | - the name of the axis |
| double* | min | Output(输出) | - the minimum limit of the axis |
| double* | max | Output(输出) | - the maximum limit of the axis |
UF_SIM_ask_axis_position (查看源代码)
定义在: uf_sim_commands.h
概述
Return the current axis position. Axis can be linear or rotary. The
current position is the position of the axis after all input events prior
to this event have been processed. Coordinates are returned in axis
coordinates.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_axis_position
(
UF_SIM_engine_p_t engine,
const char * axis,
double * position
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char * | axis | Input(输入) | - the name of the axis |
| double * (实数型指针) | position | Output(输出) | - the current axis position |
UF_SIM_ask_axis_rotary_dir_mode (查看源代码)
定义在: uf_sim_commands.h
概述
Return the direction of rotation mode for the specified NC axis. This
setting controls the path (CW or CCW) a rotary axis will follow when it
goes to target position. The possible rotation modes are:
UF_SIM_AXIS_ROT_MAGNITUDE_DETERMINES_DIRECTION
The rotary axis behaves like a linear axis where if target position > 0
then it rotate in CCW. If < 0 then it rotates CW. For example if current
position is 355 and target position is 370 then it rotates in CCW 15
degrees. If target position is 10 then it rotates in CW 345 degrees.
UF_SIM_AXIS_ROT_ALWAYS_SHORTEST
Moves to the target position in shortest path where possible. This is the
default behavior.
UF_SIM_AXIS_ROT_SIGN_DETERMINES_DIRECTION
For positive target position the axis rotates CCW if negative it rotates CW.
UF_SIM_AXIS_ROT_ALWAYS_CLW
Rotates in CW direction only.
UF_SIM_AXIS_ROT_ALWAYS_CCLW
Rotates in CCW direction only.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_axis_rotary_dir_mode
(
UF_SIM_engine_p_t engine,
const char* axis_name,
UF_SIM_axis_rot_dir_type_t * rot_mode
)
UF_SIM_ask_comp_from_dof (查看源代码)
定义在: uf_sim_commands.h
概述
Return the name of the KIM component where the given degree of freedom is
designed to.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_comp_from_dof
(
UF_SIM_engine_p_t engine,
char* degof_name,
char* comp_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| char* | degof_name | Input(输入) | - name of the degree of freedom |
| char* | comp_name | Output(输出) | - the name of the component |
UF_SIM_ask_cording_tol (查看源代码)
定义在: uf_sim_commands.h
概述
Query and return the chordal tolerance.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_cording_tol
(
UF_SIM_engine_p_t engine,
double* cording_tol
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| double* | cording_tol | Output(输出) | - the cording tolerance |
UF_SIM_ask_degof_data (查看源代码)
定义在: uf_sim_commands.h
概述
Query the data for a given degree of freedom.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_degof_data
(
UF_SIM_engine_p_t engine,
const char* degof_name,
UF_SIM_KIM_degof_types_t* degof_type,
double* lower_limit,
double* upper_limit
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | degof_name | Input(输入) | - name of the d. of freedom |
| UF_SIM_KIM_degof_types_t* | degof_type | Output(输出) | - type of the d. of freedom |
| double* | lower_limit | Output(输出) | - lower limit |
| double* | upper_limit | Output(输出) | - upper limit |
UF_SIM_ask_if_degof_exists (查看源代码)
定义在: uf_sim_commands.h
概述
Returns TRUE or FALSE whether the specified degree of freedom exists in the
KIM model.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_if_degof_exists
(
UF_SIM_engine_p_t engine,
const char* degof_name,
logical* degof_exists
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | degof_name | Input(输入) | - name of the degree of freedom |
| logical* | degof_exists | Output(输出) | - existence of the degree of freedom |
UF_SIM_ask_immediate_update (查看源代码)
定义在: uf_sim_commands.h
概述
Returns the immediate update setting. See UF_SIM_set_immediate_update for
details.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_immediate_update
(
UF_SIM_engine_p_t engine,
logical* immediate_update
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| logical* | immediate_update | Output(输出) | - return immediate update setting |
UF_SIM_ask_init_junction_xform (查看源代码)
定义在: uf_sim_commands.h
概述
Return the specified junction offset and transformation. To be compatible
with csys and msys structure an array with three vectors (X,Y and Z) of the
junction with respect to the ABS coordinate system is returned.
This means the matrix has to be transformed first. This is the INITIAL
transformation of the junction before the machine tool starts moving.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_init_junction_xform
(
UF_SIM_engine_p_t engine,
const char* jct_name,
double* xval,
double* yval,
double* zval,
double* matrix
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - name of the junction |
| double* | xval | Output(输出) | - offset in x direction |
| double* | yval | Output(输出) | - offset in y direction |
| double* | zval | Output(输出) | - offset in z direction |
| double* | matrix | Output(输出) | - matrix |
UF_SIM_ask_is_junction_dependent (查看源代码)
定义在: uf_sim_commands.h
概述
Returns TRUE or FALSE whether the specified junction is dependent on
specified NC axis.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_is_junction_dependent
(
UF_SIM_engine_p_t engine,
const char* jct_name,
const char* axis_name,
char* dependent
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - name of the junction |
| const char* | axis_name | Input(输入) | - name of the axis |
| char* | dependent | Output(输出) | - dependency of the junction |
UF_SIM_ask_is_junction_exist (查看源代码)
定义在: uf_sim_commands.h
概述
Return whether the specified junction exists or not.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_is_junction_exist
(
UF_SIM_engine_p_t engine,
const char* jct_name,
logical* jct_exists
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - the name of the junction |
| logical* | jct_exists | Output(输出) | - existence of the junction |
UF_SIM_ask_junction_xform (查看源代码)
定义在: uf_sim_commands.h
概述
Request and return the specified junction offset and transformation.
To be compatible with csys and msys structure an array with three vectors
(X,Y and Z) of the junction with respect to the ABS coordinate system is
returned. This means the matrix first has to be tranformed first.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_junction_xform
(
UF_SIM_engine_p_t engine,
const char* jct_name,
double* xval,
double* yval,
double* zval,
double* matrix
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - the name of the junction |
| double* | xval | Output(输出) | - offset value in x direction |
| double* | yval | Output(输出) | - offset value in y direction |
| double* | zval | Output(输出) | - offset value in z direction |
| double* | matrix | Output(输出) | - matrix between ZCS and MTCS |
UF_SIM_ask_kim_comp_name_by_id (查看源代码)
定义在: uf_sim_commands.h
概述
Request the name of a component of the KIM structure by a given id.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_kim_comp_name_by_id
(
UF_SIM_engine_p_t engine,
int system_class,
char* comp_id,
char* comp_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| int (整数型) | system_class | Input(输入) | - system class of the searched comp |
| char* | comp_id | Input(输入) | - the id of the component |
| char* | comp_name | Output(输出) | - name of the component |
UF_SIM_ask_mtcs_junction (查看源代码)
定义在: uf_sim_commands.h
概述
Returns the junction name that represents the machine tool coordinate system.
The jct_name character array has to be of length UF_SV_KIM_MAX_NAME_LEN.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_mtcs_junction
(
UF_SIM_engine_p_t engine,
char* jct_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| char* | jct_name | Output(输出) | - the name of the queried junction |
UF_SIM_ask_mtd_units (查看源代码)
定义在: uf_sim_commands.h
概述
Return the machine tool driver units. Those will be the units to input/output
data from S&V commands.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_mtd_units
(
UF_SIM_engine_p_t engine,
UF_SIM_unit_type_t * units
)
UF_SIM_ask_nc_axes_of_mtool (查看源代码)
定义在: uf_sim_commands.h
概述
Return the list of NC axes of the machine tool in the KIM structure.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_nc_axes_of_mtool
(
UF_SIM_engine_p_t engine,
int* no_of_axes,
char* axis_name_list
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| int* | no_of_axes | Output(输出) | - Number of NC axes |
| char* | axis_name_list | Output(输出) | - list of NC axis names |
UF_SIM_ask_sim_engine (查看源代码)
定义在: uf_sim_commands.h
概述
Returns the object id of the simulation engine that is linked to MOM object.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_sim_engine
(
UF_MOM_id_t mom_id,
UF_SIM_engine_p_t * engine_id
)
UF_SIM_ask_status_send_nc_command_msg (查看源代码)
定义在: uf_sim_commands.h
概述
Return the setting for sending NC command message to the feedback processor.
By default it is issued automatically by the system.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_status_send_nc_command_msg
(
UF_SIM_engine_p_t engine,
logical * status
)
UF_SIM_ask_tool_offsets (查看源代码)
定义在: uf_sim_commands.h
概述
Request the offset values for a given tool.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SIM_ask_tool_offsets
(
UF_SIM_engine_p_t engine,
char* tool_name,
double* xval,
double* yval,
double* zval
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| char* | tool_name | Input(输入) | - the name of the tool |
| double* | xval | Output(输出) | - value in x direction from tool offset |
| double* | yval | Output(输出) | - value in y direction from tool offset |
| double* | zval | Output(输出) | - value in z direction from tool offset |
UF_SIM_convert_nurbs_to_position_data (查看源代码)
定义在: uf_sim_commands.h
概述
Calculates based on the given parameters for NURBS an array of end-points of
linear segments. Based on the existing documentation of NURBS (Post) it
is expected, that points are 3 dimensional and knots are one dimensional.
Therefore knots has to have the length of knot_count and cntr_pnts has to
have the length of 3cntr_pnt_count.
Output
point_count: number of returned points in the array
positions: list of points
size of array is positions(point_count3)
The order is point after point,
position(0) -> point-1-X
position(1) -> point-1-Y
position(2) -> point-1-Z
position(3) -> point-2-X
position(4) -> point-2-Y
...
Memory of positions is allocated inside this function and
must be freed from the caller of this function
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_convert_nurbs_to_position_data
(
UF_SIM_engine_p_t engine,
int cntr_point_count,
int order,
int knot_count,
double* knots,
double* cntr_points,
int* point_count,
double* * positions
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| int (整数型) | cntr_point_count | Input(输入) | - number of control points |
| int (整数型) | order | Input(输入) | - order of the nurbs |
| int (整数型) | knot_count | Input(输入) | - number of knot vectors |
| double* | knots | Input(输入) | - array of knot vectors |
| double* | cntr_points | Input(输入) | - array of control points |
| int* | point_count | Output(输出) | - number of points in the array |
| double* * | positions | Output to be freed 输出并释放 | - return array of points |
UF_SIM_create_junction (查看源代码)
定义在: uf_sim_commands.h
概述
Add new junction and attach it to specified component. Unlike some other
S&V commands, the creation is done right away. No events are created or
triggered to perform this action.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_create_junction
(
UF_SIM_engine_p_t engine,
const char* jct_name,
const char* destination_comp,
double origin [ 3 ] ,
double matrix [ 9 ]
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - the name of the junction |
| const char* | destination_comp | Input(输入) | - the name of the dest. cmp |
| double (实数型) | origin [ 3 ] | Input(输入) | - the vector of the origin |
| double (实数型) | matrix [ 9 ] | Input(输入) | - the matrix of the junction |
UF_SIM_dbg_end (查看源代码)
定义在: uf_sim_commands.h
概述
End S&V commands debugging tools. It also closes the output listing device.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_dbg_end
(
UF_SIM_engine_p_t engine
)
UF_SIM_dbg_set_output (查看源代码)
定义在: uf_sim_commands.h
概述
Activate or deactivate one of the following debugging tokens that controls
the output of the corresponding data to the listing device. If token not
specified then debugging is turned on or off according to on_off value.
UF_SIM_DBG_OUTPUT_ERROR output warnings/errors
UF_SIM_DBG_OUTPUT_NC_CMD output the NC program (i.e. G codes )
UF_SIM_DBG_OUTPUT_CEVENT output CEvents (i.e. post events)
UF_SIM_DBG_OUTPUT_INPUT_SV_EVENT output S&V input events
UF_SIM_DBG_OUTPUT_OUTPUT_SV_EVENT output S&V output events
UF_SIM_DBG_OUTPUT_PROCESSED_SV_EVENT output S&V processed events
those includes the output events
and those events created by the
S&V processors
UF_SIM_DBG_OUTPUT_SV_CMD output ALL S&V commands that are
called
UF_SIM_DBG_OUTPUT_ALL output all the above data
All tokens must be specified in upper case.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_dbg_set_output
(
UF_SIM_engine_p_t engine,
logical on_off,
const char* token
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| logical | on_off | Input(输入) | - switch to set the output on or off |
| const char* | token | Input(输入) | - name of the token to switch on or off |
UF_SIM_dbg_start (查看源代码)
定义在: uf_sim_commands.h
概述
Initialize S&V commands debugging tools. It also opens a listing device
where output debug messages are written.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_dbg_start
(
UF_SIM_engine_p_t engine,
const char* title
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | title | Input(输入) | - titel of the debug listing window |
UF_SIM_dbg_write_message (查看源代码)
定义在: uf_sim_commands.h
概述
Write message in the debugging output listing. If debugging is not active,
no message will be written.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_dbg_write_message
(
UF_SIM_engine_p_t engine,
const char* msg
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | msg | Input(输入) | - the message string, which goes to the debug output window |
UF_SIM_delay (查看源代码)
定义在: uf_sim_commands.h
概述
Cause the system to dwell and stop event execution for specified duration.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_delay
(
UF_SIM_engine_p_t engine,
const char* label,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | label | Input(输入) | - label to identify the action |
| double (实数型) | duration | Input(输入) | - the duration to stop in sec |
UF_SIM_delete_junction (查看源代码)
定义在: uf_sim_commands.h
概述
Delete a junction. Unlike some other S&V commands, the deletion is done
right away. No events are created or triggered to perform this action.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_delete_junction
(
UF_SIM_engine_p_t engine,
const char* jct_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | jct_name | Input(输入) | - the name of the junction |
UF_SIM_dialog_set_item (查看源代码)
定义在: uf_sim_commands.h
概述
Create an event to set a dialog item attributes. The item identifier is a
unique identifier of dialog item. The attributes defines the keyword that
identifies the attribute followed by the attribute value according to dialog
item attribute syntax. E.g. LABEL=<UGT0201_013> LIST=<X,Y,Z>.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_dialog_set_item
(
UF_SIM_engine_p_t engine,
const char* item_id,
const char* attributes
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | item_id | Input(输入) | - the name of the item |
| const char* | attributes | Input(输入) | - the value of the attribute |
UF_SIM_end_of_simulation (查看源代码)
定义在: uf_sim_commands.h
概述
Indicate end of simulation.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_end_of_simulation
(
UF_SIM_engine_p_t engine
)
UF_SIM_feedback_message (查看源代码)
定义在: uf_sim_commands.h
概述
Issue the specified feedback message.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_feedback_message
(
UF_SIM_engine_p_t engine,
char* label,
char* message
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | label | Input(输入) | - the type of the feedback message |
| char* | message | Input(输入) | - the information of the feedback message |
UF_SIM_find_comp_by_name (查看源代码)
定义在: uf_sim_commands.h
概述
Return true if the given component name is found in the KIM tree hierachy.
Started by the given component name, false if the given name isn't found.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_find_comp_by_name
(
UF_SIM_engine_p_t engine,
char* start_comp,
char* search_comp,
logical* is_found
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| char* | start_comp | Input(输入) | - name of the base component |
| char* | search_comp | Input(输入) | - name of the component to search |
| logical* | is_found | Output(输出) | - result of searching |
UF_SIM_mount_kim_comp (查看源代码)
定义在: uf_sim_commands.h
概述
Mount a specified component (source component) with a given coordinate
system (source junction) of the machine tool KIM model at a specified
location (destination component and destination junction).
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_mount_kim_comp
(
UF_SIM_engine_p_t engine,
char* source_comp,
char* source_jct,
char* destination_comp,
char* destination_jct,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | source_comp | Input(输入) | - the name of the source component |
| char* | source_jct | Input(输入) | - the name of the source junction |
| char* | destination_comp | Input(输入) | - the name of the destination cmp |
| char* | destination_jct | Input(输入) | - the name of the destination jct |
| double (实数型) | duration | Input(输入) | - the time in seconds to complete this mount on the machine tool |
UF_SIM_mount_tool (查看源代码)
定义在: uf_sim_commands.h
概述
Mount a specified tool by its tool_id on a specified component (destination
component and destination junction). The tool can be specified by different
classification types.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_mount_tool
(
UF_SIM_engine_p_t engine,
UF_SIM_tool_class_t tool_class,
char* tool_id,
char* destination_comp,
char* destination_jct,
double duration,
char* tool_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| UF_SIM_tool_class_t | tool_class | Input(输入) | - tool classification identifier |
| char* | tool_id | Input(输入) | - the tool_id of the tool |
| char* | destination_comp | Input(输入) | - the name of the destin. cmp |
| char* | destination_jct | Input(输入) | - the name of the destin. jct |
| double (实数型) | duration | Input(输入) | - time in seconds to complete this mount on the machine tool |
| char* | tool_name | Output(输出) | - name of the tool |
UF_SIM_move_linear_axis (查看源代码)
定义在: uf_sim_commands.h
概述
Move the specified linear axis by the specified amount.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_move_linear_axis
(
UF_SIM_engine_p_t engine_id,
char* axis,
double value,
double duration
)
| UF_SIM_engine_p_t | engine_id | Input(输入) | - the simulation engine object |
| char* | axis | Input(输入) | - the name of the linear NC-axis |
| double (实数型) | value | Input(输入) | - the new position of the axis |
| double (实数型) | duration | Input(输入) | - the time in seconds to complete this move on the machine. This value is effected by the current feed rate. |
UF_SIM_move_rotary_axis (查看源代码)
定义在: uf_sim_commands.h
概述
Move the specified rotary axis by the specified amount.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_move_rotary_axis
(
UF_SIM_engine_p_t engine_id,
char* axis,
double value,
double duration
)
| UF_SIM_engine_p_t | engine_id | Input(输入) | - the simulation engine object |
| char* | axis | Input(输入) | - the name of the linear NC-axis |
| double (实数型) | value | Input(输入) | - the new position of the axis |
| double (实数型) | duration | Input(输入) | - the time in seconds to complete this move on the machine. This value is effected by the current feed rate. |
UF_SIM_msg_nc_command (查看源代码)
定义在: uf_sim_commands.h
概述
Issue command messages mainly to the feedback processor to act according
to the command message. SIM_msg_nc_command is a message to the feedback
processor about the NC command that has been executed. The action field
contains the 'G codes'.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_msg_nc_command
(
UF_SIM_engine_p_t engine,
const char* action
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | action | Input(输入) | - NC command |
UF_SIM_msg_program_mark (查看源代码)
定义在: uf_sim_commands.h
概述
Send program mark message to message window. Next/Previous operation steps
to this mark.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_msg_program_mark
(
UF_SIM_engine_p_t engine,
const char* program_mark
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | program_mark | Input(输入) | - name of the program mark |
UF_SIM_msg_user_feedback (查看源代码)
定义在: uf_sim_commands.h
概述
Issue command messages mainly to the feedback processor to act according
to the command message. SIM_msg_user_feedback is a message to the feedback
processor to invoke the TCL procedure specified as the 'proc' argument.
Note: That the prefix MOM_ will be added to the procedure before invocation.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_msg_user_feedback
(
UF_SIM_engine_p_t engine,
const char* proc
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | proc | Input(输入) | - name of the a TCL procedure |
UF_SIM_mtd_init (查看源代码)
定义在: uf_sim_commands.h
概述
Initialize the MTD.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_mtd_init
(
UF_SIM_engine_p_t engine
)
UF_SIM_mtd_reset (查看源代码)
定义在: uf_sim_commands.h
概述
Reset the MTD of the simulation engine.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_mtd_reset
(
UF_SIM_engine_p_t engine
)
UF_SIM_set_axis_allow_reversal (查看源代码)
定义在: uf_sim_commands.h
概述
Allow reversal mode for the given NC axis.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_axis_allow_reversal
(
UF_SIM_engine_p_t engine,
const char* axis_name,
logical allow_reversal
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| const char* | axis_name | Input(输入) | - name of the NC axis |
| logical | allow_reversal | Input(输入) | - switch to set the mode |
UF_SIM_set_axis_rotary_dir_mode (查看源代码)
定义在: uf_sim_commands.h
概述
Set the direction of rotation mode for the specified NC axis. This setting
controls the path (CW or CCW) a rotary axis will follow when it goes to
target position. The possible rotation modes are:
UF_SIM_AXIS_ROT_MAGNITUDE_DETERMINES_DIRECTION
The rotary axis behaves like a linear axis where if target position > 0
then it rotate in CCW. If < 0 then it rotates CW. For example if current
position is 355 and target position is 370 then it rotates in CCW 15
degrees. If target position is 10 then it rotates in CW 345 degrees.
UF_SIM_AXIS_ROT_ALWAYS_SHORTEST
Moves to the target position in shortest path where possible. This is the
default behavior.
UF_SIM_AXIS_ROT_SIGN_DETERMINES_DIRECTION
For positive target position the axis rotates CCW if negative it rotates CW.
UF_SIM_AXIS_ROT_ALWAYS_CLW
Rotates in CW direction only.
UF_SIM_AXIS_ROT_ALWAYS_CCLW
Rotates in CCW direction only.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_axis_rotary_dir_mode
(
UF_SIM_engine_p_t engine,
const char* axis_name,
UF_SIM_axis_rot_dir_type_t rot_mode
)
UF_SIM_set_channel (查看源代码)
定义在: uf_sim_commands.h
概述
Set the active channel. All following commands write their data into the
chosen channel.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_channel
(
UF_SIM_engine_p_t engine,
int channel_number
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| int (整数型) | channel_number | Input(输入) | - the number of the active channel |
UF_SIM_set_coolant (查看源代码)
定义在: uf_sim_commands.h
概述
Set the coolant mode in the simulation scenario for multiple purposes
e.g., display.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_coolant
(
UF_SIM_engine_p_t engine,
int value,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| int (整数型) | value | Input(输入) | - the value of coolant status 0 is OFF 1 is ON |
| double (实数型) | duration | Input(输入) | - the duration in seconds to complete setting the speed |
UF_SIM_set_current_zcs_junction (查看源代码)
定义在: uf_sim_commands.h
概述
Set the current ZCS junction.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_current_zcs_junction
(
UF_SIM_engine_p_t engine,
char* junction_name
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| char* | junction_name | Input(输入) | - the name of the junction |
UF_SIM_set_cutting_mode (查看源代码)
定义在: uf_sim_commands.h
概述
Set the cutting mode in the simulation scenario.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_cutting_mode
(
UF_SIM_engine_p_t engine,
UF_SIM_cutting_mode_t mode
)
UF_SIM_set_feed (查看源代码)
定义在: uf_sim_commands.h
概述
Set the feed rate in the simulation scenario for multiple purposes
e.g., display.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_feed
(
UF_SIM_engine_p_t engine,
double value,
UF_SIM_unit_type_t unit,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| double (实数型) | value | Input(输入) | - the feed rate value |
| UF_SIM_unit_type_t | unit | Input(输入) | - the unit of the feed rate |
| double (实数型) | duration | Input(输入) | - the duration in seconds to complete setting the feed rate |
UF_SIM_set_immediate_update (查看源代码)
定义在: uf_sim_commands.h
概述
Sets whether the processing the events that are put in the input buffer is
done right away or they are put in buffer for later processing. By default
this mode is control by the simulation engine and should be used very
carefully. When this is set to True some of the simulation functions such as
simulation speed control and stepping creteria control may not function the
same. This functionality is provided for cases where there is a need to
process the events as they are created with no delay of buffering. So, on
every call to UF_SIM_update all events will be processed.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_immediate_update
(
UF_SIM_engine_p_t engine,
logical immediate_update
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| logical | immediate_update | Input(输入) | - whether to process events as they are put in buffer |
UF_SIM_set_mtd_units (查看源代码)
定义在: uf_sim_commands.h
概述
Set the machine tool driver units. Those will be the units to input/output
data from S&V commands.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_mtd_units
(
UF_SIM_engine_p_t engine,
UF_SIM_unit_type_t units
)
UF_SIM_set_parameter (查看源代码)
定义在: uf_sim_commands.h
概述
Set the given parameter and store the data into the model.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_parameter
(
UF_SIM_engine_p_t engine,
char* label,
char* text,
UF_SIM_unit_type_t unit,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | label | Input(输入) | - the type of the parameter |
| char* | text | Input(输入) | - the value of the parameter |
| UF_SIM_unit_type_t | unit | Input(输入) | - the unit of the parameter |
| double (实数型) | duration | Input(输入) | - the duration in seconds to complete this action of the parameter setting |
UF_SIM_set_speed (查看源代码)
定义在: uf_sim_commands.h
概述
Set the speed in the simulation scenario for multiple purposes e.g., display.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_speed
(
UF_SIM_engine_p_t engine,
double value,
UF_SIM_unit_type_t unit,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| double (实数型) | value | Input(输入) | - the speed value |
| UF_SIM_unit_type_t | unit | Input(输入) | - the unit of the speed |
| double (实数型) | duration | Input(输入) | - the duration in seconds to complete setting the speed |
UF_SIM_set_status_send_nc_command_msg (查看源代码)
定义在: uf_sim_commands.h
概述
Set the setting for sending NC command message to the feedback processor.
By default it is issued automatically by the system.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_set_status_send_nc_command_msg
(
UF_SIM_engine_p_t engine,
logical status
)
UF_SIM_start_of_simulation (查看源代码)
定义在: uf_sim_commands.h
概述
Indicate start of simulation.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_start_of_simulation
(
UF_SIM_engine_p_t engine
)
UF_SIM_step (查看源代码)
定义在: uf_sim_commands.h
概述
Create a sub-step event, which indicates the end of an intermediate action.
Similar to a step event, all events prior to sub-step event are executed
simultaneously.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_step
(
UF_SIM_engine_p_t engine,
const char* label
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| const char* | label | Input(输入) | - name of event |
UF_SIM_transform_matrix_acs_to_mtcs (查看源代码)
定义在: uf_sim_commands.h
概述
Request the matrix between the two coordinates ACS and MTCS.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_transform_matrix_acs_to_mtcs
(
UF_SIM_engine_p_t engine,
double acs_matrix [ 9 ] ,
double* matrix
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| double (实数型) | acs_matrix [ 9 ] | Input(输入) | - matrix of a c-system |
| double* | matrix | Output(输出) | - matrix between ZCS and MTCS |
UF_SIM_transform_offset_acs_to_mtcs (查看源代码)
定义在: uf_sim_commands.h
概述
Request the offset between the two coordinates ACS and MTCS.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_transform_offset_acs_to_mtcs
(
UF_SIM_engine_p_t engine,
double acs_vector [ 3 ] ,
double* xval,
double* yval,
double* zval
)
| UF_SIM_engine_p_t | engine | Input(输入) | - simulation engine object |
| double (实数型) | acs_vector [ 3 ] | Input(输入) | - vector of a c-system |
| double* | xval | Output(输出) | - offset value in x direction |
| double* | yval | Output(输出) | - offset value in y direction |
| double* | zval | Output(输出) | - offset value in z direction |
UF_SIM_unmount_kim_comp (查看源代码)
定义在: uf_sim_commands.h
概述
Un-mount a specified component (source component).
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_unmount_kim_comp
(
UF_SIM_engine_p_t engine,
char* component,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | component | Input(输入) | - the name of the component to un-mount |
| double (实数型) | duration | Input(输入) | - the time in seconds to complete this un-mount on the machine tool |
UF_SIM_unmount_tool (查看源代码)
定义在: uf_sim_commands.h
概述
Un-mount the tool.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_unmount_tool
(
UF_SIM_engine_p_t engine,
char* tool_name,
double duration
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| char* | tool_name | Input(输入) | - the name of the tool to un-mount |
| double (实数型) | duration | Input(输入) | - the time in seconds to complete this un-mount on the machine tool |
UF_SIM_update (查看源代码)
定义在: uf_sim_commands.h
概述
Send an update command, which indicates the end of a movement.
环境
内部和外部
历史
Released in NX2
需要许可证(S)
cam_base
int UF_SIM_update
(
UF_SIM_engine_p_t engine,
const char* label
)
| UF_SIM_engine_p_t | engine | Input(输入) | - the simulation engine object |
| const char* | label | Input(输入) | - name of event |