EasyManuals Logo

Fastech Ezi-Step Plus-R User Manual

Fastech Ezi-Step Plus-R
114 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #46 background imageLoading...
Page #46 background image
- 46 -
46
Library for PC Program
// Change Axis Start Speed parameter as 200 then read it again.
nRtn = FAS_SetParameter(nPortNo, iSlaveNo, STEP_AXISSTARTSPEED, 200);
_ASSERT(nRtn == FMM_OK); // You have to check if the command di dn't execute
correctly.
nRtn = FAS_GetParameter(nPortNo, iSlaveNo, STEP_AXISSTARTSPEED, &lParamVal);
_ASSERT(nRtn == FMM_OK);
printf("Parameter [after] : Start Speed = %d \n", lParamVal);
// Check the value saved in the ROM.
nRtn = FAS_GetROMParameter(nPortNo, iSlaveNo, STEP_AXISSTARTSPEED, &lParamVal);
_ASSERT(nRtn == FMM_OK); // You have to check if the command didn't execute
correctly.
printf("Parameter [ROM] : Start Speed = %d \n", lParamVal);
// Edit the parameter value then save it in the ROM.
nRtn = FAS_SetParameter(nPortNo, iSlaveNo, STEP_AXISSTARTSPEED, 100);
_ASSERT(nRtn == FMM_OK); // You have to check if the command didn't execute
correctly.
nRtn = FAS_SaveAllParameters(nPortNo, iSlaveNo);
_ASSERT(nRtn == FMM_OK);
// Disconnect.
FAS_Close(nPortNo);
}
See Also
FAS_GetROMParameter

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Fastech Ezi-Step Plus-R and is the answer not in the manual?

Fastech Ezi-Step Plus-R Specifications

General IconGeneral
BrandFastech
ModelEzi-Step Plus-R
CategoryController
LanguageEnglish

Related product manuals