Skip to main content

Basic PLC Ladder Programming Examples 20


Basic PLC Ladder Programming Examples 20

Basic PLC Ladder Programming Training Examples for Beginners.

 Hi friends, here we are starting unique a series of Free Training on PLC Ladder Programming & tutorials. These PLC Ladder Programs are important to learn basics of Ladder programs.

 PLC Ladder Practice Problem: 
Summation of Continuous D Registers

·       Summing up the values of D registers from D101 to DN (the number of N is determined by users) and storing the operation result in D100. If the result < K-32768, the borrow flag = ON; if the result > K32767, the carry flag = ON

          Topics Covered in this example is FOR NEXT PLC instructions of Ladder Program.


Number of PLC Outputs Required
Y0 Borrow flag indicator. When the value in D100 < K-32768, Y0 = ON
Y1 Carry flag indicator. When the value in D100 > K32767, Y1 = ON

Number of PLC Data Registers Required
D100 Storing the sum of all D registers
D500 Storing the executing times of FOR-NEXT loop

PLC Ladder Programming:


Ladder Program Description:

·       The key of the program is to use the index register E1 together with FOR ~ NEXT loop to vary the addend D100E1. When E1 = K1, D100E1 represents D101; when E1 = K2, D100E1 represents D102. Also, when E1 = K10, D100E1 represents D110.
·       The number of continuous D registers is determined by the execution times of FOR ~NEXT loop which is set by D500. If the value in D500 ≤ 1, the loop will execute 1 time. If the value in D500 = K10, the loop will execute 10 times first and then execute the instructions behind 4. Index Registers E, F Design Examples 4-2 DVP-PLC Application Examples the loop.
·       In the first FOR ~ NEXT loop, E1 = K1, so D100E1 represents D101. ADD instruction is executed, and the operation result of D100 plus D101 is stored in D100. Since the summand D100 = K0, the value stored in D100 equals to the value in D101. At the same time, INC instruction is executed to set E1 = K2.
·       In the second FOR ~ NEXT loop, E1 = K2, so D100E1 represents D102. ADD instruction is executed, and the operation result of the values of D100 plus D102 is stored in D100. Since the summand D100 = D101, the value stored in D100 is the sum of the D101 and D102.
·       According to the same process, by the 10th FOR ~ NEXT loop the value in D100 will be the sum of D101, D102, D103, D104, D105, D106, D107, D108, D109 and D110.
·       If the operation result < K-32768, M1021 will be ON to activate the output coil Y0. Borrow flag indicator will be ON. On the contrary, if the operation result > K32767, M1022 will be ON to activate output coil Y1. Carry flag indicator will be ON in this case.
·        
Note: Example is only for training purposes. No practical implementation is done.

 See More PLC Ladder Programming Examples

PLC Ladder Programming Example 1
PLC Ladder Programming Example 2
PLC Ladder Programming Example 3
PLC Ladder Programming Example 4
PLC Ladder Programming Example 5
PLC Ladder Programming Example 6
PLC Ladder Programming Example 7
PLC Ladder Programming Example 8
PLC Ladder Programming Example 9
PLC Ladder Programming Example 10
PLC Ladder Programming Example 11
PLC Ladder Programming Example 12
PLC Ladder Programming Example 13
PLC Ladder Programming Example 14
PLC Ladder Programming Example 15
PLC Ladder Programming Example 16
PLC Ladder Programming Example 17



Comments

Popular posts from this blog

Build a 3000W Stereo Power Amplifier Circuit Diagram

How to Build a 3000W Stereo Power Amplifier Circuit Diagram? Lets start first we define 3000wstereo power amplifier circuit diagram this circuit has a power output of up to 1500W RMS power amplifier circuit is often used to power sound systems spelunker for outdor. In the final image can be seen a series of power amplifiers using 10 sets of power transistors for the ending. This power amplifier circuit using a transistor amplifier from the front, signal splitter, driver and power amplifier. Current consumption required is quite large power amplifier that is 15-20 A 1500W power amplifier circuits for this. Supply voltage needed by the power of this amplifier is the optimal working order symmetrical 130VDC (130VDC-130VDC ground). 1500W amplifier circuit below is a picture series of mono, stereo if you want to make it necessary to make two copies of the circuit. For more details can be viewed directly image the following 1500W power amplifier circuit. The series of High Power Amplifier 15

Solid State Switch For Dc Operated Gadgets

This solid state DC switch can be assembled using just three transistors and some passive components. It can be used to switch on one gadget while switching off the second gadget with momentary operation of switch. To reverse the operation, you just have to momentarily depress another switch.  The circuit operates over 6V-15V DC supply voltage. It uses positive feedback from transistor T2 to transistor T1 to keep this transistor pair in latched state (on/ off), while the state of the third transistor stage is the complement of transistor T2’s conduction state.  Initially when switch S3 is closed, both transistors T1 and T2 are off, as no forward bias is available to these, while the base of transistor T3 is effectively grounded via resistors R8 and R6 (shunted by the load of the first gadget). As a result, transistor T3 is forward biased and gadget 2 gets the supply. This is indicated by glowing of LED2.  Circuit diagram : Solid-State Switch For Dc-Operated Gadgets Circuit Diagram Whe

Amplifier Circuit 2 X 10 watt with IC AN7145

This is Stereo Amplifier On this schematic amplifier circuit  use the ic AN7145L , but can use the following IC : AN7145M AN7145H AN7146M AN7146H You can use of all ic above. anthis circuit need suply voltage with dual voltage . Minimum voltage 6 Volt and maximum voltage 20 volt . Voltage just (-) and (+), but (-) can also ground. Maximum power output 2 X 20 watt with minimum impedance 4 ohm. Click image to view enlarge. You can operate this circuit with  plugging input to , PC or other media can give signal audio.