TE_UPLOADDRIVEPARAM
(Original Document)
Function Description
The TE_UPLOADDRIVEPARAM function is used to save the parameters of one servodrive to a memory zone of a PLC.
NOTE: Before executing this function, the servodrive status must be Disabled.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD Axis
CAL TE_UPLOADDRIVEPARAM_Instance(AXIS:=AXIS, EXECUTE:=EXEC, PARAMETERLIST:=AXISPARAMDESC_xx, ERROR=>ERR, DONE=>DO, BUSY=>B, COMMANDABORTED=>AB, ERRORID=>ERRID, PARAMETERSET=>PDS, SIZE=>S, ERRPARAMNUMBER=>ERRNB)
Representation in ST
Representation:
CAL TE_UPLOADDRIVEPARAM_Instance(AXIS:=AXIS, EXECUTE:=EXEC, PARAMETERLIST:=AXISPARAMDESC_xx, ERROR=>ERR, DONE=>DO, BUSY=>B, COMMANDABORTED=>AB, ERRORID=>ERRID, PARAMETERSET=>PDS, SIZE=>S, ERRPARAMNUMBER=>ERRNB);
Description of the Input Parameters
The following table describes the input parameter that is in addition to the basic parameters:
Parameter
Type
Comment
PARAMETERLIST
ANY_ARRAY_UINT
List of parameters: address and length. PARAMETERLIST is to be assigned to the corresponding array created by the MTM
NOTE: ParameterList is to be assigned to the ParamDesc variable taken from the configuration of the axis recipe in the Movement directory.
Description of the Output Parameters
The following table describes the output parameters that are in addition to the basic parameters:
Parameter
Type
Comment
PARAMETERSET
ANY_ARRAY_BYTE
Parameter buffer. PARAMETERSET is to be assigned to the corresponding array created by the MTM
SIZE
PARAMETERSET size in bytes.
ERRPARAMNUMBER
Faulty index and subindex numbers.
NOTE: PARAMETERSET can be assigned to the Recipe variable if there is only one recipe declared for the axis.