Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
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.