Gear speed selection/parameter set changeover

The parameter P-CHAN-00052 (main_spindle_gear _change) in the channel parameter list activates the M functions M40-M45 to select the gear stages of the main spindle. The M functions M40-M45 can be freely used if gear changes are disabled.

M function

Meaning

M40-M45

Gear speed selection for the main spindle

Notice

notice

When gear changes P-CHAN-00052 (main_spindle_gear_change) are activated, the M functions M40-M45 must be assigned the synchronisation method MVS_SVS by the parameter P-CHAN-00041 (m_synch[..]).

Output is always in the spindle-specific range. The PLC_INFO bit is not used here.

Possible:

Not possible:

Programing Example

prg_example

Gear speed selection/parameter set changeover

Initialisation in the channel parameter list:

m_synch[40]               0x00000002     MVS_SVS

m_synch[41]               0x00000002     MVS_SVS

m_synch[42]               0x00000002     MVS_SVS

m_synch[43]               0x00000002     MVS_SVS

m_synch[44]               0x00000002     MVS_SVS

m_synch[45]               0x00000002     MVS_SVS

Activating gear changing:

main_spindle_gear_change   1

Activating gear changing
Activating gear changing