siemens corporate design powerpoint-templates€¦ · unrestricted © siemens ag 2017 ... s7-1200...

15
Basic Training Handout 1 Quick Guide Step 7 Basic & SIMATIC S7-1200 Distributed IO www.siemens.com/s7-1200 Unrestricted © Siemens AG 2017 Unrestricted © Siemens AG 2017 Page 2 SLT / DF FA Procedure : Distributed I/O 3 Interface module 5 Configuration : Distributed I/O 8 Configuration I/O for IO device 15 Compile & Download Program 25 Example Program : Distributed IO 26

Upload: duongkiet

Post on 07-Apr-2018

225 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 1

Quick Guide

Step 7 Basic & SIMATIC S7-1200

Distributed IO

www.siemens.com/s7-1200 Unrestricted © Siemens AG 2017

Unrestricted © Siemens AG 2017

Page 2 SLT / DF FA

• Procedure : Distributed I/O 3

• Interface module 5

• Configuration : Distributed I/O 8

• Configuration I/O for IO device 15

• Compile & Download Program 25

• Example Program : Distributed IO 26

Page 2: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 2

Unrestricted © Siemens AG 2017

Page 3 SLT / DF FA

Procedure : Distributed I/O

Add IO device

Assign IP address ให้ ET 200SP IO

Assign IO controller

1

2

3

Assign name ให้ ET 200SP IO

4

Configuration I/O for IO device ตาม module จริง

Setting Potential group : Power supply of Light/Dark BaseUnit

5

6

IO Controller

Name : PLC_S7-1200_37

IP: 192.168.0.37

IO Device

Name : IO device_61

IP: 192.168.0.61

Assign tag name 7

Compile & Download Program 8

Unrestricted © Siemens AG 2017

Page 4 SLT / DF FA

3

ET200SP

IO Device

ET200SP

IO Device

2

ET200SP

IO Device

SIMATIC S7-1200

IO controller

1

ET200SP

IO Device

1. S7-1200 มี IO Device มากสุด 16 devices

2. มี submodule ไดสู้งสุด 256 modules

Distributed I/O

PROFINET

16

Page 3: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 3

Unrestricted © Siemens AG 2017

Page 5 SLT / DF FA

ET200SP distributed I/O system

① Interface module

② Light-colored BaseUnitBU..D with infeed of supply voltage

③ Dark-colored BaseUnitsBU..B for conducting the potential group further

④ I/O module

⑤ Server module (ships with the interface module)

⑥ Fail-safe I/O modules

⑦ BusAdapter

⑧ Mounting rail

⑨ Reference identification label

Unrestricted © Siemens AG 2017

Page 6 SLT / DF FA

Interface module and BusAdapter

IM 155-6 PN ST

IM 155-6 PN HF

• For standard RJ45 connector (BA 2×RJ45) ①

• For direct connection of the bus cable (BA 2×FC) ②

• For POF/PCF fiber-optic cable (BA2xSCRJ) ③

• As media converter for POF/PCF fiberoptic cable ⇔

standard RJ45 plug (BA SCRJ/RJ45) ④

• As media converter for POF/PCF fiberoptic cable ⇔

direct connection of the bus cable (BA SCRJ/FC) ⑤

• For glass fiber-optic cable (BA 2xLC) ⑥

• As media converter for glass fiber-optic cable ⇔

standard RJ45 plug (BA LC/RJ45) ⑦

• As media converter for glass fiber-optic cable ⇔

direct connection of the bus cable (BA LC/FC) ⑧

BusAdapter Interface module

Page 4: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 4

Unrestricted © Siemens AG 2017

Page 7 SLT / DF FA

BaseUnit and I/O Module

The I/O module determines the function at the

terminals. The controller detects the current

process state via the connected sensors and

actuators, and triggers the corresponding

reactions. I/O modules are divided into the

following module types:

• Digital input (DI, F-DI)

• Digital output (DQ, F-DQ, F-RQ)

• Analog input (AI)

