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 Fri Sep 20, 2019 7:08 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu May 16, 2019 9:37 am 
Offline

Joined: Thu May 24, 2018 5:26 pm
Posts: 3
Hi,

I'm looking for a precise documentation of the following struct SM3_Baisc.FREE_ENCODER_REF. There's lots of variables but no description. Just things like "Parameter 1040". I've been looking for some standard PLCOpen documentation but without luck.

I've got a Pi connected to a Wago encoder input (750-631) through EtherCat.
I managed to map the diEncoderPosition variable as the documentation says (https://help.codesys.com/webapp/_sm_dri ... on=4.3.2.0).

However, I was wondering how one would check if the encoder had no inconsistencies. Let's say I have a resolution of 5000. I should expect the same number of points for A and B and also a rising edge for every turn on C.

At first, I thought the card would handle that but it turns out it almost works like a fast counter input. So there's no such checks or parameters.

Would anyone have a clue on how to proceed?
Thanks.


Top
   
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 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