CC-TDIL01 51308386-175
CC-TDIL01 51308386-175
CC-TDIL01 51308386-175
:祖巧麗
:
下面用一個(gè)簡(jiǎn)單的例子來進(jìn)一步說明PLC的掃描工作過程。圖1-6給出了PLC的外部接線圖和梯形圖,起動(dòng)按鈕SB1停止按鈕SB2和熱繼電器FR的常開觸點(diǎn)分別接在編號(hào)為X0~X2的PLC的輸入端,交流接觸器KM的線圈接在編號(hào)為Y0的PLC的輸出端。圖1-6b是這4個(gè)輸入/輸出變量對(duì)應(yīng)的I/O映像寄存器,圖l-6c是PLC的梯形圖,它與圖1-3所示的繼電器電路的功能相同。但是應(yīng)注意,梯形圖是一種軟件,是PLC圖形化的程序。圖中的X0等是梯形圖中的編程元件,X0~-X2是輸入繼電器,Y0是輸出繼電器。梯形圖中的編程元件X0與接在輸入端子X0的SBl的常開觸點(diǎn)和輸入映像寄存器X0相對(duì)應(yīng),編程元件Y0與輸出映像寄存器Y0和接在輸出端子Y0的PLC內(nèi)部的輸出電路相對(duì)應(yīng)。
梯形圖以指令的形式儲(chǔ)存在PLC的用戶程序存儲(chǔ)器中,圖l-6中的梯形圖與下面的5條指令相對(duì)應(yīng),“;”之后是該指令的注釋。
LD X0 :接在左側(cè)母線上的X0的常開觸點(diǎn)
OR Y0 ;與X0的常開觸點(diǎn)并聯(lián)的Y0的常開觸點(diǎn)
ANI X1 ;與并聯(lián)電路串聯(lián)的X1的常閉觸點(diǎn)
ANI X2 ;串聯(lián)的X2的常閉觸點(diǎn)
OUT Y0 ;Y0的線圈
圖1-6中的梯形圖完成的邏輯運(yùn)算為
Y0=(X0+Y0)·X1·X2
在輸入處理階段,CPU將SBl,SB2和FR的常開觸點(diǎn)的狀態(tài)讀入相應(yīng)的輸入映像寄存器,外部觸點(diǎn)接通時(shí)存入寄存器的是二進(jìn)制數(shù)l,反之存入0。
執(zhí)行第l條指令時(shí),從X0對(duì)應(yīng)的輸入映像寄存器中取出二進(jìn)制數(shù)并保存起來。執(zhí)行第2條指令時(shí),取出Y0對(duì)應(yīng)的輸出映像寄存器中的二進(jìn)制數(shù),與X0對(duì)應(yīng)的二進(jìn)制數(shù)相“或”(電路的并聯(lián)對(duì)應(yīng)“或”運(yùn)算)。
執(zhí)行第3條或第4條指令時(shí),分別取出xl或X2對(duì)應(yīng)的輸入映像寄存器中的二進(jìn)制數(shù),因?yàn)槭浅i]觸點(diǎn),取反后與前面的運(yùn)算結(jié)果相“與”(電路的串聯(lián)對(duì)應(yīng)“與”運(yùn)算),然后存入運(yùn)算結(jié)果寄存器。
執(zhí)行第5條指令時(shí),將運(yùn)算結(jié)果寄存器中的二進(jìn)制數(shù)送入Y0對(duì)應(yīng)的輸出映像寄存器。 在輸出處理階段,CPU將各輸出映像寄存器中的二進(jìn)制數(shù)傳送給輸出模塊并鎖存起來,如果Y0對(duì)應(yīng)的輸出映像寄存器存放的是二進(jìn)制數(shù)1,外接的KM的線圈將通電,反之將斷電。
如果讀入輸入映像寄存器X0~X2的均為二進(jìn)制數(shù)0,在程序執(zhí)行階段,經(jīng)過上述邏輯運(yùn)算過程之后,運(yùn)算結(jié)果仍為Y0=0,所以KM的線圈處于斷電狀態(tài)。按下起動(dòng)按鈕SBl,X0變?yōu)?/span>l狀態(tài),經(jīng)邏輯運(yùn)算后Y0變?yōu)?/span>1狀態(tài),在輸出處理階段,將Y0對(duì)應(yīng)的輸出映像寄存器中的1送到輸出模塊,PLC內(nèi)Y0對(duì)應(yīng)的物理繼電器的常開觸點(diǎn)接通,接觸器KM的線圈通電.
MITSUBISHI FREQROL A024 INVERTER DRIVE FR-A024-S1.5K-E?R
MITSUBISHI AC SERVO MOTOR HC-KFS23K W/ KAMO BALL REDUCER BR100SH-20G-S03?2
FANUC ROBOTICS 0.2kW 2.8A MODEL BO.5/3000 AC SERVO MOTOR A06B-0113-B175#?0008
FANUC AC SERVO MOTOR MODEL 0S A06B-0313-B003
YASKAWA ELECTRIC AC SERVO MOTOR, NO LABEL, LISTING #1
SETCO HORIZONTAL MOUNTING 3PH 1A 460V 3.0HP SPINDLE MOTOR 6103.3.BBLCY297?22
GE FANUC ROBOTICS 10S/3000 AC SERVO MOTOR A06B-0317-B005#?7008
FANUC * 2000RPM 3PHASE AC SERVO MOTOR 1-0SP * A05B-0371-B075
API GETTYS PERMANENT MAGNETIC AC SERVO MOTOR M464-GNSB-720Y-?AA *WIRE*
YASKAWA * 4500W 1500RPM N.M 28.4 SERVO MOTOR * SGMDH-45A2B-YR1?2
PARKER HANNIFIN SERVO MOTOR AD23A-048-10
MITSUBISHI ELECTRIC 3-PHASE 104V 2.8A 400W AC SERVO MOTOR HC-KFS410-S46
YASKAWA ELECTRIC * 1300W 9.9A AC SERVO MOTOR * USADED-13-YR21
INDRAMAT 52kW INDUCTION SERVO MOTOR 2AD 180C-B35RR1-BS0?1-D2N1
GE FANUC ROBOTICS 10S/3000 AC SERVO MOTOR A06B-0317-B205#?7008
FANUC ROBOTICS 30S/3000 AC SERVO MOTOR A06B-0319-B074#?7000
MODICON EMECANIQUE 1940W AC SERVO MOTOR BPH0953N5AF2CA2
MOORE PRODUCTS CO PRESSURE GAUGE 0-100 PSI, LOT OF 2
FANUC ROBOTICS 3-0F AC SERVO MOTOR A06B-0368-B031 *WIRING*
MOOG BRUSHLESS SERVO MOTOR 304-240 WITH COOPER BUCKEYE GEAR BOX 84MDC-904
MATSUSHITA ELECTRIC 3000 R/MIN 200W AC SERVO MOTOR MFA020HA1NSJ
YASKAWA ELECTRIC AC SERVO MOTOR, NO LABEL, LISTING #5
MITSUBISHI ELECTRIC 3-PHASE 106V 0.8A 100W AC SERVO MOTOR HC-KFS13BD
SIEMENS 17/19.5/22KW AC SPINDLE MOTOR 1PH7137-2ND02-0?CJ0
FANUC ROBOTICS 3-0F AC SERVO MOTOR A06B-0368-B031
FANUC 5F/3000 AC SERVO MOTOR A06B-0346-B255
UNELEC * 1800RPM 51.5A 17KW SPINDLE MOTOR * CPWS132S
GETTYS PERMANENT MAGNET SERVO MOTOR M122-B30A-SY0F-?CD
INDRAMAT ASYNCHRONOUS SPINDLE MOTOR 2AD132B-C50A1-B?S03-D2V2 *NO FAN*
YASKAWA ELECTRIC AC SERVO MOTOR, NO LABEL, LISTING #2
MAVILOR DC SERVO MOTOR M0300 00220 SER.MSS
ELWOOD CORP. 0.86HP 5200RPM AC SERVO MOTOR M432-NYNO-OYOY-?1C
ABB ROBOTICS SERVO MOTOR, 1 FT3044-5AZ21-9-?Z
INDRAMAT DIGITAL AC SERVO DRIVE CONTROLLER DDS02 1-W200-D
GE SYSTEMS 5KE48WN8202 2.0HP 208-230/480V FRAME 145T 1725/1425RPM SERVO MOTOR
YASKAWA ELECTRIC 2200W 200V 15.7A AC SERVO MOTOR SGMDH-22A2A-YR1?2, PLUG
REXROTH INDRAMAT SERVO MOTOR MDD093C-N-030-N?2M-110GA2
INDRAMAT 3-PHASE INDUCTION SERVO MOTOR 2AD132D-B350B2-?AS03-D2V1 / 256468
ALLEN BRADLEY .7KW AC SERVO MOTOR 1326AB-A1G-11 / 122285
KAWASAKI HEAVY INDUSTRIES 2400RPM 16.7 N-m AC SERVO MOTOR MFA420FY0BS REV. A
BOSCH PERMANENT MAGNET BRUSHLESS SERVO MOTOR SF-A2.0041.030-?10.050
MITSUBISHI ELECTRIC 3-PHASE 111V 1.4A 200W AC SERVO MOTOR HF-KP23K *CHIPPED*
ELAU SM-070/60/010/P?1/45/M1/B0 SERVO MOTOR, NIB
REXROTH SERVO MOTOR MAC112B-0-LD-3-?C/130-A-0/S005 W/ ALLEN BRADLEY ENCODER
INDRAMAT 3-PHASE INDUCTION SERVO MOTOR 2AD132D-B05OB2-?AS03-B2N1 *MISSING FAN*
YASKAWA ELECTRIC 3-PHASE 200W 0.24Nm AC SERVO MOTOR USAHEM-02VYU11 *PARTS/REPAIR