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 Mon Jan 27, 2020 4:25 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Jan 12, 2020 7:32 pm 
Offline

Joined: Sun Jan 12, 2020 4:19 pm
Posts: 5
Hi,
Very much a Noob with Codesys, our target EPEC 3606 ecu requires v2.3 to be used. I am working though some documentation to try to get to grips with the basics but most examples seem to be in V3.5.
Does anyone have some good engineering examples using V2.3 and in FBD language? I find it helps to follow through some existing programs from others..
Some basic projects you may have worked on or anything to help show me the way really.

Initially I just looking at good practice for handling Analogue and digital inputs... Switched and PWM outputs, with a bit of plain CAN I/O (rather than CANopen or other higher layer standards)

A vague request I know but many examples on forums are of non working programs people need help with so not always the best to learn from! :)
Thanks for any help. J. :D


Top
   
PostPosted: Mon Jan 13, 2020 11:15 am 
Offline

Joined: Wed Jan 08, 2020 1:50 pm
Posts: 13
Hi JayDee, I work for an Epec partner (although that can help only with hardware interfacing, unrelated for Codesys programming in general).
For FBD, you can try to use the examples in v3.5. If I recall correctly, it is only a bit more inconvenient to place blocks in 2.3 than in 3.5, but otherwise they are basically the same (long time I used FBD of 2.3 due to these irks), so you can use the 3.5 tutorials.


Top
   
PostPosted: Mon Jan 13, 2020 11:27 pm 
Offline

Joined: Sun Jan 12, 2020 4:19 pm
Posts: 5
Thanks, I'll give that a try.
I've worked with plenty of non-industrial programmable controllers so I did not think it would be this clunky an enviroment but codesys seems to take a very different approach and to be honest i've been quite disheartened so far, I've been working away for a few days with very limited success, everything seems to throws errors, libraries have lots of clashed, supposed new hardware will only work with the older version..etc. Its been a painful week. The lack of info to get started and learn has really surprised me.

I went back to the hardware supplier and asked if their engineers had any suitable examples I could learn from... apparently not. Their tool does create a structured 'blank' canvas but when they cant even supply a few basics...it does not look good for future support. currently they have suggested an online tutorial for 1000 euro but cant even tell me if that is for version 2.3 or 3.5!

But many thanks for your advise... I'll install 3.5, load a few examples and see if I can replicate in 2.3
Thanks, J.


Top
   
PostPosted: Tue Jan 14, 2020 8:52 am 
Offline

Joined: Wed Jan 08, 2020 1:50 pm
Posts: 13
Yes, IEC 61131 programming paradigm is very different from others. I think you will be more confortable programming in ST (Structured Text) for your first times, but please take time to learn also the others (Ladder to a desktop / embedded programmer seems an ugly language, but when you learn it and in what situations it shines you realize you were plenty wrong).

Nonetheless, I feel obliged to say that I never encountered "lots of library clashes" with Epec. Also they recommend, on the 3606 manual, Codesys proficiency to use their products: perhaps you did something wrong in Codesys and it blowed up. If you post some screenshot (or your project), I might help you troubleshooting it.

The reason they use 2.3 on the 3606 is that its CPU does not run 3.5. More powerful CPUs like those of 5050, EC44, XS6C and the 6000 series run 3.5, but they are more expensive (some significantly). But, except the ugly UI, Codesys 2.3 works well and it is very robust (other than not being a resource hog like 3.5 IDE...).


Top
   
PostPosted: Thu Jan 16, 2020 11:51 am 
Offline

Joined: Wed Jan 08, 2020 1:50 pm
Posts: 13
JayDeeTech wrote:
Thanks, J.
I am still willing to help you making your project work, if you want.


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