Information and Training CenterKnowledge for Automation Cấu hình phần cứng và khái niệm bộ nhớ... Information and Training CenterKnowledge for Automation Khái niệm bộ nhớ trong S7-300 n.
Trang 1Date: 29.10.15File: PRO1_04E.1
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Cấu hình phần cứng và khái niệm bộ nhớ
Trang 2Date: 29.10.15File: PRO1_04E.2
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Khái niệm bộ nhớ trong S7-300
n reten reten.
with Power
ON without battery
backup
RAM
Blocks:
• Khối logic (OB,FC,FB)
• Khối dữ liệu (DB)
Additional info.
Load memory:
EPROM
Flash-Work memory:
• OB,FC,FB
• DB
n reten reten.
Trang 3Date: 29.10.15File: PRO1_04E.3
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Khái niệm bộ nhớ trong S7-400
• Data blocks (DB)
Additional info
Load memory:
EPROM
Trang 4Date: 29.10.15File: PRO1_04E.4
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Load memory internal RAM
"Load"
Load memory Flash EPROM
"Load in EPROM"
Work memory RAM
Sau khi cắm Card nhớ vào thì phải Reset
bộ nhớ và sao chép dữ liệu vào vùng nhớ làm việc
Sections relevant for execution
"Load in PG"
Trang 5Date: 29.10.15File: PRO1_04E.5
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Cấu hình và cài đặt thông số cho phần cứng
Cấu hình thực Cấu hình thực tế và thông số cài đặt hiện hữu
của phần cứng
Cài đặt thông số Thiết lập các đặc tính của các module cần cài
đặt thông số, VD đặc tính khởi động, vùng nhớ.
Cấu hình chuẩn Cấu hình phần cứng và các thông số cài
Cấu hình Sắp xếp thanh gá module, các module phân bố
cổng I/O trong cửa sổ của cấu hình phần cứng
Chọn các thành phần trong danh mục của phần cứng.
Trang 6Date: 29.10.15File: PRO1_04E.6
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặt một trạm
Trang 7Date: 29.10.15File: PRO1_04E.7
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Khởi động cấu hình phần cứng
Trang 8Date: 29.10.15File: PRO1_04E.8
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Tạo ra cấu hình chuẩn của HardWare
Trang 9Date: 29.10.15File: PRO1_04E.9
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Khái quát địa chỉ các Modul
“Khái quát các địa chỉ”
Trang 10Date: 29.10.15File: PRO1_04E.10
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU
2x
Trang 11Date: 29.10.15File: PRO1_04E.11
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU: tổng quát
Trang 12Date: 29.10.15File: PRO1_04E.12
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU : Khởi động
Trang 13Date: 29.10.15File: PRO1_04E.13
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU: Retentive
Chỉ quan trọng khi
CPU không có pin
Backup
Trang 14Date: 29.10.15File: PRO1_04E.14
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU: Cycle / Clock Memory
Frequency (Hz) 0.5 0.62 1 1.25 2 2.5 5 10 Period (s) 2 1.6 1 0.8 0.5 0.4 0.2 0.1
Trang 15Date: 29.10.15File: PRO1_04E.15
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU : Protection - bảo vệ
Trang 16Date: 29.10.15File: PRO1_04E.16
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Đặc tính CPU : Diagnostics / Clock
Trang 17Date: 29.10.15File: PRO1_04E.17
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Lựa cấu hình HW và nạp vào module
Download
(only when CPU
is in STOP mode)
Trang 18Date: 29.10.15File: PRO1_04E.18
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Nạp cấu hình chuẩn HW vào PG
Trang 19Date: 29.10.15File: PRO1_04E.19
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Hiển thị các chuẩn đoán HW trong SIMATIC Manager
2x
Trang 20Date: 29.10.15File: PRO1_04E.20
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Các vấn đề có thể xảy ra với cấu hình
Cấu hình không thể biên dịch được
Trong S7 300, các khoảng trống trong cấu hình
CPU chuyển sang chế độ STOP vì Cài đặt thông số sai.
Các module tương tự cắm sai vị trí
Các tín hiệu module Analog sai do cài đặt các thông số không đúng
Vùng đo lường ở module analog sai
Trang 21Date: 29.10.15File: PRO1_04E.21
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Biến địa chỉ
2x
Trang 22Date: 29.10.15File: PRO1_04E.22
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Truy xuất bảng ký hiệu
Once with right
Trang 23Date: 29.10.15File: PRO1_04E.23
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Bài tập: Đọc và điều chỉnh cấu hình thực
Khởi động trình quản lý SIMATIC Manager
2 Mở chương trình "My Project" Cấu trúc chương trình được hiển thị
4 Kiểm tra xem nhập đúng module chưa (theo số thứ tự) ???
5 Nhập số thứ tự chính xác cho các module Hiển thị các thông số của CPU
6
Lưu cấu hình với tên"My Station„ và nạp cấu hình
Làm tương thích địa chỉ Địa chỉ giống như thiết bị huấn luyện S7 300 phiên bản B
Trang 24Date: 29.10.15File: PRO1_04E.24
SIMATIC S7
Siemens AG 1999 All rights reserved
Information and Training CenterKnowledge for Automation
Bài tập: Cài đặt tham số cho bộ nhớ đồng hồ và kiểm tra
Trong CPU cài đặt các thông số bộ nhớ đồng hồ MB10
1
3 Kiểm tra chức năng bằng lập trình OB1 với các câu lệnh L MB 10, T QB 9 (QB 5) QB9 (QB5) trên thiết bị mô phỏng phải nhâp nháy
Lưu và nạp cấu hình trong CPU
2
MB 10 nhấp nháy