0% found this document useful (0 votes)
86 views16 pages

Working With STEP7 V5 Getting Started

This document contains examples of PLC programs for automation processes using Ladder Logic (LAD). It includes examples of binary logic operations, timers, counters, and examples of conveyor control systems. The examples increase in complexity, with the final one asking students to explain the LAD programming of the previous conveyor control system example.

Uploaded by

kao sophearak
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views16 pages

Working With STEP7 V5 Getting Started

This document contains examples of PLC programs for automation processes using Ladder Logic (LAD). It includes examples of binary logic operations, timers, counters, and examples of conveyor control systems. The examples increase in complexity, with the final one asking students to explain the LAD programming of the previous conveyor control system example.

Uploaded by

kao sophearak
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

PLC SIEMENS SIMATIC S7

Working with STEP7 V5.0 Getting Started

KITTIPAT CHANASIT: [email protected]

FACTORY AUTOMATION LAB.

Binary Logic Operation: AND, OR


AND
LAD

OR

FBD A AN = =

I I Q Q

0.0 0.1 8.0 8.1


FACTORY AUTOMATION LAB.

O O =

I I Q

0.2 0.3 8.2

STL

KITTIPAT CHANASIT: [email protected]

Binary Logic Operation: Exclusive OR (XOR)


LAD

FBD
A AN O AN A = X X =
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

STL
I I I I Q I I Q 0.4 0.5 0.4 0.5 8.0 0.4 0.5 8.0

Assignment, Setting
AND
LAD

SET

FBD A A =

I I Q

1.0 1.1 8.0

A A S

I I Q

1.2 1.3 8.1

STL

KITTIPAT CHANASIT: [email protected]

FACTORY AUTOMATION LAB.

Resetting
LAD FBD O O R

I I Q

1.4 1.5 8.1

KITTIPAT CHANASIT: [email protected]

STL

FACTORY AUTOMATION LAB.

Setting / Resetting a Flip Flop


Dominant Reset
LAD

Dominant Set

FBD A S A R A =

I M I M M Q

1.2 0.0 1.3 0.0 0.0 9.3


FACTORY AUTOMATION LAB.

A R A S A =

I M I M M Q

1.3 0.0 1.2 0.0 0.0 9.3

STL

KITTIPAT CHANASIT: [email protected]

Connector
FBD

LAD

A A = A A A NOT = A =

I I M M I I M M Q

1.0 1.1 0.0 0.0 2.0 2.1 1.1 1.1 4.0

KITTIPAT CHANASIT: [email protected]

STL

FACTORY AUTOMATION LAB.

Timers: ON Delay (SD)


A L SD A R L T LC T A =
LAD

STL

S R

I 0.7 S5T#35S T 4 I 0.5 T 4 T 4 MW 0 T 4 QW 12 T 4 Q 8.5

Timer operation

Q
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

FBD

Timers: Stored ON Delay (SS)


STL LAD A L SS A R L T LC T A = I 0.7 S5T#35S T 4 I 0.5 T 4 T 4 MW 0 T 4 QW 12 T 4 Q 8.5

S R

Timer operation

Q
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

FBD

Timers: OFF Delay (SF)


A L SF A R L T LC T A =
LAD

STL

S R

I 0.7 S5T#35S T 4 I 0.5 T 4 T 4 MW 0 T 4 QW 12 T 4 Q 8.5

Timer operation

Q
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

FBD

Timers: Pulse (SP)


A L SP A R L T LC T A = LAD

STL I 0.7 S5T#35S T 4 I 0.5 T 4 T 4 MW 0 T 4 QW 12 T 4 Q 8.5

S R

Timer operation

Q
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

FBD

Timers: Extended Pulse (SE)


STL A L SE A R L T LC T A = I 0.7 S5T#35S T 4 I 0.5 T 4 T 4 MW 0 T 4 QW 12 T 4 Q 8.5 LAD
S R
Timer operation

Q
KITTIPAT CHANASIT: [email protected] FACTORY AUTOMATION LAB.

FBD

Counters
A CU A CD A L S A R L T LC T A =
LAD

STL

I C I C I C#20 C I C C MW C QW C Q

0.4 5 0.5 5 0.3


5 0.7 5 5 4 5 12 5 8.3

KITTIPAT CHANASIT: [email protected]

FBD

FACTORY AUTOMATION LAB.

Example #1

PLC - Start_Stop Generator Transporter - Sensor Display - Start_Stop Start_Stop

KITTIPAT CHANASIT: [email protected]

FACTORY AUTOMATION LAB.

Example #2

Example #1 Counter PLC Example #1 - Start Stop NO - Start Reset Counter O - Stop Display Counter

KITTIPAT CHANASIT: [email protected]

FACTORY AUTOMATION LAB.

Example #3

LAD

KITTIPAT CHANASIT: [email protected]

FACTORY AUTOMATION LAB.

You might also like