1、工业现场无人值守控制系统的实现26?0?4?4?.4?4?84?4?4?Vol.26Supp2002?12?uJournalofNanjingUniversityofScienceandTechnologyDec.2002?y?R?+?k?(?d?8?k?,?210096)?4?uWT?L?k?,?1?L?+?k?,?,?y?R?y?5?w?1?y?H46?A?4?1?,?V?k?V?,?-?y?.?4?TP31618WT?L?k?H?d?8?v?g?;?g?k?8?15?1?L?k?1?V?,?y?LCD?#?R?5?n?,?y?,?:?PID?k?/?,?L?5WT?L?R?1?R,?D?
2、PC?R?R?0?R,?C?E?a?k?,?5?Y?y?m?5?k?46?;?y?H?r?,?L?5?p?5?w?f?+?,?f?M,?y?1?,?H?y?5?N46?M?5?p?L?k?;?0,?+?1?L?,?f?4614?1114?.?M?5?V?k?V?Modem?.?R?y?w?1?(?4?,?J?1PC?R?a?o?C?k?R?k?k?46Modem?2?k?-?,?k?n?V?k,?.?f?,?,?n?y?w?(?2?4?k?,?k?y?Modem?.?w?0?,?V?R?,?k?n?-?2?k?46?K?1?;?R46WT?L?,?.?4?+?n?+?,?W?l?+?8?C?V
3、?n,?.?589C51?P113?C?w?,?+,?J?.?6?-?k?8250?T?v,?42?42?42?,?(?2?+?a?,?T?v8250?Modem?k?m?X?k?46?;?AT?S?(Hayes?v?524:2002-09-1,?5?fModem?,?y?),?1?46?0?R?1?5?+?1?PC?-?H?3?pModem?H?,?H?k?4,?,?J?x?,?k?S?1?R46?14?L?5?w?(?K?Fig.14?Systemdiagramofdatatransportationbytelephonenetwork1124?w?WT?L?k?.?L?v?R?w?,?y
4、?p?CD4051?.?m?w?2?V?.?w?(?#?8?w?),?k?n?2?ICL7135?A/D?46?w?2?;?R46?24?Modem?n?R?w?Fig.24?Interfacecircuitdiagramofmodemandmonolithicprocessor?5?1?m,?L?+?V?,?R?.?1?,?J?8?P?o?.?=46?R?4?,?g?l?y?Modem-?-Modem?n?R?1?R?R?,?:?5?-?H?6?y?,?y?,?;?5?v?1?-?y?,5?D?J?v?l?6?-?y?a?,?f?8?+?a,27?4?4?.4?4?84?4?4?4?4?4?
5、4?4?4?4?4?4?M26?089C1820820,?D?42?v?a?,?M?k?46?8250?kModem?42?0?R?y?Modem?.?y?C?1?R?,?5?-?k?Max232?8250?TTL?w?nModem?RS232?w?46?R?y?(?2?r?D?,?R?Modem?(?2?D?8?Modem?y?D?46?:?Modem?AT?S?H?ASCII?2?a?,?5?R?R?AT?T?v?,?k?n?.?-?2?Modem?m?f?1,?Modem?y?,?x?N?2?v?k?ASCII?24624?2114?R?1?34?1?R?1?X?1?Fig.34?Flo
6、wdiagramofmonolithicprocessorModem?5?(?m?p2?E?2:(1)?246?5?2?1DTE(?S)?2AT?Modem,?DTE?42?2?46(2)?5?246?5?2?1DTE?y?Modem?(?J?r?:Modem?,?J?H?.?2?46?C?R?1?:MCS51?v?1?46?T?v8250,?y?,?k?n?y?8250?NModem?2ATDT+?w?2,?k?n?k?y?46?X?1?3?;?R468250?T?v?v?1?146INI8250:MOV4?4?DPTR,#3FBH;?S?N?k?MOVA,#80HMOVXDPTR,AMOV
7、DPTR,#3F8H;4?4?2?MOVA,#80MOVXDTPR,AINCDPTRMOVA,#00HMOVXDPTR,A4?;4?S?N?MSB,?2?00H;MOVDPTR,#3FBH;4?4?T?v?k?;MOVA,#4DHMOVXDPTR,AMOVDTR,#3F;?T?vM?k?,?DTR,RTS?p?MOV,#337?E?M126?D4?4?4?4?4?4?4?4?b?4?y?R?+?k?PCHodemA0HMOVXDPTR,A;2124?0?R?1?:?WINDOWS?,?V?4?y?H?2?D?,?g?l?5VisualC+610?R?46?0?R?1?H?Modem?,?k?n
8、?2?M?ATS0=1W,?p?5?7?M?R?,Modem?H?,?k?n?NDTE?2DSR?,?k?1?R?4634?M?WT?1?k?,?6?5?24h?+?v?H?.?V?42?2?y?R?u,?5?w?R?(?,?PC?R?5?7?k?,?,?1?v,?J?8?1?0?D?46?1?.?1?,?D?y?1?46?V?A14?N1MCS-51?R?5?11:?e?C?C?L?8?#,200124?1VisualC+?-?y?H?n?1?1:?N?w?#,200234?1PC?R?w?1?y?1,1999(7):31?32TheImplementationofSelf2monitorC
9、ontrolSystemofIndustrialEnvironmentShenShuo4?DaiYibao(DepartmentofAutomaticControl,SoutheastUniversity,Nanjing210096)ABSTRACT4?CombinedwiththedevelopmentofWTtemperaturecontrolsystem,amonitorideaofremotetemperaturealarmself2monitorcontrolsystemissuggested.Thehardwareandsoftwaredesignofthissystemtofulfilltheremotecommunicationtechnologyisexpoundedbyusingpublictelephonenetwork.KEYWORDS4?remotemonitor,modem,serialcommunication47?4?4?.4?4?84?4?4?4?4?4?4?4?4?4?4?4?M26?0