繁易人機(jī)界面開發(fā)指南_第1頁
繁易人機(jī)界面開發(fā)指南_第2頁
繁易人機(jī)界面開發(fā)指南_第3頁
繁易人機(jī)界面開發(fā)指南_第4頁
繁易人機(jī)界面開發(fā)指南_第5頁
已閱讀5頁,還剩308頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

FE2000系列HMI與控制器連接說 1HMI串行通訊引腳定 2連接電 迅普接 美域接 3傳輸電纜制 串口..........................................................................................................................................USB..........................................................................................................................................網(wǎng)口.......................................................................................................................................... USB更 ABB HanG(漢光 HitachiIESCo.,(日立 InovanceElectricCorporation(匯川 KincoServoSeries(kinco伺服 LSIndustrial Memory RKCInstrument 29DFE2000系是通訊口,可以與PLC以RS232/RS-485/RS-422通訊,COM2主要是連接42PC/123456789系列工業(yè)HMIRS232/485/422通訊端口的控制器。3PLC[RS-485]4PLC[RS-485]21RS4852RS4853RS4854RS485567892連接電 使用RS232使用RS232串口打印,短路塊設(shè)置如下圖所示:使用RS232串口打印,短路塊設(shè)置如下圖所示:使用RS232串口打?。?使用RS232串口打?。? 71 使用RS232串口打印,短路塊設(shè)置如下圖所示:22240點(diǎn)/240點(diǎn)/192點(diǎn)/192點(diǎn)/192點(diǎn)/384點(diǎn)/SiupoSP-M,D,E,384點(diǎn)/熱敏POS384點(diǎn)/576點(diǎn)/240點(diǎn)/熱敏POS240點(diǎn)/333傳輸電纜制USBa.b.b.334用USB電纜更新內(nèi)核和文件系統(tǒng)都更新成功后,再把目標(biāo)HMI1OFF,2置為ON內(nèi)核和文件系統(tǒng)都更新成功后,再把目標(biāo)HMI1OFF,2置為ONABBLinkRS232ontheCPURS232ontheCPULinkRS232ontheCPURS232ontheportRS232ontheportRS232RS232在ABBAC500PLC上位機(jī)軟件串口設(shè)置中,需選擇COM1MODBUS之后,串口通信參數(shù)設(shè)置需要注意第15項(xiàng)“Operationmode”設(shè)置成“SLVEHMI一致。MBPLC中地址為MB0.0.1HMI上地址則應(yīng)設(shè)置為MB0.1;其RS232RS232Port1RS232RS232RS232Port2RS232RS232RS232LinkChannelABSLC500/PLC5/MicroLogixMicroLogix1500Channel InterfaceConverterChannelChannelSLC5/03SLC5/04SLCChannelChannelChannelChannelCPU*1適用于使用RSLinx500軟件編程的*2適用于使用RSLinx5000軟件編程的PLCLinkCPUDirectSeriesEthernet(TCPCPUDirectALLCPUsthatsupportlinkI/FontheCPUSeriesEthernet(TCPAllCPUswhichsupportthelinkI/Fontheright*1適用于使用RSLinx500軟件編程的*2適用于使用RSLinx5000軟件編程的PLC Link1500(1764-ChannelChannel InterfaceChannelChannelSLC5/03SLC5/04SLCChannelChannelChannelChannelCPULinkConnectCPUCPU supportthelinkI/FtheCPU supportthelinkI/Fthe使用ABSLC500/PLC5/MicroLogixSeries使用注意設(shè)置:Protocol:DF1PointtoPoint;ErrorDetection:CRC;1.1.HMI 。名(Name)與文件號(FileNumber)映射:選擇【Logic】【MapPLC/SLCMessages新建一個Name為a的,DataType為協(xié)議不支持?jǐn)?shù)組,所以只能定義Dim0范圍另外又新建Name為b和c的兩個,DataType分別為REAL和只能到999。Number: (NameSupportMapFile對應(yīng)HMIa0INTa0b1cABSLC500/PLC5/MicroLogixSeriesEthernet(TCPSlave)協(xié)議時HMI設(shè)置ABCompactLogix/ControlLogixSeriesEthernet(TCPSlave)協(xié)議時HMI設(shè)置I/O地址格式為:I/O 其中e為槽號,s為元素號,b為位號PLCO00.0/11HMIO00.11;O00.1/8,在HMI上地址則應(yīng)設(shè)置為O01.8;不同CPUAB使用輸入輸出模塊時,I和OHMI上都是連續(xù)排列IntegerdatafilebitBitdataFloatingpointdataIntegerdataFf:n90029為file號,002為元素號地址,即對應(yīng)PLCF9:2AB1761-CBL-PM02(AB8針圓頭非標(biāo)準(zhǔn)RS232RS2322RS2323RS2322RS2323RS2322RS2323RS2322RS2323RS232a.bbLinkRS232ontheCPULinkCOMRS232ontheCPULinearLDDDLinearDNexttrgtAbsDNextMotionMMDDReadAODArray’sUpperUIDArray’sLowLIDPathPGDMotorMODDDBBD2RS2323RS232LinkRS485ontheCPURS485ontheCPULinkRS485ontheCPURS485ontheCPU修改設(shè)置后,最后執(zhí)行UpdateReadogInputformChannel——ReadogInputfromall——D——Enable/disableChannelsfor——ReadChannel——Read——ReadModule——M255255(FF:0-127(7F:0-Channel0-DLinkRS232ontheCPUBaldorNextMoveLinkRS232ontheCPURS232RS232LinkLB LinkRS422ontheCPULinkRS422onthe WORD:例如DB2,在HMI設(shè)備地址寫DB211。LinkBoschRexrothLinkRS485ontheCPUDDBB16為加速時間,B17為時間EPHDDDLinkRS232ontheCPURS485ontheLRS232ontheCPULinkRS232ontheCPURS485ontheLRS232ontheCPURS232點(diǎn)擊【ScpConfigurator】【Scanning】或【AddDevice】【NextIP192.168.1.1192.168.1.1(PCIP地址則與控制器為一個網(wǎng)段即可),保存關(guān)閉。在【ScpConfigurator】【Refresh】【ConfiguratedLogicalDevices】中找到新建的設(shè)備,雙擊能進(jìn)此時打開【Indralogic】【municationParameter】【New】選【TCP/IP】修改地址value值,即設(shè)IP地址與控制器一致:192.168.1.1?!綬esource】【GobalVariables】【HMI】中可變量 L系列PCIndraLogicRexrothIndraControlL40用網(wǎng)口通訊(當(dāng)前PLCIP此處注意必須要選中【Downloadsymbolfile輸入開關(guān)B0后彈出框,設(shè)置如下,點(diǎn)擊【OK通訊上了后,會發(fā)現(xiàn)可以操作(在OnlineRun等操作 RS232RS232LRS232RS232LinkIndraLogicL40ETHontheCPU 模擬,且只支持1HMI和1PLC通訊LinkL40DPMETHontheCPU

PLC的端一定要設(shè)置成6042,HMI的端6042,另外,HMI、PLC必須要設(shè)置在同一個網(wǎng)段上,HMI的網(wǎng)關(guān)最好設(shè)置成跟實(shí)際使用的網(wǎng)絡(luò)的網(wǎng)關(guān)一2.2.跟HMI此時打開【Indralogic】 municationParameter】【New】選【TCP/IP】修改地valueIP【Resource】【GobalVariables】【HMI】中可變量a.交叉網(wǎng)線接線圖: bbLinkRS485ontheCPULinkRS485ontheCPUModbusRS485ontheCPU8-3*FC值8-300FC(即DANFOSS協(xié)議28-31對應(yīng)HMI0120123有索引值時的地址對應(yīng)關(guān)系:如RMW310.13-由于RWD8000通過RW1,RW0將命令字傳給RWD8000當(dāng)RW1=F03(16進(jìn)制)代表停止。ModbusRTU地址對應(yīng)關(guān)系:0X17~0X32

11116255

LinkRS232ontheCPUDVP32RS485onDeltaLinkDVP24DVP32RS232ontheCPURS485onRS232使用RS485通訊時通訊參數(shù)需通過修改D1120RS232RS232LinkRS485ontheCPUDeltaLinkRS485on(1)(設(shè)定通訊地址 (1-255)與HMI組態(tài)軟件中的【PLC站號】相對應(yīng)(2)(設(shè)定波特率(3)(設(shè)定數(shù)據(jù)位(4)(設(shè)定校驗(yàn)位(5)(設(shè)定停止位7,N,18,O,28,E,2(分別對應(yīng)數(shù)據(jù)位,校驗(yàn)位,停止位(uncn:0WORD0X1-1X1-3X1-4X1-對應(yīng)(只有在ALA11上限有效時可調(diào)(只有在ALA11下限有效時可調(diào)(只有在ALA22上限有效時可調(diào)(只有在ALA22下限有效時可調(diào)超過預(yù)設(shè)值對應(yīng)設(shè)定模式低于預(yù)設(shè)值對應(yīng)設(shè)定模式1~99990.1為單位對應(yīng)調(diào)整模式 0:PID(預(yù)設(shè),1:ON/OFF,2 有在PID控制時才可以設(shè)定) 詳見警報輸出模式選擇對應(yīng)設(shè)定模式詳見警報輸出模式選擇對應(yīng)設(shè)定模式 , , ,ON:1CT單位:0.1A對應(yīng)運(yùn)轉(zhuǎn)模式下0.1刻度為計(jì)量單位,0.40.1 0~9900.5秒對應(yīng)調(diào)整模式 0~9900.5秒)(雙輸入時顯示PB0.1~ 0~100%,單位為 Ti00~100%,單位為 雙輸出時COEFDeadband定 對應(yīng)調(diào)整模式下或PIDRUN時顯示1刻度2.8μA1.3mV(模擬輸出時設(shè)定顯示1刻度2.8μA1.3mV(模擬輸出時設(shè)定顯示 閥位DeadBand0~100%,單位為 對應(yīng)PIDSV,1~3對應(yīng)運(yùn)轉(zhuǎn)模式下的(0.1為單位b0:ALM3,b1:ALM2,b2:℉,b3:℃,b4:ALM1,OUT2,b6:OUT1,b7:CT單位:0.1A對應(yīng)運(yùn)轉(zhuǎn)模式V1.000~ 0~7N0執(zhí)行到步驟N0~991~1000~8,8代表程序結(jié)束,0~7 樣式0~7目標(biāo)溫度設(shè)(樣 溫度設(shè)-999~ ~0~7(樣式00~900(1分對應(yīng)設(shè)定模式下~/0:無小數(shù)顯示,1:有小數(shù)顯示。除了TypeB、S、R外皆有 01:執(zhí)行(預(yù)設(shè))運(yùn)轉(zhuǎn)模式0:執(zhí)行(預(yù)設(shè)),1:結(jié)束對應(yīng)運(yùn)轉(zhuǎn)模式0:執(zhí)行(預(yù)設(shè)),1:暫停對應(yīng)運(yùn)轉(zhuǎn)模式LinkRS232ontheCPURS232ontheCPULinkRS232ontheCPURS485onRS232ontheCPURS485onRS232此系列PLC有Port0和Port1Port1口支持RS232RS485Port0Port1EmersonX0-Y0-M0-SM0-S0-T_bit0-C_bit0-D0-SD0-Z0-T_word0-C_word0-計(jì)數(shù)器(32位C_double200-數(shù)據(jù)寄存器(32位D_double0-SD_double0-EmersonX0-Y0-M0-SM0-S0-T_bit0-C_bit0-D0-SD0-Z0-T_word0-C_word0-計(jì)數(shù)器(32位C_double200-數(shù)據(jù)寄存器(32位D_double0-SD_double0-2RS2323RS2322RS2323RS232LinkCPULinkCPUmand0-EpowerSlaveUPSDisp要與UPStext、UPSPanel議將UPSData0放置在公共窗口。RS232RS232FlexEmMasterFlexEmSlave(主從協(xié)議LinkLinkFlexEmMASTERB0–W0–RS232RS232LinkLinkRS232ontheCPUPortPortPortCPUPortCPUPortPortPortLinkFB theCPUFBRS232RS485RS232計(jì)數(shù)器緩存器(32位RDTCC(32位2RS2323RS2322RS2323RS2322RS232LinkRS485interfaceontheFujiRS485interfaceontheLinkRS485interfaceontheRS485interfaceontheHMI265535PLC內(nèi)部設(shè)置后,HMI中寄存器只能讀不能寫。如需可寫,則可修改協(xié)議超時時間2參數(shù),參數(shù)值等于PLC內(nèi)部。舉例:則修改協(xié)議超時時間2為10。DataDCounterCTimerTKeepLMOutputYInputXTimerTWCounterCWDataLinkregister(0W0Linkregister(1W1Linkregister(2W2Linkregister(3W3Linkregister(4W4Linkregister(5W5Linkregister(6W6Linkregister(7W7M_special0DW_special0在PLC軟件中分別對應(yīng)M_special8000DW_special8000DataDCounterCTimerTKeepLMOutputYInputXReadTimerTWCounterCWDataDWLinkSerialConnectoronPowerGEFanucSeriesGEFanucSeriesConnectoronPowerConnectoronPowerPort1onCPUPort2onCPUPortonPowerRS232onRS485onVersaMaxMicroRS232onRS485onLink Link Series90-30RS485ontheCPUunitVersaMax系RS232onRS485onRS232on NanoRS485onLinkConnect GEFanucSeriesSNPRS232GESNP-XRS232SC01-SB01-S01-T001-M0001-G0001-Q0001-I001-ogAQ001-ogAI0001-R0001-GEFanucSeriesVersaMaxRS232RS232RS232RS23227275386551RS232

76765896551RS232RS232LinkRS232onRS485onLinkCOMRS232onRS485onRS232CCV_160-47&80-CCV_3248-RS232RS2329pinD-SUB LinkRS485ontheCPULinkRS485ontheCPUHANUMASTRHHitachiIES LinkHportonSerialport1onSerialport2onPort1onEH-Port2onEH-))))Port1on))))))Port2on))Porton)))))LinkHRS232ontheSerialport1onSerialport2onPort1onPort2onRS232在EH系列中,通常只有port1可使用procedure2進(jìn)行通訊。選用何種procedure則透過DIP特定的SpecialInternalInput(WR)EH150系列中,僅EHCPU***A/448/516/548可以使用procedure2。EHPLC與PC僅能以procedure1連接(@19200bps)。CPU若DIP5為ON,PLC會以WRF037的值來判斷該使用的procedure(1or2)。要設(shè)定該地址則寫入值的最必須為1,如此PLC才會將其余7位數(shù)據(jù)寫入。此數(shù)據(jù)在PLC斷電重開后不會。因此,寫入DIP3,4設(shè)定port1通訊速率3ON,4OFF為19200bps。6OFF,PHLON為19200bpsDIPSW1ON19200bpsPLC會以WRF01Aprocedure(1or2)EH150,設(shè)定該地址不需將最設(shè)為1,當(dāng)數(shù)據(jù)在PLC斷電重開后會。不過若是將R7F6位設(shè)為1,則WRF01A的數(shù)據(jù)會被在Flashmemory中。0x0000forprocedure10x8000forprocedure2ExternalX00.000-ReadExternalRemoteX100.000-ReadRemoteR0000-M0000-FirstCPUL00000-SecondCPUL10000-OnDelayTD00000-ExternalWX000.00-ReadExternalRemoteWX100.00-ReadRemoteWR0000-WM0000-FirstCPUSecondCPUTimerTC00000-X0.015對應(yīng)PLC地址X15,Y1.000對應(yīng)PLC地址Y100,WX0.09對應(yīng)PLCWX9,WY1.00對應(yīng)PLCWY10。其中小數(shù)點(diǎn)后面的一位是編址占用的,有效的地址是從小數(shù)點(diǎn)后2位開始,對應(yīng)PLC地址是去掉小數(shù)點(diǎn)和小數(shù)點(diǎn)后面的第一位上的0。BitWordPLC地 X00.000-X0000-WX0000-X,Y,WX,WYPLCI/O分配地址而定,客戶在使用的過程要確認(rèn)自己的I/O地址(在此協(xié)議編寫過程中,使用的是WX000.00-WX000.03,WY001.00-WY001.01)I/OHitachiEH-RS232LinkHitachiLinkHitachi選件)/7(7bit)/8(8HMI通訊時,A001,A002必須設(shè)置為03(RS485。PExtendFuncHExtendFuncFFuncDateCFuncDateBFuncDateAFuncDateDDDReadDReadReadD(0B)RecountMotorConsDDLinkSerialport0onCPUSerialport1onCPURS232onRS232onLinkEthernetinterfaceonHollysysLKModbusTCPLinkRS232ontheCPURS485ontheCPURS232ontheCPURS232ontheCPULinkETHontheCPURS232在雙冗余系統(tǒng)中,只需將其中一個PLCIP地址設(shè)置在組態(tài)網(wǎng)絡(luò)配置中。需在PLC軟件中設(shè)置PLC站號。LMDDLK

0X1-1X1-3X1-4X1-5X1-RS232RS232 LinkMICRORS232ontheCPUIdecLinkRS232ontheCPUM0.0-Q0.0-I0.0-D0-C_CV0-C_SV0-T_CV0-T_SV0-PLC的M寄存器與HMI的M寄存器對應(yīng)關(guān)系:Q、I對應(yīng)關(guān)系同MRS232RS232LinkCPUCPULinkRS232ontheCPURS422ontheCPURS485ontheCPURS485ontheRS485ontheCPURS485ontheInovanceH2uRS232通過COM0通信,連接方式為RS485,可通過接線端子配線,需要拔下通過COM1通信,連接方式為RS485,需要設(shè)置D8126=01HD816=02HCOM01D810=81H,D8126=02HCOM11D8120=81H,X000-Y000-M0000-T_bit000-C_bit000-SM8000-S000-T000-C000-D0000-SD8000-C_dword200-使用RS485通訊方式時,需拔掉JP0短路塊。LinkRS232ontheCPULinkRS232ontheCPURS485ontheRS2322)AIW和I寄存器只可讀不可寫。2RS2323RS232KincoServoSeries(kinco伺服LinkRS232ontheCPURS485onRS232ontheCPULinkRS232ontheCPURS485onRS232ontheCPURS2328此為CONTROLLER的地址,使用HMI時,注意編址的規(guī)則,具體參照下面的說明。HMI的地址為:主地址.子地址ED系列RS232RS232RS232RS232LinkCPUCPUCPULinkCPULinkCPUCPUCPULinkConnectCPU與PC處于同一網(wǎng)段中,例如下圖所示,并點(diǎn)擊【確認(rèn)】以保存修改內(nèi)容:窗口下的【單元配置】中的“[0]KV-5000R30000PLCIP地址,如可見該地址已經(jīng)修改過來即Counter_contact0-Timer_contact0-CTC_contact0-Relay0-Counter_current0-Counter_preset0-Timer_current0-Timer_preset0-CTH_current0-CTH_preset0-CTC_current0-CTC_preset0-DM0-TM0-R0-CR0-MR0-LR0-DM0-CM0-TM0-EM0-FM0-HMIR0.15RS232RS232LinkRS232ontheCPURS232ontheRS232\RS422ontheLinkRS232ontheCPURS232ontheRS232ontheRS232必須設(shè)定通訊端口采用KsequenceI(X)0-Q(Y)0-M(C)0-TimerT(T)0-CounterDataR(V)0-RS232RS232RS232RS232RS232RS232

9pinD-SUB382755

15 32745

9pinD-SUB897655

15 327459pinD-SUB1110629557436941311141215Link RS232ontheCPU LinkCOMRS232ontheCPURS485ontheCPURS232 軟件:GlobalDrivecode_D:數(shù)據(jù)類型為十進(jìn)制2RS2323RS232LSIndustrial2腳撥LSMaster-K2腳撥LSMaster-K1、2腳保持在LinkPort1onCPUPort2onCPUPort1onCPUPort2onCPURS232ontheCPURS232ontheCPURS232ontheCPURS232ontheCPURS232LSMaster-KCPUDirectRS232LSMaster-KCPUDirect協(xié)議只支持38400bps的通訊速率。RS232LSXGTCPUDirectRS232LSXGTCPUDirect協(xié)議只支持115200bps的通訊速率,且不支持多站號。LSXGTCnetRS232RS232PLC必須工作在【OPR】模式,可在PLC G6L-CUEC打開GMWIN軟件,在菜單 】中打開【etFrameEditorSlotNo.1中即可。LSMaster-KCPUI/OP0.0-M0.0-LinkL0.0-KeepK0.0-F0.0-T0-C0-DataD0-PLCF01HMIF0.1PLC中地址為F2A,而在HMI上地址則應(yīng)設(shè)置為F2.A;其它位寄存器地址依次類推。LSXGTFileR_bit0.0-DataD_bit0.0-LinkL_bit0.0-Z_bit0.0-CounterContactC_bit0-TimerContactT_bit0-F_bit0.0-KeepK_bit0.0-M_bit0.0-I/OP_bit0.0-FileR_word0-DataD_word0-N_word0-LinkL_word0-S_word0-Z_word0-C_word0-T_word0-F_word0-KeepK_word0-M_word0-I/OP_word0-LSXGTCPUFileR_bit0.0-DataD_bit0.0-LinkL_bit0.0-Z_bit0.0-ZR_bit0.0-CounterContactC_bit0-TimerContactT_bit0-F_bit0.0-KeepK_bit0.0-M_bit0.0-I/OP_bit0.0-FileR0-DataD0-N0-LinkL0-S0-Z0-ZR0-CounterSetC_SV0-TimerSetT_SV0-CounterCurrentC_CV0-TimerCurrentT_CV0-F0-KeepK0-M0-I/OP0-BufferBufferBuffer%QX\IX在PLC里面的地址格式為DD.D.D(00.0.00~63.7.63HMI對應(yīng)的地址格式DDDDD(0~637630補(bǔ)足。如PLC內(nèi)部地址為%QX\IX0.3.1,則對應(yīng)HMI的地址為QX\IX301;如PLC址為%QX\IX1.4.63HMIQX\IX1463D.D.(0.0.0~1.7.1如PLC內(nèi)部地址為%QD\ID0.3.1,則對應(yīng)HMI的地址為QD\ID3.1;如PLC址為%QD\ID1.5.1HMIQD\ID15.1D.D.(0.0.0~1.7.3格式為DD.D(0.0~17.3。如PLC內(nèi)部地址為%QW\IW0.3.1,則對應(yīng)HMIQW\IW3.1;如PLC部地址為%QW\IW1.5.3HMIQW\IW15.32RS2323RS232LSMaster-KCPUDirect2RS2323RS232LSXGTCPUDirect2RS2323RS232LSXGTCnet2RS2323RS2322RS2323RS232LinkRS232ontheCPULinkETHontheLustEthernet LinkCOMRS232ontheCPULinkETHontheRS232參考下圖,按T1T210101010按T11sPR按T11sIP按T21slu按T21sb0按T21sb005修改好后,同時按T1和T2鍵,直到顯示or即可(其中同時按T1和T2鍵是保存退出。 RS232RS232a.bb MemoryLinkRS422ontheCPULinkRS422ontheCPU——LinkRS232ontheCPURS485ontheCPUFX□□-485-BD*3RS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPUMitsubishiQ00J(CPURS232ontheCPURS232ontheCPUMitsubishiQseries(CPURS232ontheCPU*3□□表示適用于該P(yáng)LCLinkMitsubishiQJ71E71EtherNetLinkRS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPURS232ontheCPURS485ontheCPUMelsecRS232ontheCPURS232ontheCPURS232ontheCPURS232ontheCPULinkConnectMelsecRS232當(dāng)使用MitsubishiFX1S、MitsubishiFX0N/1N/2N/3G、MitsubishiFX3U通訊協(xié)議時, 若使用通訊功能擴(kuò)展板通訊時,如不使用站號,也可根據(jù) MitsubishiFX-485ADP/485BD/232BDMulti-station)協(xié)議時HMI設(shè)置RS232

當(dāng)使用FX-485ADP/485BD/232BD(Multi-station)通訊協(xié)議時, 在GXDeveloper軟件【工程數(shù)據(jù)列表】中雙擊【PLC參數(shù)】:FX1S/FX1N/FX2N/3G系列D8121、D8129寫值來設(shè)置通訊參數(shù)。4FX3U/3UC系列FX3U/3UC系列PLC需選擇【CH14PLC通訊參數(shù)設(shè)置除了通過【FX參數(shù)設(shè)置】設(shè)置外,還可用PLC中的特殊數(shù)據(jù)寄存器D8120=0xE08E;當(dāng)修改了D8120的設(shè)置后,確保PLC斷電再上電,設(shè)置方可生效。RS232MitsubishiQ00J(CPUPort)通訊協(xié)議時HMI設(shè)置RS232MitsubishiQseriesCPUPort)通訊協(xié)議時HMI設(shè)置RS232RS232RS232 框后,選擇【I/Oassignment、假設(shè)CH1RS23219200/8/Odd/10,可以將Switch1、Switch2、Switch5設(shè)MitsubishiQ_QnA(LinkPort)MitsubishiMelsecQ協(xié)議的區(qū)別:MitsubishiMelsecQ協(xié)議的優(yōu)點(diǎn)是支持模塊的RS232和RS485通訊,缺點(diǎn)是通訊速2行的參數(shù)會自行生成,這樣才能形成雙向的通信。PLC的端口和PC的端口范圍InputX00-OutputM000-TimerT00-CounterC00-DataD000.0-S000-T00-CounterC00-DataD000-SpecialDataSD8000-CounterC_dword235-32bitInputX000-OutputY000-M0000-TimerT000-CounterC000-SM8000-S000-T000-CounterC000-DataD0000-SpecialDataSD8000-CounterC_dword200-32bitInputX000-OutputY000-M0000-TimerT000-CounterC000-SM8000-S000-T000-CounterC000-DataD0000-SpecialDataSD8000-CounterC_dword200-32bitInputX00-OutputM000-DataD000-SpecialDataSD9000-SpecialDataFD4000-InputOutputTimerT_bit000-CounterC_bit000-DataCounterDataExtensionSpecialDataCounter32bitCounterCounterTimerTimerSpecialLinkLinkEdgeLatchOutputInputFileSpecialLinkLinkSpecialDataDataCounterQ00CPU/Q01CPU/Q02HCPU/Q06HCPU/Q12HCPU/SpecialLinkLinkB00000-EdgeV00000-F00000-LatchL00000-SM0000-M00000-OutputInputX0000-LinkW00000-TN00000-CounterCN00000-FileR00000-SN0-SpecialLinkSW0000-File(BlockswitchingisnotZR00000-DataD00000-SpecialDataSD0000-SpecialLinkLinkEdgeLatchOutputInputLinkCounterFileSpecialLinkDataSpecialDataMitsubishiQJ71E71EtherNetS000-SpecialLinkSB000-CounterCC0-CounterCS0-StepSC0-SS0-TimerTC0-TimerTS0-LinkB0000-EdgeV0-F0-LatchL0-SM0-M0-OutputInputX0-LinkW0-TN0-CounterCN0-SN0-FileR0-File(BlockswitchingisnotZRSpecialLinkDataD0-SpecialDataSD0-FXRS232CPURS232FX□□-232-BDRS232RS232CPU口/FX□□-422-BDQRS232CPURS232RS232C24通訊模塊RS232RS232RS232

2732733825551467876376389255514678QRS485/422C24通訊模塊RS422LinkSIOModbusRS232ontheCPURS232ontheCPURS232ontheCPUModbusRTURS232ontheCPUModbusRTURS232ontheCPUModbusLinkModbusRS232onCPU RS232onCPURS232onCPU MT500RS232onCPURS232onCPUModbus0X1-1X1-3X1-4X1-0X1-1X1-3X_bit1.00-4X_bit1.00-6X_bit1.00-3X1-4X1-5X1-6X1-ModbusRTULB0-Mapto0xMapto4xModbusRTUMT5000X1-1X1-3X1-4X1-3X_bit1.00-4X_bit1.00-0X1-1X1-3X1-4X1-3X_bit1.00-4X_bit1.00-RS232RS232 LinkRS485ontheCPULinkRS485ontheCPUD_10-D_20-D_30-LinkRS232ontheCPULinkRS232ontheCPURLMKTCF內(nèi)部R_word0-L_word0-RS232RS232LinkRS232ontheCPUOMRONCSeriesHostLinkOMRONCSeriesHostLinkI/FontheCPUPeripheralportontheCPULinkI/FontheCPUPeripheralportontheCPURS232CportontheCPUPeripheralportontheCPUPeripheralportontheCPURS232CportontheCPM2C-RS232CportontheCPM2C-theCPM2C-PeripheralportontheCPURS232ontheCPUPeripheralportontheCPURS232ontheCPURS232CportRS232ontheCPUOMRONCSeriesHostOMRONCPMSeriesHostRS232ontheCPUOMRONCPSeriesHostRS232ontheCPUOMRONCJ/CSSeriesHostPeripheralportontheCPURS232ontheCPUOMRONCJ/CSSeriesHostPeripheralportontheCPULinkOMRONCJSeriesLinkRS232ontheRS232ontheRS232ontheCPURS232ontheCPUPeripheralportontheCPUunit*1RS232ontheCPUPeripheralportontheCPUunit*1*1使用該通訊口通訊時,PLC撥碼開關(guān)SW4ONLinkConnectOMRONCPSeriesHostLinkRS232OMRONCPSeriesHostLink協(xié)議時,請確保PLC上的撥碼開關(guān)DIP1~6全部置為OFF1ON:寫2ON:上電時程序自動從內(nèi)存卡傳送到OFF:上電時程序不從內(nèi)存卡傳送到3OFF:4ON:1,缺省設(shè)定5ON:2,缺省設(shè)定6ON:A395.12OFF:A395.12OMRONCSeriesHostLinkRS232OMRONCPMSeriesHostLinkRS232OMRONCJ/CSSeriesHostLinkRS232CJ1M系列PLC開關(guān)設(shè)置:SW6、SW7置為ONOFF均可。OMRONCJSeriesEthernet(TCPSlave)協(xié)議時HMI設(shè)置OMRONCSeriesHostHoldDataLinkLR_bit00.00-ChannelCounterTimerHoldDataLinkLR_word00-ChannelI/OOMRONCPSeriesHostW_bit0.00-HoldH_bit0.00-DataCounterCflag0.00-TimerTflag0.00-A_bit0.00-ChannelHoldDataCounterC_word0-TimerT_word0-ChannelI/OOMRONCPMSeriesHostHoldHR0.00-LinkLR0.00-AR0.00-IR0.00-TC0-DataDM0-OMRONCJ/CSSeriesHostChannelCIO0000.00-WR000.00-AR000.00-LatchHR000.00-Timer(TimerUpCounter(CounterUpDataE00.00-ECE00-ECChannelCIO0000-WR000-AR000-LatchHR000-Timer(currentCounter(CurrentDataDM00000-IndexIR00-DataDR00-OMRONCJSeriesEthernet(TCPChannelCIO0.00-W0.00-LatchH0.0-TimerUpT0-CountUpC0-TKB0-ChannelCIO0-W0-LatchH0-TimerCurrentT0-CounterCurrentC0-E0-E180-EM0-IndexIR0-DataDR0-RS232RS232

9pinD-SUB

8893762559459pinD-PeripheralportontheCPUunit(OMRONCJ\CS系列直接使用OMRONHMI通訊。請確保PLC的撥碼開關(guān)SW4被置為ON。PLC485CP1W-CIF11CP1W-CIF12RS422方式通訊的話,請確保模塊背面的撥碼開關(guān)SW1~6全置為OFF。PLC485CP1W-CIF11CP1W-CIF12RS485方式通訊的話,請確保CP1W-CIF11CP1W-CIF12模塊背面的撥碼開關(guān)SW1置為OFF;SW2,SW3,SW5,SW6全部置為ON,而SW4置為ONOFF均可。LinkRS485ontheCPULinkRS485onthe0.0 (C0只讀1.0- 2.0- ActionHC00001(狀態(tài)0DActionCommand地址及相關(guān)信息:0在寫入數(shù)據(jù)時要確?!巴ㄓ崒懭搿痹凇?101:ON(12ariabe(SP1(ON)的狀態(tài)345678站號要與HMILinkLinkConnect——32位整型變量(Integer—N320-————32位整型變量表(Integer32——TuneTuneBBIT(在PLC軟件中B與N32屬性設(shè)置相同BIT(在PLCBTNT屬性設(shè)置相同OPTO22HMI正確:在OPTO22Float型如HMI組態(tài)中選擇FNHMI組態(tài)中選擇FN如在OPTO22軟件中建立PID1,可以顯示出InputSetPointOutputGainTuneITuneDMode地址所對應(yīng)的OPTO22PID1中的1,子地址請參照對應(yīng)表。對應(yīng)表如下:TuneTuneLinkFPToolportontheControlToolportontheControlRS232CportontheControlToolportontheControlRS232CportontheControlToolportontheControlToolportontheControlToolportontheControlRS232CportontheControlRS232CportontheControlLinkToolportontheControlToolportontheControlRS232CportontheControlToolportontheControlRS232CportontheControlToolportontheControlRS232CportontheControlToolportontheControlToolportontheControlToolportontheControlRS232CportontheControlRS232CportontheControl只有 /C10CRS/C14/C14CRS/C16T/C16CP/C32CT/C32CP)才AFP245FP2/FP2SH的多組通訊組合。AFP2803,AFP2084AFP2085RS232FPOutputInputLinkT/CElapsedT/CSettingDataLinkDataLinkFileX寄存器,如在PLCX01HMIX0.1;如在PLC中地址為X1F,則在HMI中地址設(shè)置為X1.F;Y、R、L寄存器地址同X,并依次類推。2RS232383832725515pinMiniDin3RS232

9pinD-SUB

8937625515pinMiniDin

2RS2323RS2322RS2323RS232

2RS232 3RS232 FP3RS4229pinD-SUB

11146224359439pinD-SUBLinkParkerRS232onCPUParkerRS485onCPURS485ontheCPUParkerRS232ontheCPUParkerLinkParkerRS232onCPURS485onCPURS422onCPU RS485ontheParkerRS232ontheParkerCompax3RS232Parker6KParkerR_Bit R_Float0.0-R_Int0.0-

R_BitR_Int寄存器位的表示形式。R_BitDDDDDDD.DD,前7位表示R_Int的地址,后兩位表示位的偏移地址。6kBitinReadTherealnumbervalueTheintegernumbervalueThe32-bithexadecimalinReadRS2322RS2323RS2326k2RS2323RS232LinkRS232ontheCPULinkRS232ontheCPUII0-MM0-P0-QQ0-I Q ReportPositionofPOSDRDRReportFollowingErrorofFERDRWRunCurrentRUN0-WHaltW形式顯示地址時,含A~F的數(shù)值是不能以十進(jìn)制形式顯示,則一律顯示為0。ORD/JOG0000:j+:ORD/JOG0010:j-ORD/JOG0020:j/ORD/JOG0030:j=ORD/JOG0040:jORD/JOG0050:jORD/JOG0060:nn,其中n1-home(hmhomez(hmz:ORD/JOG0150:EnablePLCn:使能卡上的PLCn是PLC0-—RS232RS232LinkRS485ontheLinkRS485ontheTime0-SN0-PN0-相關(guān)硬件請參考power-one公司提供的手冊,這里給出兩種接線方式的具體接線方法:RJ12RKCInstrumentLinkRKCCPURKCLinkRKCRS485theCPU0:24001:48002:9600bps3:1920008無1無奇奇偶157偶2AA:DReadB1:DReadG1:DAB:DReadSR:DDM1:DReadM2:DReadM3:DReadER:DReadS1:DA1:DA2:DA3:DA4:DA5:DP1:DI1:DD1:DW1:DP2:DV1:DT0:DT1:DPB:DLK:DLinkRS232ontheCPUSaiaRS232ontheCPULinkRS232ontheCPURS485ontheCPURS232ontheCPURS2322RS2323RS2322RS2323RS232LinkRS232ontheCPULinkCOMRS485ontheCPUCHSN LinkTERportonthe TSX3705TSX3708TSX3710TSX3710TSX3710TSX3710TSX3710TSX3710TSX3721TSX3722TSX3721TSX3722TSXP57103MTSXP57153MTSXP57203MTSXP57253MTSXP57303MTSXP57TSXP57TERportonthe TSX0730TSX0731TSX0731TSX07 TSX07 TWDLCAA10DRFTWDLCAA16DRFTWDLCAA24DRFTWDLMDA20DTKTWDLMDA20DRTTWDLMDATWDLMDARS485ontheCPUTSX3705TSX3708TSX3710TSX3710TSX3710TSX3710TSX3710TSX3710TSX3721TSX3722TSX3721TSX3722 theCPUTSX3705TSX3708TSX3710TSX3710TSX3710TSX3710TSX3710TSX3710TSX3721TSX3722TSX3721TSX3722 theCPUTWDLCAA10DRFTWDLCAA16DRFTWDLCAA24DRFTWDLMDA20DTKTWDLMDA20DRTTWDLMDATWDLMDARS485ontheCPU RS232RS232 】【軟件新建工程點(diǎn)擊【 設(shè)置好后,把工程到PLC即可RS232Twido的內(nèi)存地址是采用動態(tài)管理的方法,有時候會出現(xiàn)地址但是無法通訊的PLC程序后面加條語句。請參照下面,設(shè)置正確后字或位才可以與HMI設(shè)備通訊。動】改為一個較大的數(shù)值,到PLC。數(shù)據(jù)寄存器(32位0X0-1X0-3X0-4X0-TWIDOMHMI0X,MWHMI4X。HMIHMI1X,3XTWIDOHMI里面不要使用1X,3X。HMI的地址必須是PLC1。例如:PLC里面的M0對應(yīng)HMI0X1使用 需把電纜中間旋鈕方向指到2位置,并在HMI與編程電纜間加一根RS232直連線。Schneider公司生產(chǎn)的串口編程電纜與HMI使用SchneiderTwidoModbusRTULinkRS485ontheCPULinkRS485ontheCPUArrayCode0-HHPV_Read0-HReference300-讀讀讀控制輸出1讀控制輸出2讀讀讀讀當(dāng)前執(zhí)行的PID讀讀讀DI讀讀讀0=1=讀0=1=0.12=0.013=0.001讀讀讀0=1=讀讀讀讀讀讀讀當(dāng)前執(zhí)行的PID讀讀七個開關(guān)量(0-100時寫寫通信方式:0:LOC1:ADDR通訊地址的參數(shù)設(shè)定時,其設(shè)定值一定要與所對應(yīng)的PLCFP23可編程PID810點(diǎn)一定要短接,否則通訊失敗。LinkRS485ontheCPUMPIportontheCPUMPIportontheCPULinkCP243-1 S7-1200EthernetCP343-1 S7-400Ethernet(TCPSlave)CP443-1onCPULinkRS485ontheCPU MPIportontheCPU(MPIMPIportontheCPU LinkCP243-1CP343-1CPU315-2PN/DPCPU317-2PN/DP CP443-1 RS232

使用S7-300/400(PCAdapterDirect)協(xié)議時HMI設(shè)置RS232RS232HMI通訊時需使用適配器轉(zhuǎn)換,且只能1HMI對1PLC通訊。在PLC程序配置中必須要建立相應(yīng)的DB塊,否則相關(guān)寄存器(DB.DBXDB.DBW,315-2DP為例,CPUPGCommunication1,OPCommunication1,S7Standard為2S7300CPU3臺HMI4并保持三項(xiàng)的總數(shù)不超過Connection的最大數(shù)量16即可!若要增加PLC之間的通訊,則要增加OPCommunication的數(shù)量。使用S7-200Ethernet(TCPSlave)協(xié)議時HMI設(shè)置在STEP7-Micro/WIN中利用以太網(wǎng)向?qū)ЫM態(tài)CP243-1。需要信息可以通過F1參考STEP7-Micro/WIN的。12如果模塊位置被組態(tài)為“位置0”,則HMI只能和CP243-1建立 接檢查CP是否被連接到位置【ZERO3IP(如CP243-1)BOOTP服務(wù)器是一個削減版的DHCP4PtP為模塊指定命令字節(jié)以及使用CP243-15組態(tài)CP243-1HMI6CRC7 89步驟10使用S7-1200Ethernet(TCPSlave)協(xié)議時HMI設(shè)置完成組態(tài)后,可進(jìn)行設(shè)備。如果第一次的情況,將進(jìn)入“Extendeddownloadtodevice”框。勾選顯示所有連接設(shè)備(Showallaccessibledevices)選項(xiàng)。雙擊【Addnewblock定義數(shù)據(jù)塊的時候,注意PLCHMI中設(shè)置的數(shù)據(jù)類型一致。例如數(shù)據(jù)類型為REAL的話,則在HMI中數(shù)值元件數(shù)據(jù)類型需設(shè)為單精度浮點(diǎn)型。PLCHMIHMIDB5.DBW32DB5.DBW32PLCDB5.DBW32DB5.DBW34 使用S7-300Ethernet(TCPSlave)協(xié)議時HMI設(shè)置在硬件配置中,插入CP300的工業(yè)以太網(wǎng)模塊CP343-使用S7-400Ethernet(TCPSlave)協(xié)議時HMI設(shè)置PLC號為3。六進(jìn)制值為0xC0A864F8,然后再轉(zhuǎn)換成十進(jìn)制值為 應(yīng)十六進(jìn)制數(shù)為0x13,也就是說軌道號為1,槽號為3。組態(tài)時只需配置一臺PLC,無需配置兩臺PLC在硬件配置中,插入CP400的工業(yè)以太網(wǎng)模塊CP443-SCRS.B0.0-SM.B0.0-Cnt0-M.B0.0-Q.B0.0-I.B0.0-SD0-SMD0-內(nèi)部內(nèi)存(32位MD0-QD0-ID0-Cnt0-變量內(nèi)存(32位VD0-M.B0.0-Q.B0.0-I.B0.0-內(nèi)部內(nèi)存(32位MD0-QD0-ID0-變量內(nèi)存(32位VD0-IQM數(shù)據(jù)寄存器(32位內(nèi)部寄存器(32位MD外部輸出寄存器(32位QD外部輸入寄存器(32位IDIQM 數(shù)據(jù)寄存器(32位數(shù)據(jù)寄存器(32位內(nèi)部寄存器(32位MD外部輸出寄存器(32位QD外部輸入寄存器(32位ID符號DB。DBn_DBX,DBn_DBW,DBn_DBD為自定義數(shù)據(jù)塊地址。數(shù)據(jù)格式前三位為數(shù)據(jù)塊以DB20.DBX23.4為例,組態(tài)中地址應(yīng)對應(yīng) IQM 數(shù)據(jù)寄存器(32位數(shù)據(jù)寄存器(32位內(nèi)部寄存器(32位MD外部輸出寄存器(32位QD外部輸入寄存器(32位IDMBIBQBDBn_DBX,DBn_DBW,DBn_DBD為自定義數(shù)據(jù)塊地址。數(shù)據(jù)格式前三位為數(shù)據(jù)塊以DB20.DBX23.4為例,組態(tài)中地址應(yīng)對應(yīng) IQM 數(shù)據(jù)寄存器(32位數(shù)據(jù)寄存器(32位MW內(nèi)部寄存器(32位MDQW

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論