指令系统:一个PLC所具有的指令的全体称为该PLC的指令系统。它包含着指令的多少,各指令都能干什么事,代表着PLC的功能和性能。一般讲,功能强、性能好的PLC,其指令系统必然丰富,所能干的事也就多。我们在编程之前必须弄清PLC的指令系统
程序:PLC指令的有序集合,PLC运行它,可进行相应的工作,当然,这里的程序是指PLC的用户程序。用户程序一般由用户设计,PLC的厂家或代销商不提供。用语句表达的程序不大直观,可读性差,特别是较复杂的程序,更难读,所以多数程序用梯形图表达。
梯形图:梯形图是通过连线把PLC指令的梯形图符号连接在一起的连通图,用以表达所使用的PLC指令及其前后顺序,它与电气原理图很相似。它的连线有两种:一为母线,另一为内部横竖线。内部横竖线把一个个梯形图符号指令连成一个指令组,这个指令组一般总是从装载(LD)指令开始,必要时再继以若干个输入指令(含LD指令),以建立逻辑条件。最后为输出类指令,实现输出控制,或为数据控制、流程控制、通讯处理、监控工作等指令,以进行相应的工作。母线是用来连接指令组的。下图是三菱公司的FX2N系列产品的最简单的梯形图例:
它有两组,第一组用以实现启动、停止控制。第二组仅一个END指令,用以 结束程序。
梯形图与助记符的对应关系: 助记符指令与梯形图指令有严格的对应关系,而梯形图的连线又可把指令的顺序予以体现。一般讲,其顺序为:先输入,后输出(含其他处理);先上,后下;先左,后右。有了梯形图就可将其翻译成助记符程序。上图的助记符程序为:
地址 指令 变量
0000 LD X000
0001 OR X010
0002 AND NOT X001
&nbs
p; 0003 OUT Y000
0004 END
反之根据助记符,也可画出与其对应的梯形图。XYCOM 4810E IT TERMINAL
XYCOM 3406 KPT 3406-0000010000001 HMI-SH316-PE
XYCOM VMEBUS BOARD XVME-957 *NEW*
XYCOM 71674A-100 Eskofot 073-003-000 073-039-000
XYCOM XVME 977 HARD DRIVE & DISKETT CONTROL BOARD VME
Xycom 9460 Industrial PC Interface Operator Panel Xycom
USED Xycom XVME-660 VMEbus Pentium III Processor Module
Xycom 1510-30A7115028000
Xycom 3510-0104140012006 Operator Interface 513332-F-A
Xycom 3510 T 0104140012008 Operator Interface 513332-FA
XYCOM 2000 USPP 2000
XYCOM SXT1811T USPP SXT1811T
XYCOM/PROFACE 5015T/R2 OPERATOR INTERFACE PANEL *XLNT*
XYCOM PM-102036 USPP PM102036
Xycom 1510-20A4113029000 Computer Inb Pentium 4
Xycom 2005, 97958, Industrial Terminal (NIB)
Xycom Model 4810ER XYCOM MONITOR Industrial Terminal
XYCOM 10.4" VGA NEMA TFT Color Industrial Monitor 166
XYCOM 3712 KPM INDUSTRIAL COMPUTER BRAND NEW
XYCOM AUTOMATION P/N 3410T INDUSTRIAL COMPUTER
Xycom 9450 / 9403 14" CRT Display - LCD Replacement
XYCOM XVME-428/1 USPP XVME4281
XYCOM XVME-428/2 USPP XVME4282
Xycom 3410 T 301412001300P Interface 513332-F-95
XYCOM 97958 USPP 97958 6DD1607-0AA2
XYCOM OPERATOR PANEL 26S14MA501
Xycom VMEBus IASCM XVME-428/1 Mainframe Board VME Card
XYCOM PM8500 USPP PM8500
XYCOM 1510 6DD1607-0AA2
XYCOM 1500 w/ C200PC-EXP01, C200PC-PD024, C200PC-ISA03
XYCOM XVME-230 USPP XVME230
XYCOM 8430-0443338002110 USPP 8430044333800211
XYCOM PRO-FACE OPERATOR INTERFACE 3715-KPM 3715KPM 5A
XYCOM 3712 KPM INDUSTRIAL COMPUTER BRAND NEW
XYCOM 5015T USPP 5015T 6DD1607-0AA2
Xycom PCB 1806 Board 81862-003R 81862FA NEW NNB
XYCOM 70401-001 USPP 70401001
XYCOM 3510 OPER. INTERFACE 10.4IN VGA COLOR FLATPANEL
XYCOM XVME-560 NSFP XVME560 6DD1607-0AA2
XYCOM XVME-113 NSPP XVME113
XYCOM 3110-0101-000000000 USPP 3110010100000000
XYCOM AUTOMATION 3515 OPERATOR INTERFACE PANEL -- USED
XYCOM XVME-401
XYCOM XVME-500/4
XYCOM XVME-505/2 6DD1607-0AA2
Xycom 5015T Pro-face 15" Touchscreen LCD Monitor
Xycom Operator Screen 97957-121 97957121 2000T 97951022
Xycom Operator Screen 2000T 97957-101 97957101
XYCOM 3100-0101000000000 USPP 3100010100000000
XYCOM 1500
XYCOM 1500
Pro-face Xycom 3112T Industrial Touchscreen PC
XYCOM IASCM XVME-428/1 6DD1607-0AA2
XYCOM XVME-113 USPP XVME113
XYCOM 3612T TOUCH SCREEN DISPLAY
Xycom PCB Control Board M# XVME-230 ~REPAIRED SURPLUS~
XYCOM VMEbus DIO XVME-224
XYCOM VMEbus XVME-113
XYCOM VMEbus XVME-113
XYCOM XVME-560 USPP XVME560
XYCOM XVME-260 RELAY OUTPUT BOARD 70260-001 NEW
XYCOM 9407-KPM USPP 9407KPM
XYCOM 9407-T USPP 9407T 6DD1607-0AA2
XYCOM SRM System Resource Module XVME-010 PN: 70010-001
XYCOM AOUT XVME-530 VME BUS 71530D 70530-001 BOARD
XYCOM 9475 FLAT PANEL 6DD1607-0AA2 INDUSTRIAL PC OPERATOR INTERFACE
XYCOM PRO-FACE 3115T TOUCH SCREEN COMPUTER MACH3 CNC
Xycom XVME-678 VMEbus PC/AT Processor Module
Xycom XVME-675 VMEbus CPU Control Board Processor
USED Xycom XVME-674 VMEbus CPU Control Board Processo