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 Dec 13, 2018 2:41 am

All times are UTC+01:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 37 posts ]  Go to page Previous 1 2 3
Author Message
PostPosted: Thu Dec 21, 2017 10:45 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
This example shows how to use a port-expander PCF8574 I2C without library/device description
from the application code.

Control Christmas lights:

https://www.youtube.com/watch?v=6vsxV-Bj6-4


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


Top
   
 
PostPosted: Wed Mar 07, 2018 6:54 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
Demo Project for VisuUaserManagement, show statistic who is logged in,
Change logged in user by iec code.


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


Top
   
 
PostPosted: Tue Mar 13, 2018 11:48 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
Using enocean with the Raspberry Pi
See:
https://youtu.be/mYaqMY8ddAk


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


Top
   
 
PostPosted: Wed Apr 25, 2018 10:41 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
How to use IO-Link devices with Ethercat and Gateway EL6224

https://www.youtube.com/watch?v=GadTtFrnUEc


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


Top
   
 
PostPosted: Fri Sep 07, 2018 12:47 pm 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
Play Sound on Raspberry PI. PiFace Interface is used.
RaspiSound_nonblocking Play several sound on the same time.
It uses the Omxplayer, should be installed.

Original post:
https://forum-de.codesys.com/viewtopic. ... 723#p18206


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


Top
   
 
PostPosted: Fri Oct 19, 2018 7:44 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
Login by ssh to the PI:

dmesg | grep -i tty
to check which serial interface is available / connected

1. remove ';' /etc/CODESYSControl_User.cfg in the section [SysCom] and adapt ttyS to your used device
for example if you use USB which is connected to USB0 then it should /dev/ttyUSB in this config file

[SysCom]
;Linux.Devicefile=/dev/ttyS

2. If you use the serial port which is on the GPIO's (3.3V!) then you need to enable it in
sudo raspi-config ( Interface options - login shell disabled and serial hardware enabled)

3. User https://store.codesys.com/serial-com.html as example on how to use the serial port in CODESYS


Top
   
 
PostPosted: Sat Nov 10, 2018 8:05 am 
Offline
Frequent User
Frequent User

Joined: Wed Jan 16, 2013 8:35 am
Posts: 104
even on Pi this is not really needed,
you could use on Raspian Stretch and use Chromium in full screen mode - this feels then similar to
targetvisu.
how to do this?

Add a CODESYS Project with webvisualisation and then:
Target VIsu is not possible but a good solution is on Rasbian(not Rasbian lite):

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart



lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@xset s off
@xset s noblank
@xset -dpms

@chromium-browser --noerrdialogs --kiosk --incognito http://localhost:8080/webvisu.htm


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 37 posts ]  Go to page Previous 1 2 3

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