Anda di halaman 1dari 32

For All My Friend at CSIO-CSIR Chandigarth PLC

Training

STEP BY STEP CONFIGURING PLC SIEMENS SIMATIC


S7-300 2 DP
26 Pebruary 2017

By.
Mr. Puput Dani Prasetyo Adi ( Indonesia )
Knowledge From
Mr. Ravindra Kumar Shabajee ( Mauritius )
Thanks Profesor

1|Step by Step Configure SIMATIC


STEP 1

Open Your Virtual Box -> Click Auto -> Click Show to run

STEP 2

Then Appear Windows XP Home like this -> Click SIMATIC Manager

2|Step by Step Configure SIMATIC


STEP 3
Then Will be appear WELCOME SIMATIC SIEMENS like this

And like this, you can Press the button Finish

3|Step by Step Configure SIMATIC


STEP 4
Then Appear like this -> Press Button Close

STEP 5
Click File -> New

4|Step by Step Configure SIMATIC


STEP 6
This is a New Project Display, make by your the Fill Name project

For example, your name Project is ISTC-TRAINING , The type is Project and The
Storage Location is a Default location dont change. And Press button OK.

5|Step by Step Configure SIMATIC


STEP 7
This is a first windows from your project

Right Click at your name project ISTC-TRAINING at a left side, Like this ->
Choose Insert New Object menu -> SIMATIC 300 Station

6|Step by Step Configure SIMATIC


STEP 8

Then will appear SIMATIC 300 (1), you can Double Click SIMATIC 300 (1)

In the SIMATIC 300 (1) you find Hardware -> Double Click Hardware

Now will appear Hardware Properties like this

7|Step by Step Configure SIMATIC


STEP 9
Go to SIMATIC 300 -> RACK -300 -> Rail, double Click Rail

Now you can See the 11 rail or rows, like this, and you can drag to show the full
rows or rail

8|Step by Step Configure SIMATIC


STEP 10

Now, you must determine Component which will occupy the fist line rail and etc
1. PS 300 ( Power Supply ) -> PS 307 5A

You can read the type of Power supply at the below section

PS 307 5A in the 1 rail row

And in the Slot 1 you can see the name module and Order number

9|Step by Step Configure SIMATIC


STEP 11

2. Select CPU 300 and CPU 315 2DP Like this

CPU 300 -> CPU 315 2 DP -> 6ES7 315-2AF00-0AB0

Please you coise the rail 2 and Double click at 6ES7 315-2AF00-0AB0 , then you
can see properties PROFIBUS interface DP Dont change the properties
Address. Please press the New button and Press OK.

10 | S t e p b y S t e p C o n f i g u r e S I M A T I C
General Properties Display about New Subnet PROFIBUS

Network Setting Properties Display about New Subnet PROFIBUS

11 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Transmission rate is 1.5 Mbps and Profile DP, dont change, and press OK.
And now he already create Subnet PROFIBUS(1) 1.5 Mbps, you can press OK.

CPU has been at the rail 2 with the PROFIBUS(1) : DP master system(1) wire
outomatically. Like this

You can look at CPU 315 -2 DP with the right click and see the CPU properties
And you can to remove PROFIBUS(1) : DP master system(1) and create again
with right click and Add Master System.

12 | S t e p b y S t e p C o n f i g u r e S I M A T I C
STEP 12
Open the PROFIBUS DP Properties -> ET 200M -> IM 153-2

Choose IM 153-2, please dont open IM 153-2, you can just select and drag to
Wire the PROFIBUS(1) : DP master system(1).
After you drag at the wire, will appear PROFIBUS Properties

Please your change address 3. 3 come from 20 + 21 = 3, and Press OK Button.

13 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Finally Display PROFIBUS(1) Wire Already connecting with ET 200 M ( IM 153-2)

STEP 13

Now we can containing slot rail 4 11, before you must be choose and click IM
153-2.

And you can go to properties hardware, Click SM-300 -> DI-300 (Digital Input)
14 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Choose SM 321 DI 16 x DC 24 V and Double Click ( 2 x )

Automatically enter to 4 & 5 slot, like this

To change properties module you must right click at 4 slot and Object Properties

15 | S t e p b y S t e p C o n f i g u r e S I M A T I C
You can to change the name of modules. Choose Name, create name Module
and press OK Button.

And you can change the Start and End Inputs, after you change you must press
OK Button.

16 | S t e p b y S t e p C o n f i g u r e S I M A T I C
STEP 14

