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 Thu Feb 20, 2020 2:17 am

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Aug 29, 2018 1:15 pm 

Joined: Thu Aug 23, 2018 8:42 am
Posts: 43
Hi everyone,

I am trying to parametrize an AXIS_REF_SM3 subtype not via the GUI but via IEC code. Do I have to use the fb SMC3_WriteParameter for this? If yes, what is the difference between using that fb and simply assign a value, for example:

rclsAxis.fPositionPeriod:= 360.0;

There are also some parameters such as ScalingIncs, ScalingMotorTurns1, ScalingMotorTurns2 etc which I can't find inside the axis structure. I checked the device description xml and these parameters have a parameter ID but I am not sure whether they belong to the axis? Can fb SMC3_WriteParameter also be used for writting these parameters?

Thank you in advance,

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 6 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