XYCOM?XVME-400
算法顯示模塊和控制算法組態(tài)
??? 該軟件向工程人員提供了一個(gè)圖形化的控制算法組態(tài)平臺(tái),工程人員可以根據(jù)實(shí)際工業(yè)過(guò)程,選用合適的控制算法,用圖形的方式,即選用算法顯示模塊,組成各種控制回路,然后將組態(tài)信息保存到組態(tài)文件中??刂扑惴ńM態(tài)的主界面如圖2所示。
圖2? 控制組態(tài)主界面
??? 圖2算法顯示模塊指的是對(duì)具體算法的抽象顯示。在圖形化組態(tài)界面上,每種具體的控制算法對(duì)應(yīng)一種算法顯示模塊,以方框圖的形式顯示,用戶只需用簡(jiǎn)單的鼠標(biāo)操作就能將指定的算法顯示模塊添加到指定的控制回路中,或刪除和修改參數(shù),從而完成控制算法的組態(tài)。其在控制組態(tài)界面中的顯示是帶有輸入輸出端子的矩形,圖3是一個(gè)加法顯示模塊的外觀及顯示說(shuō)明:
圖3? 算法顯示模塊圖
??? 其中,模塊在回路中的編號(hào)只有在進(jìn)行過(guò)編譯且用戶確定后才正確顯示,編譯前不顯示。而模塊流水號(hào)只是在繪制過(guò)程中記錄的全局的模塊的id號(hào),它由系統(tǒng)自動(dòng)生成,用戶不能修改。
??? 設(shè)計(jì)控制組態(tài)仿真軟件的界面時(shí),主要是實(shí)現(xiàn)組態(tài)用到的算法顯示模塊、連線和文本注釋的繪制和顯示。從共性的角度考慮,決定將對(duì)算法模塊的實(shí)現(xiàn)用一個(gè)從cobject類派生的類cfunmod來(lái)統(tǒng)一實(shí)現(xiàn)和管理,在該類中設(shè)定標(biāo)志變量對(duì)具體的算法顯示模塊類型進(jìn)行區(qū)分,同時(shí)標(biāo)記該模塊的輸入輸出端子數(shù)目。連線使用從cobject類派生的類c
??? 為支持對(duì)算法顯示模塊和文本注釋的參數(shù)配置,需實(shí)現(xiàn)屬性對(duì)話框,這是很容易實(shí)現(xiàn)的。這樣,通過(guò)鼠標(biāo)雙擊算法模塊,彈出屬性對(duì)話框,用戶填入相應(yīng)的參數(shù),點(diǎn)擊確定保存即可。
??? 2.3 控制算法庫(kù)
??? 控制算法庫(kù)是整個(gè)系統(tǒng)仿真運(yùn)行的基石。系統(tǒng)中內(nèi)置了若干種控制算法。為了保證控制算法的可擴(kuò)展性和統(tǒng)一性,所有的控制算法實(shí)現(xiàn)了一個(gè)統(tǒng)一的接口,供算法運(yùn)行模塊調(diào)用。
??? 具體來(lái)講,是采用模塊化設(shè)計(jì)的思路,將dcs的控制算法分解成若干個(gè)功能獨(dú)立的、能分別設(shè)計(jì)、編碼和調(diào)試的算法模塊,組成控制算法庫(kù)。每個(gè)算法模塊完成的功能既明確又單純,從而使處理的問(wèn)題局部化和簡(jiǎn)單化。算法模塊作為控制組態(tài)仿真軟件結(jié)構(gòu)中的基本元素,實(shí)際上就是完成一個(gè)特定算法功能的獨(dú)立程序。算法模塊的接口簡(jiǎn)明而又統(tǒng)一,且能彼此隔離和獨(dú)立。從用戶角度看來(lái),控制算法庫(kù)中的各種控制算法都是完全一樣的,而且系統(tǒng)也是采用統(tǒng)一的接口對(duì)各種算法進(jìn)行調(diào)用的,用戶無(wú)需關(guān)心每個(gè)控制算法的具體實(shí)現(xiàn)細(xì)節(jié)。另外,用戶使用時(shí),只需對(duì)控制算法模塊的參數(shù)進(jìn)行修改,而無(wú)需修改算法模塊的代碼。
??? 將各算法編成獨(dú)立的可反復(fù)調(diào)用的算法模塊,對(duì)應(yīng)每一個(gè)功能模塊都有一個(gè)參數(shù)列表和輸入列表,系統(tǒng)運(yùn)行時(shí),控制調(diào)度程序依據(jù)這些信息,順序依次執(zhí)行。
??? 設(shè)計(jì)算法庫(kù)時(shí),先設(shè)計(jì)一個(gè)算法基類cfunction,其中實(shí)現(xiàn)一個(gè)虛函數(shù)fun,具體算法從該類中派生。在程序中,采用統(tǒng)一調(diào)用各算法模塊的fun函數(shù)的方法實(shí)現(xiàn)對(duì)控制算法的調(diào)用,這樣的接口簡(jiǎn)單明了。
?
Newly listedParker 71-017349-10 Rev. B, 18-Pin Motor Cable, 10' Long
?
Newly listedYaskawa CIMR-J7AM22P2 VFD AC Motor Drive 200-230VAC 50/60Hz 15.1A 3HP
?
Newly listedParker 71-017094-10 Rev. C, Gemini 12-Pin Cable, 10' Long
?
Newly listedParker GV-U3E-NK Digital Servo Drive, With BE-GS Cable, Input: 95-265VAC 50/60Hz
?
Newly listedParker 6K2-NK Servo/Stepper Controller, 2-Axis
?
Galil 25A8K-GAL Servo Amplifier
?
Parker ANI_8X12 PCA 71-016935-01 Rev C Analog Input Module for EVM32 Modules
?
Parker Compumotor 61-017856-01 SIM8-OUT-NPN Output Board for EVM32 6K Drive
?
Aerotech PMCHPDNT-13 Motor Cable for NDrive Servo Motor Drives 13' Length
?
Delta Tau UMAC 4-Axis Interface Module
?
Parker 71-018303-10 Rev. A Gemini 12 Pin Cable
?
Parker 70-018308-10 Rev. A Servo Motor Cable 10' Length
?
Parker 6K4-NK Servo/Stepper Controller, Power: 24VDC 1-1.5A
?
Parker GV-U6E Gemini Servo Drive Controller, Input Voltage: 95-265VAC 50/60Hz
?
Aerotech NDRIVE30B-IOPSO?-MXH-S Servo Drive 240VAC In 40-350VAC 15/30A Out
?
Parker GV-L3E Gemini Servo Drive Controller, Input Voltage: 95-132VAC 50/60Hz
?
Aerotech NDRIVE30B-ENET-?IOPSO2-MXH-S Servo Drive 240VAC In 40-350VAC 15/30A Out
?
Aerotech NDRIVE30B-IOPSO?-AUXPWR-S Servo Drive 240VAC In 40-350VAC 15/30A Output
?
Delta Tau GIL102M0 Geo PMAC Drive 110-240VAC 10/20A Output 2 Axis ModBus/TCP
?
New Beckhoff AX5101-0000 Servo Drive
?
Boston Fincor ACE-KST-230V-3P?-05HP Inverter 200-230VAC 3PH 2.9A 0.5HP 0.2-400Hz
?
Omron R88D-KN08H-ML2 AC Servo Drive 200-240VAC 1PH?or?3PH 6.6/3.6A 750W 0-500Hz
?
Parker GV6K-L3E-DEMO Gemini Servo Drive/Controlle?r 120VAC RS232/485 Ethernet
?
New Minarik RG400U DC Motor Drive 0-180VDC 10A Armature 100/200VDC 1A Field 2HP
?
New Yaskawa CIMR-V7AU41P5 Inverter Drive 380/460VAC 50/60Hz 7A 3PH 0-400Hz
?
Yaskawa JUSP-NS300 DeviceNet Interface Unit for Sigma II Series Servo Drives
?
Omron 3G3MX2-A2015 AC Drive Inverter 240V 3PH 1.5kW, 0.1-1000Hz -damage to cover
?
LinMot E4000-AT 4-Axis Servo Controller, Sig: 24-48VDC, Pwr: 48-72VDC, RS232
?
New Yaskawa Electric PDE-U-IE2SA MotionWorks IEC Ver. 2.2 CD-Rom w/ Serial
?
New Power Ohm CR200-50-L24-UL High Wattage Braking Resistor 50Ω 200W
?
Parker Compumotor 71-018308-25 Encoder Feedback Cable, Gemini, 25 FT Length
?
Parker Compumotor 71-018308-50 Encoder Feedback Cable, Gemini, 50 FT Length
?
Parker Compumotor 71-015532-25 Motor Power Cable, for Servo Motor w/MS Connector
?
Parker 71-015871-10 Compumotor Encoder Feedback Cable, 10 Feet Long
?
Parker 71-015531-10 Compumotor Power Cable, MS Connector to Flying Leads, 9.5'
?
Delta Tau GBL6-C3-8F1-10M 6 Axis Motor Drive 110-240VAC 80MHz 1Mx24SRAM
?
Parker ZETA6104 Compumotor, 95-132VAC 50/60Hz, 16 Inputs+ 8 Outputs Programmable
?
Parker Compumotor VM25 Breakout Module, 25-PIN
?
New Parker 71-018382-01 Encoder Cable for 6K Units
?
Parker AXL-Drive Compumotor, Input: 95-132VAC 50/60Hz, Output: 0.23-3A per Phase
?
New GE Fanuc IC800CBL001A Servo Command Cable, 1 Meter, for DSM302 and DSM314
?
Emerson EN-204 & FM-4 Servo Drive w/ Exlar SR Series Actuator & Cables
?
New Fuji FRN0.1C1S-2J Inverter, 3PH 200-240V IN, 3PH 0.3kVA 200-240V 1-400Hz OUT
?
Allen-Bradley 1201-HAP Programming Terminal, 12VDC 0.110 Amps
?
Parker 71-018308-10 Rev B Compumotor Encoder Feedback Cable 10' Length
?
New In Box LinMot E100-MT (0150-1611) Servo Controller, 24-48VDC
?
Allen Bradley 20G1A ND 186 AN0NNNNN AC Drive 150HP 480VAC 7.001FRN MFG 1/2/13
Allen Bradley 1336F-BF100C-AJ?-CB-CF-D25-HJ2C?-LW-UL Drive Cabinet w/ Reactor
?
Baldor NextMove PCI003-502 Breakout Unit, 19 Inputs, 12 Outputs
?
Baldor CBL021-503 Breakout Cable, 100-Pin, 3m Length (9.8ft)
?
Baldor PCI002-501 Expansion Card, 4 Axes - Servo/Stepper
?
Baldor OPT225-505 NMPPCI2 Dual Expansion BD. Interconnect
?
Baldor NextMove PCI-2 Controller Card, 24V 150mA, 20 PNP/NPN Digital Inputs
?
Baldor Flex Drive II FDH4A05TB-RN23 Servo Drive, 230-460V 3-Phase, 5 Amps
?
Dimetrics Inc 7003 Centaur Travel Rate Servo Controller 117VAC 250W *For Parts*
?
Allen-Bradley 22F-B4P2N103 PowerFlex 1HP 0.75kW, 200-240VAC 3PH IN, 0-400Hz OUT
?
Parker OEMZL6104 Microstepping Drive / Controller, 4A @ 120VAC, 170VDC Bus,
?
Parker GV-L3E-NK Gemini Servo Drive Controller (for parts)
?
Parker ZETA4 Drive Compumotor- BAD - FOR PARTS ONLY
?
Parker 71-016945-03 Gemini Cable, Rev F
?
Aerotech C15801-50 BL MTR FLT 4MS LD Brushless Motor Power Cable 16AWG
?
Aerotech C15291-50 BL FB-25DU-17MS Brushless Motor Feedback Cable
?
Yaskawa SGDF-A2CS Servopack Servo Drive, 24VDC Sup, 20W 0.027HP Out
?
Parker Compumotor GT-L5 Gemini Digital Stepper Drive 120VAC 1PH RS-232/485
?
IMS Panther LE Microstepping Drive 115VAC 50/60Hz 2kB Memory 3 Input 3 Output