Channel parameters

Overview

This chapter describes the channel-specific parameter for configuring spindles. Note that only the spindles entered in the channel parameter list can also be addressed in the part program. This applies to both NC and PLC spindles.

The spindle configuration defined in the channel parameter list is the default assignment which is provided after the controller is started up.

P-CHAN-00082

Number of configured spindles in NC channel

Description

This element specifies the total number of existing position-controlled and speed-controlled spindles. The number of spindles must be identical with the entered spindles (spindel[i].*).

Parameter

spdl_anzahl

Data type

UNS16

Data range

0 ≤ spdl_anzahl ≤ 6 (application-specific)

Dimension

----

Default value

0

Remarks

Parameterisation example: A position-controlled and a speed-controlled spindle are to be configured.

spdl_anzahl     2

P-CHAN-00010

Spindle name within a path compound

Description

If a spindle axis is changed with specific machining modes (e.g. C axis mode) in the path compound, it can be addressed by this default name (e.g. C1).

Parameter

default_ax_name_of_spindle

Data type

STRING

Data range

Maximum 16 characters (length of spindle designation, application-specific)

Dimension

----

Default value

*

Remarks

The designation of spindles in the path compound must start with the letters A, B, C, U, V, W, X, Y, Z or Q. After that, all letters and digits are possible. The axis designation must be unique. It may not be identical with the configured name of a channel axis (P-CHAN-00006).

Parameterisation example: The C axis receives the designation C1.

default_ax_name_of_spindle     C1

* Note: The default value of variables is a blank string.

P-CHAN-00051

Logical axis number of the main spindle in the NC channel

Description

This parameter assigns the definition of the main spindle. The logical axis number of one of the spindles which is configured in the channel parameters list is entered here. After the controller starts up, this spindle becomes the main spindle. However, any other spindle in the system can be declared to be the main spindle using a command in the part program (#MAIN SPINDLE [PROG]).

Parameter

main_spindle_ax_nr

Data type

UNS16

Data range

1 ... MAX(UNS16)

Dimension

----

Default value

0

Remarks

Parameterisation example: The spindle with logical axis number 6 is the main spindle.

main_spindle_ax_nr     6

P-CHAN-00053

Designation of the main spindle in the NC channel

Description

Besides the logical axis number, a name must be assigned to the main spindle by which it can be addressed in the subroutine. This parameter therefore assigns an axis name to the main spindle. The axis name is freely selectable, but the first character must be an 'S'.

Parameter

main_spindle_name

Data type

STRING

Data range

Maximum 16 characters (length of spindle designation, application-specific)

Dimension

----

Default value

*

Remarks

The designation of the main spindle cannot be changed in the subroutine. However, if the main spindle is changed using #MAIN SPINDLE (see [PROG]), the new main spindle is assigned.

Parameterisation example: The main spindle (logical axis number 6) is programmed in the subroutine with the name 'S'.

main_spindle_ax_nr     6

main_spindle_name      S

* Note: The default value of variables is a blank string.

P-CHAN-00008

Machine ID with C axis face machining

Description

This parameter defines the type of machine used for face machining.

Parameter

cax_face_id

Data type

UNS16

Data range

1: Lathe (automatic orientation of the rotary axis in the centre of rotation)

2: Milling machines (no orientation)

Dimension

----

Default value

0

Remarks

Parameterisation example: Face machining takes place on a milling machine.

cax_face_id     2

P-CHAN-00036

Logical axis number of a spindle in NC channel

Description

The logical axis number is entered in this parameter. The logical axis name is unique throughout the entire system. The logical axis number assigns the spindle name in the NC program to the axis data (see axis parameters lists in [AXIS]). Therefore only logical numbers make sense if they are known to the NC program.

The logical axis number "0" is not permitted.

Parameter

spindel[i].log_achs_nr

Data type

UNS16

Data range

1... MAX(UNS16)

Dimension

----

Default value

-

Remarks

A logical axis number may not be assigned several times. A logical axis number may not be simultaneously configured as path axis and spindle. If this is the case, the plausibility check of the channel parameters generates an error message at start-up.

P-CHAN-00007

Name of a spindle in the NC channel

Description

This parameter defines the default name to address the spindle in the NC program. Please note that as long as a spindle is the main spindle, it can only be programmed using the main spindle name. The spindle name is a string.

Parameter

spindel[i].bezeichnung

Data type

STRING

Data range

Maximum 16 characters (length of spindle designation, application-specific)

Dimension

----

Default value

*

Remarks

The spindle names must start with the letter ‘S’. After that, all letters and digits are possible. Spindle names must be unique.

Parameterisation example: Configuration of a 1-channel system with 3 spindles. After start-up, spindle 'S1' with logical axis number 6 is the main spindle. It is addressed by the spindle name 'S'. The spindles with logical axis numbers 11 and 30 are programmed by their default names 'S2' and 'S3'.

spdl_anzahl                          3

:

main_spindle_ax_nr                   6-> -> ->-

main_spindle_name                    S ->-       /

#                                        /       /

spindel[0].bezeichnung               S1-<-       /

spindel[0].log_achs_nr               6-< -< -<-

:

spindel[1].bezeichnung               S2

spindel[1].log_achs_nr               11

:

spindel[2].bezeichnung               S3

spindel[2].log_achs_nr               30

* Note: The default value of variables is a blank string.

P-CHAN-00069

Spindle control by PLC via channel specific interface

Description

This parameter is set to TRUE if a spindle is controlled directly by the PLC and not by a spindle interpolator in the NC channel. Note here that all synchronisations are no longer (spindle) axis-specific but are output and processed by the channel-specific HLI range. The axis-specific syntax for programming spindle commands is still allowed, but is limited to specifying the speed and the M functions M3/M4/M5/M19.

Parameter

spindel[i].plc_control

Data type

BOOLEAN

Data range

0/1

Dimension

----

Default value

0

Remarks

 

Synchronisation definitions

P-CHAN-00081

Synchronisation type of the spindle S function

Description

This parameter defines the synchronisation type of the spindle S function. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].s_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1' the spindle function is executed without synchronisation. The PLC is not informed.

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                   0x00000001

