1、RAC3.5-200-460-L00-W1-220引言
basic語言是微機(jī)系統(tǒng)中廣泛應(yīng)用的一種高級編程語言,它的指令接近思維邏輯的表達(dá),與自然語言有相通之處,易學(xué)易懂,同時(shí)它包涵豐富的算法函數(shù),能十分方便地進(jìn)行各種數(shù)據(jù)處理,因而深受廣大編程愛好者喜愛。plc是計(jì)算機(jī)科學(xué)在工業(yè)控制領(lǐng)域內(nèi)的一個(gè)重要分支,它一般采用梯形圖、語句表作為其編程語言,由于梯形圖形似電氣原理圖,直觀易懂,易為電氣工程師所接受,為plc的推廣應(yīng)用起到了極大的推動作用。plc從誕生至今,幾十年來,應(yīng)用領(lǐng)域不斷擴(kuò)大,現(xiàn)在,通訊問題已成為plc應(yīng)用中的一個(gè)重要課題之一。
本文以gefanucplc系列pcm智能通訊模塊在某泵站控制系統(tǒng)中的應(yīng)用為例進(jìn)行探討,介紹了basic語言在解決plc與現(xiàn)場儀表或其它外部智能設(shè)備之間數(shù)據(jù)通訊問題時(shí)能起到的作用,為廣大同行提供又一種串行通訊解決方案。
2、RAC3.5-200-460-L00-W1-220系統(tǒng)簡述
本系統(tǒng)采用gefanuc90-30系列plcmodel351,一塊智能通訊模塊cmm311,一塊可編程智能通訊模塊pcm311,及開關(guān)量輸入、輸出模塊,模擬量輸入模塊若干。
通訊模塊cmm311有兩個(gè)通訊口,分別負(fù)責(zé)與上位機(jī)組態(tài)軟件及現(xiàn)場digital觸摸屏進(jìn)行通訊。
RAC3.5-200-460-L00-W1-220可編程通訊模塊pcm311為通訊協(xié)處理機(jī),內(nèi)有固化的megabasic語言解釋程序,能執(zhí)行通過外部編程終端存儲進(jìn)來的basic程序。該模塊有兩個(gè)通訊端口,一個(gè)端口為編程口,ge公司logicmaster編程軟件包中有專用于pcm模塊編程的軟件,用它可通過該編程口登錄pcm模塊,將計(jì)算機(jī)中文本形式的basic代碼文件存入模塊的存儲器中;另一個(gè)端口為專用外部通訊口,在basic程序中可打開此端口與外部智能設(shè)備進(jìn)行通訊。在特殊時(shí)候,編程口也可被basic程序打開,作與外部設(shè)備通訊用,但這樣使用在調(diào)試時(shí)稍有不便。
RAC3.5-200-460-L00-W1-220系統(tǒng)布置要求敘述如下:
plccpu負(fù)責(zé)開關(guān)量、模擬量的采集、運(yùn)算,實(shí)施直接的控制功能;通訊模塊cmm311通過兩個(gè)通訊口分別連接上位機(jī)及觸摸屏,實(shí)現(xiàn)人機(jī)界面與plc的數(shù)據(jù)通訊;pcm模塊的com2與westinghouse(西屋儀表)mintii網(wǎng)絡(luò)轉(zhuǎn)換器相連,負(fù)責(zé)通過mintii網(wǎng)絡(luò)轉(zhuǎn)換器與現(xiàn)場三個(gè)種類的12臺westinghouse儀表通訊,采集電流、電壓、功率等各種物理量的實(shí)時(shí)數(shù)據(jù),同時(shí),com1在調(diào)試完畢后用來與現(xiàn)場一臺三菱fx2nplc通訊,實(shí)現(xiàn)從geplc系統(tǒng)到fx2n系統(tǒng)的數(shù)據(jù)通路,方案圖如圖1所示。
2.1minitii轉(zhuǎn)換器通訊協(xié)議簡介
RAC3.5-200-460-L00-W1-220在這個(gè)方案中,minitii與下位設(shè)備的硬件連接為雙絞線,minitii及下位各設(shè)備都并入雙絞線組成的westinghouseincom網(wǎng)絡(luò),在該網(wǎng)絡(luò)中各通訊主體使用二進(jìn)制通訊方式,數(shù)據(jù)幀均由33位二進(jìn)制數(shù)構(gòu)成,minitii充當(dāng)主站(master)角色,對下位各設(shè)備發(fā)起通訊,進(jìn)行輪詢。
pcm311模塊與minitii轉(zhuǎn)換器進(jìn)行的是ascii碼通訊方式,而minitii轉(zhuǎn)換器與下位dt3000、mp3000、iq200各系列設(shè)備的通訊方式為二進(jìn)制碼通訊,實(shí)際上minitii所起到的作用是將pcm模塊發(fā)出的ascii碼指令幀轉(zhuǎn)譯為二進(jìn)制碼指令幀,當(dāng)然,在通訊過程中,我們只需關(guān)心ascii碼通訊幀的格式,minitii會自動將其轉(zhuǎn)為二進(jìn)制格式后發(fā)到incom網(wǎng)絡(luò)中去。
----商務(wù)熱線---廈門興銳達(dá)自動化設(shè)備有限公司
聯(lián)系人:王文光
++QQ:2851759104
手機(jī):15359273780
電話:0592-5580707 400-855-5103轉(zhuǎn)001
傳真:0592-5361289
郵箱:2851759103@qq.com
網(wǎng)址:http://www.xmxrdauto.com
RAC3.5-200-460-L00-W1-220
RAC2.2-200-460-L00-W1
RAC2.3-200-460-A01-W1
RAC2.1-200-300
RAC3.5
RAC2.1
RAC1.2-250-380-A00-W1
RAC2.2-200-450-AP0-W1
RAC2.3-200-380-A00-300A
RAC3.1-150-460-AP0-W1-220
RAC3.1-150A
RAC3.5-150-460-A-OI-Z1-220
RAC3.5-150-460-L-00-WI
RAC3.5-150-460-A-0I-W1
RAC3.5-150-460-A-00
RAC3.5-150-460
RAC3.1-150-460-A-00
RAC2.2-250-460-A-00-WI
RAC2.2-200-460-A-00-W1
RAC2.2-200-460
RAC2.2-150-460-A-OO-WI
RAC2.2-150-460
RAC2.1-200-380A
RAC2.1-150-380-A00-W1
RAC2.1-150-380
RAC3.5-150-460-A00-W12
RAC2.2-150-380-A00-W1
RAC2.2-150-460-A00-W1
RAC2.2-200-380-A00-W1
RAC2.2-200-460-D00-W1
RAC2.2-250-380-A00-W1
RAC2.2-250-460-AP0-W1
RAC2.2-200-380-A00-Z1
RAC2.2-250-380-A00-Z1
RAC2.2-150-460-A00-Z1
RAC2.2-200-460-A00-Z1
RAC2.2-250-460-A00-Z1
RAC2.2-200-380-AP0-W1
RAC2.2-200-460-A00-W1
RAC2.2-250-460-A00-W1
RAC2.2-200-460-AP0-W1
RAC2.2-250-380-API-W1
RAC2.2-200-460-APD-W1
RAC2.2-150-380-AP0-W1
RAC2.2-200-380-A0I-W1
RAC2.2-150-380-A0I-W1
RAC2.2-250-380-A0I-W1
RAC3.1-100-460-A00-W1-220
RAC3.1-100-460-AP0-W1-220
RAC3.1-100-460-APD-W1-220
RAC3.1-100-460-A00-Z1-220
RAC3.1-150-460-A00-Z1-220
RAC3.1-100-460-API-W1-220
RAC3.1-100-460-A0I-W1-220
RAC3.1-100-460-D00-W1-220
RAC3.1-150-460-A00-W1-220
RAC3.1-150-460-AP0-W1-220
RAC3.1-150-460-APD-W1-220
RAC3.1-150-460-API-W1-220
RAC3.1-150-460-A0I-W1-220
RAC3.1-150-460-D00-W1-220
RAC2.2-250-380-A0S-W1
RAC2.2-200-380-A0S-W1
RAC3.1-150-460-A0S-W1-220
RAC2.2-150-380-A0D-W1
RAC2.2-250-380-A0I-Z1
RAC3.5-100-460-A00-W1-220
RAC3.5-150-460-A00-Z1-220
RAC3.5-100-460-A01-W1-220
RAC4.3-400-460-AP0-W1
RAC3.5-150-460-A00-W1-220
RAC3.5-150-460-A00-Z1-220
RAC3.5-150-460-A0I-W1-220
RAC3.1-150-460-100-W1-220
RAC2.1-150-460-A0I-W1-220
RAC3.5-200-460-L00-Z1-220
RAC3.6-150-460-L00-Z1-2
RAC2.3-250-460-L00-W1
RAC2.3-200-460-L00-W1
RAC2.2-200-460-A00-W1
RAC2.2-200-460-L00-W1
RAC3.5-200-460-L00-W1-220
RAC3.5-150-460-L00-W1-220
RAC3.1-150-460-A0I-Z1-220
RAC3.5-150-460-A01-W1-220
256047-02738-A04
256047-02738-A04
234271-10388-A06
232705-16726-A01
233303-05614-A05
BENTLY NEVADA 3300/50-01-01-01-02 USPP 33005001010102
BENTLY NEVADA 3300-16-02-01-01-01-02-00 USPP 3300160201010102
BENTLY NEVADA 3500/64M NSPP 350064M
BENTLY NEVADA 3300/55-03-04-06-06-00-00-05-00 USPP 3300550304060600
BENTLY NEVADA 3300-16-02-01-01-01-01-00 USPP 3300160201010101
NEW BENTLY NEVADA 18745-03 5 & 8 MM PROXIMITY SENSOR 7200 D327409
NEW BENTLY NEVADA 18745-03 5MM PROXIMITY SENSOR 7200 D327399
Bently Nevada Romis 7200 Chassis
NEW BENTLY NEVADA 3300/16-04-01-01-00-00-00 DUAL VIBRATION XY/GAP MONITOR
NEW BENTLY NEVADA 3300/20-02-01-03-00-00 DUAL THRUST MONITOR
BENTLY NEVADA 3300 RACK WITH POWER SUPPLY AND MODULES -- 12 (1) /03 (1) /16 (4)
Bently Nevada Dual Accelerometer Monitor Model 3300/25-03-06-01-00-02-00 New
Bently Nevada Dual Vibration Monitor Model 3300/15-02-01-00-00-00-00- NIB
Rebuilt Bently Nevada Turbine Vibration Monitoring System 3300 3300/06-0.3
BENTLY NEVADA 2201/02-02 USPP 22010202
BENTLY NEVADA 3500/93 System Display Factory Sealed
Bently Nevada Romis 7200 Chassis
BENTLY NEVADA 3500/42M NSFP 350042M
BENTLY NEVADA 3500/42 NSFP 350042
BENTLY NEVADA 3300/55-03-04-05-05-00-00-07-00 USPP 3300550304050501
BENTLY NEVADA 3300/20-01-01-02-00-00 USPP 3300200101020000
Bently Nevada 7200 Chassis with 4 Vibration Monitors and 2 Dual Probe Monitors
Bently Nevada - 3300/95 - Gas Generator Filter Module / Vibration Monitor
Bently Nevada - 3300/95 - Power Turbine Filter Module / Vibration Monitor
Bently Nevada - 3300/25 - Dual Accelerometer Monitor
(5731) Bently Nevada Transducer Velocity Control Velomitor 330750-80
Bently Nevada 3300/50-03-01-00-00 Tachometer
Bently Nevada 3300/46-XX-02-01-00 Differential Expansion Module
BENTLY NEVADA 3500/42M NSPP 350042M
Bently Nevada 3500/93 Display Interface Module PWA 135799-01 C
Bently Nevada 3500/62 Process Variable Monitor
Bently Nevada 3500/40M Proximitor Monitor 140734-01 & I/O Connection Module
BENTLY NEVADA 3300/16-03-02-00-00-00-00 NSPP 3300160302000000
Bently Nevada 3500/42M Proximitor/ Seismic Monitor NOV
Bently Nevada 105401-02 Sampler Card TDXnet PLC Transient Data Interface 3407
2201/02-02 Bently Nevada for Allen Bradley 1771
NEW BENTLY NEVADA 3300-16-01-02-01-00-00-01 DUAL VIBRATION XY GAP MONITOR
Bently Nevada 3300/75 32 Channel Temperature Monitor PLC 3300/75-02-00-00 330075
BENTLY NEVADA 3300/55-01-04-02-02-00-00-05-00 USPP 3300550104020200
BENTLY NEVADA 3300/55-01-04-02-02-00-00-04-00 NSPP 3300550104020202
BENTLY NEVADA 72751-03-01-13-00-01 NSPP 727510301130001
BENTLY NEVADA 3300/14-01-20-01 NSPP 330014012001
NEW BENTLY NEVADA 3300-16-02-05-01-00-00-00 DUAL VIBRATION XY GAP MONITOR
Bently Nevada RK-4 Rotor Kit Assembly
BENTLY NEVADA 3500/40M USPP 350040M
BENTLY NEVADA 3300/03-02-00 USPP 3300030200
BENTLY NEVADA 1100-0826 NSPP 11000826
Bently Nevada - 3500/33 - 16-Channel Relay Module
BENTLY NEVADA 3500 133388-02 D
BENTLY NEVADA 3300/12-01-22-01 NSFP 330012012201
BENTLY NEVADA 3300/16-13-01-01-00-00-00 USPP 3300161301010000
BENTLY NEVADA 3300/16-03-02-00-00-00-00 USPP 3300160302000000
BENTLY NEVADA 3300/20-11-01-01-00-00 NSPP 3300201101010000
BENTLY NEVADA DUAL THRUST MONITOR 3300/20-01-01-02-00-00 NEW-NO BOX 330020010102
NEW BENTLY NEVADA 3300/55-01-04-03-03-00-00-05-00 DUAL VELOCITY
BENTLY NEVADA 3500/22M 16 TRANSIENT DATA MODULE (216-2)
Bently Nevada 3500/45 140072-04 Position Monitor 14007204 SAR
Bently Nevada 3300/01-01-01 System Monitor NEW 308
Bently Nevada 3300/15-12-01-03-00-01-00 Dual Vibration Monitor NEW SEALED
Bently Nevada 3500/53 Electronic Overspeed Detection System
BENTLY NEVADA 72791-03-02-01-00-0101-1 NSPP 7279103020100010
BENTLY NEVADA 72791-03-02-01-00-01-02-1 NSPP 727910302010001A
BENTLY NEVADA 72791-03-XX-13-00-03-02-100 NSPP 7279103XX1300030
BENTLY NEVADA 72300-01-02-02-05-01-01 USPP 7230001020205010
BENTLY NEVADA 3300/10-01-02-01 USPP 330010010201
NEW BENTLY NEVADA 3300/16-03-01-02-00-00-00 DUAL VIBRATION XY/GAP MONITOR
Bently Nevada 3300/30 Six Channel Temperature Monitor 3300/30-02-01-01-00-00 PLC
BENTLY NEVADA 72751-03-01-13-00-01 USPP 727510301130001
BENTLY NEVADA 3300/16-02-02-03-01-00-00 NSPP 3300160202030100
BENTLY NEVADA 72300-03-04-01-01-01-01 USPP 7230003040101010
BENTLY NEVADA 45631-01 USPP 4563101
BENTLY NEVADA 3300/16-05-01-01-00-00-00 USPP 3300160501010000
BENTLY NEVADA 3300/16-05-02-00-00-00-00 USPP 3300160502000000
BENTLY NEVADA 3300/16-05-02-01-00-00-00 USPP 3300160502010000
BENTLY NEVADA 3300/16-05-01-00-00-00-00 USPP 3300160501000000
BENTLY NEVADA 3300/16-03-01-01-00-00-00 USPP 3300160301010000
Bently Nevada 90199-21-02-03-02-02-02-01-02 Dual RTD
BENTLY NEVADA 72601-22-01-01-01-01-03-00-13 NSPP 7260122010101010
BENTLY NEVADA 72730-02-11-11-00-01 USPP 727300211110001
BENTLY NEVADA 3300/16-03-01-01-00-00-01 DUAL VIBRATION XY/GAP MONITOR
BENTLY NEVADA 3500 /93 Display Interface Module PWA 135799-01 NC
BENTLY NEVADA 7200 SERIES POWER SUPPLY-ACCELEROMETER INTERFACE-DUAL VIBRATION
New Bently Nevada 50mm Transducer Proximitor 24765-02-01 247650201
New Bently Nevada Transducer Proximitor 24765-01-01 25 mm 247650101
Bently Nevada 3500/20 Rack Interface Module 350020 PLC Bentley 3500 System
Bently Nevada Display Interface I/O Module 135813-01
BENTLY NEVADA 3300/20-11-01-01-00-00 USPP 3300201101010000
BENTLY NEVADA 72791-03-02-01-00-01-02-1 USPP 727910302010001A
BENTLY NEVADA 72751-04-01-15-00-01-00001 USPP 7275104011500010
Bently Nevada 80917-01 Keyphasor Conditioner Power Supply 8091701 Tested Used
Bently Nevada 105375-01 Sampler TDXnet PLC Transient Data Interface PWA 5162
*NEW* BENTLY NEVADA 3300/16-05-01-00-00-00 DUAL VIBRATION XY/GAP MONITOR
Bently Nevada 3500/93 System Display Screen 136977-01A
BENTLY NEVADA 3300/20-02-01-02-00-00 USPP 3300200201020000
Bently Nevada 3300/50 Tachometer Monitor 3300/50-02-01-00-00 PLC 5000 RPM 200 mV
Bently Nevada 3300/50 Tachometer 3300/50-01-00-00-00 300 mV Mil 7200 20m Module
BENTLY NEVADA 72791-03-03-15-00-02-02-00060 NSPP 7279103031500020
BENTLY NEVADA 72850-03-04-04-01-01-01-15 USPP 7285003040401010
BENTLY NEVADA 1701/15 NSFP 170115
BENTLY NEVADA CONTROLLER 3300/50-02-01-00-00
NEW BENTLY NEVADA 3300/55-01-04-03-03-00-00-06-00 DUAL VELOCITY MONITOR NEW
Bently Nevada 3300/50-01-02-01-01 Tachometer Monitor
Bently Nevada - 3500/42M - Proximeter/Velometer I/O Module
BENTLY NEVADA 3300/35-02-02-02-00-00 SIX CHANNEL TEMPERATURE MONITOR
BENTLY NEVADA 72601-22-01-05-01-01-03-00-01 NSPP 7260122010501010
BENTLY NEVADA 3300/05-22-00-00 USPP 330005220000
BENTLY NEVADA 72850-02-05-XX-01-03-00-01-15 USPP 728500205XX01030
Bently Nevada 2201/03-01 Four Channel Vibration Monitor
Bently Nevada 3300/26 Dual RMS Accelerator Monitor 409
BENTLY NEVADA 3500/05 RACK (Q1)
NEW BENTLY NEVADA 3300/16-13-01-01-00-00 3300161301010000 3300 DUAL VIBRATION
BENTLY NEVADA 72790-03-01-11-00-02-01-00060 USPP 7279003011100020
BENTLY NEVADA 72850-03-04-04-01-01-01-01-15 USPP 7285003040401011
BENTLY NEVADA 3300/15-02-01-00-01-00-00 USPP 3300150201000100
NEW Bently Nevada PC Board 72851-04-01-01-06-01-00-00-15 MOD 152015-01
Bently Nevada 3500/93 Display Interface Module PWA 135799-02 NC 02E019SL
BENTLY NEVADA 3300/20-02-01-02-01-02 NSFP 3300200201020102
Bently Nevada 3500/93 System Display Screen Monitor 350093 PLC Module Bentley
Bently Nevada 3500/53 Overspeed Detection Module
BENTLY NEVADA 72351-03-04-02-01-01-01 NSPP 7235103040201010
BENTLY NEVADA 72351-01-04-01-05-01-13 NSPP 7235101040105011
BENTLY NEVADA 72351-03-04-01-01-01-01 NSPP 7235103040101010
BENTLY NEVADA 3300/35-02-02-00-01-02 NSFP 3300350202000102
Bently Nevada 3500/93 System Display Screen Monitor 350093 PLC Module Bentley
BENTLY NEVADA 18745-01 USPP 1874501
BENTLY NEVADA 72951-03-01-03-03 NSPP 7295103010303
BENTLY NEVADA 3300/15-03-01-01-00-00-00 USPP 3300150301010000
Bently Nevada 90199-22-02-03-02-02-01-03-04 Temp Board
BENTLY NEVADA 72850-XX-05-01-01-01-00-00-15 USPP 72850XX050101010
BENTLY NEVADA 72311-03-04-05-01-01-01 NSPP 7231104040501010
BENTLY NEVADA CONTROLLER 3300/50-01-01-00-00
BENTLY NEVADA 24653-2-1-25-50-2 NSPP 246532125502
BENTLY NEVADA 72601-22-01-05-01-01-03-00-01 USPP 7260122010501010
BENTLY NEVADA 72100-03-04-05-01-01-13 USPP 7210003040501011
Bently Nevada - 3300/14 - DC Power Supply
BENTLY NEVADA 3300/20-01-04-01-00-00 NSPP 3300200104010000
BENTLY NEVADA 3300/20-12-01-01-00-01 USPP 3300201201010001
BENTLY NEVADA 72940-02-02-01-01-11 USPP 729400202010111
BENTLY NEVADA 3300/16-02-01-00-01-00-01 NSFP 3300160201000103
BENTLY NEVADA 3300/16-02-01-00-01-02-01 NSFP 3300160201000102
Bently Nevada Digital Vector Filter3
Bently Nevada Digital Vector Filter 3
Bently Nevada 330525-00 Velomitor XA 330525 Proximity Transducer NEW SEALED!
Bently Nevada 3500/22M Transient Data Interface
NEW Bently Nevada 3300 / 35 Six Channel Temperature Monitor Module
NEW BENTLY NEVADA 3300/16-03-01-00-01-00-00 DUAL VIBRATION XY/GAP MONITOR
BENTLY NEVADA PWA-72928-02L *NICE*
BENTLY NEVADA DYNAMIC PRESSURE MONITOR MODULE 3500/64M (S3-T-4E)
Bently Nevada 3300/25 330025 Dual Acceleration Monitor NIOB SAR
BENTLY NEVADA 3500 3500/42M Proximitor/Seismic Monitor PWA 140734-02 B
BENTLY NEVADA 3500 RACK 3500 05 01 02 00 00 00
2201/02-02 Bently Nevada for Allen Bradley 1771
Bently Nevada 3300/55 3350/55-01-04-03-03-00-00-05-00
Bently Nevada 3500/93 System Display Screen Monitor QTY EACH
Bently Nevada 3300 System Controller
BENTLY NEVADA 2114301 USPP 2114301
BENTLY NEVADA 170172-050-00 NSFP 17017205000
BENTLY NEVADA 88984-03 NSPP 8898403