Đăng Ký
Kết quả 1 đến 10 của 80

Threaded View

  1. #11
    Thành viên cấp 10
    Ngày tham gia
    Apr 2011
    Bài viết
    1,221
    Thanks
    17
    201 lượt trong 169 bài viết
    Trích dẫn Gửi bởi CongTu.Bui Xem bài viết
    mình tạo topic này nhằm tổng hợp các lỗi liên quan đến download/upload khi làm việc với S7-200.

    lỗi đầu tiên đây, anh em tham khảo và tư vấn giúp mình.
    số là mình viết chương trình có độ dài # 8200 byte thì download vào 224XP dễ dàng.
    nhưng khi mình viết lên khoảng 8400 byte thì lại báo lỗi.
    LOI KHONG DONWLOAD.jpg
    LOI KHONG DONWLOAD 1.jpg

    anh em nào gặp lỗi này rồi xin chỉ giáo.
    Vào PLC-information xem code lỗi của non-fatal là gì
    SM Bit Non-Fatal Error Description
    SM0.2 Retentive Data Lost
    SMB9 Module 0 I/O Error Byte
    SM1.3 Divide by Zero Error
    SMB11 Module 1 I/O Error Byte
    SM3.0 Parity Error
    SMB13 Module 2 I/O Error Byte
    SM4.0 Comm. Interrupt Queue Overflow
    SMB15 Module 3 I/O Error Byte
    SM4.1 Input Interrupt Queue Overflow
    SMB17 Module 4 I/O Error Byte
    SM4.2 Timed Interrupt Queue Overflow
    SMB19 Module 5 I/O Error Byte
    SM4.3 Run-Time Programming Problem
    SMB21 Module 6 I/O Error Byte
    SM5.0 I/O Error (any I/O error bit set)
    SM5.1 Too many digital points
    SM5.2 Too many analog points
    Đây là bảng mã lỗi :
    Hexadecimal Error Code Compile Errors (Non-Fatal)
    0080 Program is too large for the CPU to generate executable code; please reduce the program size
    0081 Stack underflow; split the network into multiple networks
    0082 Illegal instruction; check instruction mnemonics
    0083 Missing MEND, or instruction is not allowed in main program; add MEND instruction or remove incorrect instruction
    0084 Reserved
    0085 Missing FOR; add FOR instruction or delete NEXT instruction
    0086 Missing NEXT; add NEXT instruction or delete FOR instruction
    0087 Missing Label (LBL, INT, SBR); add the appropriate label
    0088 Missing RET or instruction not allowed in a subroutine; add RET to the end of the subroutine or remove incorrect instruction
    0089 Missing RETI or instruction not allowed in an interrupt routine; add RETI to the end of the interrupt routine or remove incorrect instruction
    008A Reserved
    008B Illegal JMP to or from an SCR segment
    008C Duplicate Label (LBL, INT, SBR); rename one of the labels
    008D Illegal Label (LBL, INT, SBR); ensure that the number of labels allowed has not been exceeded
    0090 Illegal parameter; verify the allowed parameters for the instruction
    0091 Range error (with address information); check the operand ranges
    0092 Error in the count field of an instruction (with count information); verify the maximum count size
    0093 FOR/NEXT nesting level exceeded
    0095 Missing LSCR instruction (Load SCR)
    0096 Missing SCRE instruction (SCR End) or disallowed instruction before the SCRE instruction
    0097 User program contains both unnumbered and numbered EU/ED instructions
    0098 Run-time edit attempted on a program with unnumbered EU/ED instructions
    0099 Too many hidden program segments
    009B Illegal index (string operation in which a starting position value of 0 is specified)
    009C Maximum instruction length exceeded
    009D Illegal parameter detected in SDB0

    Đảm bảo là down chương trình từ Main chứ không từ sub
    Lần sửa cuối bởi kidsolo1412, ngày 10-09-2011 lúc 11:25 PM.
    MUA BÁN-DỊCH VỤ-TRAINING
    Email: Hidden Content
    Hidden Content

Tag của Chủ đề này

Đánh dấu

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Back to Top