To call specific parameter value of the drive
int FAS_GetParameter(
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 brought
lParamValue
Parameter values
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 RA M. This function reads the parameter number designated
to the RAM.
Refer to ‘FAS_SaveAllParameter’ library.