PLC Programming Example

We can use the “FOR DO” command structure to find the sought value in an array. In the example below, I will explain how to run the “FOR DO” command in the STL language that I have prepared for you and understand the index number of a number in the array or whether this number…
PLC Flip-Flop Example Code

If you are using Control Logix plc, we will make a flip-flop example with AOI. I will show you how to easily make a flip-flop block with add-on instructions. Normally, you can use one Timer On and one timer-off instruction for the flip-flop circuit. But creating a new one for each flip-flop circuit would be…
PLC Programming Calculator Example

PLC Programming Example Design the circuit that adds up to 2 sensors (input), presses the F1 button, subtracts when the F2 button is pressed, divides when the F3 button is pressed, multiplies when the F4 button is pressed, and gives the output to the output. Let’s do the PLC simulation. I1.5 Start I0.0 1st…
Siemens PLC Example 4 separate buttons and motors

Siemens PLC Programming with Example Drive motors via siemens plc We will drive motors with four separate buttons, each motor has a different run command, and stop command. And we will add one rule for all motors that motors can run for more than 30 minutes, If any motor has been on for 30 minutes,…
Siemens PLC Programming Example Rail Travels Between Points

Siemens PLC Programming Example The load carrier on a rail travels between two points. This work, which is carried out by changing the direction of rotation of a motor, is started with a start button. When the trolley reaches the forward or back end point, it moves in the other direction without stopping. Pressing the…
RSLogix PLC Programming Motor Start/Stop program

Motor Start/Stop One Button Example We will examine how to start and stop an engine with a single button. Of course, while doing this, we plan to do this with minimum staff. In order to be suitable for the electrical circuit, instead of Latch and Unlatch (Set – Reset) commands the contacts that sealed it…
Siemens PLC Motor Stop with Timer PLC Programming Example

Siemens PLC Motor Start/Stop Programming Example Siemens PLC example: When the start button is pressed, the engine will start immediately and stop after 15 seconds. When the timer expires, the timer will open the circuit and the engine will stop running as the reverse contact is used. To start again, the start button needs to…






