CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Oct 19, 2017 7:19 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Dec 11, 2016 11:11 am 
Offline

Joined: Fri Dec 02, 2016 11:01 am
Posts: 1
Dear CoDeSys forum,
I have the 750-636 module for controlling my 24v dc motor with incremental encoder and I would want to make a ladder program using MC1_DC_ControlBasic.
I know that the motor is working because in I/O-Check with few minor tweaks I'm able to set target position etc. and the motor is working. There is also a green light for the motor being referenced.
When I try to use the mentioned above function block, set the target value and speed (max. 200), and set the xEnable, I get an error flag and message that the motor is not referenced.
I'm guessing that I need to feed the function block more information, already tried few thing but failed.
Can someone tell me what do I do wrong? I would be glad to know and solve this problem.

Greetings to all.


Top
   
PostPosted: Mon Dec 12, 2016 11:03 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
there are several inputs you have to set, some of them via a structure.
try the example and it will clarify what you need.
or make an export and i will have a look at it.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


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