EM235,温度传感器,RS485通信.pdf
《EM235,温度传感器,RS485通信.pdf》由会员分享,可在线阅读,更多相关《EM235,温度传感器,RS485通信.pdf(52页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、?PLC?PLC?PLC?EM235?PLC?AD?RS485?PLC?EM235?RS485?www.PLC益益AbstractIn the scientific research and production practice in many fields,Temperature controlhas very important position.Especially in food,awning greenhouse,metallurgy,chemicalindustry,building materials,machinery,petroleum and other industri
2、al and agriculturalproduction that plays an important role.Along with the development of electronic andcomputer technology,by original simple logic quantity control,and gradually has thecomputer control system of the function,because in the computing power,anti-interferenceability,response speed,com
3、munication networking ability,flexibility and maintainability,and other aspects of the many other advantages,PLC in temperature control system got a lotof use,this paper introduces the design of multi-channel based on PLC temperaturegathering system.In PLC control as the core of multi-channel temper
4、ature gathering device,temperaturevoltage signal analogue into the digital quantity through the EM235.PLC is carries on thedata processing for the transformation of the digital by AD.And then by RS485communication to a single chip microcomputer temperature display modules of the display.Key words?PL
5、C?EM235?Temperature sensor?RS485 communicationswww.PLC?.11?.31.1?.31.2?.31.3?.32?.52.1?.52.2 PLC?S7-226CPU.52.2.1 CPU?.52.2.2 CPU?.62.2.3 CPU226?.62.3 EM235?.82.3.1 EM235?.82.3.2 EM235?.82.3.3 EM235?.92.3.4 EM235?.112.4?.132.4.1 Pt100?.132.4.2?.132.4.3?.142.5?.162.5.1?.162.5.2?.162.5.3?.172.5.4?.192
6、.5.5?.192.6?.19www.PLC益药2.6.1Atmega16?.192.6.2 74HC595?.202.7 RS485?.212.7.1 RS485?.212.7.2 S7-200CPU?.223?.233.1?.233.1.1 PLC?.233.1.2?.243.2?.243.2.1?.253.2.2?.263.3?.273.3.1?.273.3.2 PLC?.273.3.3?.284?.30?.32?.33?A?.34?B?.35?C PLC?.36?D?.43www.PLC干?PLC?PLC?Programmable Logic Controller?80?90?PLC?
7、www.PLC?特M往悉成?2?PLC?DCS?PLC?PLC?PLC?PLC?PLC?PLC?PLC?,?;?PLC?,?,?4?48?LED?,?PLC?,?S7-200?EM235?RS485?www.PLC悉度?度子度?S7-200PLC?Pt100?RC?OP07?EM235?AD?PLC?S7-226CPU?RS485?Atmega16?度子形?1.1?素t干嵌嵌?特M往悉成?S7-226CPUAtmega16?JTAGLED?置耦想整成?素t干嵌嵌?干完干?Fig.1.1 Block diagram of the whole system度子总?SIEMENS?S7-200?PL
8、C?A/D?EM235?4?1?A/D?D/A?12?Atmega16?74HC595?LED?www.PLC?特M往悉成?4PLC?CPU?RS485?www.PLC成形?形子度?PLC?S7-226CPU?EM235?RS485?形子形 P示C?S摘-形形择CPUS7-200?PLC?4?6?S7-200?2.1?2.1S7-200?PLC?CPU22X?Tab.2.1 The basic unit of the CPU22X in the series S7-200 PLC?耦操?往嵌嵌点素色往往干接想嵌耦操?往嵌嵌点素色往往往整接往?耦操?往嵌嵌点素色往往想往想干嵌操?耦操?往嵌嵌点素
9、色往往想蓝素往想干接操?耦操?往嵌嵌点素色往往接往想干接操?形子形子度 CPU?往完干 点素色?衰干往解Fig.2.1 CPU configurationPLC?S7-200 CPU226?24?/16?40?I/O?7?248?I/O?35?I/O?26K?6?30kHz?2?20kHz?PID?2?RS485?/?PPI?www.PLC?特M往悉成?6?MPI?I/O?CPU226?2.1?(1)CPU?35mm?(2)?RUN?CPU?CPU?STOP?CPU?TERM?RUN?TERM?Micro/WIN?CPU?形子形子形 CPU?往完往 点素色?Fig.2.2 CPU power
10、supply mode?CPU?2.2?CPU?AC220V?CPU?24V DC?24V DC?CPU?24V DC?24V DC?24V DC?EM235?CPU?24V DC?CPU?220VAC?24V DC?CPU?24V DC?CPU?形子形子总 CPU形形择?2.2 CPU226?Tab.2.2 Performance parameters of CPU226?点素色点素色点素色点素色 往往接往往接往往接往往接 热点尺热点尺热点热点尺热点尺热点热点尺热点尺热点热点尺热点尺热点接特耦操接特耦操接特耦操接特耦操 往干接?往湘热往悉?嵌蓝滤嵌往干接?往湘热往悉?嵌蓝滤嵌往干接?往湘热往
11、悉?嵌蓝滤嵌往干接?往湘热往悉?嵌蓝滤嵌点素色点素色点素色点素色 往往接往往接往往接往往接 湘点尺热点尺湘点尺热点尺湘点尺热点尺湘点尺热点尺?接特耦操接特耦操接特耦操接特耦操 往干接?往滤热往悉?嵌蓝滤嵌往干接?往滤热往悉?嵌蓝滤嵌往干接?往滤热往悉?嵌蓝滤嵌往干接?往滤热往悉?嵌蓝滤嵌www.PLC操益尺精益尺精益尺精益尺精?益尺精?益尺精?益尺精?往想?干接?往成接(干往整?尺干往整?)接想(悉往?尺悉往?)操?操?往想接?接?悉嵌频由z想?往嵌频由z往?往嵌频由z(?热点?)往想?干接?往成接(干往整?尺干往整?)接想(悉往?尺悉往?)操?操?往想接?接?悉嵌频由z想?往嵌频由z往?往嵌
12、频由z(?热点?)?干骚s干嵌骚s干嵌嵌骚s?往成接?想?干接?往悉接?往成接(?)往成接(?)干干往(?特特素置精M)往?干骚s?想?尺?想?往?整?嵌完往往s?往成接?想?干接?往悉接?往成接(?)往成接(?)干干往(?特特素置精M)往?干骚s?想?尺?想?往?整?嵌完往往s?素素益壳 热素尺能?(素素益?)M素益?往?置耦?想整成?晶完接壳 干晶完往?干整操完成频车au里干完往频车au里?干干成完往频车au里?干整操完成频车au里?干嵌嵌嵌?悉整完想频车au里?干往嵌嵌?成嵌?悉往?干往接?悉往?(竟特能置 尺 竟特能蒙)?想?往?往?置耦?想整成?晶完接壳 干晶完往?干整操完成频车au
13、里干完往频车au里?干干成完往频车au里?干整操完成频车au里?干嵌嵌嵌?悉整完想频车au里?干往嵌嵌?成嵌?悉往?干往接?悉往?(竟特能置 尺 竟特能蒙)?想?往?www.PLC?特M往悉成?8(干?素瑞?干?精素)(干?素瑞?干?精素)?往嵌完想?往整完整 药热点干成嵌骚湘(?点素色?往想 药热点)干嵌成嵌骚湘(?往想 药热点)干往湘?往整完整 药热点?整成?往接想 药湘点(想操?接悉 由z)整嵌尺想嵌骚湘(?点素色?干往嵌尺往想嵌 药湘点)悉往嵌尺干接嵌骚湘(?壳干往嵌尺往想嵌 药湘点)形子总 E种形总扩?EM235?4?1?形子总子度 E种形总扩?EM235?2.3?2.3 EM235
14、?Tab.2.3 Technical specification of EM235?想?嵌?干嵌药 嵌?成药 嵌?干药嵌?成嵌嵌骚药嵌?干嵌嵌骚药 嵌?成嵌骚药?干嵌药 成药 往完成药 干药成嵌嵌骚药往成嵌骚药 干嵌嵌骚药 成嵌骚药往成骚药?嵌?往嵌骚湘?悉往嵌嵌嵌?境悉往嵌嵌嵌?嵌?悉往嵌嵌嵌?干往?湘尺热?干?干嵌药?嵌?往嵌骚湘?悉往嵌嵌嵌?境悉往嵌嵌嵌?嵌?悉往嵌嵌嵌?干往?干干?形子总子形 E种形总扩?EM235?2.3?www.PLC晶?往完悉 特M往悉成?衰干往解Fig.2.3 Interconnection diagram of EM235?2.3?X?X?RX?X?X?X?X
15、?A?B?C?D?形子总子总 E种形总扩?(1)?2.4?DIP?EM235?1?6?/?2.4 EM235?1Tab.2.4 Switch installation 1 of EM235特M往悉成?尺?耦蒙干耦蒙往耦蒙悉耦蒙想耦蒙成耦蒙接精竟?精环环?精环环精环环蓝干精环环精竟蓝干嵌www.PLC?特M往悉成?10精竟精环环蓝干嵌嵌精竟精竟?精竟精环环精环环嵌完整精环环精竟精环环嵌完想精环环精环环精竟嵌完往?2.4?DIP?SW6?SW6?ON?SW6?OFF?SW4?SW5?SW1?SW2?SW3?2.4?6?DIP?2.5?2.5 EM235?2Tab.2.5 Switch instal
16、lation 2 of EM235?耦蒙干耦蒙往耦蒙悉耦蒙想耦蒙成耦蒙接精竟精环环精环环精竟精环环精竟嵌?成嵌骚药干往完成药精环环精竟精环环精竟精环环精竟嵌?干嵌嵌骚药往成药精竟精环环精环环精环环精竟精竟嵌?成嵌嵌骚药干往成u湘精环环精竟精环环精环环精竟精竟嵌?干药往成嵌药精竟精环环精环环精环环精环环精竟嵌?成药干完往成骚药精竟精环环精环环精环环精环环精竟嵌?往嵌骚湘成湘精环环精竟精环环精环环精环环精竟嵌?干嵌药往完成骚药?耦蒙干耦蒙往耦蒙悉耦蒙想耦蒙成耦蒙接精竟精环环精环环精竟精环环精环环往成骚药干往完成药精环环精竟精环环精竟精环环精环环成嵌骚药往成药精环环精环环精竟精竟精环环精环环干嵌嵌骚
17、药成嵌药精竟精环环精环环精环环精竟精环环往成嵌骚药干往成药精环环精竟精环环精环环精竟精环环成嵌嵌往成嵌药精环环精环环精竟精环环精竟精环环干药成嵌嵌药精竟精环环精环环精环环精环环精环环往完成药干完往成骚药精环环精竟精环环精环环精环环精环环成药往完成骚药精环环精环环精竟精环环精环环精环环干嵌药成骚药www.PLC干干6?DIP?EM235?0-10V,?6?DIP?SW1?OFF,SW2?ON,SW3?OFF,SW4?OFF,SW5?OFF,SW6?ON?(2)?OFFSET?GAIN?干?往?CPU?15?悉?想?CPU?成?OFFSET?接?CPU?操?GAIN?32000?整?形子总子?E种
18、形总扩?1?EM235?2.4?12?CPU?ADC?12?0?3?0?ADC?1?8?4?0?1?16?2.4 EM235?Fig.2.4 AIW form of EM235?往?EM235?www.PLC?特M往悉成?12?2.5?12?CPU?DAC?12?0?2.5 EM235?Fig.2.5 AQW form of EM235?悉?AIW0?AIW2?AIW4?AQW0?AQW2?AQW0,?AQW4?2.6?CPU224?4?/4?8?4?/1?8?4?/1?2.6?Fig.2.6 Address of anolog extended blockwww.PLC干悉形子?形子?子度
19、Pt度00?,?,?(-200?650?)?Pt100?-50 600?Pt?EEPROM?AD?形子?子形?-?,?,?,?,?,?(2.1)?:()001ttRRtt+=(2.1)?,0t?0tR?,?1?,?Pt100,?t=0?,tR=100?t=1t?,tR=1tR,?()111100tRt+=(2.2)?t?PT100?(2.2)?110011=tRt(2.3)?2.7?tR?1R?2R?3R?A?1R?2R?3R?tR?3R?321RRRRt=(2.4)?1R=2R?3R=tR?3R?www.PLC?特M往悉成?14?1t?110031=Rt(2.5)?2.7?Fig.2.7 P
20、latinum resistance temperature measuring principle diagram?2.7?,?()()oaobtRRRRRR+=+321(2.6)?a?b?c?o?obR=ocR=oaR?LR?形子?子总?Pt100?2.4.2?1mA?Pt100?1.5mA?2.8?www.PLC干成Q15CS9014D112V300kR41Res22kR45Res2+5V12P12Pt100104C20Cap14523678U9ADOP07DH1kR42Res21kR39Res250kR46Res2+12V-12V20KR44RPot+5V50kR38Res2?2.8?
21、Fig.2.8 Constant current source type temperature measurement circuit?CS9014?5V?Pt100?OP07?10?EM235?Pt100?1mA?CS9014?Ic?9014?IeIc=(2.7)?D2?2V?Re/UbeIe=(2.8)IbIc=(2.9)RcbUbeVccIb/)(=(2.10)?VVcc5=?mAIeIc1=?VUbe2=?=K2Re?=KRcb300?Re?mAIc1=?0?PT100?100?100?PT100?140?RIU=(2.11)?100-140 mV?CD4051?0-10V?OP07
22、?+U?U?outU?www.PLC?特M往悉成?16()+=UURRUout3946(2.12)?KR5046=?KR139=?()+=UUUout50(2.13)?50?5-7V?形子扩?形子扩子度?10kHz?30MHz?150MHz?形子扩子形?3?1?www.PLC干操?2?3?EMI?形子扩子总?OP07?1?OP07?OP07?OP07?OP07A?25V?OP07?OP07?OP07A?2nA?OP07A?300V/mV?OP07?150V?1.8nA?0.5V/?www.PLC?特M往悉成?18?2V/month?3V?22V?2?+12V75kR40Res2220UFC18
23、Cap2104C19CapAIW014523678U8ADOP07DH-12V20KR43RPot+5VUoUp?2.9?Fig.2.9 Active low pass filtering?RC?1.=ioupUUU(2.14)?RCjCjRCjUUAiou+=+=1111.(2.15)?RCfp2121=?puppuffjAffjA+=+=111.(2.16)?pU.?RC?oU.=pU.?(2.16)?pf=0.01Hz?C=220uF?R=72.34K?75K?www.PLC干晶?0.0096Hz?104?13?形子扩子?EM235?EM235?形子扩子扩?AC-DC?:(1)?(2)?
24、(?0.01HZ)?(3)?形子择?LED?LED?Atmega16?74HC595?LED?形子择子度 Atme铂身度择?AVR?Atmel?RISC?ReducedInstruction Set Computer?CISCwww.PLC?特M往悉成?20?Complicated Instruction Set Computer?AVR?Flash?/?/?AVR?ATmega16?AVR RISC?8?CMOS?CPU?I/O?/?16K?Flash?8?/?16?/?ATmega16?2.10?PB0(XCK/T0)1PB1(T1)2PB2(AIN0/INT2)3PB3(AIN1/OC0
25、)4PB4(SS)5PB5(MOSI)6PB6(MISO)7PB7(SCK)8RESET9PD0(RXD)14PD1(TXD)15PD2(INT0)16PD3(INT1)17PD4(OC1B)18PD5(OC1A)19PD6(ICP)20PD7(OC2)21XTAL212XTAL113GND11PC0(SCL)22PC1(SDA)23PC2(TCK)24PC3(TMS)25PC4(TDO)26PC5(TDI)27PC6(TOSC1)28PC7(TOSC2)29AREF32AVCC30GND31PA7(ADC7)33PA6(ADC6)34PA5(ADC5)35PA4(ADC4)36PA3(ADC
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- EM235 温度传感器 RS485 通信
限制150内