lập trình cho PLC S7 300

46 472 0
lập trình cho PLC S7 300

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Xử lý cố SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.1 Information and Training Center Knowledge for Automation Tổng quan - Chuẩn đoán hệ thống Ngắt chuẩn đoán Chuẩn đoán CPU phát lỗi chương trình sử dụng Lỗi OB I/O-Module CPU Chuẩn đoán CPU phát lỗi hệ thống Vùng đệm chuẩn đoán Chuẩn đoán toàn module, phát lỗi lệnh ngắt chuẩn đoán Danh sách trạng thái hệ thống SFC CPU thông báo SIEMENS PG 740 SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.2 Information and Training Center Knowledge for Automation Tìm lỗi làm dừng CPU CP SIMATIC S7 Siemens AG 1999 All rights reserved U Date: File: 29.10.15 PRO1_12E.3 Information and Training Center Knowledge for Automation Gọi công cụ "Module Information" SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.4 Information and Training Center Knowledge for Automation Bảng thông tin Module: "Diagnostic Buffer" SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.5 Information and Training Center Knowledge for Automation Giải thích thông báo lỗi SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.6 Information and Training Center Knowledge for Automation Mở khối có chứa lỗi SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.7 Information and Training Center Knowledge for Automation Chuẩn đoán với I Stack, B Stack, L Stack Cấu trúc chương trình Nội dung khổi có lỗi Error location Các khối có lỗi nằm B Stack Vị trí lỗi Giá trị biến tạm thời đến thời điểm ngắt nằm L Stack Nội dung ACCU, ghi từ trạng thái.v.v (đến thời điểm ngắt) nằm I Stack SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.8 Information and Training Center Knowledge for Automation B Stack SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.9 Information and Training Center Knowledge for Automation I Stack SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.10 Information and Training Center Knowledge for Automation Gọi khối SFC 52 Network 2: User message when limit value exceeded CMP>R #analog value_ normalized IN1 5.000000e+003 IN2 SFC 52 M 90.1 P M 0.1 EN >=1 M 0.1 SEND W#16#A901 #dummy #analog value_ normalized SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: EVENTN RET_VAL #error_sfc52 INFO INFO 29.10.15 PRO1_12E.32 ENO Information and Training Center Knowledge for Automation Cấu trúc thông số EVENTN khối SFC 52 EVENTN 15 14 13 12 11 10 Nhóm cố Nhóm cố Nhận dạng Số cố SIMATIC S7 Siemens AG 1999 All rights reserved Nhận biết Số kiện A B đoạn văn chuẩn cho kiện khác (xem sổ tay chức chuẩn hệ thống) Đoạn văn tự do, xác định qua thiết kế thông báo lỗi C F Phục vụ cho mở rộng sau Xác định có cố vào hay không, cố bên hay bên ngoài, ví dụ: Bit 8= "1" > thông báo vào Bit 8= "0" > thông báo Bit 10= "1" > lỗi Bit 11= "1" > lỗi Các thông báo tiếp tục từ đến 255 với nhóm cố Date: File: 29.10.15 PRO1_12E.33 Information and Training Center Knowledge for Automation Các module có khả chuẩn đoán Thông số module có khả chuẩn đoán: Tác động khởi động ngắt chuẩn đoán OB 82 lỗi xảy SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.34 Information and Training Center Knowledge for Automation Hiển thị Hardware Diagnostic SIMATIC Manager 2x SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.35 Information and Training Center Knowledge for Automation Bài tập: Cho phép thông báo chuẩn đoán SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.36 Information and Training Center Knowledge for Automation Bài tập: Đưa thông báo bạn * ??? TRUE W#16#9101 * SFC 52 EN * SEND RET_VAL MW 52 EVENTN MW 54 INFO1 MD 56 INFO2 Một công tắc phải nối với cổng vào EN lập trình LAD ! SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.37 Information and Training Center Knowledge for Automation Bài tập: Cho phép ngắt chuẩn đoán mô lỗi phần cứng Bước Các thực Kết Cho phép diagnostic interrupt Module analog (HW Config.) Nạp cấu hình vào CPU Kéo đầu nối (front connector) khỏi module analog ! Đèn "SF" sáng module analog báo lỗi phần cứng Kích hoạt công cụ "Diagnose Hardware" Cấu hình mở online Giải thích nguyên nhân lỗi với công cụ Thông báo "Power supply failure" cho nguyên nhân lỗi SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.38 Hardware diagnostic kích hoạt Information and Training Center Knowledge for Automation Thông tin hệ thống SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.39 Information and Training Center Knowledge for Automation Tổng quan thông tin, trạng thái hệ thống SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.40 Information and Training Center Knowledge for Automation Thông tin, trạng thái module: Mục "Memory" SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.41 Information and Training Center Knowledge for Automation Thông tin, trạng thái module: Mục " Scan Cycle Time" SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.42 Information and Training Center Knowledge for Automation Thông tin, trạng thái module: Mục"Time System" in the SIMATIC Manager: PLC -> Set Date and Time SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.43 Information and Training Center Knowledge for Automation Thông tin, trạng thái: Mục "Performance Data" in the SIMATIC Manager: • Blocks folder -> Properties SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.44 Information and Training Center Knowledge for Automation Performance Data: Blocks - Dữ liệu chính: Các khối SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.45 Information and Training Center Knowledge for Automation Bài tập: Đọc thông tin hệ thống SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.46 Information and Training Center Knowledge for Automation [...]... sang chế độ STOP ngay lập tức 2 Hãy làm rõ nguyên nhân gây ra lỗi với diagnostic buffer và các stack Trả lời câu hỏi theo bảng cho dưới đây 3 Đặt công tắc I1.0 và I 1.2 trở lại trạng thái CPU ở chế độ RUN off ban đầu SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: Kết quả 29.10.15 PRO1_12E.13 Information and Training Center Knowledge for Automation Các lỗi logic ?? SIMATIC S7 Siemens AG 1999... Structure (Cấu trúc chương trình) SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.24 Information and Training Center Knowledge for Automation So sánh các khối (1) .see next page SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.25 Information and Training Center Knowledge for Automation So sánh các khối (2) SIMATIC S7 Siemens AG 1999 All rights... xảy ra SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.34 Information and Training Center Knowledge for Automation Hiển thị Hardware Diagnostic trong SIMATIC Manager 2x SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.35 Information and Training Center Knowledge for Automation Bài tập: Cho phép các thông báo chuẩn đoán SIMATIC S7 Siemens AG 1999... khảo “Reference Data“ SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.15 Information and Training Center Knowledge for Automation Lọc dữ liệu tham khảo “Reference Data“ SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.16 Information and Training Center Knowledge for Automation Tham trỏ chéo “Cross References“ SIMATIC S7 Siemens AG 1999 All rights... chéo “Cross References“ SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.18 Information and Training Center Knowledge for Automation Reference Data: Tìm kiếm SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.19 Information and Training Center Knowledge for Automation Sử dụng Cross References để sửa khối 2x SIMATIC S7 Siemens AG 1999 All rights reserved... S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.21 Information and Training Center Knowledge for Automation Sự xếp đặt của I,Q,M,T,C SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.22 Information and Training Center Knowledge for Automation Unused Symbols / Addresses without Symbols (Các ký hiệu không được sử dụng/địa chỉ không có ký hiệu) SIMATIC S7. .. HW-Station "My Station" Cấu trúc của đề án được hiển thị 3 Truyền tải tất cả các khối từ chương trình S 7 "ERROR" xuống CPU Chương trình lỗi được downloaded 4 Thực hiện việc khởi động mới CPU chuyển sang chế độ STOP 5 Tìm và sửa lỗi là nguyên nhân làm CPU CPU lại trở lại chế độ RUN chuyển sang chế độ STOP SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.12 Information and Training... • Có cho phép chạy băng tải chạy ở chế độ ấn? • Đặt công tắc ở chế độ Automatic ! • Chai có dừng lại ở cảm biến làm đầy? • Có xảy ra thông báo, khi tình trạng đầy dưới mức cực tiểu? • Số gói được đóng được hiển thị ở bộ chỉ thị số? SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.27 Information and Training Center Knowledge for Automation Các lỗi thất thường SIMATIC S7 Siemens... các thông báo CPU) Displaying CPU Messages SIMATIC S7 Siemens AG 1999 All rights reserved Date: File: 29.10.15 PRO1_12E.29 Information and Training Center Knowledge for Automation Viết thông báo của bạn vào Diagnostic Buffer CPU Chú ý e.g PG, OP Bộ đệm gửi SEND = TRUE 1 2 SFC 52 Gửi không đồng bộ đến chương Trình người sử dụng Diagnostic buffer SIMATIC S7 Siemens AG 1999 All rights reserved Date: File:... EVENTN 15 14 13 12 11 10 9 Nhóm sự cố 1 9 Nhóm sự cố Nhận dạng Số sự cố SIMATIC S7 Siemens AG 1999 All rights reserved 8 7 6 Nhận biết 5 4 3 2 1 0 Số sự kiện A B là các đoạn văn chuẩn cho các sự kiện khác nhau (xem sổ tay các chức năng chuẩn và hệ thống) Đoạn văn tự do, được xác định qua thiết kế thông báo lỗi C F Phục vụ cho mở rộng sau này Xác định có sự cố vào hoặc ra hay không, một sự cố bên trong

Ngày đăng: 29/10/2015, 10:54

Từ khóa liên quan

Mục lục

  • Xử lý sự cố

  • Tổng quan - Chuẩn đoán hệ thống

  • Tìm các lỗi làm dừng CPU

  • Gọi công cụ "Module Information"

  • Bảng thông tin về Module: "Diagnostic Buffer"

  • Giải thích các thông báo lỗi

  • Mở một khối có chứa lỗi

  • Chuẩn đoán với I Stack, B Stack, L Stack

  • B Stack

  • I Stack

  • L Stack

  • Bài tập: Tìm lỗi dẫn đến Stop và xoá chúng

  • Bài tập: Xử lý lỗi với I Stack, B Stack

  • Các lỗi logic

  • Hiển thị dữ liệu tham khảo “Reference Data“

  • Lọc dữ liệu tham khảo “Reference Data“

  • Tham trỏ chéo “Cross References“

  • Lọc tham trỏ chéo “Cross References“

  • Reference Data: Tìm kiếm

  • Sử dụng Cross References để sửa khối.

Tài liệu cùng người dùng

Tài liệu liên quan