Programming instructions
NC Programming 17VRS Special NC Functions
11-1
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
11 Special NC Functions
11.1 Position Values with Analog Drives
The functions "PMP" and "NMP" supply the positive value of the axis which
is declared to be the operand by means of the axis letters when there is a
positive or negative edge at the measurement input AxxC.SRTBP.
Positive Memorized Position ‘PMP’
The command "PMP" supplies the position value of the axis which is de-
clared to be the operand by means of the axis letters when there is a positi-
ve edge at the measurement input AxxC.SRTBP.
PMP(<axis name>)
@50=PMP(X)
Note:
The "PMP" command "positive memorized position" is only
available with analog drives.
Negative Memorized Position ‘NMP’
The command "NMP" supplies the position value of the axis which is de-
clared to be the operand by means of the axis letters when there is a
negative edge at the measurement input AxxC.SRTBP.
NMP(<axis name>)
@51=NMP(Y)
Note:
The "NMP" command "negative memorized position" is only
available with analog drives.
11.2 APR Sercos Parameters
Digital Drive Data Read/Write ‘AXD’
The "AXD" command can be used to read or write the drive data from or
to the NC program for a digital drive which is connected to the MT-CNC
by means of a digital SERCOS interface . The drive datum which is to be
read or written is addressed using the data address declared in the com-
mand parameter.
<axis name>:<SERCOS ident number>
The letters X, Y, Z, U, V, W, A, B, C and S may be used as the axis
name. The extension [1..3] can also be appended to the letters. It is es-
sential that these axes also be parameterized and that they be digital
drives which are connected via the SERCOS interface.
<Group letter>-<parameter set number>-<data block number>
The group letter differentiates between:
•
standard data (S),
defined by the SERCOS standards committee, and
•
product data (P),
defined by the drive manufacturer.
The minus sign (-) is used as a delimiter character between the individual
parameters.
The parameter set number addresses the desired parameter set, and can
have a value from 0 to 7.
The corresponding drive datum is addressed via the data block number.
The data block number can have a value from 0 (as well as 0000) to
4095.
Syntax
Syntax
Data address
SERCOS ident number