• Analog output (AQ)

• Technology module (TM)

• Communication module (CM)

Unrestricted © Siemens AG 2017

Page 8 SLT / DF FA

1.Add IO device

Drag & Drop จาก Hardware

catalog มาที่ Network view

Double click ที่ Devices & network

เลือก Network view

1

Page 5: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 5

Unrestricted © Siemens AG 2017

Page 9 SLT / DF FA

Setting Interface Module

Double click to IO-device

IO Controller

Name : S7-1200_37

IP: 192.168.0.37

Unrestricted © Siemens AG 2017

Page 10 SLT / DF FA

2. Assign name ให้ ET 200SP IO

ตั้งช่ือใหก้บั device 2

Page 6: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 6

Unrestricted © Siemens AG 2017

Page 11 SLT / DF FA

3. Assign IP address ให้ ET 200SP IO

ตั้งช่ือ IP address

ใหก้บั device

3

Unrestricted © Siemens AG 2017

Page 12 SLT / DF FA

4. Assign IO controller : วิธีที่ 1

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

Drag & Drop จาก

S7-1200_37 ไปที่ IO device_61

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

IO Controller

Name : S7-1200_37

IP: 192.168.0.37

IO Device

Name : IO device_61

IP: 192.168.0.61

Page 7: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 7

Unrestricted © Siemens AG 2017

Page 13 SLT / DF FA

4. Assign IO controller : วิธีที่ 2

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

IO Controller

Name : S7-1200_37

IP: 192.168.0.37

IO Device

Name : IO device_61

IP: 192.168.0.61

คลิกซ้าย

ที่ Not assigned

เลือก S7-1200_37 ใหเ้ป็น IO Controller

Unrestricted © Siemens AG 2017

Page 14 SLT / DF FA

4. Assign IO controller : วิธีที่ 3

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

IO Controller

Name : S7-1200_37

IP: 192.168.0.37

IO Device

Name : IO device_61

IP: 192.168.0.61

คลิกที ่

Assign to new IO controller

เลือก S7-1200_37 เป็น IO controller

คลิกขวา

ที่ Not assigned

กด OK

แสดงการเช่ือมต่อใหอ้ตัโนมติั

หลงัการเลือก IO Controller

Page 8: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 8

Unrestricted © Siemens AG 2017

Page 15 SLT / DF FA

5.Configuration I/O for IO device ตาม module จริง

DQ HF

8x24VDC/0.5A

DIAG

DI HF

8x24VDC

DIAG

AI HF

4xRTD/TC

DIAG

AQ HF

2xU/I

DIAG

Baseunit มี 2 แบบ คือ

1. Dark BaseUnit (แผงสีเทา) ใชไ้ฟจากโมดูลทางซ้าย

2. Light BaseUnit (แผงสีขาว) ใชไ้ฟจากภายนอก

Light BaseUnit Dark BaseUnit

Interface module

BusAdapter

I/O Module

Server Module

Device configuration in TIA Portal

Unrestricted © Siemens AG 2017

Page 16 SLT / DF FA

Double click to IO-device

IO Controller

Name : PLC_S7-1200_72

IP: 192.168.0.72

IO Device

Name : IO device_61

IP: 192.168.0.61

Page 9: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 9

Unrestricted © Siemens AG 2017

Page 17 SLT / DF FA

5.1 Configuration DQ module

DQ HF

8x24VDC/0.5A

DIAG

Drag &Drop

ใหค้รบตามโมดูลที่เรามี

Drag & Drop

Unrestricted © Siemens AG 2017

Page 18 SLT / DF FA

5.2 Configuration DI module

DQ HF

8x24VDC/0.5A

DIAG

DI HF

8x24VDC

DIAG

Drag &Drop

ใหค้รบตามโมดูลที่เรามี

Drag & Drop

Page 10: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 10

Unrestricted © Siemens AG 2017

Page 19 SLT / DF FA

5.3 Configuration AI module

DQ HF