now you must enter Digital Output (DO) to 6 & 7 slot

Choose SM 322 DO16XDC 24 V / 0,5 A.


If you get Alert like this, you must change the DO-300 with the other type but
with the same type name is DO 16 x DC 24v/0.5 A .

Click OK Button, and choose another type.


And the result like this, Slot 7&8 contain DO ( Digital Output ) with the
DO16Xdc24v/0.5 A

17 | S t e p b y S t e p C o n f i g u r e S I M A T I C
STEP 15

Now will containing slot 8-9 with AI ( Analog Input ) 2 x 12 bit. Like this

Double Click SM 331 A12x12Bit ( 2 x ) and automatically containing at 8 & 9 slot


like this image.

STEP 16

Now you must contain 10 & 11 slot to Digital Output, you can use AO-300 from
SM-300 and choose SM 332 AO2 x 12 Bit.

Double click at SM 332 AO2 x 12 Bit ( 2x ), automatically contain 10 & 11 slot.like


this image.

18 | S t e p b y S t e p C o n f i g u r e S I M A T I C
You must save and Compile

STEP 17

Back to SIMATIC MANAGER, Maximize CPU 315-2 DP and go to the blocks to


open OB1.

Before you must to made a Function ( FC1) From the blocks, right click and Insert
new object -> Function

19 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Now appear Properties Function, name FC1, dont change the Name and fill
the name at Symbolic Name : ex. TESTINGDIGITAL, dont change Created in
Language because we use a Ladder Diagram ( LAD ). Obey the Symbol Comment
blank. And press OK Button.

Double Click FC1

20 | S t e p b y S t e p C o n f i g u r e S I M A T I C
And Appear FC1 windows Like this, you can start ready to make ladder diagram
a Network in the rung. Fill the PCI : Title and Title the networks.

Create the FC1 Title : TESTING COMBINATION OF DIGITAL SIGNAL

You can create the Ladder Diagram from this menu

Klik the Ladder symbol and outomatically made in the rung.


Okey, I will make a 3 network,
1. Control For 1 Input & 1 Output
2. Control for 2 Input & 2 Output
3. 2 Digital Paralel and 1 Output

21 | S t e p b y S t e p C o n f i g u r e S I M A T I C
To insert the network, you can right click, like this.

Ladder Diagram Completely like this

Then Click File -> Save

22 | S t e p b y S t e p C o n f i g u r e S I M A T I C
STEP 18

Back to SIMATIC Manager, double klik OB1

Then Appear Propertis Organization Block like this, press OK Button

23 | S t e p b y S t e p C o n f i g u r e S I M A T I C
This is a OB1 Windows, click FC Blocks -> FC1 TESTINGDIGITAL

Then appear in the rung TESTINGDIGITAL in the box Like this

You can delete the box

24 | S t e p b y S t e p C o n f i g u r e S I M A T I C
STEP 19
Choose the Program control at the left menu

Select CALL and put the rung like this image, double click at CALL, CALL will be
automatically enter at the rung.

Now you give the name for CALL, Press F on the keyboard, like this, will be
appear the name of your project TESTINGDIGITAL, okey. Now you double click
at the name TESTINGDIGITAL

25 | S t e p b y S t e p C o n f i g u r e S I M A T I C
The rung change like this image

STEP 20
Open FC1 Windows again and select menu Options -> Simulate Modules

And now appears S7-PLCSIM- Simview1 display, click OK.

26 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Now Appear Select CPU Access Node display, Select PROFIBUS(1) adr: 2 and
Press OK Button.

Then appear SIMVIEW1 Display or Control for CPU, Input and Output Modules

27 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Select Insert menu for Input Variable and Output Variable

This is SIMVIEW1 Display or Control for CPU, Input and Output Modules
completely.

28 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Back to SIMATIC Manager and Select Menu PLC -> Download

Or choose the Download Image

Then appear this notice press YES Button

Comeback again at OB1 Windows, select PLC -> Download

29 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Choose the file menu and Save your project

Goto the Monitor Press the Sun glasses Image to On / Off

Press the this to make Always on top

Okey, finish you can choose the input ( 0, 1, 2, 3 ) and make your project

30 | S t e p b y S t e p C o n f i g u r e S I M A T I C
Okey, God Bless You All my Friend, you all the best

From
PUPUT
(INDONESIA)

31 | S t e p b y S t e p C o n f i g u r e S I M A T I C
32 | S t e p b y S t e p C o n f i g u r e S I M A T I C

Anda mungkin juga menyukai