Bosch 0986237900現(xiàn)貨
STEP 7數(shù)據(jù)塊中的數(shù)據(jù)結(jié)構(gòu)形式比較豐富,數(shù)據(jù)塊中的數(shù)據(jù)既可以是基本數(shù)據(jù)類型,又可以是復(fù)式數(shù)據(jù)類型。所謂復(fù)式數(shù)據(jù)類型,是指位數(shù)超過32位的數(shù)據(jù)或由其它數(shù)據(jù)類型構(gòu)成的數(shù)據(jù)組?;緮?shù)據(jù)類型在第4章中已有過介紹,本節(jié)專門說明復(fù)式數(shù)據(jù)類型。STEP 7允許4種復(fù)式數(shù)據(jù)類型,如表5.5所示。
名 稱 類 型 說 明
日期-時(shí)間 DATE_AND_TIME 長(zhǎng)度為8 B(64位)。按BCD碼格式順序存儲(chǔ)以下信息:年(字節(jié)0)、月(字節(jié)1)、日(字節(jié)2)、小時(shí)(字節(jié)3)、分(字節(jié)4)、秒(字節(jié)5)、毫秒(字節(jié)6和7的高半字節(jié))、星期(字節(jié)7的低半字節(jié))
字符串 STRING 字符串是一組ascii 碼,一個(gè)串內(nèi)可定義多254個(gè)字符,占用256 B內(nèi)存。串中每個(gè)字符占用1 B,內(nèi)存中頭兩個(gè)字節(jié)存儲(chǔ)串的長(zhǎng)度信息。個(gè)字節(jié)存放此串的定義長(zhǎng)度(默認(rèn)值為254個(gè)字符),第二個(gè)字節(jié)存放字符串實(shí)際長(zhǎng)度。例如,String[7]定義長(zhǎng)度為7的字符串,占用內(nèi)存9 B(2+7)。若不定義長(zhǎng)度,則默認(rèn)為254個(gè)字符
數(shù)組 ARRAY 由一種數(shù)據(jù)類型組成的數(shù)據(jù)集合,數(shù)據(jù)類型可以是基本數(shù)據(jù)類型或復(fù)式數(shù)據(jù)類型。通過下標(biāo)訪問數(shù)組中的數(shù)據(jù)??啥x到6維數(shù)組
構(gòu)造 STRUCT 由多種數(shù)據(jù)類型組成的數(shù)據(jù)集合
另一種復(fù)式數(shù)據(jù)類型稱為“用戶數(shù)據(jù)類型(UDT)”,它是利用STEP 7“程序編輯器”產(chǎn)生的,可命名構(gòu)造。將大量數(shù)據(jù)組織到UDT中,在生成數(shù)據(jù)塊或在變量聲明表中聲明變量時(shí)將變得更加方便。用戶還可為UDT聲明符號(hào)名。
日期-時(shí)間數(shù)據(jù)類型的名稱、位數(shù)及格式是由操作系統(tǒng)定義的,用戶不可改變,并且該類型在S7-300中必須用標(biāo)準(zhǔn)功能塊SFC才能訪問。其它復(fù)式數(shù)據(jù)類型則由用戶在邏輯塊變量聲明表或數(shù)據(jù)塊中定義。
1. 數(shù)組
一個(gè)數(shù)組將同種數(shù)據(jù)類型組合成整體,但不能建立數(shù)組的數(shù)組。圖5.4表示一個(gè)二維 整數(shù)數(shù)組。數(shù)組的符號(hào)名是“Op_temps”,用符號(hào)名加下標(biāo)可訪問數(shù)組中的數(shù)據(jù)。以圖5.4為例,個(gè)整數(shù)是Op_temps[1,1],第三個(gè)為Op_temps[l,3],第四個(gè)為Op_temps[2,1],第六個(gè)為Op_temps[2,3]。
1) 建立數(shù)組
在數(shù)據(jù)塊或變量聲明表中可定義數(shù)組。在聲明數(shù)組時(shí),首先給數(shù)組命名,接著使用關(guān)鍵字(ARRAY),然后在方括號(hào)中給出數(shù)組的大小及維數(shù)??梢远x多達(dá)6維的數(shù)組,并用下標(biāo)來標(biāo)識(shí)數(shù)組的大小。在方括號(hào)中放下標(biāo),各維之間用逗號(hào)隔開,每一維的首尾之間用雙點(diǎn)隔開。一個(gè)下標(biāo)可以為任何一個(gè)整數(shù)值(范圍:-32 768~+32 767),并包括負(fù)數(shù)。如用ARRAY[1‥3, 1‥2, 1‥3, -2‥3, 30‥32, 1‥4]來定義變量Op_temps為6維數(shù)組。該數(shù)組的個(gè)整數(shù)為Op_temps[1, 1, 1, -2, 30, 1];后一個(gè)為Op_temps[3, 2, 3, 3, 32, 4]。圖5.5顯示了建立名字為Heat_2×3的二維數(shù)組(與圖5.4中的數(shù)組相似)。
2) 賦初始值
在建立數(shù)組時(shí),STEP 7允許以兩種方法給數(shù)組的元素賦初始值。對(duì)圖5.5中的數(shù)組,可以為6個(gè)元素賦初始值:17,23,-45,556,3342,0;
ADEPT TECH 90338-51010 USPP 9033851010
ADEPT TECH 10310-44530-A1 USPP 1031044530A1
ADEPT TECH 10310-54020 USPP 1031054020
ADEPT TECH 10310-54030 USPP 1031054030
ADEPT TECH 90963-10210 NSFP 9096310210
ADEPT TECH PN# 10332-00500 VJI MODULE JOINT INTERFACE MODULE REV. A
ADEPT TECH 10310-42100 USPP 1031042100
ADEPT TECH 10310-42300 USPP 1031042300
Adept Tech 10332-10250 VGB Robot Board Control Module
Adept Tech Binary I/O Board 1031058010 #13991
ADEPT TECH 30330-12470 NSPP 3033012470
ADEPT TECH 30330-12460 NSPP 3033012460
ADEPT TECH 90963-10210 USPP 9096310210
ADEPT TECH 10310-54000 NSPP 1031054000
ADEPT TECH 10440-01000 NSFP 1044001000
ADEPT TECH 30330-12450 USPP 3033012450
ADEPT TECH 30330-12460 USPP 3033012460
ADEPT TECH 30330-12470 USPP 3033012470
ADEPT TECH 10310-54040 NSPP 1031054040
ADEPT TECH 10310-54000 USPP 1031054000
Adept Tech 10330-00400 REV E Machine Interface Board PCA VMI 4-AXIS
ADEPT TECH PN# 10332-00600 VIS/PCA STD VISION/VME/FG MACHINE VISION
ADEPT TECH 10332-01367 NSFP 1033201367
ADEPT TECH 10315-42800 USPP 1031542800
ADEPT TECH 20310-42100 USPP 2031042100
ADEPT TECH 10840-13101 USPP 1084013101
ADEPT TECH 10310-54040 USPP 1031054040
ADEPT TECH 10440-01000 USPP 1044001000
ADEPT TECH 10300-46620 USPP 1030046620
ADEPT TECH 10840-42160 NSPP 1084042160
Bosch 0986237900
Akai Professional APC40 Ableton Performance Controller NEW
APC SMC10002U Smart UPS C 1000VA 2U LCD SMC1000-2U
APC Basic Rack PDU power distribution unit,14.4 kW AP7599 - NEW!
APC BK650M USPP BK650M
J35B Power Conditioner W/ Back up American Power Conversion-APC
SMC1500 Smart UPS C 1500VA LCD 120 American Power Conversion-APC
APC Low Voltage RM Switched PDU 20Amp 120v AP7960 Rack Mount
APC Back-UPS 520ES
APC NETBOTZ 420 RACK APPLIANCE w/ 4mm 13" CCTV CAMERA
APC SYMIM5 Remote Power Supply Intelligence Module Symmetra LX
APC AP9320 ENVIRONMENTAL MANAGEMENT SYSTEM NO D.O.A!!!
AR8127BLK 19" Rotating Keyboard Drawer American Power Conversion-APC
APC NETBOTZ 500 BASE STATION NBWL0500N
APC Switched Rack 3.68kVA PDU AP7921
AP7901 Rack PDU Switched 1U 20A/120V American Power Conversion-APC
AP7921 Rack PDU Switched 208/230V American Power Conversion-APC
AP7893 Rack PDU Metered Zero U American Power Conversion-APC
AP7894 Rack PDU Metered Zero U American Power Conversion-APC
NTB3884 APC 42U NETSHELTER SERVER RACK EQUIPMENT USED GREAT CONDITION
JEEP GRAND CHEROKEE 1993 1998 SUSPENSION STEERING REPAIR SHOCK ARM ENDS RACK END
RARE VIktor & Rolf Striped Silk A Line Dress IT 38 XS 0 2 Stella Junya APC NWT
APC Back-UPS RS BR1300G 1300 VA Tower UPS 1300Va 780W 0.07 Hour 780W Full Load
LUCENT KS-24362 LIST 57 APPLICATION PROCESSOR APC 408627271
JEEP GRAND CHEROKEE Track Bar Suspension Rack Ends Shocks Front Rear Drag
TOYODENKI APC-331 QT39748 ``XLNT`` FAST SHIPPING
APC ACF503 Fan Tray ACF503
RBC55 Replacement Battery #55 American Power Conversion-APC
AP7832 Rack PDU Metered Zero U American Power Conversion-APC
APC Switched Rack 2.4kVA PDU (AP7901)
SCRATCH & DENT SMT1000RM2U 1000VA 120V UPS - 2U Server Rackmount Battery Backup
APC AP7901 Rack PDU Switched 1U 20A/120V
APC RBC27 Replacement Battery #27
APC J35B Power Conditioner W/ Back up
APC High Voltage RM Metered PDU 30Amp 208v AP7841 New
APC AP7921 Rack PDU Switched 208/230V
APC 640-0734K USPP 6400734K
APC Replacement Battery Cartridge #55 RBC55 Maintenance Free Sealed Lead Acid
Antec LLDR APC 252632 Laser
ABB SNAT 602 TAC / 61001395 APC CONNECTION BOARD FOR MOTOR DRIVES 57533
RBC11 Replacement Battery #11 American Power Conversion-APC
APC WBEXTWAR1YRSP0?6 1 Year Extended Warranty WBEXTWAR1YR-SP?-06
Bosch 0986237900
ACCURAY 067455-004 DISPLAY ACCURAY 067455004 MAKE OFFER
Accuray MCC/IFCC I/F, part # 013509 REV: J PCB
Accuray 67461-002 67461002 PC Board
Accuray 69242-002 69242002 PC Board
Accuray 64844-002 64844002 PC Board
Accuray 64811-002 64811002 PC Board
INDUSTRIAL NUCLEONICS ACCURAY AD-9-055109-30?269 727622008 55169-30269 PCB CIRCUI
INDUSTRIAL NUCLEONICS ACCURAY 1780-52 89-69-0458 PCB CIRCUIT BOARD / CARD / MODU
INDUSTRIAL NUCLEONICS ACCURAY 2H 245855 PCB CIRCUIT BOARD / CARD / MODULE - USED
INDUSTRIAL NUCLEONICS ACCURAY 61458-32835 PCB CIRCUIT BOARD / CARD / MODULE - US
INDUSTRIAL NUCLEONICS ACCURAY 61461-001 PCB CIRCUIT BOARD / CARD / MODULE - USED
INDUSTRIAL NUCLEONICS ACCURAY 61461-32438 PCB CIRCUIT BOARD / CARD / MODULE - US
INDUSTRIAL NUCLEONICS ACCURAY 69-00-8052 PCB CIRCUIT BOARD / CARD / MODULE - USE
Actus Power AC Servo Controller NPSA-104MU-IP1 USPP NPSA104MUIP1 Pak 3PH 220V
ACTUS POWER NPSA-103MU-E4C?SA USPP NPSA103MUE4CSA
ACTUS POWER NPSA-103MU-E1B?S USPP NPSA103MUE1BS
ACTUS POWER NPSA-102MU-E9B?S USPP NPSA102MUE9BS
Actus Power AC Servo Controller NPSA-102MU-E9B?S USPP NPSA102MUE9BS Pak 3PH 220V
Actus Power AC Servo Controller NPSA-103MU-1EC?S USPP NPSA103MU1ECS Pak 3PH 220V
ACTUS POWER NPSA-2.5NN-40E?3 USPP NPSA25NN40E3
ACTUS POWER NPSA-20NN-50E8 USPP NPSA20NN50E8
Actus Power AC Servo Controller NPSA-2.5NN-60-?E1 USPP NPSA2.5NN60E1 Pak 1-PH/3PH
Actus Power AC Servo Controller NPA-20NN-50-E8? USPP NPSA20NN50E8 Pak 1-PH/3PH
ACTUS POWER NPSA-2.5-64 NSPP NPSA2564
ACTUS POWER NPSA-2.5-64 USPP NPSA2564
ACTUS POWER NPSA-20-54 USPP NPSA2054
(AS01) NPSA-ZMTA-201A NIKKI DENSO ACTUS-MINI POWER USED WORKING
(AS01) NPSA-ZMTA-401A NIKKI DENSO ACTUS-MINI POWER USED WORKING
(AS01) NPSA-ZMTA-401A?E NIKKI DENSO ACTUS-MINI POWER USED WORKING
ACTUS POWER PUB33AX1B USPP PUB33AX1B
ACTUS POWER NPSA-103MU-EIB?S/1680336B USPP NPSA103MUEIBS1?68
ACTUS POWER NPSA-2.5-64 supply NPSA2564
Bosch 0986237900