8x24VDC/0.5A

DIAG

DI HF

8x24VDC

DIAG

Drag &Drop

ใหค้รบตามโมดูลที่เรามี

AI HF

4xRTD/TC

DIAG

Drag & Drop

Unrestricted © Siemens AG 2017

Page 20 SLT / DF FA

5.4 Configuration AQ module

Drag &Drop

ใหค้รบตามโมดูลที่เรามี

AI HF

4xRTD/TC

DIAG

AQ HF

2xU/I

DIAG

Drag & Drop

Page 11: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 11

Unrestricted © Siemens AG 2017

Page 21 SLT / DF FA

5.5 Configuration Server modules

AI HF

4xRTD/TC

DIAG

Server modules

Drag & Drop

Unrestricted © Siemens AG 2017

Page 22 SLT / DF FA

6. Setting Potential group : Power supply of Light/Dark BaseUnit

คลิก Enable new potential group

(light Base Unit) เพื่อเปลี่ยนสีของแผงโมดูลจากสีเทาเป็นสีขาว

Click ที่แผงที่ตอ้งการจะเปลี่ยนสีให้ตรงกบัโมดูลจริง

Page 12: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 12

Unrestricted © Siemens AG 2017

Page 23 SLT / DF FA

Enable new potential group

(Light Base Unit) ให้ครบตามโมดูลจริง

Unrestricted © Siemens AG 2017

Page 24 SLT / DF FA

7. Assign tag name

คลิกเลือกที่แผงโมดูล

พิมพช่ื์อลงในคอลมัน์ จะเป็นการ Register PLC Tag

ลงใน Default tag table

Page 13: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 13

Unrestricted © Siemens AG 2017

Page 25 SLT / DF FA

8. Compile & Download Program

Compile Program

คลิกที่ S7-1200_37 เพื่อท าการ Compile

Download Program

คลิกที่ S7-1200_37 เพื่อท าการ Download

Compile Program แลว้ Download Program ลง S7-1200_37

Unrestricted © Siemens AG 2017

Page 26 SLT / DF FA

Example Program : Distributed IO

เม่ือ %I0.0 ON

จะท าให ้%Q2.0 ON

Page 14: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 14

Unrestricted © Siemens AG 2017

Page 27 SLT / DF FA

Chapter 7 : Easy to communicate between devices p.147 Chapter 10 : Editing devices and networks p.1206 Chapter 9 : Extended instructions p.350

Reference

Unrestricted © Siemens AG 2017

Page 28 SLT / DF FA

ET200SP : Base Unit ET200SP

Interface module

IM 155-6 DP HF

ET200SP

Interface module

IM 155-6 PN BA

ET200SP

Interface module

IM 155-6 PN HF

ET200SP

Interface module

IM 155-6 PN ST

Reference

Page 15: Siemens Corporate Design PowerPoint-Templates€¦ · Unrestricted © Siemens AG 2017 ... S7-1200 มี IO Device มากสุด 16 devices 2. ... • Analog input (AI) • Analog

Basic Training

Handout 15

Unrestricted © Siemens AG 2017

Page 29 SLT / DF FA

SIMATIC S7-1200 : Application example

https://support.industry.siemens.com/cs/products?ps=100&dtp=ExampleOfUse&mfn=ps&pnid=

13683&lc=en-WW

The TIA Portal Tutorial Center (videos)

https://support.industry.siemens.com/cs/document/106656707/the-tia-portal-tutorial-center-

(videos)?dti=0&pnid=13683&lc=en-WW

Industry Online Support

https://support.industry.siemens.com/cs

Automation task in 10 minutes or less

https://www.youtube.com/watch?v=0MhJfAtkcJI&list=PLC76AD9A5EF6E8212

SIMATIC S7-1200 : Manual

https://support.industry.siemens.com/cs/products?dtp=Manual&mfn=ps&pnid=13683&lc=en-US

Reference

Unrestricted © Siemens AG 2017

Page 30 SLT / DF FA