- #Starting your first ladder logic program full version
- #Starting your first ladder logic program software
- #Starting your first ladder logic program code
- #Starting your first ladder logic program Pc
#Starting your first ladder logic program Pc
The program is also available as an APP for the smartphone, great for in between or for tackling spontaneous ideas, but without a PC it remains a PLC simulation.Ladder logic programs mimic the electrical circuit diagrams used for wiring control systems in the electrical industry. INO file, set the port and the appropriate board and click on upland. The file is then in the user folder -> PLC2 Data -> MCUCodes, open the. INO file is created using the "create code" button.īut first you can see whether this is OK as "compatible", if everything is OK, the file is generated using the "genrate" button.
#Starting your first ladder logic program code
Unfortunately, the code is not loaded directly onto the Arduino. Ī "PIN setup" can also be carried out via the I / O manager. With the Arduino UNO, the inputs are the digital PINs 1 and 2 and the analogue PINs A0 to A5, starting at 0.0 and the outputs are the digital PINs 4 to 11, also starting at 0.0. There is also a "PIN MAP", also known as "PIN OUT & PIN IN", which shows which inputs and outputs are "connected" to which contact numbers in the ladder diagram. The inputs are on the left, then the functions and on the right are the outputs and "flags")Īs with many programs, there is also a practical simulation here, which considerably simplifies "debugging" and the understanding of the "ladder diagram" or "ladder diagram" controls and regulations. There are all common functions such as setting and resetting, the TON (Timer On delay) and TOF (Timer Off delay) etc. The program is located in the middle and is based (or at least remembers) the IEC standard EN 61131-3 for graphic programming according to a ladder diagram. Links under the first contact line are inserted with 2. New "conductors" as new contacts are inserted with 1 lines.
On the right you can start the simulation, switch the inputs and see which position the outputs have The functions can be deleted with a right double click With a left double click you can "edit" the functions The program field is in the middle, the various functions are drawn in here using drag & drop. On the left are settings, functions and tools. The surface is simple, clear, tidy and very similar to many PLC / PLC programs.
#Starting your first ladder logic program software
The software and the hardware, like all PLC controls and regulators, work according to the input-processing-output principle.
#Starting your first ladder logic program full version
If you want to program an Arduino Mega or need more "lines" you have to activate the full version for a few euros. "plcladdersimulator2" is a pretty "powerful" software, the basic version with which you can work quite well for free. You do not need any programming knowledge but can create your program as usual in a PLC / PLC ladder editor. If you want to use your Arduino as a SPS / PLC or use a "controllino" right away, the "plcladdersimulator2" is great software. But the created program can also be output as an Arduino code (.INO file) and uploaded to the Arduino. The name is a bit misleading, of course you can wonderfully simulate PLC / PLC controls with the software. If you want to use the Arduino as a PLC or PLC, you can use the "plcladdersimulator2". There are many ways to program the Arduino.
Arduino as PLC with Ladder Edditor programming