Go to advanced search

by ranpitime
Sat Jan 27, 2018 9:17 am
Forum: Automation, sensing and robotics
Topic: [Help]: Using raspberry to control a industrial robot
Replies: 8
Views: 2051

Re: [Help]: Using raspberry to control a industrial robot

Hi, I would recommend to use CODESYS control on Raspberry Pi. (back in the plc world combined with the Pi world) You have probably direct connection via profinet or ethercat to the Robot?! (What Kind of Robot is it exactly?) Additional it is possible to read qr code on the pi...or even reading on th...
by ranpitime
Sun Jan 07, 2018 10:16 am
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Hi,
an example how to access the plc variables by a OPCUA Client written in python.
(Either running on the same Pi as the plc or running on an remote Pi, both is possible)

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


BR
ranpitime
by ranpitime
Thu Jan 04, 2018 9:49 am
Forum: Automation, sensing and robotics
Topic: Home temperature monitoring
Replies: 41
Views: 47972

Re: Home temperature monitoring

Hi,
for me a good option was to use the ruuvi tags (https://tag.ruuvi.com/)
temp/huminity collecting via bluetooth on Pi Zero W.
Main benefit is:
No wiring needed ;)
There is a python lib available to read them.

BR
ranpitime
by ranpitime
Sat Dec 23, 2017 6:49 am
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Hi,
there is a new release of CODESYS on Raspberry PI (3.5SP12)
available which support now the wonderful sense hat too.

And check the example how to access by phython the variables in the plc
https://www.youtube.com/watch?v=R9x-QX28to8

BR
ranpitime
by ranpitime
Sat Dec 23, 2017 6:42 am
Forum: Automation, sensing and robotics
Topic: Using the python OPCUA Client to access variables/symbols from an CODESYS plc
Replies: 0
Views: 2447

Using the python OPCUA Client to access variables/symbols from an CODESYS plc

Hi, if anyone need this: Many user ask for a posibility to access the variables/symbols fom the CODESYS Raspberry Pi plc. Here is an ecample opcua python client which does it - does match to the example which come with the CODESYS Pi package. https://www.youtube.com/watch?v=nNEAiRywtT0 Execute pyhto...
by ranpitime
Fri Dec 22, 2017 6:47 am
Forum: Automation, sensing and robotics
Topic: Beginner - Automation of Outside Christmas Lights
Replies: 60
Views: 8992

Re: Beginner - Automation of Outside Christmas Lights

Hi, an easy way to realize this is with CODESYS and use the PI as plc see this clip here: https://www.youtube.com/watch?v=6vsxV-Bj6-4 Use your phone to switch on the lights or even set a timer to set this jop daily. Sure this could even be the home not only the small model like in this Clip ;-) Merr...
by ranpitime
Thu Dec 14, 2017 7:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI does not work on current stretch version
Replies: 0
Views: 450

SPI does not work on current stretch version

Hi, are there any changes in the SPI implementation between Jessi and latest Stretch Version? My project does not work anymore for example I'm using a Piface with SPI: -using Jessi - >it works -using Stretch 2017-09-07-raspbian-stretch-lite.img -it works -using latest Stretch - >does not work -no ch...
by ranpitime
Wed Dec 06, 2017 4:04 pm
Forum: Automation, sensing and robotics
Topic: how to change the irq priority for nic / eth0
Replies: 2
Views: 666

Re: how to change the irq priority for nic / eth0

Hi, I need to have higher prio because we lose ethercat frames on receiving because the ethercat master is running in a prio/Task context higher than the irq's are handled. This is what I know and I try to change. So i check which is the usb iqr by cat /proc/interrupts and then try to change the pri...
by ranpitime
Tue Dec 05, 2017 8:53 pm
Forum: Automation, sensing and robotics
Topic: how to change the irq priority for nic / eth0
Replies: 2
Views: 666

how to change the irq priority for nic / eth0

Hi,
how could we change the prio for the irq for the eth0 network adapter?
How to do this?

BR
ranpitime
by ranpitime
Fri Oct 06, 2017 5:42 pm
Forum: Beginners
Topic: Raspberry Pi as PLC over profinet
Replies: 1
Views: 2299

Re: Raspberry Pi as PLC over profinet

Hi,
the CODESYS plc on Raspberry PI could be
ProfinetController or Profinet Device... so you have the choice how to connect to your Siemens control unit.

BR
ranpitime
by ranpitime
Mon Sep 18, 2017 6:03 pm
Forum: Official Foundation Display
Topic: 7" LCD and Sense hat
Replies: 2
Views: 1713

Re: 7" LCD and Sense hat

Hi,
thank you, totally right,
that has solved the problem, now both LCD and sense hat work together ;-) yeah.
BR
ranpitime
by ranpitime
Mon Sep 18, 2017 4:57 pm
Forum: Official Foundation Display
Topic: 7" LCD and Sense hat
Replies: 2
Views: 1713

7" LCD and Sense hat

Hi, does the official LCD touch Display work together with sense hat (PI3 - official LCD - sense hat)? In my case not: I get the following result on i2c detect. sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1...
by ranpitime
Sat Jul 29, 2017 11:34 am
Forum: Automation, sensing and robotics
Topic: Data read from Siemens(PLC)
Replies: 1
Views: 872

