版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、1ControllerCP-317, 316, 9200SHMaintenance Course2CP-717 Start-upGroup FolderGroup FolderOrder FolderOrder FolderPLC FolderCPU FolderCreate folders.3Log ON OperationRight click “CPU1” icon. If it is on-line operation, click “On-line”.Check mark is added to “On-line”.Input USER-A in “User Name”. After
2、 moving a cursor with TAB key, input USER-A in “Password” again. Then click “OK”.Right click “CPU1” icon again. Then click “Log ON”.“Log ON” window is displayed.Log ON Complete4On-Line Communication Parameter SettingSet 217IF communication port through “CommunicationProcess”.5How to Program Ladder D
3、iagramsDrawings Useful for Program Design and MaintenanceProgram and Drawing ConceptsStart Process Drawing, High-speedLow-speed Process Drawing, Interruption Process DrawingParent Drawing, Child Drawing, Grandchild DrawingRegister6Drawing Process ScheduleStart Process Parent DrawingHigh-speed Proces
4、s Parent DrawingLow-speed Process Parent DrawingInterruption Parent DrawingPower ONInterruption SignalHigh-speed ScanHigh-speed ScanHigh-speed ScanLow-speed Scan7Parent Drawing, Child Drawing, Grandchild DrawingParent Drawing 1 page(One drawing per start, interruption, high-speed and low-speed.)Chil
5、d DWG. 1Grandchild DWG. 1 ProcessGrandchild DWG. 1Function 1. Process ReferenceFunction 1Child Drawing 1 Process ReferenceChild Drawing 2 Process ReferenceChild Drawing 3 Process ReferenceChild DWG. 2Child DWG. 3Grandchild DWG. 2 ProcessGrandchild DWG. 2Max. 99Max. 99Max. 648FunctionStandard program
6、s are called Functions. Anyone can retrieve at anytime.System Standard Functions are programmed in advance. User Functions are programmed know-how by their users.DTRC-RDEXECUTE COMPLETEGROUP-NO ERRORREC-NO STATUSREC-SIZE REC-SIZESELECT REC-LENDAT-ADRSystem Standard Functions (Example)9How to Assign
7、and Call Drawing No.High-speed Process Parent Drawing:DWG.HHigh-speed Process Child Drawing:DWG.H01-99High-speed Process Grandchild Drawing :DWG.H .01-99 (Here : 01 99)Same rule is applied to low-speed, start and interruption process.(Drawing type H changes to L, A and I respectively.)Function:FUNC-
8、001-064Child drawing can be called by SEE H01 in program (when calling child screen H01 from high-speed process parent screen).10What is Register?Register is the memory that stores data.Data is numerical values such as position or speed, and bit such as ON-OFF signal.11RegistersNameNameRangeRangeNot
9、ationNotationUsageUsageSystem RegisterSystem Register SW00000-SW01023SW00000-SW01023 DecimalDecimalPrepared register. Prepared register. Failure contents, scan time, etc. Failure contents, scan time, etc. are storedare storedData RegisterData RegisterMW00000-MW32767MW00000-MW32767 DecimalDecimalRegi
10、ster to store data commonlyRegister to store data commonly used between drawings used between drawingsInput RegisterInput RegisterIW0000-IW7FFFIW0000-IW7FFFHexadecimalHexadecimalRegister to name the inputRegister to name the inputOutput RegisterOutput Register OW0000-OW7FFFOW0000-OW7FFFHexadecimalHe
11、xadecimalRegister to name the outputRegister to name the outputConstant RegisterConstant RegisterCW00000-CW16383CW00000-CW16383 DecimalDecimalRegister that stores read Register that stores read onlyonly data data# Register# Register#W00000-#W16383#W00000-#W16383DecimalDecimalRead only register used
12、only inRead only register used only in drawings drawingsD RegisterD RegisterDW00000-DW16383DW00000-DW16383 DecimalDecimalGeneral-purpose register used only General-purpose register used only in certain drawings in certain drawings12How to Assign NumbersMB001001Bit Number: 0 F(Contact, Coil, etc.)Reg
13、ister Number: Decimal, 5 digits or Hexadecimal, 4 digitsData Type: B, W, L, F, ARegister Types :S, M, I, O, C, D, etc.13How to Assign Numbers (Examples)MB000002: The 2nd bit of data register (M) 00000 address.DW00030: The 00030th integral number data of register (D) peculiar to each drawing.14What i
14、s Data Type?B: Bit. Used in relay circuits.W:16-bit integral number.Range 32768 +32767.L: Double length integral number.Range 2147483648 +2147483647.F: Floating value.A:Address.Range 0 32767.15Basic Commands Sequence Control Command Program Control Command Direct I/O Command Logic Operation Command
15、Numerical Value Calculation Command Numerical Value Conversion Command Numerical Value Comparison Command Data Operation Command Basic Function Command DDC Command16Lets Program a Sequence!Required Commands Contact A, Contact B, Coil, Leading Edge Pulse, Trailing Edge Pulse, Branch, Parallel Connect
16、ion, ON-Delay Timer, OFF-Delay Timer How to Assign Numbers Timer Circuit Counter17Sequence Control Commands Contact A MB000100Contact BMB000110 CoilMB000101 Set Coil OB000000Reset Coil OB000000SR Leading Edge PulseTrailing Edge Pulse Contact A MB000100Contact BMB000110 CoilMB000101 Set Coil OB000000
17、Reset Coil OB000000SR Leading Edge PulseTrailing Edge Pulse18Pulse Circuit Programming IB00001 MB000100 MB000101Previous status of immediate register to be storedContact to be a pulse19Branch Command Commands used for parallel circuit and branch circuit.BranchConfluence Confluence Connection20Timer4
18、 TypesON-Delay Timer (Unit: 10ms) ON-Delay Timer (Unit: 1s) 5.00 DW00011OFF-Delay Timer (Unit: 10ms) OFF-Delay Timer (Unit: 1s)5.00 DW00011 In case of 1 second timer, its subscript is S.MB000101TTMB000101Current Value Store Register21Lets Program the Circuit!Exercise 1If Run button (Input IB00015) i
19、s pressed, lamp (Output OB00010) turns ON. If it is released, the lamp goes OFF immediately.Exercise 2If Run button (Input IB00016) is pressed, lamp (Output OB00011) turns ON 5 seconds later. If it is released, the lamp goes OFF immediately.22Answers -Exercise 1 and 2-Exercise 1IB00015 OB00010Exerci
20、se 2IB00016 005.00 DW00030 OB00011 T23Lets Program the Circuit!(Continued)Exercise 3If Run button (Input IB00018) is pressed, lamp turns ON (Output OB00012). Even if it is released, the lamp stays ON. If Stop button (IB00019) is pressed, the lamp goes OFF. If Run and Stop buttons are pressed at the
21、same time, the lamp turns ON.Exercise 4If Run button (Input IB00018) is pressed, lamp turns ON (Output OB00012). Even if it is released, the lamp stays ON. If Stop button (IB00019) is pressed, the lamp goes OFF. If Run and Stop buttons are pressed at the same time, the lamp goes OFF.24Answers -Exerc
22、ise 3 and 4-Exercise 3IB00018 OB00012OB00012 IB00019Exercise 4IB00018 IB00019 OB00012OB0001225Programming Exercise(Input the following circuit.) IB00000 DB000050 IB00002 IB00003 IB00001 OB01000OB01000 IB00004 OB0100126CounterCounter consists of addition, subtraction, increment and decrement command
23、of calculation commands.27Program Control CommandsSEEFORWHILEIFON/IFOFF - ELSE - IEND(End of IF Statement)DEND (End of Drawing)28Lets Calculate Numerical ValuesMain CommandsLoad MW00100 Load Command used first to execute integral number type numerical value calculation. Sets numerical value in Regis
24、ter A.Load MF00200 Load Command used in case of real number type numerical value calculation.Store MW00100 Command that stores the result of calculation.29Addition, Subtraction, Multiplication, DivisionAddition MW00100 + 12345 MW00101Subtraction MW00100 - 12345 MW00101Multiplication MW00100 3ML00101
25、Division MW00102 MW00103 MW00104Pay attention to the overflow as a result of calculation. In addition, pay attention to the division with 0.Multiply and divide as a pair. ML00100 ML00102 18000 ML0010430Lets Program the Calculation CircuitExercise 5 Output the value set by Digital SW (Input IW0000) t
26、o LED indicator (Output OW0000).Exercise 6Multiply the value set by Digital SW (Input IW0000) by 2 and output to LED indicator (Output OW0000).31Answers -Exercise 5, 6-Exercise 5 IW00000 BIN DW00001 DW00001 BCD OW00000Exercise 6 IW00000 BIN DW00001 DW00001 00002 00001DW00001 DW00001 BCD OW0000032Num
27、erical Comparison FunctionLets compare numerical values. = = Comparison and its Program (Example)If MW00100 value is not 200, execute addition.MB00010AMW00100 00200 00200MB00010AIFONIFONMW00101 + MW00102 MW00104IEND33Logic Control CommandsLogic ANDLogic ORExclusive ORABC000011101111ABC000010100111AB
28、C000011101110A AND B =CA XOR B =CA OR B =C34Numerical Value Conversion CommandINV(Code Inversion)COM (Complement of )ABS(Absolute Value)BIN(From BCD to Binary)BCD (From Binary to BCD)PARITY(Parity)35Data Operation CommandsROTL (Bit Left Rotation)ROTR (Bit Right Rotation)MOVB(Bit Transfer)MOVW(Bit Tr
29、ansfer)XCHG(Exchange Transfer)36Function CommandsThe following commands are available:Square Root (SQRT) Sine (SIN) Cosine (COS)Tangent (TAN) Index (EXP) Natural Logarithms (LN)Common Logarithms (LOG)DDC CommandNext Page37DDC CommandDZA (Dead Zone A)DZB (Dead Zone B)LIMIT(Upper Limit and Lower Limit
30、)PI(PI Control)PD (PD Control)PID (PID Control)LAG (First Order Lag)LLAG (Phase Lead and Lag)FGN(Function Generator)IFGN (Inverse Function Generator)LAU (Linear Accelerator)SLAU (S-Curve Accelerator)38Function Program Example (SIN and COS)DB000300Exercise Start from 0 degree. Obtain SIN and COS valu
31、es every 10 degrees/scan interval. Store these values in Register DF00006 and Register DF00008 respectively.Answer 10.00 DF00002 DF00000 + DF00002 DF00000 DF00000 360 DB000300 IFON -360 DF00000 IEND DF00000 SIN DF00006 DF00000 COS DF00008 DEND 39How to Use DDC Command30000DW00011“ Set Parameters in
32、LAU Function *DB000100MB000100DB000101SB000004DB000102SB000004DB000103SB000004100DW00012100DW0001350DW00014RunQuick StopDV/DT Operation SWDV/DT Operation SW100 % LevelAcceleration TimeDeceleration TimeQuick Stop Time“ LAU Function Execution *MW00100 LAU DA00010MW00101DW00010Bit 0 Bit 3LAU Function P
33、arameter Setting AddressDA00010 = DW00010LAU Function InputLAU Function OutputParameter Setting in LAU40Move CommandsMain Move CommandWord Move Command: MOVWMW00000 MW00100MW00001 MW00101 MW00009 MW00109Others Word Group Exchange (XCHG) Table Initialization (SETW) Bit Move (MOVB) Data Search (BSRCH)
34、 Sorting (SORT) Bit Shift (SHFTR,L)41Programming - INSERT/DELETEInsert program here.Place cursor here. Press F1 : INSERT.F1 : INSERTPress F1 : INSERT once again. Then INSERT Mode is cancelled.Delete this portion.Place cursor here. Press F2 : DELETE.MF00220+MF00222123.4560.01DF00110=0DW00100DB000100D
35、B000100IFON0MW00121IENDMW00120+MW001211000060DW00100F2 : DELETESelect this portion using ENTER Key or cursor.Press F2 : DELETE Key again to delete.42Programming - CUT/COPYCut this portion.Place cursor here. Press F3 : CUT.F3 : CUTSelect using ENTER Key or cursor.Press F3 : CUT Key again. Then cut pr
36、ogram (Store in buffer).Key to paste the program in buffer.Place cursor here. Press F4 : COPY.F4 : COPY (Paste)0MW00121IENDMF00220+MF00222123.4560.01DF00110=0DW00100DB000100DB000100IFONMF00220+MF00222123.4560.01DF00110MW00120+MW001211000060DW0010043Programming - DISABLE/ENABLEDWGSTEPLL0110101L02L034
37、5119DThis DWG is not executed.If parent drawing (H / L / A / I) is disable, all the child drawings become disabled.If this drawing is disabled, it is not executed.If this drawing is enabled, it is executed again.44Register ListUNIT#001 : CPU#1 / DW00010 / DWG H01.01 /D=008 DECDW00010 = -00001 DW0001
38、1 = 32767 DW00012 = -32768 DW00013 = -00001DW00014 = -00001 DW00015 = 00000 DW00016 = -00001 DW00017 = -00001Start AddressDWG #Number of DataUNIT#001 : CPU#1 / MW00100 / DWG /D=008 DECMW00100 = -00010 MW00101 = 32767 MW00102 = -32768 MW00103 = -00010MW00104 = -00010 MW00105 = 00000 MW00106 = -00010
39、MW00107 = -00001UNIT#001 : CPU#1 / MW00100 / DWG /D=008 DECMW00100 = -00010 MW00101 = 32767 MW00102 = -32768 MW00103 = -00010MW00104 = -00010 MW00105 = 00000 MW00106 = -00010 MW00107 = -00001DEC : Decimal HEX : HexadecimalBIN : BinaryFLOAT : Real-numberINT : IntegerLONG : Double-integerB_D Key:Delet
40、es the block.N_L Key:Moves the cursor. N_B Key:Creates a new block.45Cross ReferenceCross Reference of UNIT#001 CPU#1 / MW00260 / DWG * ( DWG : / , ABOX : - , SFC : ; )H/010H/011H/012H10/033 INCL03.01 /096L40.01 /001 Input searching register number.Set searching register contents;*: Search all drawi
41、ngsH* : Search high-speed process drawingsL* : Search low-speed process drawingsSearch ResultDWG No. at the used locationStep No. at the used locationCommand at the used location46Comment InsertionComment Insertion Comment to be inserted in the right space in ladder diagram. Inserted by using “Comme
42、nt List”. Saved in hard disk. Comment Command One of the commands to be inserted in ladder diagram. Saved in CPU.47DATA-1MW00100-00014-00013-00012-00011-00010-00009-00008-00007-00006-00005-00004-00003-00002-00001 00000Trace Back FunctionNO.-00014-00013-00012-00011-00010-00009-00008-00007-00006-00005-00004-00003-00002-00001 00000DATA-1MW00100001040010300104001050010800110001150013000140001460016800197002550029800312DATA-2MW00200059020589005479048080380002810024100232502301023030230502302023040230102303DATA-3IW00300-00010
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024版翡翠手鐲授權(quán)合同范本3篇
- 中小學(xué)校長職業(yè)聘用協(xié)議示例(2024版)版B版
- 2024版勞動合同烏魯木齊
- 個人對個人汽車租賃合同樣本2024版B版
- 西華師范大學(xué)《工程地質(zhì)》2023-2024學(xué)年第一學(xué)期期末試卷
- 二零二五版城市公交出租車服務(wù)承包管理合同3篇
- 無錫學(xué)院《水聲學(xué)原理》2023-2024學(xué)年第一學(xué)期期末試卷
- 2024版建筑工程保險條款標準協(xié)議樣本版B版
- 二零二五版合同能源服務(wù)與節(jié)能技術(shù)研發(fā)合作協(xié)議3篇
- 二零二五年酒店客房用品綠色包裝設(shè)計采購合同2篇
- 《血管活性藥物靜脈輸注護理》團體標準解讀
- GB/T 3324-2024木家具通用技術(shù)條件
- NGS二代測序培訓(xùn)
- 《材料合成與制備技術(shù)》課程教學(xué)大綱(材料化學(xué)專業(yè))
- 小紅書食用農(nóng)產(chǎn)品承諾書示例
- 釘釘OA辦公系統(tǒng)操作流程培訓(xùn)
- 新生兒科年度護理質(zhì)控總結(jié)
- GB/T 15934-2024電器附件電線組件和互連電線組件
- 《工貿(mào)企業(yè)有限空間作業(yè)安全規(guī)定》知識培訓(xùn)
- 高層次人才座談會發(fā)言稿
- 垃圾清運公司管理制度(人員、車輛、質(zhì)量監(jiān)督、會計管理制度)
評論
0/150
提交評論