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 Wed Apr 24, 2019 2:55 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Apr 27, 2018 6:16 am 
Offline

Joined: Thu Mar 29, 2018 8:01 pm
Posts: 3
Hi
I use Raspberry Pi3 with newest Codesys V3.5 SP12 Patch 2. I updated all librarys.
I try to make communication witch PCA9685 pcb, using Adafruit PWM library and servo connected to channel 0. I don't use any shortcircuit in address pads, so address is 0.
I open "I2C example", compile and send to RPi, and nothing- servo doesnt run. In next step, I open SoftMotion Servo Example, compile and send to RPi and servo is running. But I don't understand how this program refer to Adafruit PWM library.

Why "I2C example" doesn't work with servo? Maybe, I have to make some additional configurations in codesys?
Could anybody can send, working example for RPi3, for servo connected to channel 0 (FBD will be best).


Thanks for any response.
Best regards.

Łukasz


Top
   
PostPosted: Fri Apr 27, 2018 8:30 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3253
Hi,
attached the example - FBD

BR
Edwin


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


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