Re: Data read from Siemens(PLC)

Hi,
why not using Profinet - Pi as Profinet device / Siemens plc as Profinet Controller?

BR
ranpitime
by ranpitime
Sun Jan 15, 2017 5:22 pm
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Hi,
there is a new Version (3.5.10.0) available which now has additional the posibility to connect the CODESYS Raspberry PI as
Profinet-Device/Slave to a Profinet Master.

BR
ranpitime
by ranpitime
Mon Dec 12, 2016 7:53 pm
Forum: Troubleshooting
Topic: Codesys 3.5.9 for Raspberry Pi
Replies: 1
Views: 1050

Re: Codesys 3.5.9 for Raspberry Pi

Hi,

please do a
cat /tmp/codesyscontrol.log
this should give more Information maybe followed by a
top
to check if the runtime is still runing (you could see a codesyscontrol)

BR
ranpitime
by ranpitime
Wed Sep 21, 2016 4:20 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi Communication Using CODESYS
Replies: 1
Views: 1548

Re: Raspberry Pi Communication Using CODESYS

Hi Andreas, You have several options. 1.Network variables here is an example Project for this: http://store.codesys.com/mixedsearch/mixed/result/?q=network+variables&product_area= 2. Modbus example will follow 3 Ethernet IP Scanner the other is Ethernet IP Adapter here is an example Project for this...
by ranpitime
Sat Jul 30, 2016 10:10 am
Forum: Other programming languages
Topic: Codesys PiCAN
Replies: 1
Views: 1056

Re: Codesys PiCAN

Hi,
from my experiance pican is not very reliable on high busload or/and many slaves.
So if you have the option I would choose doein this by Ethercat/Canopen Gateway - EK1100 and EL6751.
This works reliable..
BR
ranpitime
by ranpitime
Thu Jul 21, 2016 6:05 pm
Forum: Beginners
Topic: pi 3B with codesys and ethercat coupler
Replies: 2
Views: 1103

Re: pi 3B with codesys and ethercat coupler

Hi,
this should work.

-could you login by ssh from your CODESYS pc to the PI?
-could you please check:

cat /tmp/codesyscontrol.log

and give us the output on this,

BR
ranpitime
by ranpitime
Mon Feb 01, 2016 6:47 pm
Forum: Other projects
Topic: Raspberry Pi as an OPC Server
Replies: 8
Views: 26268

Re: Raspberry Pi as an OPC Server

Hi,
you could use the CODESYS plc on raspberry, this gives you the possibility to access symbols by a OPC Client.
->on the Pi plc an OPCUA Server is embedded in the plc runtime.

BR
ranpitime
by ranpitime
Tue Jan 05, 2016 5:16 pm
Forum: Advanced users
Topic: Pi as Scada (webserver)
Replies: 5
Views: 3680

Re: Pi as Scada (webserver)

Hi,
an option would be to use CODESYS on Raspberry Pi,
OPCUA is supported (Embedded OPCUA Server in the plc runtime).
It is possible to access tags/symbols by an OPCUA Client and set for example Outputs or read Inputs (GPIO's)

BR
Ranpitime
by ranpitime
Sat Nov 14, 2015 5:55 pm
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Hi, Does anyone have experience with making drivers for CodeSys? We develop hardware for LinuxCNC/Machinekit and we are looking for other field of use for this hardware. This system consist of RasPi2 and of control boards connected by SPI port. We are done with board for 4 stepper motors, IO board ...
by ranpitime
Sat Nov 14, 2015 5:46 pm
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Hi! I successfully ran Codesys on my Raspberry Pi with several examples. I wonder though if it is possible to run the application without Codesys running on the PC? Thanks in advance! Hi, hm hope I understand you, do you mean run these applications without Pi or do you mean run them on the pi witho...
by ranpitime
Mon Nov 09, 2015 7:08 pm
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Hi rotemse,
you find the Debian package here:
"c:\Users\<yourwindowsUserName>\CODESYS Control for Raspberry PI\codesyscontrol_arm_raspberry_V3.5.7.x.deb"
You could deploy this to the Pi via CODESYS 'Update Pi Command'

or manual install by dpkg....

Regards
ranpitime
by ranpitime
Sun Nov 08, 2015 11:50 am
Forum: Other projects
Topic: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced
Replies: 239
Views: 275369

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Hi,
there is nothing to configure in Raspbian.
Only install the Debian package which contains the CODESYS runtime to the Raspbian,
that's all.
You have the choice on using the ethercat master on an separate Network (for example usb-nic)
or use the onboard. both is possible.

BR
ranpitime
by ranpitime
Sat Oct 10, 2015 6:01 pm
Forum: Automation, sensing and robotics
Topic: Codesys on the rpi
Replies: 4
Views: 2830

Re: Codesys on the rpi

Hi,

yes this is possible,
you need to add your device to /etc/CODESYSControl.cfg (if you have ttyUSB0)
you need to add the following:

[SysCom]
Linux.Devicefile=/dev/ttyUSB

BR
ranpitime

Go to advanced search