The MC_WRITEPARAMETER function is used to write, via System Data Object (SCO) messaging, a variable in the servodrive defined by the Axis parameter.
Representation:
Representation:
Representation:
LD Axis
CAL MC_WRITEPARAMETER_Instance(AXIS:=AXIS, EXECUTE:=EXEC, PARAMETERNUMBER:=PN, SUBINDEX:=SI, VALUE:=X, LENGTH:=L, ERROR=>ERR, DONE=>DO, BUSY=>B, ERRORID=>ERRID)
Representation:
MC_WRITEPARAMETER_Instance(AXIS:=AXIS, EXECUTE:=EXEC, PARAMETERNUMBER:=PN, SUBINDEX:=SI, VALUE:=X, LENGTH:=L, ERROR=>ERR, DONE=>DO, BUSY=>B, ERRORID=>ERRID);
Description of the Input Parameters
The following table describes the input parameters that are in addition to the
basic parameters:
Parameter
|
Type
|
Comment
|
PARAMETERNUMBER
|
|
CANopen index number to be written.
|
SUBINDEX
|
|
CANopen subindex number.
|
VALUE
|
|
Value to write.
|
LENGTH
|
|
Length in bytes of the value to write.
|