CAL MMF_SUB_Instance (S:=setAccel, R:=accelSet, AXIS_ID:=1, OPCODE:=MMF_setAccel, PAR3:=10000.0, MFB:=MFB, Q=>accelSet)
MMF_SUB_Instance (S:=setAccel, R:=accelSet, AXIS_ID:=1, OPCODE:=MMF_setAccel, PAR3:=10000.0, MFB:=MFB, Q=>accelSet) ;
Parameter
|
Data Type
|
Meaning
|
---|---|---|
S
|
Rising input starts subroutine.
|
|
R
|
BOOL
|
Resets block and prevents subroutine from starting (does not halt a subroutine in progress.)
|
AXIS_ID
|
Axis ID for this subroutine.
|
|
OPCODE
|
INT
|
Unique number of the subroutine to be executed.
|
PAR1
|
First parameter for this subroutine.
|
|
PAR2
|
UDINT
|
Second parameter for this subroutine.
|
PAR3
|
Third parameter for this subroutine.
|
|
PAR4
|
REAL
|
Fourth parameter for this subroutine.
|
Parameter
|
DataType
|
Meaning
|
---|---|---|
MFB
|
Must be connected to the MMFStart block of 200 registers (usually named MFB).
|
Parameter
|
DataType
|
Meaning
|
---|---|---|
Q
|
BOOL
|
True when this subroutine has been recognized by the motion controller (reset by R).
|
ERROR
|
INT
|
First error code that is generated upon attempting to start this subroutine (written only when Q rises).
|
RET1
|
UDINT
|
First return value from this subroutine.
|
RET2
|
REAL
|
Second return value from this subroutine.
|
RET3
|
REAL
|
Third return value from this subroutine.
|