
MCO 305 Design Guide
__ Software Reference __
92
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
Command
Description
Syntax
Parameter
TESTSETP
specifies recording data for test run
TESTSETP ms vi1
vi2 vi3 arrayname
ms = interval in ms
vi 1 … 3 = indices of the values
to be recorded
arrayname = array used for
recording
TESTSTART
starts the recording of a test run
TESTSTART no
no = number of measurements
to be carried out
TRACKERR
queries actual position error of an axis
res = TRACKERR
–
TIME
reads internal controller time
res = TIME
–
_GETVEL
changes sample time for AVEL and
MAVEL
var = _GETVEL t
t = sample time in ms
Interrupt Functions (INT)
Command
Description
Syntax
Parameter
DISABLE …
locks the execution of interrupts
DISABLE inttyp
inttyp = INT, COMBIT, …
ENABLE …
enables locked interrupts
ENABLE inttyp
inttyp = INT, COMBIT, …
ON APOS ..
call up a subprogram when the slave
position xxx is passed.
ON sign APOS xxx
GOSUB name
sign = passing direction
xxx = slave position [UU]
name = subprogram
ON COMBIT ..
call up a subprogram when Bit n of the
communication buffer is set
ON COMBIT n
GOSUB name
n = bit n of communication buffer
name = subprogram
ON DELETE ..
deletes a position interrupt: ON APOS,
ON MCPOS, or ON MAPOS
ON DELETE pos
GOSUB name
pos = value
name = subprogram name
ON ERROR ..
calls subroutine in the event of an error
ON ERROR GOSUB
name
name = subprogram name
ON INT . .
calls subroutine depending on input
signal
ON INT n GOSUB
name
n = input to be monitored
name = subprogram
ON MAPOS ..
call up a subprogram when the master
position xxx [MU] is passed.
ON sign MAPOS xxx
GOSUB name
sign = passing direction
xxx = master position
name = subprogram
ON MCPOS ..
call up a subprogram when the master
position xxx [MU] is passed.
ON sign MCPOS xxx
GOSUB name
sign = passing direction
xxx = master position
name = subprogram
ON PARAM ..
calls up a subprogram when a parameter
is altered
ON PARAM n
GOSUB name
n = parameter number
name = subprogram name
ON PERIOD ..
calls subroutine at regular intervals
ON PERIOD n
GOSUB name
n > 20 ms (time for re-call)
n = 0 (switch off function)
name = subprogram
ON STATBIT..
call up a subprogram when bit n of the
FC 300 status is set
ON STATBIT n
GOSUB name
n = bit n of the FC status
name = subprogram
ON TIME..
calls subroutine after single timing
ON TIME n GOSUB
name
n = time for re-call
name = subprogram
Содержание MCO 305
Страница 4: ......