3HNA006144-001 ABB
厦门莫格电气自动化产品均为原装正品,库存充足,
一套完整的PLC程序,并不仅仅是使系统能够运行起来这么简单,它也需要完整的注释、精良的架构、良好的可扩展性、完备的报警保护系统、运行前的模拟系统。下面就以STEP7的经验和大家分享一下。
一、完整的注释
在自动化领域,控制设备的竞争激烈程度,大家有目共睹,各个大鱼小虾,拼命的宣传自己的产品。可大家忘了,程序也是自己的产品,而作为一件有产品属性的程序,怎么可能不穿衣服,就光秃秃的骑马上阵呢?
程序的注释,起码应该有以下三个方面(STEP7为例):
1、系统注释:整套程序的版权公司和此套程序用途
2、程序块注释:此程序块的主要用途和作者
3、段注释:此段代码的用途
4、变量注释:重要性不再多言
而至于保密性的考虑,我觉得应该再程序的加密算法或者块的加密上考虑,而不应该用减少注释这种小聪明来实现。
二、精良的架构
PLC程序无论控制的是一个设备或者是以一套系统,在程序编写之前都应该按照功能或者区域设计好整个PLC程序系统的结构,尤其是几个人共用一套PLC系统的时候,一般来说结构应包括以下部分:
1、公共组织程序区:OB1、OB35、OB81....等(STEP7)
2、设备功能程序区:一些现成的可以多次调用的程序块,如单向电机、双向电机、模拟量转换
3、公共程序区:通讯功能、模拟量采集、数字量采集
4、功能区:如液压站功能区、入炉辊道功能区、出炉辊道功能区
5、报警功能区:根据需要或者在各个功能区后面,或者单独独立出来
6、数据块区:根据功能,划分成有规律的数据区
一个良好的结构,可以使人很容易看明白整套程序,具备良好的可读性
三、良好的扩展性
许多程序可能在进现场之前都已经编好,但是到了现场,可能还需要添加另外的程序,为了避免打乱整套系统的结构,我们需要在每个功能区预留一定的空间作为备用。
四、完备的报警保护系统
我们的PLC系统往往用于工业环境中,每一次的事故都会造成或大或小的损失,为了做到事故预处理或者在事故中将损失降到最小,我们必须重视PLC的报警和保护,在此将其摘出来作为系统的一个重要组成部分。
MITSUBISHI ELECTRIC MODULE QM150DY-H
MITSUBISHI FREQROL - A200 6.9 AMPS FR-A260E-2. 2K-UL NIB
MITSUBISHI ELECTRIC 200A FAST RECOVERY DIODE MODULE N53BA1 / RM200HA-24F
MITSUBISHI 30/40HP FREQROL-A200 AC DRIVE FR-A240E-22K-UL *NO COVER/CONTROLLE?R*
MITSUBISHI 2.2KW INVERTER MODULE FR-E520-2.2KN
MITSUBISHI ELECTRIC FX-40DU CPU BOARD JY331A60901C
MITSUBISHI MELSEC-Q POWER SUPPLY UNIT Q64P 100-120/200-240?VAC
MITSUBISHI ELECTRIC MELSEC-Q BASE UNIT Q33B-E
MITSUBISHI ELECTRIC MELSEC-Q INPUT/OUTPUT UNIT QH42P
MITSUBISHI ELECTRIC 100W AC SERVO MOTOR HF-KP13BD
MITSUBISHI ELECTRIC CNC MEMORY MODULE MEM-A0 MC433
MITSUBISHI ELECTRIC MELSEC 24VDC 2A 240VAC 2A OUTPUT UNIT AJ65SBTB2-16R
MITSUBISHI ELECTRIC CONTROL BOARD 10274-PR01A
MITSUBISHI MODULE QM50TX-H
MITSUBISHI 24VDC COIL 20A MAGNETIC CONTACTOR SD-N11
MITSUBISHI ELECTRIC POWER BLOCK MODULE QM30TB-H
MITSUBISHI 1/1.5HP FREQROL-A500 VARIABLE FREQUENCY AC DRIVE FR-A540-0.75K-N?A
MITSUBISHI 7.5/10HP FREQROL A-200 AC DRIVE FR-A240-5.5K-UL *DAMAGED PLASTIC*
MITSUBISHI ELECTRIC VARIABLE FREQUENCY AC DRIVE FR-E740-060-NA
MITSUBISHI FREQROL E500 0.4kW VARIABLE FREQUENCY AC DRIVE FR-E520-0.4KN
MITSUBISHI ELECTRIC MELSEC PROGRAMMABLE CONTROLLER FX0N-40MR
MITSUBISHI ELECTRIC MELSEC-Q 24VDC INPUT UNIT QX41
MITSUBISHI ELECTRIC MELSEC-Q ETHERNET I/F UNIT QJ71E71
MITSUBISHI FR-A260E-2.2K-U?L INVERTER DRIVE FREQROL -A200
MITSUBISHI ELECTRIC 100W AC SERVO MOTOR HF-KP13
MITSUBISHI, MAC647PI, AC EXTENSION PIPING KIT, 16.4 FT, NIB
MITSUBISHI, MAC647PI, AC EXTENSION PIPING KIT, 22.9 FT, NIB
MITSUBISHI ELECTRIC 24VDC COIL CONTACTOR SD-N80 *BROKEN PLASTIC*
MITSUBISHI ELECTRIC MELSEC-Q BASE UNIT Q38B
MITSUBISHI ELECTRIC MELSEC-Q DATA LINK UNIT QJ71LP21-25
MITSUBISHI ELECTRIC DIODE MODULE RM300CA-9W
MITSUBISHI 24VDC GRAPHIC OPERATION TERMINAL A850GOT-SWD
MITSUBISHI ELECTRIC MELSEC-Q A/D CONVERTER UNIT Q68ADV
MITSUBISHI 5.5/7.5KW FREQROL A-500 AC DRIVE FR-A540-5.5K-EC *DAMAGED PLASTIC*
MISTUBISHI VARIABLE FREQUENCY AC DRIVE FREQROL-A200 / FR-A240-7.5K/UL
MITSUBISHI ELECTRIC MELSEC-Q CPU UNIT Q02HCPU
MITSUBISHI ELECTRIC MELSEC 24VDC/240VAC RELAY OUTPUT MODULE AY13
MITSUBISHI AC SERVO MOTOR HA203CS / 56HCSBN
MITSUBISHI MELSEC-Q CPU UNIT Q06HCPU
MITSUBISHI ELECTRIC MELSERVO 100W AC SERVO DRIVE MR-J3-10B NO COVER
MITSUBISHI ELECTRIC 24VDC COIL CONTACTOR W/ AUX CONTACT & OVERLOAD RELAY SD-N21
MITSUBISHI MELSEC-Q DATA LINK UNIT QJ71BR11
MITSUBISHI GRAPHIC OPERATION TERMINAL INTERFACE 18GT-70GOT-EW
MITSUBISHI ELECTRIC MELSEC-Q CC-LINK MASTER UNIT QJ61BT11
MITSUBISHI ELECTRIC 60VAC MAX MELSEC PROGRAMMABLE CONTROLLER FX0N-60MR
MITSUBISHI ELECTRIC 24VDC COIL MAGNETIC CONTACTOR W/ OVERLOAD RELAY SD-N11
MITSUBISHI MELSEC-Q 24VDC 0.24A D/A CONVERTER UNIT Q64DAN
MITSUBISHI FR-A240E-1.5K-U?L FREQROL-A200 INVERTER DRIVE
MITSUBISHI FREQROL A200 INVERTER VARIABLE SPEED AC MOTOR DRIVE FR-A240E-30K-UL
MITSUBISHI ELECTRIC 24VDC, 0.5A I/O UNIT AJ65VBTS32-16DT
MITSUBISHI ELECTRIC MELSEC-Q CPU UNIT Q02CPU
MITSUBISHI ELECTRIC FREQROL 2.2KW AC DRIVE FR-Z024-2.2K
MITSUBISHI ELECTRIC MELSEC DC24/AC240V OUTPUT UNIT AY13C
MITSUBISHI ELECTRIC MELSEC-Q PULSE I/F UNIT Q173PX
MITSUBISHI PLC MOTION CONTROLLER Q173CPUN BROKEN PLASTIC
MITSUBISHI 20/25HP FREQROL-A200 VARIABLE FREQUENCY AC DRIVE FR-A240E-15K-UL
MITSUBISHI ELECTRIC MELSEC-Q INTERFACE MOTION CONTROLLER UNIT Q173HCPU
SONY MELSEC-Q INTERFACE UNIT SOMIC OPTM-MQ
MITSUBISHI GRAPHIC OPERATION TERMINAL A77GOT-L-S5 *PARTS/REPAIR*
MITSUBISHI TOTOKU ELECTRIC DISPLAY MONITOR BKO-NC6212 / MDT962B-1A *DAMAGED #2*
MITSUBISHI 24VDC GRAPHIC OPERATOR INTERFACE TERMINAL MODEL A850GOT-SWD *P/R*
MITSUBISHI ELECTRIC MELSERVO 100W AC SERVO DRIVE MR-J3-10B PLASTIC COVER DAMAGED
SIEMENS MOTOR STARTER PROTECTOR 3VU1300-1MH00
KLOCKNER MOELLER MOTOR PROTECTOR 3P PKZ2 ZM-25-PKZ2
SIEMENS 0.6-1A 3-POLE MOTOR CIRCUIT PROTECTOR 3VU1300-1MF00
IEI 12V 3.33A PANEL PC AFL-W10A-N270
AVG AUTOMATION DIRECT EZTouch OPERATOR INTERFACE PANEL EZ-S6M-R