The NC controller you use determines which items appear in the channel window. You can customize this dialog in the Machine Tool Driver to reflect your needs. Due to this, each controller can have a different look and different items in the simulation dialog.
The following list summarizes the functions and features of the channel window:
-
If you do not customize the simulation dialog in the machine tool driver, the system provides a default dialog.
-
A predefined set of system items is available. Some of the system items’ attributes can also be altered during simulation.
-
In addition to system items, you can define your own items (referred to as user items). It is your responsibility to set the values for these items using the corresponding S&V commands in the MTD. Note that when you set an item, it is synchronized with the other events and may not happen at the time the command is called but rather when that set item event is processed.
-
You can mix and position all or a subset of system items and user items in any order in the dialog.
The default items in the dialog are specified as a global TCL array. The default array is in the file:
\\MACH\resource/postprocessor\sim_high_level_sv_commands.tcl
and appears as follows:
SIM_dialog_start “SYS_CHANNEL_WINDOW TITLE=<Channel Window>”
First Channel |
|
---|---|
|
SIM_dialog_add_item “SYS_START_CHANNEL_GROUP 1” |
|
SIM_dialog_add_item “SYS_ACTIVE_TOOL_ITEM U1” |
|
SIM_dialog_add_item “SYS_COOLANT_ITEM U2 ATTACHMENT=<LEFT 0 10>” |
|
SIM_dialog_add_item “SYS_SPEED_ITEM U3” |
|
SIM_dialog_add_item “SYS_FEED_ITEM U4 ATTACHMENT=<LEFT 0 10>” |
|
SIM_dialog_add_item “SYS_SPINDLE_SPEED_ITEM U5” |
|
SIM_dialog_add_item “SYS_SURFACE_SPEED_ITEM U6 ATTACHMENT=<LEFT 0 5>” |
|
SIM_dialog_add_item “SYS_MAX_SPINDLE_SPEED_ITEM U7” |
|
SIM_dialog_add_item “SYS_TOOL_POSITION_ITEM U8” |
|
SIM_dialog_add_item “SYS_PROGRAM_WINDOW_ITEM U9 SPAN=<4> WIDTH=<33>” |
|
SIM_dialog_add_item “USR_SEPARATOR_ITEM SP1 ORIENTATION=<VERTICAL> HEIGHT=<198> ATTACHMENT=<LEFT 0 0>” |
Second Channel |
|
|
SIM_dialog_add_item “SYS_START_CHANNEL_GROUP 2” |
|
SIM_dialog_add_item “SYS_ACTIVE_TOOL_ITEM U1” |
|
SIM_dialog_add_item “SYS_COOLANT_ITEM U2 ATTACHMENT=<LEFT 0 10>” |
|
SIM_dialog_add_item “SYS_SPEED_ITEM U3” |
|
SIM_dialog_add_item “SYS_FEED_ITEM U4 ATTACHMENT=<LEFT 0 10>” |
|
SIM_dialog_add_item “SYS_SPINDLE_SPEED_ITEM U5” |
|
SIM_dialog_add_item “SYS_SURFACE_SPEED_ITEM U6 ATTACHMENT=<LEFT 0 5>” |
|
SIM_dialog_add_item “SYS_MAX_SPINDLE_SPEED_ITEM U7” |
|
SIM_dialog_add_item “SYS_TOOL_POSITION_ITEM U8” |
|
SIM_dialog_add_item “SYS_PROGRAM_WINDOW_ITEM U9 SPAN=<4> WIDTH=<33>” # End of Channel Window Dialog |
SIM_dialog_end
This results in the following dialog. The numbered circles correspond to those in the dialog table above:
Channel Window |
||||
|
CARRIER-1 – Secondary |
|
CARRIER-2 – Primary |
|
|
Tool OD_55_L Coolant On |
Tool OD_35_R Coolant On |
|
|
|
Speed ? Feedrate 400 mmpm |
Speed ? Feedrate 400 mmpm |
|
|
|
Spindel Speed ? Surface Speed 200 mpm |
Spindel Speed ? Surface Speed ? |
|
|
|
Max Spindle Speed 3000 rpm |
Max Spindle Speed ? |
|
|
|
X 100.0000 Y -0.0000 Z 150.0000 |
X -100.0000 Y -0.0000 Z 150.0000 |
|
|
|
|
|
|
You should not modify the default array, but include your own in your Machine Tool Driver.
Warning |
Use the SIM high level commands SIM_dialog_start, SIM_dialog_end and SIM_dialog_add_item to customize the simulation dialog. Don’t set the array directly. To change an item attribute during simulation, call the command SIM_dialog_set_item |
For adding and setting items in the customized dialog the following parameters are specified:
item_type: |
There are two kinds of dialog items: – system items and user items. System items are set directly by the S&V engine and possibly the machine tool driver. User items are set by the machine tool driver only. |
item_id: |
This is a text identifier that is used to uniquely identify the item by the SIM_dialog_set_item command. No spaces are allowed. |
item_att: |
These are the possible attributes of the items according to the syntax described below. |
System Item |
Item Attributes (Keywords) |
---|---|
SYS_START_CHANNEL_GROUP |
STATUS |
SYS_ACTIVE_TOOL_ITEM |
ATTACHMENT |
SYS_COOLANT_ITEM |
ATTACHMENT |
SYS_SPEED_ITEM |
ATTACHMENT |
SYS_FEED_ITEM |
ATTACHMENT |
SYS_SPINDLE_SPEED_ITEM |
ATTACHMENT |
SYS_SURFACE_SPEED_ITEM |
ATTACHMENT |
SYS_MAX_SPINDLE_SPEED_ITEM |
ATTACHMENT |
SYS_TOOL_POSITION_ITEM |
none |
SYS_PROGRAM_WINDOW_ITEM |
SPAN, WIDTH |
SYS_LAST_ITEM |
none |
* indicates that the attribute can be changed during simulation.
User Items |
Item Attributes (Keywords) |
---|---|
USR_SEPARATOR_ITEM |
ORIENTATION, HEIGHT, ATTACHMENT |
* indicates that the attribute can be changed during simulation.
Item attributes use the following syntax:
keyword = <attribute value>
Keyword |
Attribute Value |
---|---|
WIDTH |
default for number of visible characters in window: 25 |
HEIGHT |
numeric value default for separator height 15 |
STATUS |
NONE, PRIMARY or SECONDARY Default NONE |
ATTACHMENT |
<LEFT 0 15> LEFT 0 = previous item 15 = distance to previous item in pixel |
SPAN |
Numeric value default for number of visible lines in window: 2 |
Incoming search terms:
- https://cadcamengineering net/configuring-the-channel-window-siemens-nx/