CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Fri Jul 28, 2017 4:01 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat May 13, 2017 1:42 pm 
Offline

Joined: Thu Feb 23, 2017 5:07 pm
Posts: 38
Good morning !!
a question:
With an arduin connected to raspberry directly from usb you can control arduino via serial (and without any converter 485) from codesys?

Do you have some examples of Arduinian code to read the values?

Thank you, Alberto


Top
   
PostPosted: Sun May 14, 2017 10:17 am 
Offline

Joined: Thu Feb 23, 2017 5:07 pm
Posts: 38
Ok ..... you can !!
I did some tests and finally I saw them running.
Now, however, I would just need some help.
Can somebody give me some information on how to write an arduino code to control inputs and outputs?
On the web there are many examples in modbus via ethernet but not serial.
Do you have a few pieces of arduino code that show you how to read an input and set an output i codsys ?

Thanks a lot, Alberto


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