Edit the relevant parameter value and then save it to the RAM.
int FAS_SetParameter(
BYTE nPortNo,
BYTE iSlaveNo,
BYTE iParamNo,
long lParamValue
);
nPortNo
Port number of relevant drive
iSlaveNo
Slave number of relevant drive
iParamNo
Parameter number to be edited
lParamValue
Parameter value to be edited
FMM_OK : Command has been successfully performed.
FMM_NOT_OPEN : The drive has not been connected yet .
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports.
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port.
FMM_INVALID_PARAMETER_NUM : There is no parameter of designated iParamNo.
The function operates for only one parameter designated.
Parameters in the drive are saved to 2 memory areas. That is, when power is off, the
ROM saves parameters permanently . When power is on, parameters in the ROM are copied
to the DSP RAM and used. When the user changes parameters, it changes not parameters
in the ROM but parameter in the RAM. This function is to set the parameter number
designated from the RAM to the relevant value.
Refer to ‘FAS_SaveAllParameter’ library.