3500/50本特利3500/503500/50本特利3500/50
*個字符必須使用字母或“_”。
跳轉規(guī)則:可以向前或向后跳轉,跳轉指令和跳轉目的必須在同一個塊中(zui大跳轉長度為64K字節(jié));在一個塊中跳轉目的只能出現一次;跳轉指令可以用在FB、FC和OB中。
條件跳轉:有兩個:JC——當RLO=1時,JC才執(zhí)行,當RLO=0時,不跳轉,繼續(xù)執(zhí)行下面的程序,但置RLO=1。 JCN——當RLO=0時,JCN才執(zhí)行,當RLO=1時,不跳轉。
邊沿檢測:RLO-邊沿檢測和信號-邊沿檢測。
RLO-邊沿檢測:當邏輯操作結果變化時,產生RLO邊沿。檢測正邊沿FP——RLO從“0”變化到“1”,“FP”檢查指令產生一個“掃描周期”的信號“1”;檢測負邊沿FN,則RLO從“1”變化到“0”,“FN”檢查指令產生一個“掃描周期”的信號“1”。上述兩個結果保存在“FP(FN)”位存儲器中或數據位中,如M 1.0…,同時,可以輸出在其他線圈。
信號-邊沿檢測:同上面的RLO指令類似,當信號變化時,產生信號邊沿,也有正/負邊沿之分:POS/NEG。
上述各種指令,請結合實際軟件,掌握其方法、特性和不同之處,其他復雜指令請參考各種高級編程手冊。
數字指令
手機
:
Qq:
鄭娟萍
廈門仲鑫航自動化設備有限公司在討論數字指令前先了解一下各種數據格式,關于二進制、十進制及其他數的表示方法,在其他地方都有介紹,這里就不再重復。
一、數據格式(16位):數據類型INT是整數(16位),其中符號(位15)表示是正數或是負數(“0”=正數,“1”=負數),16位整數的數值范圍是-32768~+32767。在二進制格式中,整數的負數形式用正數的二進制補碼表示。(二進制補碼利用取反加1得到) 負數的位格式,對零的位置加權求和,再加1,然后在前面放一個負號。
BCD碼:十進制的每一位用四個二進制數表示,因為zui大為9,所以需要四位二進制才能表示出來(十進制的9=1001二進制),要注意,從0~9的十進制數的BCD碼表示與二進制數表示相同,但BCD碼一般用作顯示,并非二進制。上面的INT(整數)主要是用來運算。
如BCD碼W#16#296,在CPU中表現為0000,0010,1001,0110(直接為+,2,9,6=+296);而整數+296則表示為0000,0001,0010,1000(即28+25+23=296),再例如整數-413表示為1111,1110,0110,0011(因為是負數,所以用補碼,取反加1,所以上面的二進制數=-(28+27+24+23+22+1)=“-413”,而在BCD碼該數(W#16#F413)則可以簡單的表示為1111,0100,0001,0011。
二、數據格式(32位):DINT類型的數據——帶符號位的32-位整數,定義為“雙整數”或“長整數”,它的表示方法及范圍是:L#-2147483648~L#+2147483647;還有一個是實數型REAL型(也叫浮點數),是1.175495*10-38~3402823*1038之間,實數的通用格式為(Sign)*(1.f)*(2e-127),其中Sign為符號位第31位(即zui高位),低位的0~22位為f=底數位,23~30為e=指數。STEP 7中的實數是按照IEEE標準表示的。
Hughes LAN Systems A005279-03 10 BASE-T Concentrator Rev. B
Hughes LAN Systems A005139-02 Terminal Server Rev. E
Hughes LAN Systems A005139-02 Terminal Server Rev. D
Hughes LAN Systems A005447-02 THINNET Connector Rev. B
Hughes LAN Systems A005346-08 Broadband to ENET Bridge Rev. B
Hughes LAN Systems A005346-08 Broadband to ENET Bridge Rev. A
Allen Bradley 1773-L1A PLC-4 Microtrol Programmable Controller
Allen Bradley 1773-L1A PLC-4 Microtrol Programmable Controller (Used)
Allen Bradley 1772-ME16 RAM Memory Module
Square D 8030-DIM-101 SY/MAX Isolated Deluxe Input Module (NIB)
Square D 8030-DIM-101 SY/MAX Isolated Deluxe Input Module (Used)
Opto 22 AC422AT Adapter Card
Black Box E86009 Computer Cable
Mitsubishi A35B-UL Base Rack 5 Slot
Mitsubishi AY13E Output Relay Module
Keithley Series 500 Data Acquisition Module
Datalogic H860BH-1 Parallel Eurocard Controller
Allen Bradley 150-F135NBD SMC-Flex Motor Controller
Barber-Colman Co. 658A-00001 Converter
Opto 22 G4 ODC5 Digital I/O Module (Box of 5)
Opto 22 IDC5Q I/O Module
Opto 22 G4 IDC5D I/O Module
Opto 22 G4 IDC5 I/O Module
Adept Technology 30340-10000 MV-5 Controller Module
Adept Technology 10332-00800 VME Digital I/O PC Board
AEG Modicon 7628-042.244 801 DTA 201 5-Slot Secondary Subrack
AEG Modicon DEP 216 / AS-BDEP-216 Discrete Input Module
emecanique TeSys Motor Starter Control Assembly LUCA05FU, LUB12, LU2MB0FU...
ECCC6 94VO 8-Slot Rack
ECCC6 94VO 4-Slot Rack
Texas Instruments 5MT11-A03L Input Module
Texas Instruments 5MT11-A05L Input Module
Cincinnati Milacron 3-705-0827A Acramatic 850 4-Axis Controller
Schneider Electric PM8M22 PowerLogic PM8 Input/Output Module
Basler Electric BE1-CDS220 Current Differential System
Merlin Gerin 48845 Modbus Cradle Communication Module
GE Fanuc IC600YR560L Series Six Plus I/O Programmable Controller
Texas Instruments 5TI5020 Logic Module
edyne Relays 673-1 I/O Converter
edyne Relays 673-4 I/O Converter
Reliance 0-51839-4 PC Board Relay Card (Broken Indicator Light Housing)
digital E-9276-C Output Module
digital E-9276-C Output Module (Broken Mounting Clip)
Carrier HT203617-2 Cold Temp Setpoint Control Panel (Broken Display Knob)
Accu-Sort Systems, Inc. DRX MINI-X Laser Bar Code Scanner
Allen Bradley 1746-HSCE High Speed Counter Encoder Series A (Missing Door)
Allen Bradley 1746-OA16 Output Module Series C SLC500
Allen Bradley 1746-IA16 Input Module Series D SLC500
HMS Electronics HS2-MPX-R/Q Anode Rotator with six Boards
Black Box SL010A MicroSwitch 9
Grayhill 70GRCQ24 I/O Rack
Cincinnati Milacron 3-424-1902A A900 Battery Backup
Transient Eliminator TE/4000HPS Surge Suppressor
PRO-LOG BX12R-01 12-Slot Rack with PRO-LOG 113473-001 Network Termination Card
Microscan MS-810 FIS0810-0004 Barcode/UPC Scanner
Diversified Electronics SP-0320 Module
Gordos DR-IDC24 I/O Module
Reliance 45C912 5-Slot Rack
Joslyn XN50 277/480-3GY-FCC TransEnd Transient Surge Suppression System
Allen Bradley 1761-L32AWA MicroLogix 1000 Controller
GE Fanuc IC693MDL340B Output Module
Energy Concepts, Inc. 24322 Resistor Module
Advanced Micro Controls IPLC-1-3F Controller
Reliance 45C990 Analog Input Module
Reliance 45C946 Input Module
Reliance 45C964 Output Module
GE Fanuc IC610MDL175B Output Module
GE Fanuc IC610MDL125A Input Module
Belkin F9H220-TVL Travel Surge Protector with Hidden Swivel Plug
Allen Bradley 1720-L204 Input Module
Allen Bradley 1771-OA Output Module with Allen Bradley 1771-WA Field Wiring Arm
Allen Bradley 1771-OA Output Module (Missing Cover)
GE Fanuc IC693CPU352-EK CPU Module (Missing Key)
Red Lion Controls DLC00000 Dual Loop Controller
GE Fanuc IC693CHS397K 5-Slot EMI Enhanced Base
Allen Bradley 1746-OV16 Output Module SLC500
Allen Bradley 1746-IV16 Input Module SLC500
Dukane 110-2190 ecom Unit Door
Opto 22 OAC5Q I/O Module (NIB)
Simplex 4009-9201 IDNet NAC Extender
Current Technology TG200-120/208-3GY Transient Voltage Surge Suppressor
Mitsubishi A2NCPUP21 MELSEC Programmable Controller
Mitsubishi A61P-UL MELSEC Programmable Controller
Allen Bradley 1770-TA Industrial Terminal Monitor Series A
Fujitsu FTP-641MCL504 Thermal Printhead W/ 100694-01 Printer Housing
Siemens SBPTM480 SB-PT Module (NIB)
GE Fanuc IC610MDL157A Output Module 24 VDC
Siemens 1P6ES7 223-1PL21-0XA0 I/O Expansion Module (Missing Door)
XEL Communications, Inc. 4910-F80 Line Amplifier
Allen Bradley 1747-L532 Processor Unit with 1747-OS302 & 1747-M11
Keyence N-400 Multi-Unit Controller 24VDC
Opto 22 IAC5Q I/O Module
Allen Bradley 1794-1B16 Flex I/O Input Module 24VDC
Coyote Electronics, Inc. 10-CVV Magna-Speed Speed Controller
Coyote Electronics, Inc. 10-C Magna-Speed Speed Controller
Siemens SBPTM480 SB-PT Module
Schmersal SRB 301LC-24V Safety Controller
opto 22 OAC5Q I/O Module
Verilink C150 T1/FT1 CSU/DSU 120V 0.1A
Allen Bradley 1770-TA Industrial Terminal Monitor with Keyboard Series B
Honeywell UDC3300 Universal Digital Controller
Adtran 2210006-1A T400-DDST II Module
AT&T Paradyne 3150-A1-210 Acculink Modem
Coyote Electronics, Inc. E-DC1-S2 Payback Variable Speed Drive
idec PF3S-T16K FA-3S Series Output Module
Balluff BTA-D11-200 Micropulse Output Module
idec PF3S-BP13 FA-3S Series Base Module
Welding Technology Corp WT01-M01A Master Controller
Sieb & Meyer 26.39.058.2 Servo Resolver Module
Toyoda THK-2790 Toyopuc Output Module
Mitsubishi MELSEC AX41C Input Module 12/24 VDC
Toyoda THK-2750 Toyopuc Input Module (Missing Door)
Toyoda THK-2750 Toyopuc Input Module
Toyoda THK-2790 Toyopuc Output Module (Missing Door)
Texas Instruments 500-5008 Input Module
Liebert Datawave Magnetic Synthesizer Fuse Panel
FACTS engineering FC-11 Isolated Signal Conditioner
Panasonic YA8061URY Teach Pendant (Missing Emergency Stop Button)
Omega PHCN-430 Controller
Beta LIQUICAL SF Water Treatment Controller
Mi 9110-013 E&M Trunk Circuit Board
mar 522000 Voltage Transmitter
RK Electric Co., Inc. RCD-5A-30W Voltage Filter
Panasonic YA8061URY Teach Pendant
Grinnell 556-895A Control Card
Grinnell 556-895C Control Card
Grinnell 556-135D Fuse Reset Module
Grinnell 556-024F March Time & Timer
Grinnell 556-019D Card
Grinnell 8556-257J Card
Allen Bradley 1747-L532 Processor Unit Ser D with 1747-OS302 Ser B Missing Door
Allen Bradley 1746-NIO4V Analog Combination I/O Module
Allen Bradley 1746-NI4 Analog Input Module
LEM LT 500-S/SP 58 Current Module
Automation Direct D2-32ND3 Input Module 24 VDC 4-6mA Class 2
Allen Bradley 1746-P2 Power Supply with 1746-A10 10-Slot Rack (For Parts Only)
Digital Design, Inc. 96501-01 Genesis Teach Pendant
Reliance Electric 57C380 Passive Tap
Allen Bradley 1746-P1 Power Supply with 1746-A10 10-Slot Rack (For Parts Only)
Allen Bradley 1746-N2 Card Slot Filler
Allen Bradley 1746-N2 Card Slot Filler (Missing Door)
Reliance Electric 802811-4R 45C46 AutoMate Dual Voltage Comparator Input Module
Banner OC-120 Optical Coupler Input Module 120V
Murr Elektronik 556-519 Power Control
Westinghouse T56A Tie Point
Kawasaki 50817-1045R01 Teach Pendant
Kawasaki 1GK-31 Drive Board
Allen Bradley 1201-HA2 Programming Terminal
Raymond 1130009 Semiconductor
Raymond 138009 Semiconductor