spindle[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindle[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindle[0].s_synch 0x00000001

P-CHAN-00045

Synchronisation type for M03

Description

When the M03 function is used, the synchronisation type must be defined for the spindles used. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].m3_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1', the spindle-specific M function M03 is assigned the synchronisation type MVS_SVS. The PLC is also informed.

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                   0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindle[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindel[0].m3_synch   0x00020002

P-CHAN-00047

Synchronisation type for M04

Description

When the M04 function is used, the synchronisation type must be defined for the spindles used. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].m4_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1' the spindle-specific M function M04 is assigned the synchronisation type MVS_SNS. The PLC is also informed.

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                   0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindel[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindle[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindel[0].m4_synch   0x00020004

P-CHAN-00049

Synchronisation type for M05

Description

When the M05 function is used, the synchronisation type must be defined for the spindles used. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].m5_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1', the spindle-specific M function M05 is assigned the synchronisation type MVS_SVS. The PLC is also informed.

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                   0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindel[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindel[0].m5_synch   0x00020002

P-CHAN-00043

Synchronisation type for M19

Description

When the M19 function is used, the synchronisation type must be defined for the spindles used. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].m19_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1' the spindle-specific M function M19 is assigned the synchronisation type MNS_SNS. The PLC is also informed.

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                          0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindle[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindel[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindel[0].m19_synch   0x00000008

Gear change

Gear changing is only possible for the main spindle

P-CHAN-00052

Enable mechanical gear change of main spindle

Description

This parameter enables or disables gear changes for the main spindle.

Parameter

main_spindle_gear_change

Data type

BOOLEAN

Data range

0: Spindle gear changes disabled for the main spindle

1: Spindle gear changes enabled for the main spindle

Dimension

----

Default value

0

Remarks

The M functions to select the gear speeds of the main spindle M40–45 are activated by the parameter P-CHAN-00052 in the channel parameter list. The M functions M40–45 can be freely used if gear changes are disabled.

P-CHAN-00074

Direction of range selection for spindle gear change

Description

This parameter defines whether the lower or the higher gear range is selected when speed ranges overlap. If 'range_way' = 0 the search starts from the lowest speed range, if 'range_way' > 0 from the highest. The correct speed (gear) range is the one where the programmed spindle speed is first found.

Parameter

spindel[i].range_way

Data type

UNS16

Data range

0 ≤ range_way < MAX(UNS16)

Dimension

----

Default value

0

Remarks

Parameterisation example: The search starts from the lowest speed range.

spindel[0].range_way  0  (from bottom to top)

P-CHAN-00004

Automatic range selection for spindle gear change

Description

If the spindle gear range is to be be automatically determined by the NC kernel, this parameter must be set to 1. In this case the M functions M40 to M45 need not be programmed. This means that the correct gear range is determined implicitly by the programmed speed (S word).

Parameter

spindel[i].autom_range

Data type

BOOLEAN

Data range

0/1

Dimension

----

Default value

0

Remarks

Parameterisation example: The automatic range selection is enabled.

spindel[0].autom_range 1

P-CHAN-00058

Minimum spindle speed of a speed range (spindle gear change)

Description

The speed ranges of a spindle may be defined with or without overlap. If one range is not used, the corresponding values must be set to zero in the table.

Parameter

spindel[i].range_table[j].min_speed

Data type

UNS16

Data range

0 ≤ min_speed ≤ MAX(UNS16)

Dimension

rpm

Default value

0

Remarks

Parameterisation example: Definition of a speed range table for 6 ranges. Only the first four ranges are used.

spindel[0].range_table[0].min_speed 50

spindel[0].range_table[0].max_speed 560

spindel[0].range_table[1].min_speed 400

spindel[0].range_table[1].max_speed 800

spindel[0].range_table[2].min_speed 700

spindel[0].range_table[2].max_speed 3360

spindel[0].range_table[3].min_speed 3361

spindel[0].range_table[3].max_speed 4000

spindel[0].range_table[4].min_speed 0

spindel[0].range_table[4].max_speed 0

spindel[0].range_table[5].min_speed 0

spindel[0].range_table[5].max_speed 0

P-CHAN-00055

Maximum spindle speed of a speed range (spindle gear change)

Description

The speed ranges of a spindle may be defined with or without overlap. If one range is not used, the corresponding values must be set to zero in the table.

Parameter

spindel[i].range_table[j].max_speed

Data type

UNS16

Data range

0 ≤ max_speed ≤ MAX(UNS16)

Dimension

rpm

Default value

0

Remarks

Parameterisation example: Definition of a speed range table for 6 ranges. Only the first four ranges are used.

spindel[0].range_table[0].min_speed 50

spindel[0].range_table[0].max_speed 560

spindel[0].range_table[1].min_speed 400

spindel[0].range_table[1].max_speed 800

spindel[0].range_table[2].min_speed 700

spindel[0].range_table[2].max_speed 3360

spindel[0].range_table[3].min_speed 3361

spindel[0].range_table[3].max_speed 4000

spindel[0].range_table[4].min_speed 0

spindel[0].range_table[4].max_speed 0

spindel[0].range_table[5].min_speed 0

spindel[0].range_table[5].max_speed 0

Synchronous operation

P-CHAN-00038

Logical axis number of the slave axis (synchronous operation)

Description

This parameter defines an axis as the slave axis. The logical axis number P-CHAN-00035 must then be specified.

Parameter

synchro_data.koppel_gruppe[i].paar[j].log_achs_nr_slave

Data type

UNS16

Data range

1 ... MAX(UNS16)

Dimension

----

Default value

0

Remarks

Parameterisation example: The axis with the logical number 3 is defined in the coupled axis pair[1] within the coupled axis group[0] as slave axis.

synchro_data.koppel_gruppe[0].paar[1].log_achs_nr_slave 3

P-CHAN-00037

Logical axis number of the master axis (synchronous operation)

Description

This parameter defines an axis as the master axis. The logical axis number P-CHAN-00035 must then be specified.

Parameter

synchro_data.koppel_gruppe[i].paar[j].log_achs_nr_master

Data type

UNS16

Data range

1 ... MAX(UNS16)

Dimension

----

Default value

0

Remarks

Parameterisation example: The axis with the logical number 1 is defined in the coupled axis pair[1] within the coupled axis group[0] as the master axis.

synchro_data.koppel_gruppe[0].paar[1].log_achs_nr_master 1

P-CHAN-00061

Mode of the coupled axis pair (synchronous operation)

Description

Since spindle axes can be coupled in addition to the synchronous operation of path axes, the type of coupling must be specified for each pair. The coupling type must therefore be entered in this parameter.

Parameter

synchro_data.koppel_gruppe[i].paar[j].mode

Data type

UNS16

Data range

0: Coupled axis pair consists of path axes

1: Coupled axis pair consists of spindle axes

Dimension

----

Default value

0

Remarks

Parameterisation example:

The coupled axis pair [0] within the coupled axis group [0] consists of path axes (mode 0)

The coupled axis pair [1] within the coupled axis group [0] consists of spindle axes (mode 1).

#synchro_data.koppel_gruppe[0].paar[0].log_achs_nr_slave 4

#synchro_data.koppel_gruppe[0].paar[0].log_achs_nr_master 1

#synchro_data.koppel_gruppe[0].paar[0].mode 0

#synchro_data.koppel_gruppe[0].paar[1].log_achs_nr_slave 11

#synchro_data.koppel_gruppe[0].paar[1].log_achs_nr_master 6

#synchro_data.koppel_gruppe[0].paar[1].mode 1