FX2系列PLC的编程接口采用RS-422标准,而计算机的串行口采用RS-232标准。因此,作为实现PLC计算机通信的接口电路,必须将RS-422标准转换成RS-232标准。
RS-232与RS-422标准在信号的传送、逻辑电平均不相同。
RS-232采用单端接收器和单端发送器,只用一根信号线来传送信息,并且根据该信号线上电平相对于公共的信号地电平的大小来决定逻辑的“1”(-3~-15V)和“0”(+3~+15V);
RS-422标准是一种以平衡方式传输的标准,即双端发送和双端接收,根据两条传输线之间的电位差值来决定逻辑状态。RS-422电路由发送器、平衡连接电缆、电缆终端负载和接收器组成。它通过平衡发送器和差动接收器将逻辑电平和电位差之间进行转换
选用MAXIM公司的MAX202实现RS-232与TTL之间的电平转换。MAX202内部有电压倍增电路和转换电路,仅需+5V电源就可工作,使用十分方便;选用MAX490实现RS-485与TTL之间的转换。每片MAX490有一对发送器/接收器,由于通信采用全双工方式,故需两片MAX490,另外只需外接4只电容即可。
PLC的RS-422接口配接DB-25型连接器,而PC机一般用DB-9型连接器。硬件电路图如图1所示。
将RS-232的RS、CS短接,这样对计算机发送数据来说,PLC总是处于就绪状态。也就是说,计算机在任何时候都可以将数据送到PLC内。又由于DR、ER交叉连接,因此,对计算机接收数据来说,必须等待至PLC处于准备就绪状态。
2通信装置的软件描述
2.1 FX2系列PLC与计算机之间通信协议
FX2系列PLC与计算机之间的通信采用RS-232标准,其传输速率固定为9600bps,奇偶校验位采用偶校验。数据格式如图2所示。数据以帧为单位发送和接收。一个多字符帧由力所示的五部分组成,其中和校验值是将命令码ETX之间的的呢字符的ASCII码(十六进制数)相加,取得所得和的低二位数。STX和ETX分别表示该字符帧的起始标起和结束标志。
APPLIED MATERIALS – 0040-18024 E-CHUCK,200MM,MKA,SNNF
EDWARDS IQDP80/QMB1200 CONTROL BOX
EDWARDS PUMP SILENCER CONT CONTROLLER
EDWARDS QDP40 DRY PUMP
EDWARDS QDP40-QMB250 PUMP PACKAGE
EDWARDS QDP80/QMB1200 CONTROL BOX
EDWARDS QDP80/QMB500 CONTROL BOX
EDWARDS QMB250 BLOWER
EDWARDS 625 POWER SUPPLY POWER SUPPLY
EDWARDS A38060005 CONT CONTROLLER
EDWARDS A38128100 CONT CONTROLLER
EDWARDS A38131100 CONT CONTROLLER
EDWARDS INTERFACE CONT INTERFACE MODULE, PN D37215000
ENI OEM25 XL RF GENERATOR
FTS SYSTEMS RC100C012/ST RECIRCULATING CHILLER
FTS SYSTEMS RCD 151 CHILLER, RCD 151 PN 778-099694-001
GAST 4KCB-10-M413X COMPRESSOR
KOMATSU ELEC. SPA-1820B CHILLER
LEYBOLD 50B 50 B DRY PUMP
NESLAB HX-75 CHILLER
NESLAB HX-150 CHILLER
NESLAB CFT-25 CHILLER
NESLAB FTC-350 CHILLER
OSAKA TC 1000 POWER SUPPLY
OSAKA TC 530 POWER SUPPLY
OSAKA TC 550 POWER SUPPLY
OSAKA TD2210 TURBO CONTROLLER
OSAKA TD360 TURBO CONTROLLER
OSAKA TG 1000 TURBO PUMP
OSAKA TG 370M
OSAKA TG2203M TURBO PUMP
OSAKA TG2213M TURBO PUMP
OSAKA TG360M TURBO PUMP
SHIMADZU CORP TMP-2001-LME TURBO PUMP
SMC INR-244-602A NESLAB CHILLER
APPLIED MATERIALS – 0090-09259 ESC,195MM NOTCH SIMP
Prometrix FT 750 – File Thickness Mapping System
Fusion G03 – Ozone Asher
LAM 9600 SE – Metal Etcher
APPLIED MATERIALS – P5000 CVD Chamber
Novellus 02-270441-00 – Gas Box
LAM 9600SE – Metal Etcher
Horiba PLCA-520 Particle Counter
JEOL JWS 7700
LAM 4420 – Polysilicon Etcher
ADE – 780 MRT – Digital Measurement System
TEL Act 8 SOD Track Photolithograph
Novellus C1-SN 95-09-962
Novellus C1-SN 89-11-062
Novellus C1-SN 96-47-2195
Novellus C1-Tungsten-Japan
APPLIED MATERIALS – P5000 CVD CHAMBER BODY
ASYST – WX-73 MAPPER ROBOT ASSY
BROOKS AUTOMATION – ROBOT
EBARA – A10S
EBARA – A30W
EDWARDS – IQDP 40 DRY PUMP
M & W – RPC2/28W-RNB DUAL CHANNEL CHILLER
M & W – RPC 28A-2BLP-SG-VK-17
Kaiser Power Supply,Chassis
ADVANCED ENERGY 2194-0013-Q POWER-SPLY, DC, 10KW MASTER
ADVANCED ENERGY 2194-0013-R POWER-SPLY, DC, 10KW MASTER
ADVANCED ENERGY 3152194-008 POWER-SPLY, DC
ADVANCED ENERGY – 3155168-001 – SOURCE, RF MATCH
AKRION – SMS8-2ZQS – TANK, QUARTZ QDR
APPLIED MATERIALS – 0010-00049W – HEXODE ASSEMBLY
APPLIED MATERIALS – 0010-00114 – BEZEL OPERATOR ASSY
APPLIED MATERIALS – 0010-00570 – NESLAB HEAT EXCHANGER
APPLIED MATERIALS – 0010-00800 – RF MATCH NETWORK
APPLIED MATERIALS – 0010-01442 – ASSY UWAVE ENDPOINT
APPLIED MATERIALS – 0010-02570 – ASSEMBLY THROTTLE
APPLIED MATERIALS – 0010-03349 – ASSY HEATER 8″