Programming manual
CNC 8055
CNC 8055i
HIGH-LEVEL LANGUAGE PROGRAMMING
13.
·M· & ·EN· MODELS
SOFT: V02.2X
·369·
Variables
13.2.16 Sercos variables
They are used in the data exchange via Sercos between the CNC and the drives.
Read-only variables
TSVAR(X-C) TSVARS TSSVAR
It returns the third attribute of the Sercos variable corresponding to the "identifier". The third attribute
is used in particular software applications and its information is coded according to the Sercos
standard.
TSVAR(X-C) identifier ... for the axes.
TSVARS identifier ... for the main spindle.
TSSVAR identifier ... for the second spindle.
Write variables
SETGE(X-C) SETGES SSETGS
The drive may have up to 8 gear ratios (0 through 7). Sercos identifier 218, GearRatioPreselection.
It may also have up to 8 parameter sets (0 through 7). Sercos identifier 217,
ParameterSetPreselection.
With these variables the work range or gear ratio and the parameter set of each drive may be
modified.
SETGE(X-C) ... for the axes.
SETGES ... for the main spindle.
SSETGS ... for the second spindle
The 4 least significant bits of these variables indicate the gear ratio and the other 4 the parameter
set to be selected.
Read-and-write variables
SVAR(X-C) SVARS SSVARS
They permit reading or modifying the value of the Sercos variable corresponding to the axis identifier.
SVAR(X-C) identifier ... for the axes.
SVARS identifier ... for the main spindle.
SSVARS identifier ... for the second spindle.
(P110=SVARX 40)
It assigns to parameter P110 the third attribute of the Sercos variable of identifier 40
of the X axis which corresponds to "VelocityFeedback"