这些是系统变量,一般用在主轴变速上
$P_SAUTOGEAR[n] Automatic gear stage change Cross.
Description:
$P_SAUTOGEAR[n]
n: Number of spindle
Automatic gear stage change (M40) is programmed.
0: Gear stages are requested by M41..M45
1: Gear stage is calculated and requested according to programmed speed (S)
(M40 automatic gear stage change is active)
Description of array limits:
n: Spindle number
0 ... Max. spindle number
for the spindle numbers configured in MD 35000 SPIND_ASSIGN_TO_MACHAX.
$AC_SGEAR[n] Active spindle gear stage Cross.
Description:
$AC_SGEAR[n]
n: Number of spindle
Active spindle gear stage
1: 1. Gear stage is active
....
5: 5. Gear stage is active
Description of array limits:
n: Spindle number
0 ... Max. spindle number
for the spindle numbers configured in MD 35000 SPIND_ASSIGN_TO_MACHAX.