I am trying to write parameters using MC_WriteParameter, when I try to write for example parameter 1061 (fPositionPeriod) the FB returns the error SMC_WP_PARAM_INVALID.
However if I try to read the same parameter using MC_ReadParameter, it returns the value with no error.
It seems like this parameter is read-only access? If yes, why? And how can I know that beforehand?
If no, is there anyway to write this parameter in ST?
Thanks in advance,
Omar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Everyone,
I am trying to write parameters using MC_WriteParameter, when I try to write for example parameter 1061 (fPositionPeriod) the FB returns the error SMC_WP_PARAM_INVALID.
However if I try to read the same parameter using MC_ReadParameter, it returns the value with no error.
It seems like this parameter is read-only access? If yes, why? And how can I know that beforehand?
If no, is there anyway to write this parameter in ST?
Thanks in advance,
Omar
I already found a solution by using SMC_SetMovementType.