CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Dec 17, 2018 11:38 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 27, 2018 10:27 am 
Offline

Joined: Thu Aug 23, 2018 8:42 am
Posts: 29
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


Top
   
PostPosted: Thu Sep 27, 2018 2:42 pm 
Offline

Joined: Thu Aug 23, 2018 8:42 am
Posts: 29
I already found a solution by using SMC_SetMovementType.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited