gecko
Hello,
great project! Thank you.
 
I started with the "Hello" on a Raspi and made some changes to it.
Now I would like to write in FBD. So I have some questions:
1. can I change the hello from Ladder to FBD?
2. how can I open a Project to write in FBD?
3. is there any discription or help available at the moment?
Reply 0 0
gecko
Found the big grey + to get new files and to choose the language for the new file. remain question 1 and 3  :-)
Reply 0 0
thiagoralves
From the hello world project you can create another program in the language you want by clicking on the grey "+" button (as you mentioned). One project can have multiple independent programs, and they all can run concurrently if you want. All you have to do is create a task for each program. If you don't want to run two programs at the same time (i.e. the original hello world and your new FBD program), you can just redirect the task that is associated with the hello world program to be associated with your new FBD program. You can do it on the instances list, that can be found on Config0 -> Res0 on the left panel. If there is no task associated with a program, this program won't be executed. Therefore, after redirecting the task to your new program, you can even erase the original hello world program from your project.

About instructions, I'm planning to add some tutorials on the website soon. I'm just finishing the code for a new improved version of OpenPLC, and then I will start working on the tutorials.
Reply 0 0
gecko
Thank you for the description. I got on with my first FBD program and could add it and its working :-)
only I got allways errors when I tried to build a TOF or TP block because I don't know what to write in the Variable connected to  PT.
I tried #T2s and #T2000ms and lots of other stuff... but allways got errors. Who can tell me the answer?

So I'm very intrested in your toutorials coming soon :-)
Reply 0 0
thiagoralves
The right syntax is T#time
ex: T#2s or T#2000ms etc...
Reply 0 0
gecko
Oh thank you!!! why didn't I try that sometimes it's so easy and I don't get it...
Reply 0 0
skv
gecko wrote:
So I'm very intrested in your toutorials coming soon :-)


Here is link to my post on the forum with some tutorials and documentation for PLCOpenEditor.
Reply 0 0
Reply