6FM1785-3AA006FM1785-3AA00
3.3通信組態(tài)
為連接組態(tài)cp343-1 tcp通訊連接,需使用step7 v5.4和用于工業(yè)以太網(wǎng)的simatic net ncm s7,而ncm s7*集成在step7環(huán)境中,并可提供豐富的網(wǎng)絡(luò)診斷功能,包括:通訊處理器的狀態(tài)、一般診斷與統(tǒng)計(jì)功能、連接診斷、緩沖區(qū)診斷、局域網(wǎng)控制器統(tǒng)計(jì)等。cp343-1模板除了在硬件組態(tài)hw config中配置外,對(duì)本地s7-300 plc而言其每個(gè)tcp通訊都需要通過(guò)netpro來(lái)建立起靜態(tài)連接,其組態(tài)過(guò)程如下:
1)通信伙伴選擇
開(kāi)放式ie遠(yuǎn)程通訊伙伴為稱重儀、標(biāo)簽打印機(jī)、條碼掃描儀等非simatics7工作站,因此選擇使用非特定通信連接的類型unspecified;
2)連接類型
開(kāi)放式ie通訊連接類型應(yīng)選擇tcp connection,并定義tcp連接的名字,系統(tǒng)將自動(dòng)生成塊參數(shù)localid和laddr參數(shù),對(duì)于客戶端對(duì)象還須選擇在通信連接初始化中 具有主動(dòng)連接功能的選項(xiàng)active connection;
3)ip地址&port端口號(hào)分配
對(duì)于開(kāi)放式ie通訊除設(shè)置雙方ip地址和子網(wǎng)掩碼外,還須分配通訊雙方(local/remote)的port端口號(hào),port端口定義分配范圍為2000到5000中的空閑地址,而小于2000的端口地址一般由互聯(lián)網(wǎng)代理成員管理局(iana)已賦予特定的用途或保留;
4)數(shù)據(jù)傳送長(zhǎng)度
對(duì)于老版本的cp343-1具有支持?jǐn)?shù)據(jù)長(zhǎng)度超過(guò)240個(gè)字節(jié)的作業(yè)選項(xiàng),新版cp已取消了該選項(xiàng),直接支持zui大可達(dá)8192個(gè)字節(jié)的數(shù)據(jù)傳送;
5)編譯和下載
當(dāng)前cp343-1通訊處理器支持在cpu上保存組態(tài)數(shù)據(jù)的選項(xiàng),而不是存儲(chǔ)到cp的eeprom中,因此今后更換cp模塊時(shí)也不需要pg,在cp啟動(dòng)時(shí),新cp的組態(tài)數(shù)據(jù)將自動(dòng)從cpu中進(jìn)行下載。
6)其它
以上未涉及的選擇,按netpro的默認(rèn)選項(xiàng)。
3.4通信編程
1)稱量采集編程
s7-300plc基于開(kāi)放通訊的cp343-1模板連接組態(tài)不需要編程,而是通過(guò)netpro來(lái)組建的,因此其通訊編程只需調(diào)用面向連接的send/receive接口就可完成ascii數(shù)據(jù)收發(fā)工作,系統(tǒng)的s7plc共有八個(gè)tcp連接,其中電子臺(tái)秤共有6套分別占有6個(gè)連接,臺(tái)秤通信過(guò)程是雙向應(yīng)答式的,在每一個(gè)連接中完成ascii碼數(shù)據(jù)的讀和寫功能。
plc1共有八個(gè)tcp連接和一個(gè)s7單邊連接,其中電子臺(tái)秤共有6套分別占有6個(gè)連接,臺(tái)秤通信過(guò)程是雙向應(yīng)答式的,在每一個(gè)連接中完成ascii碼數(shù)據(jù)的讀和寫功能,通訊協(xié)議為電子臺(tái)秤自有特定的ascii碼協(xié)議,其通信格式如圖5所示。
New Yuken Hydraulic Cylinder CJT70-FA32B15N-?BNB-EK-20A
New Parker Series 2H Cylinder 01.50 SB2HLTV19 1.000 KK4
New Taiyo Hydraulic Cylinder 70H-8 1SD40BB30-AB Nominal
New Taiyo Hydraulic Cylinder 70H-8-1FA40BN25?-A0 Nominal
New NBR SCR 339-014-0001 9629 6G55 FAC 0501
New SMC Cylinder CDQ2B50-15DCM-X?C18 Max.Press.145PS?I 1.
New SMC Pneumatic Cylinder CQ2B63-50DCM-XC?18 Max.Press.
New Lantronix Twisted Pair Transceiver LTX-TA LTX-TA-1
New SMC Cylinder CDQ2B40-90DM-XC?18 30117900301 311716 M
New Siemens Proximity Switch 3RG4023-3AG01 24VDC 18mm
Used Allen-Bradley AC Output Module 96234271-A01 1771-O
Used Allen-Bradley AC/DC Input Module 120V 1771-IAD B
New SMC Hydraulic Cylinder CHQB50-30D Max Press: 3.5 MP
New KYOHO SEISAKUSHO Hydraulic Cylinder HC1-XD-30X80-FA?
New Honeywell Two Position Direct Coupled Actuator ML43
New SMC Pneumatic Cylinder CQ2B40-60DCM-XC?18 145psi 1.0
SMC Pneumatic Cylinder T-CQ2B63-75DCM-?XN DBL Actuating
New SMC Pneumatic Cylinder CDQ2B50-40DC-F7?DWSC-XC18 145
New Oriental Motor Gear Head Motor 5GCH25KB
New Oriental Motor Speed Control Motor 3RK15RGN-A
Used Reliance Electric Circuit Board PCB 0-51839-4 051
New THK Linear Motion Bearing LM-ST-40-UU HSR20A1SS+220..?.
New Johnson Controls Swivel Mounting Bracket D-3244 Lo
New Appleton Electric Co. VPGU-1 Aluminum Guard Lot of
New KYOHO Hydraulic Cylinder HC1-XD-40X30-LB MFG. NO. :
New Oriental Motor AC Magnetic Brake Speed Control Moto
New Nippon Linear Bushings SMK-25GWUU
New SMC Pneumatic Cylinder CQ2B63-15D-XC18 145psi 1.00M
New Oriental Motor Gear Head Motor 5GU25KB
New Tregaskiss Gooseneck 45 Degree 405-45QC Lot Of 2
New SMC Pneumatic Cylinder CDQ2B40-80DCM 145PSI 1.0MPa
TPI Corporation Low Voltage Thermostat A6176 Single Sta
New SMC Pneumatic Cylinder CDQ2B50-85D Max.Press. 145PS
New OM Speed Control Motor 4IK22RGN-AUL 4IK22RGN-AUL+4G?
New Chain 00119641
New Chromalox RTST-1 Splice and Tee Box Type 384155
New Basys Controls Power Supply CP1028 Input: 115/230 V
New Oriental Motor Reversible Motor 4RK25GN-AWT
New Kyoho Hydraulic Cylinder HC1-XD-50X30-CB Bore: 50
New Oriental Motor 4GN75K 109P13 Gear Head
New Oriental Gear Head New Oriental Gear Head 4GN100RA
New Taiyo Parker Hydraulic Cylinder 160S-16SD40N50T?-LN
New Rockwell Automation Dodge Split Triple Labyrinth Se
Used IDEAL Stainless Steel Flex Coupling 12" long 1"di
New Numatics Solenoid Set of 8 00124269 236-127 24VDC M
New Apollo 1 1/4" Conbraco *shelf worn* Ball Valve Bron
New Apollo 1 1/4" Conbraco Ball Valve C11 600 WOG
New Versa Two Way Valve Series E ESM-2301-120-E-?MAE-A12
New Apollo 1 1/4" Conbraco unused Ball Valve 600 CWP
New Apollo 1 1/4" Conbraco Ball Valve C11 600 WOG
New Bimba Air Pneumatic Cylinder FT-17-0 625-4F Cyl 00
New Flange SA182F316 1000# 1-1/2X1/2 8587D SP114
New Apollo1 1/4" Conbraco Ball Valve C11 600 WOG
New NTN Bearing Units ASFB204
New Rectifier 300UR40A 00130501 Mexico 0148
New Somma Tool CO. INC Master Pusher 14450 XEC62624 030
New Jo-Bell Magnetic Proximity Switch ZD-2WP
New Thomson Pillow Power Block SPB 8 Lot of 5
New Eaton Cutler-Hammer Heavy Duty Safety Switch DH361U
Used Allen-Bradley Remote I/O Scanner SLC500 1747-SN
Used PMC V-HA Electronic Pressure Transmitter Range 0-2
Used PMC Electronic Pressure Transmitter Model V-HA VHA
New ALLEN AIR Cylinder A-BC 1-1/2 X 4-1/2
New Cleveland Controls Air Pressure Sensing Switch Mode
New Chemineer GCASE/ADPT KIT 210/250TC, PLTD K00000-73
New Trane Air Heater UHEC-DCS403 Volts: 600 AMPS:40
Electronics Corp Green Line 42MTB-5000 Photoswitch
New Allen-Bradley X-42405 R.H. Overload Relay for Bul.7
New Gates Fleetrunner Micro-V Belt K100818HD
New Gates Micro-V Belt K100814HD
New Allen-Bradley Z-32344 Complete Set of Contacts with
Used Allen-Bradley PCB 1336-MOD-L1 Contact Closure Only
Used ITT Pressure Switch 115P1C3-68 Assy 1Q91
Used Good Year Belt B029 018 A08 D188Y05 0953 HY-T WED
Used Allen-Bradley SLC500 Input Module 1746-IB16 SER C
New ACDelco K100822HD Fleetrunner V-Ribbed Belt
New SMC Pneumatic Cylinder CDG1RN20-100 145PSI 1.00MPa
New FIFE Corp Filter 04723-001
Used KF Stainless Steel Valve CF8M 6102-2121A 1/2" SS
New Allen-Bradley 700-NA40 Series B Front Deck Relay Ty
New Dodge SK X 2-1/8 QD Bushing
Used OMRON G3PA-210B 10Amp Solid State Relay SET OF 4
Used Moeller Manual Motor Protective Starter PKZM0-20 2
Used Moeller Manual Motor Protective Starter PKZM0-16 1
Used Belimo NM24-1 US NM241 Actuator 24 VAC / DC 50/60
New PISCO PHT6-01 Fittings SET OF 4
New RIDGID D1221 301 Line Cord Cat# 83600
New Square D Co. A.C.Magnetic Relay 8501 CG-11 115 Volt