CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Jul 27, 2017 1:37 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: GPIO not responding
PostPosted: Wed Dec 28, 2016 11:17 am 
Offline

Joined: Fri Dec 23, 2016 9:04 am
Posts: 5
Hi,

I have successfully plugged the GPIOs_P9_P8 device and map GPIO_49 output(QX6.1) to a variable using the device editor. I created a program to blink the variable and when the program executed I could see the variable changing. However, the actual output did not change. I have tried all the update methods(Enabled 1, 2, parent device). Did I miss something?

Best Regards,

Ricky Chang


You do not have the required permissions to view the files attached to this post.


Last edited by rickyc8888 on Wed Dec 28, 2016 11:31 am, edited 1 time in total.

Top
   
 Post subject: Re: GPIO not responding
PostPosted: Wed Dec 28, 2016 11:23 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2015
you need to add your Project to check...
BR
Edwin


Top
   
 Post subject: Re: GPIO not responding
PostPosted: Wed Dec 28, 2016 11:33 am 
Offline

Joined: Fri Dec 23, 2016 9:04 am
Posts: 5
Thanks for the reply. I have added the project to the original post. Thanks!


Top
   
 Post subject: Re: GPIO not responding
PostPosted: Wed Dec 28, 2016 5:59 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2015
Hi,
you need to specify the IO's see screenshot

BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
 Post subject: Re: GPIO not responding
PostPosted: Fri Dec 30, 2016 9:42 am 
Offline

Joined: Fri Dec 23, 2016 9:04 am
Posts: 5
Hi Edwin,

Thanks for the information. Now the output is working. But can you explain to me what the update option "Use parent device setting" and "Use parent bus cycle setting" mean? Who is the parent? Because when I use "Use parent device setting" the program crashes with an exception. "Use parent bus cycle setting" works but I don't know where this cycle time can be set.

Is there any document showing the steps to set up the program for Beaglebone? The only document I could find is the gettingstarted document, but the info are scarce. The step to configure the I/O like what you've shown me I couldn't find anywhere.

Thanks for the help!


Best Regards,

Ricky Chang


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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