Switch mode power supply. indication monitor for visualization of operating status for even greater maintenance efficiency (39 pages)
Summary of Contents for Omron CP1E-N[]S1
Page 1
Chapter 4 CP1E-N[]S1 to G5 Lite Servo with NB...
Page 2
Objective • Understand – the feature of NB Designer (For NB HMI) – The feature of CX-Programmer (For PLC) – Set up communication between PLC, Servo system and HMI...
Page 3
Topic? • • 4-1-1 Basic Introduction on PLC 4-1-7 Basic Introduction on Cables needed • • 4-1-1i The Complete CP1E-N[]S1 Family 4-1-7i Cable Type • 4-1-2 Human Machine Interface (HMI) • • 4-1-2i The Complete HMI Family Chapter 4-2 How are we going to connect the components? •...
Page 4
Content Page • • Chapter 4 -4 What do we need to do to let Chapter 4 -5 How to create program for Servo the Servo Motor Run? Drive in CX-Programmer? • • 4-4-1 What will we learn in this topic 4-5-1 What will we learn in this topic •...
Content Page • • Chapter 4 -7 What do we need to do to let Chapter 4 -8 What do we need to do to let the the Servo Motor Run? Servo Motor Run? • • 4-7-1 What will we learn in this topic 4-8-3 Download to NB •...
Page 6
Content Page • • Chapter 4 -10 Create Control Speed of the Chapter 4 -12 How do we know the display Servo motor through NB HMI speed is true? • • 4-10-1 Pulse Output Control 4-12-1 What will we learn in this topic •...
Page 7
Content Page • • Chapter 4 -13 How to set a certain amount Chapter 4 -14 What kind of program function of output pulses? needed for this topic? • • 4-13-9 How do we know the display 4-14-12 How to Download Recipe to USB speed is true? Drive? •...
Page 8
Chapter 4-1 What Hardware will we be using in this Topic?
Page 9
Chapter 4-1-1 Basic Introduction on PLC Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 11
Chapter 4-1-1i The Complete CP1E-N[]S1 Family S1-type 30 I/O points 40 I/O points 60 I/O points Difference between S1 and S...
Page 12
Chapter 4-1-2 Basic Introduction on NB HMI Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 14
Chapter 4-1-3 Basic Introduction on Power Supply Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 15
Chapter 4-1-3i The Complete Power Supply Family...
Page 16
Chapter 4-1-4 Basic Introduction on Servo Drive Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 17
Chapter 4-1-4i The Complete G5 Lite Family 1-phase/3-phase 3-phase 200 VAC 200 VAC 100W 200W 750W 1.5KW...
Page 18
Chapter 4-1-5 Basic Introduction on Servo Motor Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 19
Chapter 4-1-5i The Complete Servo Family 3000 r/min 2000 r/min 1000 r/min 200V 200V 200V 200V 200V 200V Without brake With brake Without brake With brake Without brake With brake 900W 900W 100W 100W 1.5KW 1.5KW 200W 200W 400W 400W 750W 750W...
Page 20
Chapter 4-1-6 Basic Introduction on Terminal Block Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 21
Chapter 4-1-6i The Complete Terminal Block Family XG4A XG4C MR Sockets MR Plugs MIL Connectors MIL Connectors 20 Poles 20 Poles 20 Poles 20 Poles 34 Poles 34 Poles 34 Poles 34 Poles 40 Poles 40 Poles 50 Poles 50 Poles 50 Poles 50 Poles...
Page 22
Chapter 4-1-7 Basic Introduction on Cables needed Product PLC: CP1E-N30S1 NB: NB10W-TW01B Power Supply: S8JX-G03524CD Servo Drive R88D-KP01H OMNUC G5-series Servomotor: R88M-KE10030H-S2 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 RS232C (Male to Male) USB plug Connector Motor Power Cables: R88A-CAGA003S Encoder Cables:R88A-CRGB003C Connector Terminal Block Cables:XW2Z-100J-B24 Type B-mini USB cable...
Page 23
Chapter 4-1-7i Cable Type RS232C (Male to Male) USB plug Connector HMI / XW2Z-200T...
Page 24
Chapter 4-1-7i Cable Type Motor Power Cables: R88A-CAGA003S Encoder Cables: R88A-CRGB003C (Global Non-Flexible Cable) (Global Non-Flexible Cable) R88A-CAGA003S R88A-CRGB003C...
Page 25
Chapter 4-1-7i Cable Type Connector Terminal Block Cables Type B-mini USB cable Servo Drive...
Page 26
Chapter 4-2 How are we going to connect the components? Answer: Just follow the wiring diagram...
Chapter 4-2-1 Wiring Diagram Connect to AC 230V Connect to DC 24V Connect with mini –USB to PC USB cable from PC (For CX-Drive) (CX-Programmer) Connect with Connect to HMI PLC connect to Servo Drive Cable using RS232 cable Terminal block Connect to AC 230V Motor...
Page 29
Chapter 4-3 Do we need to do setting for the Servo Drive? How? Answer: Yes, we will be using CX-Drive to do the setting...
Page 30
Chapter 4-3-1 What will we learn in this topic • Understand – The feature of CX-Drive (For Servo Drive) – How to do setting on the CX-Drive – How to online and download the setting to the Servo Drive...
Page 31
Chapter 4-3-2 Introduction on CX-Drive • Basic Feature of a CX-Drive Toolbar Workspace Windows Output Window Status Bar...
Page 32
Chapter 4-3-3 Input Type Servo drive Setup • Setting for Servo Drive Step Description Scroll Bar Options General tab R88D-KP (Asia use only)
Page 33
Chapter 4-3-3 Input Type Servo drive Setup • Setting for Servo Drive Step Description Scroll Bar Click on Drive tab Choose Servo and the Drive Series for easy detect...
Page 34
Chapter 4-3-4 Input Type Servo drive Setup • To Auto detect device (Auto Online too • Click on Drive > AutoDectect • Ctrl + D • Click on the icon ICON...
Page 35
Chapter 4-3-5 Setting For Servo Drive • Go to Parameter Editor • Pn001 - 3: Mode 1:Position Control, Mode 2: Speed Control • Pn007 - 3: Feed pulse/direction signal • Pn008 – 5000...
Page 36
Chapter 4-3-6 Transfer Setting • Transfer Setting • Drive tab > Transfer > To Drive • Click on the Icon Method transfer...
Page 37
Chapter 4-3-6 Transfer Setting • Steps to follow Step Description Display Number Check Drive parameters and Drive Program as to overwrite the old setting then click OK Once the Transfer is finish, a pop-up of successful transfer appear then click ok...
Page 38
Chapter 4-3-6 Transfer Setting • Steps to follow Step Description Display Number CX-Driver start transferring the setting to the MX2 Inverter Once the Transfer is finish, a pop-up of successful transfer appear then click ok...
Page 39
Chapter 4-3-6 Transfer Setting • Steps to follow Step Description Display Number After transferring the setting for the MX2 Inverter, you need to POWER CYCLE the inverter to enable the setting...
Page 40
Chapter 4-4 What do we need to do to let the Servo Motor Run? Answer: Using Speed Output control (SPED)
Page 41
Chapter 4-4-1 What will we learn in this topic • Understand – How to create New frame – How to create Clockwise(CW) and Counter-Clockwise (CCW) button – How to create Input pulse value...
Page 42
Chapter 4-4-2 Set up I/O list • We be using this range of I/O for this whole chapter Name Address Word W30 – W39 Data Memory D400 – D499 • RUN CW/CCW & STOP function will be using these I/O address stated below: Name Address Clockwise direction (CW_RUN)
Page 43
Chapter 4-4-3 Create New Frame • Create a Frame16 for Servo Drive Step Description New Frame Go to Toolbar Click on the Window icon Pop-up appear Frame ID start from 10 as Frame 1 to 9 is used for special window New Frame being created Frame Name start from...
Page 44
Chapter 4-4-4 Create Link Function • Click and drag the Function Key and place it in the window Step Description Chapter 4-1 Button Function Key tab Click and drag the icon Click on Tag tab and do the setting, Check Use Tag to display after finishes the text on the icon setting, click to the...
Page 45
Chapter 4-4-5 Create Motor Run Clockwise (CW) Button • Click and drag the Bit State Switch to the window Step Description RUN CW Button Basic Attributes tab Click on Bit State Switch tab...
Page 46
Chapter 4-4-5 Create Motor Run Clockwise (CW) Button • Click and drag the Bit State Switch to the window Step Description RUN CW Button Click on Tag tab Click on Graphic tab...
Page 47
Chapter 4-4-6 Create Motor Run Counter Clockwise (CCW) Button • Click and drag the Bit State Switch to the window Step Description RUN CCW Button Basic Attributes tab Click on Bit State Switch tab...
Page 48
Chapter 4-4-6 Create Motor Run Counter Clockwise (CCW) Button • Click and drag the Bit State Switch to the window Step Description RUN CCW Button Click on Tag tab Click on Graphic tab...
Page 49
Chapter 4-4-7 Create Motor Stop Button • Click and drag the Bit State Switch to the window Step Description STOP Button Basic Attributes tab Click on Bit State Switch tab...
Page 50
Chapter 4-4-7 Create Motor Stop Button • Click and drag the Bit State Switch to the window Step Description STOP Button Click on Tag tab Click on Graphic tab...
Page 51
Chapter 4-4-8 Create Set Pulse to servo motor • Click and drag the Number Input to the window Step Description Display Number Basic Attributes tab Click on Numeric Data tab...
Page 52
Chapter 4-4-8 Create Set Pulse to servo motor • Click and drag the Number Input to the window Step Description Display Number Click on Graphic tab...
Page 53
Chapter 4-4-9 Method of Download to NB • Method of downloading the drawing to NB – Download way – System Manager...
Page 54
Chapter 4-4-10 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 55
Chapter 4-4-11 Can the servo Run? • Run and test out Step Description Display Number Click on the Chapter 4-1 to go Frame 16 There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen...
Page 56
Chapter 4-5 How to create program for Servo Drive in CX- Programmer? Answer: Using CX-Programmer...
Page 57
Chapter 4-5-1 What will we learn in this topic • Understand – The function of SPED(885) instruction – The function of INI(880) instruction – How to program PLC to start the motor – How to start the servo motor...
Page 58
Chapter 4-5-2 CX-Programmer • Basic Feature of a CX-Programmer Toolbar Project Workspace Diagram Workspace Status...
Chapter 4-5-3 Create New Program • Set the PLC setting to the same as the NB HMI Step Description Display Number Click On NEW Select CP1E...
Page 60
Chapter 4-5-3 Create New Program • Set the PLC setting to the same as the NB HMI Step Description Display Number Click on Settings, choose N30. Click Ok then OK. Once Finish, it will display like this...
Page 61
Chapter 4-5-4 Let create Servo Program • Create CW_RUN and CCW_RUN drive Step Description Table Servo run Clockwise Direction Address Register • Create a CW_RUN (W31.00) to the W31.00 CW_RUN Speed output SPED(885) • Create a CCW_RUN (W31.01) to W31.01 CCW_RUN the Speed output SPED(885)
Page 62
Chapter 4-5-4 Let create Servo Program • Create CW_RUN and CCW_RUN drive Port Step Explanation W480-E1-05, Page 12-4 SPED(885) • Port is #0 as when we do wiring on the PLC • For SPED Instruction, Right Click on the Instruction SPED(885) and click Instruction Help •...
Page 63
Chapter 4-5-4 Let create Servo Program • Create CW_RUN and CCW_RUN drive Output mode Step Explanation Instruction SPED(885) SPED(885) • Output mode follow the table on the right • CW direction is #0100 • CCW direction is #0110 Pulse Output method Direction Mode...
Page 64
Chapter 4-5-4 Let create Servo Program • Create CW_RUN and CCW_RUN drive Number of pulse when start Step Explanation Instruction SPED(885) SPED(885) • Pulse Value is depend on the model. For G5 Lite model, is up to 100,000Hz...
Page 65
Chapter 4-5-4 Let create Servo Program • Create STOP Servo Drive Step Description Table Servo Stop Address Register • Create a DRIVE_STOP (W31.02) to W31.02 DRIVE_STOP the MODE CONTROL INI(880)
Page 66
Chapter 4-5-4 Let create Servo Program • Create STOP Servo Drive Port Step Explanation Instruction INI(880) INI(880) • For using pulse output 0, port is #0000 Port is #0 as when we do wiring on the PLC • For INI Instruction, Right Click on the Instruction INI(880) and click Instruction Help...
Page 67
Chapter 4-5-4 Let create Servo Program • Create STOP Servo Drive Control Data Step Explanation Instruction INI(880) INI(880) • Function use is stop pulse output so Control Data is #0003 • For INI Instruction, Right Click on the Instruction INI(880) and click Instruction Help Stop the pulse output, select #0003...
Page 68
Chapter 4-5-4 Let create Servo Program • Create STOP Servo Drive First Word With New PV Step Explanation Instruction INI(880) INI(880) • Set it to “0” as it not in use • For INI Instruction, Right Click on the Instruction INI(880) and click Instruction Help...
Chapter 4-5-5 Online mode • Click Work Online to go Online Offline Mode Online Mode Click here to Online mode Click here to Online Grey mode Background...
Page 70
Chapter 4-5-6 HMI Com Setting for PLC • Set the PLC setting to the same as HMI Step Description Setting Double click on the Setting PLC to HMI Option PLC Setting pop-up appear, click on Built-In RS232C Port tab to set the Communications Setting Type Baud...
Page 71
Chapter 4-5-7 Transfer PLC Program • Set the PLC setting to the same as the Servo Drive Step Description Transfer Program Download program to PLC Click PLC tab > Transfer > Transfer [PC ->PLC] Ctrl + T Click on the icon Check the Settings before download, else there will be no communication between PLC and Inverter due to setting...
Page 72
Chapter 4-5-8 Can the servo Run? • Run and test out again Step Description Display Number Click on the Chapter 4-1 to go Frame 16 Next slide show the result...
Page 73
Chapter 4-5-9 Monitor HMI with PLC • Once CW button is turn on HMI View SERVO View Step 2: Press the CW button to start motor Clockwise Step 1: Press and tenkey pop-up appear. (CW) Key in 100000 (100,000 pulses) Step 3: Press the STOP button to start motor...
Page 74
Chapter 4-5-9 Monitor HMI with PLC • Once CCW button is turn on HMI View SERVO View Step 2: Press the CCW button to start motor Counter Clockwise Step 1: Press and tenkey pop-up appear. (CCW) Key in 100000 (100,000 pulses) Step 3: Press the STOP button to start motor...
Page 75
Chapter 4-6 How do we know the display speed is true? Answer: Using CX-Drive’s Real Time Trace...
Page 76
Chapter 4-6-1 What will we learn in this topic • Understand – How to use real time trace – How to View motor speed from CX-Drive...
Page 77
Chapter 4-6-2 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Click on Monitor > Real Time Trace Check Monitor for CSPD...
Page 78
Chapter 4-6-2 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Click Drive > Work Online Click then Work Online shortcut icon Click the start button Click to start...
Page 79
Chapter 4-6-3 Monitor HMI to CX-Drive • Once CCW button is turn on HMI View SERVO View Step 1: Press the RUN button to start motor The Speed is at Step 2: Press and tenkey pop-up appear. around 600 rpm Key in 25Hz When we let the servo motor run at Counter Clockwise(CCW) at 100,000 pulses (MAX), the result show in the CX-Drive will be around 600rpm.
Page 80
Chapter 4-7 How to prevent accidental control? Answer: Using Interlocking...
Page 81
Chapter 4-7-1 What will we learn in this topic • Understand – How to Create interlock on the PLC program using Move function – How to Create interlock on the NB graphic...
Chapter 4-7-2 Interlock Control • Interlock Drive will be using these I/O address stated below: Name Address SPED Interlock CCW_Interlock W33.00 CW_Interlock W33.01...
Page 83
Chapter 4-7-3 Create Interlock Servo Program • Follow the diagram stated below Step Description Interlock Interlock Control • W33 (SPED Interlock) - Use for Address Register Address Register interlocking by turning ON its SPED Interlock W33.00 CCW_Interlock channel bit to disable either CW W33.01 CW_Interlock (W33.00 active) or CCW (W33.01...
Page 84
Chapter 4-7-4 How does this interlock works? • By using MOV function Explanation Interlock When CW_RUN (CW31.00) is energized, MOV function send #1 to W33 which Address Register Address Register activate W33.01 to energized. SPED Interlock W33.00 CCW_Interlock W33.01 CW_Interlock...
Page 85
Chapter 4-7-4 How does this interlock works? • By using MOV function Explanation Interlock When accidentally press on CCW_RUN button, motor unable to run Clockwise Address Register Address Register direction due to the interlock SPED Interlock W33.00 CCW_Interlock W33.01 CW_Interlock...
Page 86
Chapter 4-7-4 How does this interlock works? • By using MOV function Explanation Interlock To Reset the interlock, user have to press the Drive_Stop button (W31.02) Address Register Address Register which MOV function send #0 to W33 SPED Interlock W33.00 CCW_Interlock which activate W33.00 to energized.
Chapter 4-7-5 Online mode • Click Work Online to go Online Offline Mode Online Mode Click here to Online mode Click here to Online Grey mode Background...
Page 88
Chapter 4-7-6 Transfer PLC Program • Set the PLC setting to the same as the MX2 inverter Step Description Transfer Program Download program to PLC Click PLC tab > Transfer > Transfer [PC ->PLC] Ctrl + T Click on the icon Check the Settings before download, else there will be no communication between PLC and Inverter due to setting...
Page 89
Chapter 4-7-7 Create Interlock Servo Control at NB HMI • Create Interlock CW and CCW button Step Description Scroll Bar Bit State Switch Component Attribute Double click on the CW pushbutton...
Page 90
Chapter 4-7-7 Create Interlock Servo Control at NB HMI • Create Interlock CW and CCW button Step Description Scroll Bar Click on Control Setting tab : Select Conditional Enabling : Key in the interlock address For CW button (W31.00), interlock address is (W33.01) For CCW button (W31.01), interlock address is (W33.00) Button Address...
Page 91
Chapter 4-7-8 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 92
Chapter 4-7-9 NB Display • Run and test Step Description Display Number Click on the Chapter 3-1 to go Frame 14 Next slide show the result...
Page 93
Chapter 4-7-10 Monitor HMI with PLC • Changing Speed by entering value HMI View MX2 Inverter View Step 3: STOP button can still stop drive in either mode Step 1: Press Step 2: Press CCW button but servo motor unable to click as the interlock prevent user CW button for from clicking.
Page 94
Chapter 4-8 How control the speed of the Servo Motor? Solution: Use Acceleration and Deceleration (ACC/DEC)
Page 95
Chapter 4-8-1 What will we learn in this topic • Understand – The function of ACC(888) instruction – How to program PLC to control the acceleration and deceleration speed of the motor...
Page 96
Chapter 4-8-2 ACC/DEC Control • Create CW, CCW, STOP button and CW - ACC/DEC rate , CCW - ACC/DEC rate, CW - ACC/DEC Target Freq and CCW - ACC/DEC Target Freq • Refer to Chapter 1 on how to create the page and button Step Description Picture...
Page 97
Chapter 4-8-2 ACC/DEC Control • Create CW, CCW, STOP button and CW - ACC/DEC rate , CCW - ACC/DEC rate, CW - ACC/DEC Target Freq and CCW - ACC/DEC Target Freq • Refer to Chapter 1 on how to create the page and button Step Description Picture...
Page 98
Chapter 4-8-3 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 99
Chapter 4-8-4 NB Display • Run and test Step Description Display Number Click on the Chapter 4-1 to go Frame 16 There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen...
Page 100
Chapter 4-8-5 ACC/DEC with I/O Address • ACC/DEC Drive with Interlock will be using these I/O address stated below: Name Address ACC_CW W31.03 ACC_CCW W31.04 CW_ACC/DEC D404 CCW_ACC/DEC D409 ACC_Interlock ACC_CW_Interlock W34.00 ACC_CCW_Interlock W34.01...
Page 101
Chapter 4-8-6 ACC/DEC with Interlock Program • ACC/DEC control with interlock Acc Interlock Step Description Table ACC/DEC control with interlock Address Register • W33 (SPED Interlock) - Use for W31.03 ACC_CW interlocking by turning ON its W31.04 ACC_CCW channel bit to disable either CW (W33.00 active) or CCW (W33.01 D404 CW_ACC/DEC...
Page 102
Chapter 4-8-6 ACC/DEC with Interlock Program • ACC/DEC control with interlock Port Step Explanation Table ACC(888) • Port is #0 as when we do wiring on the PLC • For ACC Instruction, Right Click on the Instruction ACC(888) and click Instruction Help •...
Page 103
Chapter 4-8-6 ACC/DEC with Interlock Program • ACC/DEC control with interlock Output mode Step Explanation Table ACC(888) • Output mode follow the table on the right • CW direction is #0100 • CCW direction is #0110 Pulse Output method Direction Mode...
Page 104
Chapter 4-8-6 ACC/DEC with Interlock Program • ACC/DEC control with interlock First Word of Setting Table Step Explanation Table ACC(888) • These uses 3 WORD. • D404: ACC/DEC rate • D405-D406: Target Freq...
Page 105
Chapter 4-8-7 NB Display • Run and test Step Description Display Number Click on the Chapter 4-1 to go Frame 16 Next slide show the result...
Chapter 4-8-8 Online mode • Go Online Offline Mode Online Mode Click here to Online mode Grey Background...
Page 107
Chapter 4-8-9 Transfer PLC Program • Set the PLC setting to the same as the MX2 inverter Step Description Transfer Program Download program to PLC Click PLC tab > Transfer > Transfer [PC ->PLC] Ctrl + T Click on the icon Check the Settings before download, else there will be no communication between PLC and Inverter due to setting...
Page 108
Chapter 4-8-10 Monitor HMI with Inverter • Test with Acceleration HMI View Servo Drive View : Press the CCW button to start motor : Set a rate on how fast to ACC/DEC : Set a rate on how many pulse per cycle Counter Clockwise (CCW)
Page 109
Chapter 4-9 How do we know the display speed is true? Answer: Using CX-Drive’s Real Time Trace...
Page 110
Chapter 4-9-1 Check with CX-Drive • Check speed of the Servo motor from CX-Drive Step Description Picture Click on Monitor > Real Time Trace Check Monitor for CSPD...
Page 111
Chapter 4-9-1 Check with CX-Drive • Check speed of the Servo motor from CX-Drive Step Description Picture Click Drive > Work Online Click then Work Online shortcut icon Click the start button Click to start...
Page 112
Chapter 4-9-2 How to know the menu is right? • ACC/DEC control with interlock Acceleration during Acceleration during 100,000Hz 100,000Hz 50,000Hz 50,000Hz Explanation Table By following the diagram from the Instruction Help reading: • CW-ACC/DEC rate: 250 • CW-ACC/DEC Target Frequency: 50,000...
Page 113
Chapter 4-10 Create Control Speed of the Servo motor through NB HMI...
Chapter 4-10-1 Pulse Output Control • Create new Frame (Frame17) and Link button to Frame17 at Frame 16 • Refer to Chapter 1 on how to create the page and button Step Description Picture Create Frame17 for Next topic • Create a change window to Frame17 and name it PLS2 &...
Page 115
Chapter 4-10-1 Pulse Output Control • Create CW, CCW, STOP button and ACC rate and DEC rate input value at Frame17 • Refer to Chapter 1 on how to create the page and button Step Description Picture Create 1 each: CW (W31.05) with Interlock (W35.01) CCW (W31.06), with Interlock (W35.00) 1 Stop (W31.02) pushbutton using Reset type.
Page 116
Chapter 4-10-1 Pulse Output Control • Create Target Frequency, Pulse Output Amount and Start Frequency at Frame 17 • Refer to Chapter 1 on how to create the page and button Step Description Picture Create 1 each: •Target Frequency (D422) •Pulse Output Amount (D424) •Start Frequency (D430) Setting for :...
Page 117
Chapter 4-10-1 Pulse Output Control • Create Link button to Frame16 at Frame 17 • Refer to Chapter 1 on how to create the page and button Step Description Picture • Create a change window to Frame16 and name it SPED & ACC •...
Page 118
Chapter 4-10-2 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 119
Chapter 4-10-3 NB Display • Run and test Step Description Display Number Click “Chapter 4-1” button, it will send you to Frame16 “SPED & ACC” page Click “PLS2 & PULS“ button at Frame16, it will send you to Frame17“PLS2 & PULS”...
Page 120
Chapter 4-10-3 NB Display • Run and test Step Description Display Number There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen Click “SPED & ACC“ button at Frame17, it will send you to Frame16 “SPED & ACC”...
Page 121
Chapter 4-11 What kind of program function needed for this topic? Answer: Using PLS2 Function...
Page 122
Chapter 4-11-1 What will we learn in this topic • Understand – The function of PLS2(887) instruction – How to control the Speed of the acceleration and deceleration of the servo motor within a certain cycle – Create interlock...
Page 123
Chapter 4-11-2 PLS2 with Interlock Program • This topic will be using these I/O address stated below: Name Address PLS2_CW W31.05 PLS2_CCW W31.06 PLS2_Set_table D420 PLS2_Start_Freq D430 PLS2_Interlock PLS2_CW_Interlock W35.00 PLS2_CCW_Interlock W35.01...
Page 124
Chapter 4-11-3 How do we start using PLS2 function? • Create Write Control Speed of the motor Step Description Table PLS2 control with interlock Address Register • W35 (PLS2 Interlock) - Use for W31.05 PLS2_CW interlocking by turning ON its W31.06 PLS2_CCW channel bit to disable either CW...
Page 125
Chapter 4-11-3 How do we start using PLS2 function? • Create Write Control Speed of the motor PLS2 Interlock RESET Step Description Table PLS2 control with interlock Address Register • AT Rung 2, insert a reset interlock as shown above to reset the PLS2_Interlock interlock...
Page 126
Chapter 4-11-3 How do we start using PLS2 function? • Create response feedback from the PLC Port Explanation Table PLS2(887) • Port is #0 as when we do wiring on the PLC • For PLS2 Instruction, Right Click on the Instruction PLS2(887) and click Instruction Help •...
Page 127
Chapter 4-11-3 How do we start using PLS2 function? • Create response feedback from the PLC Output Mode Explanation Table PLS2(887) • Output mode follow the table on the right • CW direction is #0100 • CCW direction is #0110 Pulse Output method Direction Mode...
Page 128
Chapter 4-11-3 How do we start using PLS2 function? • Create response feedback from the PLC First Word of Settings Table Explanation Table PLS2(887) • These uses 3 WORD. • D420: ACC rate • D421: DEC rate • D422: Target Frequency...
Page 129
Chapter 4-11-3 How do we start using PLS2 function? • Create response feedback from the PLC First Word of Starting Frequency Explanation Table PLS2(887) • These uses 2 WORD • D430 to D431 • For motor max frequency uses • 100,000Hz = 0001 86A0 •...
Chapter 4-11-4 Online mode • Click Work Online to go Online Offline Mode Online Mode Click here to Online mode Grey Background...
Page 131
Chapter 4-11-5 Transfer PLC Program • Set the PLC setting to the same as the MX2 inverter Step Description Transfer Program Download program to PLC Click PLC tab > Transfer > Transfer [PC ->PLC] Ctrl + T Click on the icon Check the Settings before download, else there will be no communication between PLC and Inverter due to setting...
Page 132
Chapter 4-11-6 NB Display • Run and test Step Description Display Number Click on the Chapter 4-1 to go Frame 16 Next slide show the result...
Page 133
Chapter 4-11-6i Monitor HMI with Inverter • Test with Acceleration HMI View Servo Drive View : Press the CCW button to start motor Counter Clockwise : Set the control (CCW) according to the Table below Description Table Let try the example from the Instruction Help as to Description Value check whether data is correct...
Page 134
Chapter 4-12 How do we know the display speed is true? Answer: Using CX-Drive’s Real Time Trace...
Page 135
Chapter 4-12-1 What will we learn in this topic • Understand – How to use CX-Drive Real Time Trace to view the waveform – How to see the different in Acceleration and deceleration on start up and stopping of the servo motor...
Page 136
Chapter 4-12-2 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Click on Monitor > Real Time Trace Check Monitor for CSPD...
Page 137
Chapter 4-12-2 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Either click Drive > Work Online Or click then Work Online shortcut icon Click the start button Click to start...
Page 138
Chapter 4-12-3 How to know the menu is right? • ACC/DEC control with interlock Target Frequency: 50,000Hz Start Frequency: 200Hz Pulse Output Amount: 100,000Hz Step Explanation Table By following the diagram from the Instruction Help reading: • ACC rate: 5000 •...
Page 139
Chapter 4-12-3 How to know the menu is right? • ACC/DEC control with interlock Target Frequency: 50,000Hz Start Frequency: 200Hz Pulse Output Amount: 100,000Hz Step Explanation Table By following the diagram from the Instruction Help reading: • ACC rate: 2500 •...
Page 140
Chapter 4-13 How to set a certain amount of output pulses? Answer: Using PULS Function...
Page 141
Chapter 4-13-1 What will we learn in this topic • Understand – The function of PULS(886) instruction – How to control how many pulse to run per cycle...
Page 142
Chapter 4-13-2 Control Set Pulse • Create CW, CCW, STOP button and Set Pulse and Set Speed at Frame 17 • Refer to Chapter 1 on how to create the page and button Step Description Picture Create 1 each: CW (W31.07 ) with Interlock (W36.01) CCW (W31.08), with Interlock (W36.00) 1 Stop (W31.02) pushbutton using Reset type.
Page 143
Chapter 4-13-3 PULS with Interlock Program • PULS control with Interlock will be using these I/O address stated below: Name Address PULS_CW W31.05 PULS_CCW W31.06 PULS_Set_table D440 PULS_Start_Freq D442 PULS_Interlock PULS_CW_Interlock W35.00 PULS_CCW_Interlock W35.01...
Page 144
Chapter 4-13-4 How do we start using PULS function? • Create Write Control Speed of the motor Description Step Table PULS control with interlock Address Register • W36 (PULS Interlock) - Use for W31.07 PULS_CW interlocking by turning ON its channel bit to disable either CW W31.08 PULS_CCW...
Page 145
Chapter 4-13-4 How do we start using PULS function? • Create Write Control Speed of the motor PLS2 Interlock RESET Description Step Table PULS control with interlock • Address Register AT Rung 2, insert a reset interlock as shown above to reset the PLS2_Interlock interlock...
Page 146
Chapter 4-13-4 How do we start using PULS function? • Create response feedback from the PLC Port Explanation Table PULS(886) • Port is #0 as when we do wiring on the PLC • For PULS Instruction, Right Click on the Instruction PULS (886) and click Instruction Help •...
Page 147
Chapter 4-13-4 How do we start using PULS function? • Create response feedback from the PLC Pulse Type Explanation Table PULS(886) • #0000 is relative pulse which value start from 0 to N pulse • #0001 is absolute pulse which value start from –N to +N pulse...
Page 148
Chapter 4-13-4 How do we start using PULS function? • Create response feedback from the PLC Number of Pulse Explanation Table PULS(886) • Number of pulse is set at DM area of D440...
Page 149
Chapter 4-13-5 Online mode • Click Work Online to go Online Offline Mode Online Mode Click here to Online mode Grey Background...
Page 150
Chapter 4-13-6 Transfer PLC Program • Set the PLC setting to the same as the MX2 inverter Step Description Transfer Program Download program to PLC Click PLC tab > Transfer > Transfer [PC ->PLC] Ctrl + T Click on the icon Check the Settings before download, else there will be no communication between PLC and Inverter due to setting...
Page 151
Chapter 4-13-7 NB Display • Run and test Step Description Display Number Click on the Chapter 4-2 to go Frame 16 “SPED & ACC” page Click on the “PLS2 & PULS” to go Frame 17 “PLS2 & PULS” page...
Page 152
Chapter 4-13-7 NB Display • Run and test Step Description Display Number Next slide show the result...
Page 153
Chapter 4-13-8 Monitor HMI with Inverter • Test with Acceleration HMI View Servo Drive View : Press the CCW button to start motor Counter Clockwise : Set the control (CCW) according to the Table below Description Table Let try the example from the Instruction Help as to check whether data is correct Description Value...
Page 154
Chapter 4-13-9 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Click on Monitor > Real Time Trace Check Monitor for CSPD...
Page 155
Chapter 4-13-9 How do we know the display speed is true? • Check speed of the Servo motor from CX-Drive Step Description Picture Click Drive > Work Online Click then Work Online shortcut icon Click the start button Click to start...
Page 156
Chapter 4-13-9 How do we know the display speed is true? • ACC/DEC control with interlock Target Frequency: 50,000Hz Pulse Output Amount: 50,000 Step Explanation Table By following the diagram from the Set Speed: Instruction Help reading: 50,000 Hz • Set Pulse: 50,000 •...
Page 157
Chapter 4-14 How can we have different control setting to run Servo Motor? Answer: Create Recipe...
Page 158
Chapter 4-14-1 What will we learn in this topic • Understand – How to create recipe for different type of situation...
Chapter 4-14-2 Recipe Selection • Create new Frame (Frame18) at Frame 18 • Refer to Chapter 1 on how to create the page and button Step Description Picture Create Frame18 for Next topic Copy PULS Control from Frame17 to Frame18...
Page 160
Chapter 4-14-2 Recipe Selection • Create Recipe selection on selecting Recipe Step Description Recipe Data Basic Attributes Click on Multi-State Switch tab Create 3 recipe Explain on the later slide...
Page 161
Chapter 4-14-2 Recipe Selection • Create Recipe selection on selecting Recipe Step Description Recipe Data Click on Tag tab Click on Graphic tab...
Page 162
Chapter 4-14-3 Create Recipe Menu • Create Recipe menu on selecting Recipe Step Description Recipe menu Basic Attributes • Key in each addresses for different recipe menu box Follow as the picture on the RW 0 RW 4 RW 8 right Click on Numeric Data Create 3 recipe...
Page 163
Chapter 4-14-3 Create Recipe Menu • Create Recipe menu on selecting Recipe Step Description Recipe menu Click on Graphics RW 0 RW 4 RW 8 RW 2 RW 6 RW 10...
Page 164
Chapter 4-14-4 Explanation • From the Recipe selection is where they start reading data User Select Recipe 2 State 0 State 1 State 2 Recipe selection Data will read from RW4 to RW7 for recipe 2 Set Pulse Set Speed Set Pulse Set Speed Set Pulse...
Page 165
Chapter 4-14-5 Recipe Transfer to PLC • Click and drag the Recipe Data and place it in the window Step Description Recipe Data Basic Attributes Click on Recipe Data tab The Recipe create will transfer to PLC 4 Word cos: 2 word from Set Pulse (D440-D441) 2 Word from Set Speed (D442-D443)
Page 166
Chapter 4-14-5 Recipe Transfer to PLC • Click and drag the Recipe Data and place it in the window Step Description Recipe Data Click on Tag tab Click on Graphic tab...
Page 167
Chapter 4-14-6 Recipe Upload From PLC • Click and drag the Recipe Data and place it in the window Step Description Recipe Data Basic Attributes Click on Recipe Data tab The PLC Data will transfer to Recipe Menu 4 Word cos: 2 word from Set Pulse (D440-D441) 2 Word from Set Speed (D442-D443)
Page 168
Chapter 4-14-6 Recipe Upload From PLC • Click and drag the Recipe Data and place it in the window Step Description Recipe Data Click on Tag tab Click on Graphic tab...
Page 169
Chapter 4-14-7 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 170
Chapter 4-14-8 NB Display • Try Key in different Recipe Menu and download recipe to PLC Before Transfer Recipe After Transfer Recipe Step 2 Step 3 Step 5 Step 1 Step 4 Step 1: Key in the different recipe menu Step 4: Value from recipe 1 transfer to Data Memory Step 2: Select the recipe you desired area (D440-D443)
Page 171
Chapter 4-14-9 Create Recipe Download to USB Drive • Click and drag the Function Key and place it in the window Step Description Recipe Data Basic Attributes The PLC Data will transfer to Recipe Menu Click on Recipe Data tab The PLC Data will transfer to Recipe Menu 4 Word cos: 2 word from Set Pulse (D440-D441)
Page 172
Chapter 4-14-9 Create Recipe Download to USB Drive • Click and drag the Function Key and place it in the window Step Description Recipe Data Click on Tag tab Click on Graphic tab...
Page 173
Chapter 4-14-10 Recipe Upload from USB Drive • Click and drag the Function Key and place it in the window Step Description Recipe Data Basic Attributes The PLC Data will transfer to Recipe Menu Click on Recipe Data tab The PLC Data will transfer to Recipe Menu 4 Word cos: 2 word from Set Pulse (D440-D441) 2 Word from Set Speed (D442-D443)
Page 174
Chapter 4-14-10 Recipe Upload from USB Drive • Click and drag the Function Key and place it in the window Step Description Recipe Data Click on Tag tab Click on Graphic tab...
Page 175
Chapter 4-14-11 Download to NB 1. Click Tools at toolbar, click Compile to compile the drawing first, if there no problem carry on the next step. 2. Click download to download the drawing...
Page 176
Chapter 4-14-12 How to Download Recipe to USB Drive? • Run and test Step Description Display Number Click “Chapter 4-2” button, it will send you to Frame18 “Recipe” page Next slide show the result...
Page 177
Chapter 4-14-12 How to Download Recipe to USB Drive? • Run and test Step Description Display Number Let key in different value for each Recipe: Recipe 1 Recipe 2 Recipe 3 Set Pulse 80000 50000 Set Speed 80000 3000 100000 Note: Please insert the USB Drive Step 1: Value set Step 2: Click on the...
Page 178
Chapter 4-14-12 How to Download Recipe to USB Drive? • Run and test Step Description Display Number • Enter the name you want for the Recipe that you have created. (Ex. I name the recipe as recipe1) • Click Ok! Step 5: Name the recipe you want.
Chapter 4-14-12 How to Upload Recipe from USB Drive? • Run and test Step Description Display Number Click “Chapter 4-2” button, it will send you to Frame18 “Recipe” page Next slide show the result...
Page 180
Chapter 4-14-12 How to Upload Recipe from USB Drive? • Run and test Step Description Display Number Let clear the value for each Recipe: Recipe 1 Recipe 2 Recipe 3 Set Pulse Set Speed Step 2: Click on the Note: Please insert the USB Drive Import Recipe to HMI Step 1: Set all Value before try...
Page 181
Chapter 4-14-12 How to Upload Recipe from USB Drive? • Run and test Step Description Display Number • Select the recipe as shown on the Step 5: If there top right of the pop-up. recipe in the USB (Ex. Click on recipe1.rcp) Drive, you can see from here •...
Page 182
Information • Servo Motors and Servo Drives: – http://www.omron-ap.com/product_info/G5%20Series/index.asp • CX-Drive: – http://www.omron-ap.com.sg/downloads/pdf_listing.asp?product_model=NB Series&catlvl=201 • G5 Lite Servo Motor and Drives (I584-E1-02): – http://www.omron-ap.com/downloads/pdf_listing.asp?product_model=G5 Series&catlvl=48 • CP1E Manual (W480-E1-05): – http://www.omron.com.au/downloads/pdf_viewing1.asp?product_model=CP1E&catlvl...