l程序:PLC指令的有序集合,PLC运行它,可进行相应的工作,当然,这里的程序是指PLC的用户程序。用户程序一般由用户设计,PLC的厂家或代销商不提供。用语句表达的程序不大直观,可读性差,特别是较复杂的程序,更难读,所以多数程序用梯形图表达。
l梯形图:梯形图是通过连线把PLC指令的梯形图符号连接在一起的连通图,用以表达所使用的PLC指令及其前后顺序,它与电气原理图很相似。它的连线有两种:一为母线,另一为内部横竖线。内部横竖线把一个个梯形图符号指令连成一个指令组,这个指令组一般总是从装载(LD)指令开始,必要时再继以若干个输入指令(含LD指令),以建立逻辑条件。后为输出类指令,实现输出控制,或为数据控制、流程控制、通讯处理、监控工作等指令,以进行相应的工作。母线是用来连接指令组的。下图是三菱公司的FX2N系列产品的简单的梯形图例:
它有两组,组用以实现启动、停止控制。第二组仅一个END指令,用以结束程序。
l梯形图与助记符的对应关系:助记符指令与梯形图指令有严格的对应关系,而梯形图的连线又可把指令的顺序予以体现。一般讲,其顺序为:先输入,后输出(含其他处理);先上,后下;先左,后右。有了梯形图就可将其翻译成助记符程序。上图的助记符程序为:
反之根据助记符,也可画出与其对应的梯形图。
ADTEC POWER SUPPLY AP41-343 A PA100119
Agastat Timer 7012PF 1-10 MIN 120VDC Coil 7012-PF
Westinghouse DSL Limiter A400 400a 400 a amp 140D316G05
Foxboro Module for Board Card 2AC NIB
Siemens Reversing Contactor CRL0F4322 120v coil NEW
New Rosemount 3244MV-F1K504 Temperature 3244MVF1K504
Square D FAL34060 Circuit Breaker, 60 Amp, NEW!
3007-125-A FMC Technologies Robot Teach Pendant Control
Allen Bradley SLC500 1747-L30B 30 I/O Processor
Ingersoll Rand D.C. MOTOR SYSTEM 93938736 DC DRIVE
New Allen Bradley 800T-FXP16RA1 Illuminated Push Button
Leukhardt IDC 142-2 S01 IDC142-2S01 502087.008 NEW
MSC Board IDC 16 S02.02 0250012. 066 IDC16S02.02 NEW
NEW ZIATECH ZT8825 AM1 BMO8 REV A.5 MEMORY BOARD
Fanuc GMF ROBOTICS Power Supply EE-0874-020
MTS Semipower 3hp 3 hp DriveBlok Drive ADM1003ECSWC00S
SIEMENS 6ES7-221-1EF00-0XA0 6ES72211EF000XA0
Raritan Computer RCI Master Console MC2E
RELIANCE ELECTRIC BOARD 0-51831-1 51831-1 0518311
Siemens Rev Reversing Contactor CRL0F4322 120v coil NEW
Reliance VSDC Card Module Board 0-52859-2 0528592 52859
Allen Bradley Contactor 100-C60DQ100 100-C60D*00 B NEW
Siemens Contactor 3TF50 220/240v coil
PULSATROL Pulsafeeder 100 Series MBC110 1 phase
Agastat Timer 7012AFL 1-10 MIN 120V Coil
FISHER ELECTRONIC POSITION TRANSMITTER 4211
NEW CPI Siren Speaker for Whelen SH2000 100 Watt Siren
New Omron G7TC-ID16 DC24V G7TCID16 relay Terminal NIB
ITW VORTEC 721T-70 Valve & Adjustable Thermostat NIB
SMC Solenoid Valve NVFS3410-5DZ NVFS34105DZ 24v NEW
Reliance FCCA Board Card 0-51893 051893
BENTLY NEVADA 3300/01 330001 TRANSDUCER VOLTAGE
ARROW ST-61F 110/220V 24V 6W ALARM SIREN TONE GENERATOR
NEW ROSEMOUNT PRESSURE TRANSMITTER 140-04 REV.M 100PSI
Agastat Timer 7012ACL 1.5-15 SEC. 120V Coil 7012-ACL
Agastat Timer 7012ADL 5-50 SEC. 120V Coil 7012-ADL
BUSS FUSEBLOCK BH-0111 LOT OF 4 MODULAR BLOCK BLOCKS
GE FANUC GENIUS Analog BLOCK IC660 IC660EBA100A
Honeywell Mirco Switch SSPE0100V FAP0150 NIB
SMC Guide Block Cylinder MGPM25-30 1.0 MPa NEW
Gould Modicon B353 24vdc Input Module
Devilbiss Lubricator 1/2 HAL-515 250 1/2HAL-51520 NEW
Siemens 5SM2 322-0 RC Unit with (2) 5SY62 MCB C10
Sierra Scientific PreAmp Board 4528 0630431 NEW
NEW ALLEN BRADLEY 800T16HA17KB6AX 800T-16HA17KB6AX
Nemic Lambda Power Supply HR-9F-24 HR9F24 120v 24v NEW
Siemens Reversing Contactor 3RA1317-8XB30-1AK6 NEW
Allen Bradley Contactor 100-C30ZJ10 100-C30Z*00 C NEW
GE PC Board Card ic3600 IC3600AIAD1B OBSOLETE AS IS
Agastat Timer 7012PC 1.5-15 Sec 120VDC Coil 1.5 – 15
Square D Push to Test Pilot Light 9001 TP-21R2 NIB