www.plcvietnam.com.vn M CL C 10 10 12 12 13 15 16 17 22 25 27 III – 200 28 28 35 40 40 2: M I II ASI 48 48 50 50 51 54 56 56 56 57 57 57 57 58 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Asi Master 58 Asi Slave 61 65 66 Cáp ASI 68 68 69 69 71 VII 75 75 77 78 C VIII 80 ASI Master CP342-2 80 81 3: II PROFIBUS 86 88 87 ng 88 89 89 III 90 90 91 - 93 96 97 90 90 91 90 90 91 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn 100 103 107 NG FMS 110 111 113 114 VI CÁC 114 115 119 120 120 VII 120 121 122 122 123 VIII 123 124 -slave 124 124 IEC 1158-2 125 125 127 130 130 4: 132 132 I Profibus Master 132 Profibus Slave 133 – 134 II 134 134 –Master 135 fibus DP –Slave 135 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn –Intelligent Slave 136 III 141 V -master khơng có Intelligent-Slave 141 -master Intelligent-Slave 141 142 – I – 160 – G120 160 160 - 161 - 164 – - 164 II 182 182 212 215 216 219 222 II 224 224 227 230 233 6: PROFIBUS 239 239 241 I II 241 242 250 252 254 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn d lý – – thông – Profinet Allen – Bradley – Wonderware WWW.PLCVIETNAM.COM.VN Admin Tran_hieu0983 0987.338.334 Email: tvhieu.plc@gmail.com Site cá nhân: www.tranhieu0983.com 10 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn GH m: I Các mo 11 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn 12 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Không dây tên Tên 13 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Presentation la Session layer (Phiên) lý) quang ng, mã vòng CRC (Cyclic Redundancy Check), FCS (Frame DTE 14 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Repeater: Bridge: Router: Gateway: 15 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn OB86_FLT_ID: B#16#C4 //DP station failed OB86_FLT_ID: B#16#C5 //DP station faulted OB86_MDL_ADDR: Logical base address of the DP master (diagnostics address) OB86_ RACKS_FLTD: ==> Change data type to :DWORD Contents: Bits to 7: Number of the DP station (PROFIBUS address) Bits to 15: DP subnet ID Bits 16 to 30: Logical base address of the DP slave (diagnostics address) Bit 31: I/O identifier 235 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn II - thông tin chi CPU 315- -2AF02-0AB0) CPU 315- -2AF01-0AB0): CPU 316-2 DP CPU 318-2 DP C7- -2AG01-0AE3) C7-633 DP und C7-634 DP -2 DP (6ES7 315-2AF01-0AB0): -2 DP (6ES7 315-2AF03-0AB0) CPU 41x-2/3/4 DP CP 443-5 IM 467 IM 467 FO WIN AC WIN LC -5 236 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn -Slave a FC120 - b DP_MASTERSYSTEM (Int) EXTERNAL_DP_INTERFACE (Bool) MANUAL_MODE (Bool) -Slaves SINGLE_STEP_SLAVE (Bool) SINGLE_STEP_ERROR (Bool) 237 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn RESET (Bool) SINGLE_DIAG (Bool) - -S SINGLE_DIAG_ADR (Byte) ALL_DP_SLAVES_OK (Bool) SUM_SLAVES_DIAG (Byte) SLAVE_ADR (Byte) DP- SLAVE_STATE (Byte) 0: DP-Slave o.k 1: DP- 2: DP3: DPSLAVE_IDENT_NO (Word) -Slaves theo PNO ERROR_NO (Byte) ERROR_TYPE (Byte) Thông tin cho SLAVE_ADR: 238 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn -Norm) MODULE_NO (Byte) Thông tin cho MODULE_STATE (Byte) ERROR_TYPE): CHANNEL_NO (Byte) CHANNEL_TYPE (Byte) óm modul CHANNEL_ERROR_CODE (Int) CHANNEL_ERROR_INFO_1 (Dword) -Norm: DP/ASI-Link), ASI- -Bus (CHANNEL_TYPE 239 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Các modul S7 khác CHANNEL_ERROR_INFO_2 (Dword) - - (4) S7DS0) - -Slave, ASI-Slav DP/ASIBit 0.0 ASISlave -modul 0b 0.1 1b 0.2 2b 0.3 3b - 0.4 4b - 0.5 5b 0.6 6b 0.7 7b 1.0-1.3 8b-11b Modul thích nghi 0011: DP-Normslave 240 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn 0100: S7-interface-Modul (IM) 0101: S7-Analog modul 1000: S7-function Modul (FM) -Slave 1100: S7-Communication Processor (CP) 1111: S7-Digital Modul 1.4 12b 1.5 13b 1.6 14b 1.7 15b 2.0 16b - 2.1 17b 2.2 18b 0: I2: IOFFLINE 2.3 - 19b 241 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn 2.4 modul 20b 2.5 21b 2.6 22b 2.7 23b 3.0 24b 3.1 25b 3.2 26b 3.3 27b 3.4 28b 3.5 29b 3.6 M 30b 3.7 31b DIAG_COUNTER (Byte) DIAG_OVERLOW (Bool) Slave c DPBUSY (Bool) c -DB: hành 242 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn 239: -Master Vd: CPU 315-2 DP DPVd: CPU 315-2 DP DP- Ví d 243 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Chú ý: Bit “ALL_DP_SLAVES_OK” thông tin chung 244 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn i (ví “CHANNEL_ERROR_CODE” -Slave a CALL FC125 -Master b CHECK_ACTIV (Bool): EXTERNAL_DP_INTERFACE (Bool): - 245 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn DP_MASTERSYSTEM (Int): STEP : SUM_SLAVES_DIAG (Int): - LIST_SLAVES_NOT_PRESENT (Any) v.d P#M10.0 BOOL 128 hay P#DB100.DBX52.0 DWORD Danh sách DP-Slave LIST_SLAVES_ERROR (Any) v.d P#M30.0 BOOL 128 hay P#DB100.DBX68.0 DWORD 4: Danh sách DP- RETVAL (Int) -Codes sau: BUSY (Bool) - - 300 S7c -Master) d 246 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn -MANAGER 247 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn Hình 3: S7- -project vào HW-CONFIG 248 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn : www.plcvietnam.com.vn 249 Email: tvhieu.plc@gmail.com ... (Multipoint interface) -215-DP, S7- 22x + EM 277 Profibus- DP , S7-300, S7- 400 có ngõ Profibus PLC S71 PPI 9.6 Kbps 19.2 Kbps MPI 19.2 Kbps 187.5 Kbps Profibus 9.6 Kbps 12Mbps 29 Email: tvhieu.plc@gmail.com... 6: PROFIBUS 239 239 241 I II 241 242 250 252 254 Email: tvhieu.plc@gmail.com www.plcvietnam.com.vn d lý – – thông. .. 125 127 130 130 4: 132 132 I Profibus Master 132 Profibus Slave 133 – 134 II 134 134