¥ 价格面议
¥ 价格面议
¥ 价格面议
¥ 价格面议
易卖工控网(www.ymgk.com)提供”GE自动化备件369-HI-0-M-0-0-0-E”,产品详情:品牌/厂家:GE、型号:369-HI-0-M-0-0-0-E、成色:全新、货期:现货 1天内发货、保修:180天,更多产品详情就上易卖工控网。
品牌 | GE | 电压 | 20V | 电流 | 12An |
体积 | 64 | 重量 | 1.3 | 可售卖地 | 全国 |
联系电话;18030177759 | 型号;369-HI-0-M-0-0-0-E |
在程序初始化时将VW0清零(如果是不需要记忆的变量,直接将dVarName清零也可)或者在数据块中将VW0设置为零。则以后需要以字类型访问变量时就用wVarName,需要以双字类型访问变量时就用dVarName。完全不需要类型转换。
本方法可以极大的减少程序语句数,使程序更简洁、可读性更好,由于不需要做耗时的类型转换,程序运行效率也得到提高。且数学运算量越大,效率提高越明显。
缺点是要多占用两字节的内存,以后程序中不能使用VW0。但S7-200的RAM空间很大,一般是用不完的,以226为例,有多达10K的RAM,偶从来没有超过1K。这些RAM都是花钱买来的,不用白不用,不用也是浪费了。
同理,如果有字节型变量经常需要与字类型变量相互转换,让字节变量占用一个字的内存宽度浪费一个字节,避免类型转换。
关于第3点"使用SET指令只执行一次即可,不必每次扫描都执行这个指令,有些工程人员忽视了这个问题,使用了常规的方法来驱动SET指令,无意中增加了PLC程序扫描运行时间"
不是很理解,能不能说得细一点,
1:如果在ob里编写子程序段,是扫描的,但是如果您编写为FC调用,那么在FC的调用条件没有满足时,FC中的程序暂时不执行。这也是我所说节省时间的意思。
2:PLC的执行步数根据程序长短会不同,扫描时间会根据执行步数的不同而不同,如果用一个mov指令完成8个数字量输出的控制,当然比用8个mov指令完成8个数字量输出的控制所需要的程序步数少。
添加一个:
4:避免了类型转换,方法如下:
以S7-200为例,它的内存格式与我们常用的PC机正好相反,它是高字在前,低字在后的。所以我们可以将字变量放在后两个字节,在程序初始化时将前两个字节清零(程序的其它地方不得使用这两个字节)。
如我们定义符号时将字变量定义在VW2,同时保持VW0的值为零。则程序中可以用VW2以字型访问该变量,同时也可以VD0以双字型访问,避免了类型转换。
为了避免使用时混淆,以明确的符号定义来区分字类型和双字类型。在此强烈推荐类匈牙利命名法:以前缀指示变量类型,用首字母大写的有意义的英文单词的组合作变量名。本人习惯用以下缀:
b----字节型变量(byte)
w----字型变量(word)
d----双字变量(double)
r----实型变量(real)
f----位变量(flag)
btn---自复位按钮式输入(button)
sw----切换开关或自锁按钮输入(switch)
sig---传感器、编码等电平信号输入(signal)
rly---输出继电器位(relay)
当然,这个根据个人习惯来,没有定则,主要是利于自己区分。
假如有一个字类型变量名为VarName,为使用前面的转换技巧,我们可以这样定义:
wVarName----VW2
dVarName----VD0Formsprag Disco Torque Hydraulic Clutch - HTH 550
PARKER COMPUMOTOR AT6250-120 2 AXIS CONTROLLER
Excellon Esterline Granite Inspection Machine base
Iscar Self Grip 18 Teeth Slot Mill Blade 9.84" OD
SGSF-250-3-1500K 320 RPM Max
Allen Bradley DC Drive, 2 HP Motor, 2 Browning Pulleys
Kollmorgen Drive Motor Model TTR-5302 2400 RPM
Kollmorgen Drive Motor Model TTR-5302 1200 RPM
Moyno Products Pump Model 63001
HITACHI INDUCTION MOTOR 7.5KW(10HP)3 PHASE TYPE:VTFO
HOFFMAN NEMA TYPE 4 ENCLOSURE A36H30BLP 8"DEEP *NIB*
Cushman Superspacer & 12" Rotary Chuck 9110412200A
3084012000A lathe Spacer
Automation Device Deburr Shaker Vibration Feeder
15CK.2 6000.2 15 8800.2
DEMAG DC Pro Chain HOIST 1-125 1/1H5 V9.6/2.4 275 LB
Antique Library Ladder 11'6 x 16 x 8.5 in.
GE | DS200TCEBG1ACE | ||||
GE | DS200KLDBG1ABC | ||||
GE | IS220PPROH1A | ||||
GE | VMIVME-7807 | ||||
GE | IS200TTURH1CFD | ||||
GE | IC698CHS117C | ||||
GE | IS200TSVCH1AJE | ||||
GE | IC698CMX016 | ||||
GE | 531X305NTBANG1 | ||||
GE | HYDRAN M2 | ||||
GE | HE700GEN200 | ||||
GE | IS215VPROH1BD | ||||
GE | 369-HI-0-M-0-0-0-E | ||||
GE | IS200TRLYH1BGF | ||||
GE | IS215UCVEM10A | ||||
GE | UR8FH | ||||
GE | IS200TBCIS2CCD | ||||
GE | IS220PAICH1A | ||||
GE | VMIVME-7807RC | ||||
GE | IS220PRTDH1A | ||||
DANGER | 2214-30SLOTT | ||||
GE | IS200STCIH6AED | ||||
GE | IS200TVBAH2ACC | ||||
GE | IS220PRTDH1A | ||||
GE | IS200TPROS1CBB | ||||
GE | DS200SDCCG1AGD | ||||
GE | IS200DTAIH1ABB | ||||
GE | VMIVME-7750 | ||||
GE | DS200FSAAG2ABA | ||||
GE | IS200VCRCH1B | ||||
GE | IS200ERDDH1ABA | ||||
GE | EX2100 | ||||
GE | IS200DSPXH1DBD | ||||
GE | IS200DSPXH1DBC | ||||
GE | DS200LPPAG1AAA | ||||
GE | IS200ERIOH1AAA | ||||
GE | IS200EROCH1ABB | ||||
GE | IS200EPSMG2AEC | ||||
GE | IS200EPSMG2ADC | ||||
GE | IS215ACLEH1AB | ||||
GE | IC698CHS117C | ||||
GE | UR6EH | ||||
GE | DS200CTBAG1ADD | ||||
GE | IS200SAMBH1ABA | ||||
GE | IC697CPX935 | ||||
GE | DS200DCFBG1BJB | ||||
GE | IS200TRLYH1BGF | ||||
GE | IS200TVBAH2ACC | ||||
GE | IS215UCVEH2AE | ||||
GE | 531X305NTBAPG1 | ||||
GE | IS420UCSBH4A | ||||
GE | IC697CPM790 | ||||
GE | CP238TA | ||||
GE | IS200EPSMG2ADC | ||||
GE | IS215ACLEH1A | ||||
GE | VMIVME-4140 | ||||
GE | IC698CMX016 | ||||
GE | VMIVME-2510B | ||||
GE | SM128V | ||||
GE | IC693CPU372 | ||||
GE | V7768-320001 350-9301007768-320001 A2 | ||||
GE | IS220UCSAH1A | ||||
GE | IS230TNPAH2A | ||||
GE | 2214-30SLQTA | ||||
GE | SR469-P5-HI-A20-E | ||||
GE | IC697BEM731 | ||||
GE | IC698CPE020 | ||||
GE | IC695CRU320 | ||||
GE | IS420UCSBH4A | ||||
GE | D20ME-VME | ||||
GE | DS200FGPAG1A | ||||
GE | IS200EPSMG1AEC | ||||
GE | IS420UCSBH4A | ||||
GE | IS220YDIAS1A | ||||
GE | IC698CPE020 | ||||
GE | VMIVME-2510B | ||||
GE | SR469-P5-HI-A20 | ||||
GE | IC697CPX928-FE | ||||
GE | DS200SDCCG1AGD | ||||
GE | IS200EGDMH1ADF | ||||
GE | IC670CHS002底座 | ||||
GE | IC660BBD110 | ||||
GE | DS200LDCCH1AGA | ||||
GE | HYDRAN M2 | ||||
GE | IS200SDIIH1ADB MRP683026 | ||||
GE | DS200DSPCH1ADA | ||||
GE | IS200STCIH2A | ||||
GE | ACC-5595-208 | ||||
GE | DS200KLDBG1ABC | ||||
GE | IC695ALG616 | ||||
GE | 531X307LTBAJG1 | ||||
GE | DS215DMCBG1AZZ03A | ||||
GE | DS200TCQCG1BKG | ||||
GE | DS200ADPBG1ABB | ||||
GE | DS200DCFBG1BGB | ||||
GE | VMIVME-7700 | ||||
GE | IC660ELB912G | ||||
GE | DS200SDCCG5AHD | ||||
GE | DS215TCQAG1BZZ01A | ||||
GE | IS200JPDDG1AAA | ||||
GE | IS230TDBTH6A | ||||
GE | DS200SDCIG2AHB | ||||
GE | IS200TDBTH6ABC | ||||
GE | IS210AEDBH4AGD | ||||
GE | IS220PAOCH1A | ||||
GE | IS200STAOH2AAA | ||||
GE | IS210AEBIH1BED | ||||
GE | IS230STAOH2A | ||||
GE | DS200SDCIG2AHB | ||||
GE | IC670MDL930J | ||||
GE | DS200TCTGG1AFF | ||||
GE | VMIVME-5565-110000 | ||||
GE | IS200VTCCH1CBB | ||||
GE | 369-HI-R-M-0-0-0-0 | ||||
GE | DS200SDCIG1ABA | ||||
GE | DS200RTBAG2AFB | ||||
GE | DS200DPCBG1AAA | ||||
GE | DS215KLDCG1AZZ03A | ||||
GE | UR6AH | ||||
GE | 369-HI-0-M-F-E-0 | ||||
GE | DS200TCQAG1BHF | ||||
GE | IC697MDL653 | ||||
GE | VMIPMC-5565 | ||||
GE | UR8GH | ||||
KOLLMORGEN | PRD-P320260Z-C2 | ||||
GE | SR469-P5-HI-A20-E | ||||
GE | IS200VAICH1DAB | ||||
BERGER LAHR | WPM311.03401 | ||||
GE | IC693MDL753 | ||||
GE | DS200ADGIH1AAA | ||||
GE | IS220PDIAH1B | ||||
GE | VMIVME-4140 | ||||
GE | V7768-322001 | ||||
GE | IS230SNIDH1A MRP689579 | ||||
GE | DS200IIBDG1A | ||||
GE | R-TPD3 | ||||
GE | VMIVME-7700 | ||||
GE | DS215DMCBG1AZZ03A | ||||
GE | UR8HH | ||||
GE | 369-HI-0-0-0-0 | ||||
GE | IC697ALG320 | ||||
GE | IC698RMX016-ED | ||||
GE | IC698CPE010 | ||||
GE | 05701-A-0511 | ||||
GE | UR8CH | ||||
GE | WESDAC D20ME | ||||
GE | DS200LDCCH1ANA | ||||
GE | IC660BBD101 | ||||
GE | SR469-P5-HI-A20 | ||||
GE | IC754VSI12CTD | ||||
GE | DS200LDCCH1AGA | ||||
GE | SR469-P5-HI-A20-H | ||||
GE | IS220PPRFH1B | ||||
GE | IC690RFH008 | ||||
GE | UR9KH | ||||
GE | DS200SDCCG1AFD | ||||
GE | VMIVME-7807 | ||||
GE | IC697MDL750 | ||||
GE | IS200ISBBG2AAB | ||||
GE | IC670MDL740 | ||||
Kollmorgen | BJRL-20012-110001 | ||||
ABB | PFTL201C 10KN 3BSE007913R10 | ||||
ABB | PFTL201C 10KN 3BSE007913R0010 | ||||
ABB | 5SHY3545L0009 | ||||
ABB | PPD113B03-26-100110 | ||||
ABB | PPD113-B03-10-150000 | ||||
ABB | 5SHY4045L0006 | ||||
ABB | PPD113-B03-23-111615 | ||||
ABB | PFCL201C 10KN | ||||
ABB | PM645B | ||||
ABB | 5SHY3545L0014 | ||||
ABB | DSDP140B 57160001-ACX | ||||
ABB | PM630 | ||||
ABB | 07AC91D |