Frustrated
Downloaded current editor for Windows.... no tutorials or samples included.
 
Done messing with this. Can't find a single helpful tutorial to create a very basic 'hello world' in the simulator. One or two YT videos with accents so thick that can't be understood.
 
So freaking done.  

I'm going to go drink (I need one).
Reply 0 0
thiagoralves
While in the middle of your frustration with a software you have paid a total of $0 to use, have you at least considered checking the documentation?
Reply 6 0
fg71
Most people who have never used any PLC programming before will struggle. Its very common to believe a plc program is simplified abstraction of programming a micro-controller. The problem they face is when 2 or more state need to be controlled and be executed exactly as specific time. In the school they could teach you to use GATE and true table. This confusing part make it difficult when we apply this to PLC programming and later realize its behavior is different.
 
PLC in it simplest form is a controller (device) that take inputs (sensors), process logic and return output (actuators).
 
But lets do hello world based on Arduino API and use PLC logic.
 
In Arduino you declare variable to be your output (LED), in Arduino you have 2 function setup() and loop(), the first one is running only once, and the second is repeating forever. In plc program we say 1 cycle is when a program read from start to end. It read the input, process logic and update the output. And repeat this with the ext cycle.... and so on.
 
In Arduino you set a delay of 1000 millisecond to make a LED to blink every 1 second. In PLC programming you use timer to do the same. The Timer block have input, process logic and output. Some of this block are included in the standard IEC-61131-3. You could define your own Timer block using Structured Text by programming a Function Block. That is not different from using function in any programming language. The difference maybe are we call inputs for parameters or arguments and output for return value.

In school they could teach you the concept of ALU (Arithmetic Logic Unit).
 
End of the day most basic things in life could be done with something we do understand if we could not find or do the resource ourself.
Reply 0 0
Desire
Hello Everyone!
For the sake of Frustrated, I would just like to add that when using Chrome, nothing opens under the Docs tab of the Autonomy page. There is simply no documentation.
When using Microsoft Edge, the documentation opens.
I don't understand this question, I can't decide if it's a configuration issue or an Editor error.
Happy programming everyone!
Reply 0 0
thiagoralves
Clear your browser’s cache and it will open
Reply 0 0
Desire
Thank you, indeed.
Reply 1 0
fg71
Unfortunately many PLC IDE use IEC-61131-3 definition of function name. And many times a user need to read the description what that function does instead of guessing what short name does. The names that are used in IEC-61131-3 is based on a time when memory in systems was very limited. Now it possible to rename a function but that does not change anything for a person who has to first learn what TON stands for or any short name IEC-61131-3 have used.
 
Timer ON delay is a better name for a timer block and short name TON. There is so many things that could be so much better. The problem I guess is commercial software could not change it.
Humans or people have knowledge of programming would not consider a programming language to be useful if they use short names for all functions. Or read someone else code if everything use words with 3 character.
 
There are many reason people avoid plc programming and use something else.
Reply 0 0
PeBi
Es gibt viel mehr Gründe, warum man Anlagen und Maschinen mittels einer SPS nach IEC61131 programmiert und betreibt. 😊🛠️😊
Reply 0 0
Reply