Post on 14-May-2021
Chapter 4CP1E-N[]S1 to G5 Lite Servo with NB
• 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
Objective
• Chapter 4 -1 What Hardware will we be using in this Topic?
• 4-1-7 Basic Introduction on Cables needed
• 4-1-7i Cable Type
• Chapter 4-2 How are we going to connect the components?
• 4-2-1 Wiring Diagram
• Chapter 4-3 Do we need to do setting for the Servo Drive? How?
• 4-3-1 What will we learn in this topic
• 4-3-2 Introduction on CX-Drive
• 4-3-3 Input Type Servo drive Setup
• 4-3-4 Input Type Servo drive Setup
• 4-3-5 Setting For Servo Drive
• 4-3-6 Transfer Setting
• Chapter 4 -1 What Hardware will we be using in this Topic?
• 4-1-1 Basic Introduction on PLC
• 4-1-1i The Complete CP1E-N[]S1 Family
• 4-1-2 Human Machine Interface (HMI)
• 4-1-2i The Complete HMI Family
• 4-1-3 Power Supply
• 4-1-3i The Complete Power Supply Family
• 4-1-4 Basic Introduction on Servo Drive
• 4-1-4i The Complete G5 Lite Family
• 4-1-5 Basic Introduction on Servo Motor
• 4-1-5i The Complete Servo Family
• 4-1-6 Basic Introduction on Terminal Block
• 4-1-6i The Complete Terminal Block Family
Content Page
• Chapter 4 -5 How to create program for Servo Drive in CX-Programmer?
• 4-5-1 What will we learn in this topic
• 4-5-2 CX-Programmer
• 4-5-3 Create New Program
• 4-5-4 Let create Servo Program
• 4-5-5 Online mode
• 4-5-6 HMI Com Setting for PLC
• 4-5-7 Transfer PLC Program
• 4-5-8 Can the servo Run?
• 4-5-9 Monitor HMI with PLC
• Chapter 4-6 How do we know the display speed is true?
• 4-6-1 What will we learn in this topic
• 4-6-2 How do we know the display speed is true?
• 4-6-3 Monitor HMI to CX-Drive
• Chapter 4 -4 What do we need to do to let the Servo Motor Run?
• 4-4-1 What will we learn in this topic
• 4-4-2 Set up I/O list
• 4-4-3 Create New Frame
• 4-4-4 Create Link Function
• 4-4-5 Create Motor Run Clockwise (CW) Button
• 4-4-6 Create Motor Run Counter Clockwise (CCW) Button
• 4-4-7 Create Motor Stop Button
• 4-4-8 Create Set Pulse to servo motor
• 4-4-9 Method of Download to NB
• 4-4-10 Download to NB
• 4-4-11 Can the servo Run?
Content Page
• Chapter 4 -8 What do we need to do to let the Servo Motor Run?
• 4-8-3 Download to NB
• 4-8-4 NB Display
• 4-8-5 ACC/DEC with I/O Address
• 4-8-6 ACC/DEC with Interlock Program
• 4-8-7 NB Display
• 4-8-8 Online mode
• 4-8-9 Transfer PLC Program
• 4-8-10 Monitor HMI with Inverter
• Chapter 4-9 How do we know the display speed is true?
• 4-9-1 Check with CX-Drive
• 4-9-2 How to know the menu is right?
• Chapter 4 -7 What do we need to do to let the Servo Motor Run?
• 4-7-1 What will we learn in this topic
• 4-7-2 Interlock Control
• 4-7-3 Create Interlock Servo Program
• 4-7-4 How does this interlock works?
• 4-7-5 Online mode
• 4-7-6 Transfer PLC Program
• 4-7-7 Create Interlock Servo Control at NB HMI
• 4-7-8 Download to NB
• 4-7-9 NB Display
• 4-7-10 Monitor HMI with PLC
• Chapter 4 -8 What do we need to do to let the Servo Motor Run?
• 4-8-1 What will we learn in this topic
• 4-8-2 ACC/DEC Control
Content Page
• Chapter 4 -12 How do we know the display speed is true?
• 4-12-1 What will we learn in this topic
• 4-12-2 How do we know the display speed is true?
• 4-12-3 How to know the menu is right?
• Chapter 4-13 How to set a certain amount of output pulses?
• 4-13-1 What will we learn in this topic
• 4-13-2 Control Set Pulse
• 4-13-3 PULS with Interlock Program
• 4-13-4 How do we start using PULS function?
• 4-13-5 Online mode
• 4-13-6 Transfer PLC Program
• 4-13-7 NB Display
• 4-13-8 Monitor HMI with Inverter
• Chapter 4 -10 Create Control Speed of the Servo motor through NB HMI
• 4-10-1 Pulse Output Control
• 4-10-2 Download to NB
• 4-10-3 NB Display
• Chapter 4 -11 What kind of program function needed for this topic?
• 4-11-1 What will we learn in this topic
• 4-11-2 PLS2 with Interlock Program
• 4-11-3 How do we start using PLS2 function?
• 4-11-4 Online mode
• 4-11-5 Transfer PLC Program
• 4-11-6 NB Display
• 4-11-6i Monitor HMI with Inverter
Content Page
• Chapter 4 -14 What kind of program function needed for this topic?
• 4-14-12 How to Download Recipe to USB Drive?
• Information
• Chapter 4 -13 How to set a certain amount of output pulses?
• 4-13-9 How do we know the display speed is true?
• Chapter 4 -14 What kind of program function needed for this topic?
• 4-14-1 What will we learn in this topic
• 4-14-2 Recipe Selection
• 4-14-3 Create Recipe Menu
• 4-14-4 Explanation
• 4-14-5 Recipe Transfer to PLC
• 4-14-6 Recipe Upload From PLC
• 4-14-7 Download to NB
• 4-14-8 NB Display
• 4-14-9 Create Recipe Download to USB Drive
• 4-14-10 Recipe Upload from USB Drive
• 4-14-11 Download to NB
Content Page
Chapter 4-1What Hardware will we be using in this
Topic?
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-1Basic Introduction on PLC
Chapter 4-1-1iThe Complete CP1E-N[]S1 Family
S1-type
30 I/O points 40 I/O points 60 I/O points
Chapter 4-1-1iThe Complete CP1E-N[]S1 Family
Difference between S1 and S
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-2Basic Introduction on NB HMI
Chapter 4-1-2iThe Complete HMI Family
HMI
ModelNB3Q-TW00B
NB3Q-TW01B
NB5Q-TW00B
NB5Q-TW01B
NB7W-TW00BNB7W-TW01B
NB10W-TW01B
Memory interface
-USB
Memory-
USB Memory
-USB
MemoryUSB
Memory
Ethernet -10/100 base-T
-10/100 base-T
-10/100 base-T
10/100 base-T
Serial (COM1)RS-232CRS-422ARS-485
RS-232CRS-422ARS-485
RS-232C RS-232C RS-232C RS-232C RS-232C
Serial (COM2) - -RS-232CRS-422ARS-485
RS-232CRS-422ARS-485
RS-232CRS-422ARS-485
RS-232CRS-422ARS-485
RS-232CRS-422ARS-485
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-3Basic Introduction on Power Supply
Chapter 4-1-3iThe Complete Power Supply Family
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-4Basic Introduction on Servo Drive
Chapter 4-1-4iThe Complete G5 Lite Family
1-phase/3-phase 200 VAC
3-phase200 VAC
100W 200W 750W 1KW 1.5KW 2KW 3KW 5KW
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-5Basic Introduction on Servo Motor
Chapter 4-1-5iThe Complete Servo Family
3000 r/min 2000 r/min 1000 r/min
200VWithout brake
200VWith brake
200VWithout brake
200VWith brake
200VWithout brake
200VWith brake
50W 50W 1KW 1KW 900W 900W
100W 100W 1.5KW 1.5KW 2KW 2KW
200W 200W 2KW 2KW 3KW 3KW
400W 400W 3KW 3KW - -
750W 750W 4KW 4KW - -
1KW 1KW 5KW 5KW - -
2KW 2KW - - - -
3KW 3KW - - - -
4KW 4KW - - - -
5KW 5KW - - - -
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6
1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-6Basic Introduction on Terminal Block
Chapter 4-1-6iThe Complete Terminal Block Family
XG4AMIL Connectors
XG4CMIL Connectors
MR Sockets MR Plugs
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
S/N Product Qty
1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Servo Drive R88D-KP01H 1
5 OMNUC G5-series Servomotor: R88M-KE10030H-S2 1
6 Control Cables for Connector Terminal Block: Terminal Block XW2D-50G6 1
7 RS232C (Male to Male) 1
8 USB plug Connector 1
9 Motor Power Cables: R88A-CAGA003S 1
10 Encoder Cables:R88A-CRGB003C 1
11 Connector Terminal Block Cables:XW2Z-100J-B24 1
12 Type B-mini USB cable 1
13 Wires A few
Chapter 4-1-7Basic Introduction on Cables needed
RS232C (Male to Male) USB plug Connector
Chapter 4-1-7iCable Type
XW2Z-200T
PCHMI / PLC
PLCHMI
Motor Power Cables: R88A-CAGA003S(Global Non-Flexible Cable)
Encoder Cables: R88A-CRGB003C(Global Non-Flexible Cable)
Chapter 4-1-7iCable Type
R88A-CAGA003S R88A-CRGB003C
Connector Terminal Block Cables Type B-mini USB cable
Chapter 4-1-7iCable Type
PCServo Drive
Chapter 4-2How are we going to connect the
components?
Answer: Just follow the wiring diagram
Chapter 4-2-1Wiring Diagram
USB cable from PC (CX-Programmer)
Connect to AC 230V
Connect to DC 24V
Connect to HMI using RS232 cable
Connect to COM1
Connect with mini –USB to PC (For CX-Drive)
PLC connect to Terminal block
Power cable for servomotor(connector)
Connect with Servo Drive Cable
Motor encoder connector
Connect to AC 230V
Connect to DC 24V
• Wire PLC to Terminal block
Chapter 4-2-1Wiring Diagram
Chapter 4-3Do we need to do setting for the Servo
Drive? How?
Answer: Yes, we will be using CX-Drive to do the setting
• 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
Chapter 4-3-1
What will we learn in this topic
• Basic Feature of a CX-Drive
Chapter 4-3-2Introduction on CX-Drive
ToolbarWorkspace
Windows
Status Bar
Output Window
Chapter 4-3-3Input Type Servo drive Setup
Step Description Scroll Bar
1 Options
2 General tab
• Setting for Servo Drive
R88D-KP(Asia use only)
Step Description Scroll Bar
3 Click on Drive tab
Chapter 4-3-3Input Type Servo drive Setup
• Setting for Servo Drive
Choose Servo and the Drive Series for easy
detect
• To Auto detect device (Auto Online too )
• Click on Drive > AutoDectect
• Ctrl + D
• Click on the icon
ICON
Chapter 4-3-4Input Type Servo drive Setup
• Go to Parameter Editor
• Pn001 - 3: Mode 1:Position Control, Mode 2: Speed Control
• Pn007 - 3: Feed pulse/direction signal
• Pn008 – 5000
Chapter 4-3-5Setting For Servo Drive
• Transfer Setting
• Drive tab > Transfer > To Drive
• Click on the Icon
Chapter 4-3-6Transfer Setting
Method of transfer
• Steps to follow
Chapter 4-3-6Transfer Setting
Step Description Display Number
2 Check Drive parameters and Drive Program as to overwrite the old setting then click OK
3 Once the Transfer is finish, a pop-up of successful transfer appear then click ok
• Steps to follow
Chapter 4-3-6Transfer Setting
Step Description Display Number
4 CX-Driver start transferring the setting to the MX2 Inverter
5 Once the Transfer is finish, a pop-up of successful transfer appear then click ok
• Steps to follow
Chapter 4-3-6Transfer Setting
Step Description Display Number
6 After transferring the setting for the MX2 Inverter, you need to POWER CYCLE the inverter to enable the setting
Chapter 4-4What do we need to do to let the
Servo Motor Run?
Answer: Using Speed Output control (SPED)
• Understand
– How to create New frame
– How to create Clockwise(CW) and Counter-Clockwise (CCW) button
– How to create Input pulse value
Chapter 4-4-1
What will we learn in this topic
• We be using this range of I/O for this whole chapter
Chapter 4-4-2Set up I/O list
Name Address
Word W30 – W39
Data Memory D400 – D499
Name Address
Clockwise direction (CW_RUN) W31.00
Counter - Clockwise direction (CCW_RUN) W31.01
DRIVE_STOP W31.02
Drive Freq D400
• RUN CW/CCW & STOP function will be using these I/O address stated below:
Chapter 4-4-3Create New Frame
Step Description New Frame
1 Go to Toolbar
2 Pop-up appear
3 View form Toolbar
• Create a Frame16 for Servo Drive
Click on the Add Window icon
New Frame being created
Frame has be added once click OK in Step 2
Frame ID start from 10 as Frame 1 to 9 is used for special window
Frame Name start from Frame10 as Frame 1 to 9 is used for special window. (Name can be change)
Chapter 4-4-4Create Link Function
Step Description Chapter 4-1 Button
1 Function Key tab
2 Click on Tag tab
3 Click on Graphic tab
• Click and drag the Function Key and place it in the window
Select the design of the button
Check Use Tag to display text on the icon
When it not activate is state 0, display text
Click and drag the icon and do the setting, after finishes the setting, click to the location you desire.
Step Description RUN CW Button
1 Basic Attributes tab
2 Click on Bit State Switch tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-5Create Motor Run Clockwise (CW) Button
Step Description RUN CW Button
3 Click on Tag tab
4 Click on Graphic tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-5Create Motor Run Clockwise (CW) Button
Step Description RUN CCW Button
5 Basic Attributes tab
6 Click on Bit State Switch tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-6Create Motor Run Counter Clockwise (CCW) Button
Step Description RUN CCW Button
7 Click on Tag tab
8 Click on Graphic tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-6Create Motor Run Counter Clockwise (CCW) Button
Step Description STOP Button
9 Basic Attributes tab
10 Click on Bit State Switch tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-7Create Motor Stop Button
Step Description STOP Button
11 Click on Tag tab
12 Click on Graphic tab
• Click and drag the Bit State Switch to the window
Chapter 4-4-7Create Motor Stop Button
Step Description Display Number
13 Basic Attributes tab
14 Click on Numeric Data tab
• Click and drag the Number Input to the window
Chapter 4-4-8
Create Set Pulse to servo motor
Step Description Display Number
15 Click on Graphic tab
• Click and drag the Number Input to the window
Chapter 4-4-8
Create Set Pulse to servo motor
• Method of downloading the drawing to NB
– Download way
– System Manager
Chapter 4-4-9Method of 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
Chapter 4-4-10Download to NB
1
2
• Run and test out
Chapter 4-4-11Can the servo Run?
Step Description Display Number
1 Click on the Chapter 4-1 to go Frame 16
2 There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen
Chapter 4-5How to create program for Servo Drive in CX-
Programmer?
Answer: Using CX-Programmer
• 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
Chapter 4-5-1
What will we learn in this topic
• Basic Feature of a CX-Programmer
Chapter 4-5-2
CX-Programmer
Toolbar
Diagram
Workspace
Project
Workspace
Status
Bar
• Set the PLC setting to the same as the NB HMI
Chapter 4-5-3
Create New Program
Step Description Display Number
1 Click On NEW
2 Select CP1E
• Set the PLC setting to the same as the NB HMI
Chapter 4-5-3
Create New Program
Step Description Display Number
3 Click on Settings, choose N30.Click Ok then OK.
4 Once Finish, it will display like this
• Create CW_RUN and CCW_RUN drive
Step Description Table
1 Servo run Clockwise Direction• Create a CW_RUN (W31.00) to the
Speed output SPED(885)• Create a CCW_RUN (W31.01) to
the Speed output SPED(885)
Chapter 4-5-4Let create Servo Program
Address Register
W31.00 CW_RUN
W31.01 CCW_RUN
• Create CW_RUN and CCW_RUN drive
Step Explanation W480-E1-05, Page 12-4
1 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
• For Port setting, Check CP1E Manual (W480-E1-05), page 12-4
Chapter 4-5-4Let create Servo Program
For CIO100.00, port is “0”For CIO100.01, port is “1”For CIO100.02, port is “2”For CIO100.03, port is “3”
Port
• Create CW_RUN and CCW_RUN drive
Step Explanation Instruction SPED(885)
1 SPED(885)• Output mode follow the table on
the right• CW direction is #0100• CCW direction is #0110
Chapter 4-5-4Let create Servo Program
Pulse Output method Direction Mode
CW 1 0 0
CCW 1 1 0
Output mode
• Create CW_RUN and CCW_RUN drive
Step Explanation Instruction SPED(885)
1 SPED(885)• Pulse Value is depend on the
model. For G5 Lite model, is up to100,000Hz
Chapter 4-5-4Let create Servo Program
Number of pulse when start
• Create STOP Servo Drive
Step Description Table
2 Servo Stop• Create a DRIVE_STOP (W31.02) to
the MODE CONTROL INI(880)
Chapter 4-5-4Let create Servo Program
Address Register
W31.02 DRIVE_STOP
Step Explanation Instruction INI(880)
2 INI(880)• 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
• Create STOP Servo Drive
Chapter 4-5-4Let create Servo Program
For using pulse output 0, port is #0000
Port
Step Explanation Instruction INI(880)
2 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
• Create STOP Servo Drive
Chapter 4-5-4Let create Servo Program
Stop the pulse output, select #0003
Control Data
Step Explanation Instruction INI(880)
2 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
• Create STOP Servo Drive
Chapter 4-5-4Let create Servo Program
First Word With New PV
• Click Work Online to go Online
Offline Mode Online Mode
Chapter 4-5-5Online mode
Click here to Online mode
Grey Background
Click here to Online
mode
• Set the PLC setting to the same as HMI
Chapter 4-5-6HMI Com Setting for PLC
Step Description Setting
1 Double click on the Setting
2 PLC Setting pop-up appear, click on Built-In RS232C Port tab to set the Communications Setting
Type Set
Baud 115200 bps
Format 7, 2, E
Mode Host Link
PLC to HMI Option
• Set the PLC setting to the same as the Servo Drive
Chapter 4-5-7Transfer PLC Program
Step Description Transfer Program
1 Download program to PLC1. Click PLC tab > Transfer > Transfer [PC ->PLC]2. Ctrl + T3. Click on the icon
2 Check the Settings before download, else there will be no communication between PLC and Inverter due to setting wasn’t being transfer.
• Run and test out again
Chapter 4-5-8Can the servo Run?
Step Description Display Number
1 Click on the Chapter 4-1 to go Frame 16
2 Next slide show the result
• Once CW button is turn on
HMI View SERVO View
Chapter 4-5-9Monitor HMI with PLC
Clockwise (CW)
STOP
Step 2: Press the CW button to start motor
Step 1: Press and tenkey pop-up appear. Key in 100000 (100,000 pulses)
Step 3: Press the STOP button to start motor
• Once CCW button is turn on
HMI View SERVO View
Chapter 4-5-9Monitor HMI with PLC
STOP
Counter Clockwise (CCW)
Step 2: Press the CCW button to start motor
Step 1: Press and tenkey pop-up appear. Key in 100000 (100,000 pulses)
Step 3: Press the STOP button to start motor
Chapter 4-6How do we know the display speed is true?
Answer: Using CX-Drive’s Real Time Trace
• Understand
– How to use real time trace
– How to View motor speed from CX-Drive
Chapter 4-6-1
What will we learn in this topic
Step Description Picture
1 Click on Monitor > Real Time Trace
2 Check Monitor for CSPD
• Check speed of the Servo motor from CX-Drive
Chapter 4-6-2How do we know the display speed is true?
Step Description Picture
3 Click Drive > Work OnlineClick then Work Online shortcut icon
2 Click the start button
• Check speed of the Servo motor from CX-Drive
Chapter 4-6-2How do we know the display speed is true?
Click to start
• Once CCW button is turn on
HMI View SERVO View
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.
How to get 600rpm?Servo frequency (MAX) / gear integer setting = rps x 60 = rpm1,000,000 / 10,000 = 100rps x 60 = 600rpm
Chapter 4-6-3Monitor HMI to CX-Drive
Step 1: Press the RUN button to start motor
Step 2: Press and tenkey pop-up appear. Key in 25Hz
The Speed is at around 600 rpm
Chapter 4-7
How to prevent accidental control?
Answer: Using Interlocking
• Understand
– How to Create interlock on the PLC program using Move function
– How to Create interlock on the NB graphic
Chapter 4-7-1
What will we learn in this topic
• Interlock Drive will be using these I/O address stated below:
Chapter 4-7-2Interlock Control
Name Address
SPED Interlock W33
CCW_Interlock W33.00
CW_Interlock W33.01
Step Description Interlock
1 Interlock Control • W33 (SPED Interlock) - Use for
interlocking by turning ON its channel bit to disable either CW (W33.00 active) or CCW (W33.01 active) direction control.
• Follow the diagram stated below
Chapter 4-7-3Create Interlock Servo Program
Address Register
W33 SPED Interlock
Address Register
W33.00 CCW_Interlock
W33.01 CW_Interlock
S/N Explanation Interlock
1 When CW_RUN (CW31.00) is energized, MOV function send #1 to W33 which activate W33.01 to energized.
• By using MOV function
Chapter 4-7-4How does this interlock works?
Address Register
W33 SPED Interlock
Address Register
W33.00 CCW_Interlock
W33.01 CW_Interlock
S/N Explanation Interlock
2 When accidentally press on CCW_RUN button, motor unable to run Clockwise direction due to the interlock
• By using MOV function
Chapter 4-7-4How does this interlock works?
Address Register
W33 SPED Interlock
Address Register
W33.00 CCW_Interlock
W33.01 CW_Interlock
S/N Explanation Interlock
3 To Reset the interlock, user have to press the Drive_Stop button (W31.02) which MOV function send #0 to W33 which activate W33.00 to energized.
• By using MOV function
Chapter 4-7-4How does this interlock works?
Address Register
W33 SPED Interlock
Address Register
W33.00 CCW_Interlock
W33.01 CW_Interlock
• Click Work Online to go Online
Chapter 4-7-5Online mode
Offline Mode Online Mode
Click here to Online mode
Grey Background
Click here to Online
mode
• Set the PLC setting to the same as the MX2 inverter
Chapter 4-7-6Transfer PLC Program
Step Description Transfer Program
1 Download program to PLC1. Click PLC tab > Transfer > Transfer [PC ->PLC]2. Ctrl + T3. Click on the icon
2 Check the Settings before download, else there will be no communication between PLC and Inverter due to setting wasn’t being transfer.
Chapter 4-7-7Create Interlock Servo Control at NB HMI
Step Description Scroll Bar
1 Bit State Switch Component Attribute
• Create Interlock CW and CCW button
Double click on the CW
pushbutton
Chapter 4-7-7Create Interlock Servo Control at NB HMI
Step Description Scroll Bar
2 Click on Control Setting tab
• Create Interlock CW and CCW button
1st: Select Conditional
Enabling
2nd: Key in the interlock
address
Button Address
CW interlock 33.01
CCW interlock 33.02
For CW button (W31.00), interlock address is (W33.01)For CCW button (W31.01), interlock address is (W33.00)
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
Chapter 4-7-8Download to NB
1
2
• Run and test
Chapter 4-7-9NB Display
Step Description Display Number
1 Click on the Chapter 3-1 to go Frame 14
2 Next slide show the result
• Changing Speed by entering value
HMI View MX2 Inverter View
Chapter 4-7-10Monitor HMI with PLC
Counter Clockwise (CCW)
Step 1: Press CW button for servo motor to run
Step 2: Press CCW button but servo motor unable to click as the interlock prevent user from clicking.
Stop button still can be press as to stop servo.
Clockwise (CW)
Step 4: Press CCW button for servo motor to run
Step 5: Press CW button but servo motor unable to click as the interlock prevent user from clicking.
Stop button still can be press as to stop servo.
Step 3: STOP button can still stop drive in
either mode
Step 6: STOP button can still stop drive in
either mode
Chapter 4-8
How control the speed of the Servo Motor?
Solution: Use Acceleration and Deceleration (ACC/DEC)
• Understand
– The function of ACC(888) instruction
– How to program PLC to control the acceleration and deceleration speed of the motor
Chapter 4-8-1
What will we learn in this topic
Step Description Picture
1 Create 1 CW (W31.03 ), 1 CCW (W31.04), 1 Stop (W31.02) pushbutton using Reset type.
2 Create 1 each:•CW - ACC/DEC rate (D404)•CCW - ACC/DEC rate (D409)
• 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
Chapter 4-8-2ACC/DEC Control
Step Description Picture
3 Create 1 each:•CW - ACC/DEC Target Freq (D405)•CCW - ACC/DEC Target Freq (D410)
Chapter 4-8-2ACC/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
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
Chapter 4-8-3Download to NB
1
2
• Run and test
Chapter 4-8-4NB Display
Step Description Display Number
1 Click on the Chapter 4-1 to go Frame 16
2 There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen
• ACC/DEC Drive with Interlock will be using these I/O address stated below:
Chapter 4-8-5ACC/DEC with I/O Address
Name Address
ACC_CW W31.03
ACC_CCW W31.04
CW_ACC/DEC D404
CCW_ACC/DEC D409
ACC_Interlock W34
ACC_CW_Interlock W34.00
ACC_CCW_Interlock W34.01
• ACC/DEC control with interlock
Step Description Table
1 ACC/DEC control with interlock • W33 (SPED Interlock) - Use for
interlocking by turning ON its channel bit to disable either CW (W33.00 active) or CCW (W33.01 active) direction control.
Chapter 4-8-6ACC/DEC with Interlock Program
Address Register
W31.03 ACC_CW
W31.04 ACC_CCW
D404 CW_ACC/DEC
D409 CCW_ACC/DEC
W34 ACC_Interlock
W34.00 ACC_CW_Interlock
W34.01 ACC_CCW_Interlock
Acc Interlock
Step Explanation Table
2 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
• For Port setting, Check CP1E Manual (W480-E1-05), page 12-4
• ACC/DEC control with interlock
Chapter 4-8-6ACC/DEC with Interlock Program
Port
For CIO100.00, port is “0”For CIO100.01, port is “1”For CIO100.02, port is “2”For CIO100.03, port is “3”
Step Explanation Table
2 ACC(888)• Output mode follow the table on
the right• CW direction is #0100• CCW direction is #0110
• ACC/DEC control with interlock
Chapter 4-8-6ACC/DEC with Interlock Program
Output mode
Pulse Output method Direction Mode
CW 1 0 0
CCW 1 1 0
Step Explanation Table
2 ACC(888)• These uses 3 WORD.
• D404: ACC/DEC rate• D405-D406: Target Freq
• ACC/DEC control with interlock
Chapter 4-8-6ACC/DEC with Interlock Program
First Word of Setting Table
• Run and test
Chapter 4-8-7NB Display
Step Description Display Number
1 Click on the Chapter 4-1 to go Frame 16
2 Next slide show the result
• Go Online
Offline Mode Online Mode
Chapter 4-8-8Online mode
Grey Background
Click here to Online
mode
• Set the PLC setting to the same as the MX2 inverter
Chapter 4-8-9Transfer PLC Program
Step Description Transfer Program
1 Download program to PLC1. Click PLC tab > Transfer > Transfer [PC ->PLC]2. Ctrl + T3. Click on the icon
2 Check the Settings before download, else there will be no communication between PLC and Inverter due to setting wasn’t being transfer.
• Test with Acceleration
HMI View Servo Drive View
Description Table
Chapter 4-8-10Monitor HMI with Inverter
Description Value
CW_ACC/DEC rate 5000
CW_ACC/DEC Target Frequency 100,000
CCW_ACC/DEC rate 2500
CCW_ACC/DEC Target Frequency 100,000
Counter Clockwise (CCW)
1st: Set a rate on how fast to
ACC/DEC
2nd: Set a rate on how many pulse
per cycle
3rd: Press the CCW button to start motor
Chapter 4-9How do we know the display speed is true?
Answer: Using CX-Drive’s Real Time Trace
Step Description Picture
1 Click on Monitor > Real Time Trace
2 Check Monitor for CSPD
• Check speed of the Servo motor from CX-Drive
Chapter 4-9-1Check with CX-Drive
Step Description Picture
3 Click Drive > Work OnlineClick then Work Online shortcut icon
4 Click the start button
• Check speed of the Servo motor from CX-Drive
Chapter 4-9-1Check with CX-Drive
Click to start
S/N Explanation Table
1 By following the diagram from theInstruction Help reading:• CW-ACC/DEC rate: 250• CW-ACC/DEC Target Frequency: 50,000
• ACC/DEC control with interlock
Chapter 4-9-2How to know the menu is right?
At 100,000Hz
At 50,000Hz
Acceleration during 100,000HzAcceleration during
50,000Hz
Chapter 4-10Create Control Speed of the Servo motor
through NB HMI
Step Description Picture
1 Create Frame17 for Next topic
2 • Create a change window to Frame17 and name it PLS2 & PULS
• Place the button at Frame16
• Create new Frame (Frame17) and Link button to Frame17 at Frame 16
• Refer to Chapter 1 on how to create the page and button
Chapter 4-10-1Pulse Output Control
Step Description Picture
3 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.
4 Create 1 each:•ACC rate (D420)•DEC rate (D421)
• 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
Chapter 4-10-1Pulse Output Control
Step Description Picture
5 Create 1 each:•Target Frequency (D422)•Pulse Output Amount (D424)•Start Frequency (D430)
• Create Target Frequency, Pulse Output Amount and Start Frequency at Frame 17
• Refer to Chapter 1 on how to create the page and button
Chapter 4-10-1Pulse Output Control
Setting for :•Target Frequency •Start Frequency
Setting for:Pulse Output Amount
Step Description Picture
6 • Create a change window to Frame16 and name it SPED & ACC
• Place the button at Frame17
• Create Link button to Frame16 at Frame 17
• Refer to Chapter 1 on how to create the page and button
Chapter 4-10-1Pulse Output Control
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
Chapter 4-10-2Download to NB
1
2
• Run and test
Chapter 4-10-3NB Display
Step Description Display Number
1 Click “Chapter 4-1” button, it will send you to Frame16 “SPED & ACC” page
2 Click “PLS2 & PULS“ button at Frame16, it will send you to Frame17“PLS2 & PULS” page
• Run and test
Chapter 4-10-3NB Display
Step Description Display Number
3 There no PLC program yet, so when click on the RUN CW/CCW Button, there nothing happen
4 Click “SPED & ACC“ button at Frame17, it will send you to Frame16 “SPED & ACC” page
Chapter 4-11What kind of program function needed for this
topic?
Answer: Using PLS2 Function
• 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
Chapter 4-11-1
What will we learn in this topic
• This topic will be using these I/O address stated below:
Chapter 4-11-2PLS2 with Interlock Program
Name Address
PLS2_CW W31.05
PLS2_CCW W31.06
PLS2_Set_table D420
PLS2_Start_Freq D430
PLS2_Interlock W35
PLS2_CW_Interlock W35.00
PLS2_CCW_Interlock W35.01
• Create Write Control Speed of the motor
Step Description Table
1 PLS2 control with interlock • W35 (PLS2 Interlock) - Use for
interlocking by turning ON itschannel bit to disable either CW(W35.00 active) or CCW (W35.01active) direction control.
Chapter 4-11-3How do we start using PLS2 function?
Address Register
W31.05 PLS2_CW
W31.06 PLS2_CCW
D420 PLS2_Set_Table
D430 PLS2_Start_Freq
W35 PLS2_Interlock
W35.00 PLS2_CW_Interlock
W35.01 PLS2_CCW_Interlock
• Create Write Control Speed of the motor
Step Description Table
2 PLS2 control with interlock • AT Rung 2, insert a reset interlock
as shown above to reset theinterlock
Chapter 4-11-3How do we start using PLS2 function?
Address Register
W35 PLS2_Interlock
PLS2 Interlock RESET
• Create response feedback from the PLC
S/N Explanation Table
1 PLS2(887)• Port is #0 as when we do wiring on
the PLC• For PLS2 Instruction, Right Click on
the Instruction PLS2(887) and clickInstruction Help
• For Port setting, Check CP1EManual (W480-E1-05), page 12-4
Chapter 4-11-3How do we start using PLS2 function?
Port
For CIO100.00, port is “0”For CIO100.01, port is “1”For CIO100.02, port is “2”For CIO100.03, port is “3”
• Create response feedback from the PLC
S/N Explanation Table
2 PLS2(887)• Output mode follow the table on
the right• CW direction is #0100• CCW direction is #0110
Chapter 4-11-3How do we start using PLS2 function?
Pulse Output method Direction Mode
CW 1 0 0
CCW 1 1 0
Output Mode
• Create response feedback from the PLC
S/N Explanation Table
3 PLS2(887)• These uses 3 WORD.
• D420: ACC rate• D421: DEC rate• D422: Target Frequency
Chapter 4-11-3How do we start using PLS2 function?
First Word of Settings Table
• Create response feedback from the PLC
S/N Explanation Table
4 PLS2(887)• These uses 2 WORD
• D430 to D431• For motor max frequency uses
• 100,000Hz = 0001 86A0• D431 = 0001• D430 = 86A0
Chapter 4-11-3How do we start using PLS2 function?
First Word of Starting Frequency
• Click Work Online to go Online
Chapter 4-11-4Online mode
Offline Mode Online Mode
Grey Background
Click here to Online
mode
• Set the PLC setting to the same as the MX2 inverter
Chapter 4-11-5Transfer PLC Program
Step Description Transfer Program
1 Download program to PLC1. Click PLC tab > Transfer > Transfer [PC ->PLC]2. Ctrl + T3. Click on the icon
2 Check the Settings before download, else there will be no communication between PLC and Inverter due to setting wasn’t being transfer.
• Run and test
Chapter 4-11-6NB Display
Step Description Display Number
1 Click on the Chapter 4-1 to go Frame 16
2 Next slide show the result
• Test with Acceleration
HMI View Servo Drive View
Description Table
Let try the example from the Instruction Help as to check whether data is correct
Chapter 4-11-6iMonitor HMI with Inverter
Counter Clockwise (CCW)
Description Value
ACC rate 5000
DEC rate 2500
Target Frequency 50,000
Pulse Output Amount 100,000
Start Frequency 200
1st: Set the control according to the
Table below
2nd: Press the CCW button to start motor
Chapter 4-12How do we know the display speed is true?
Answer: Using CX-Drive’s Real Time Trace
• 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
Chapter 4-12-1
What will we learn in this topic
Step Description Picture
1 Click on Monitor > Real Time Trace
2 Check Monitor for CSPD
• Check speed of the Servo motor from CX-Drive
Chapter 4-12-2How do we know the display speed is true?
Step Description Picture
3 Either click Drive > Work OnlineOr click then Work Online shortcut icon
4 Click the start button
• Check speed of the Servo motor from CX-Drive
Chapter 4-12-2How do we know the display speed is true?
Click to start
Step Explanation Table
5 By following the diagram from theInstruction Help reading:• ACC rate: 5000• DEC rate: 2500• Target Frequency: 50,000Hz• Pulse Output Amount: 100,000Hz• Start Frequency: 200Hz
• ACC/DEC control with interlock
Chapter 4-12-3How to know the menu is right?
ACC rate: 5000 pulse
DEC rate: 2500 pulse
Target Frequency: 50,000Hz
Start Frequency: 200Hz
Pulse Output Amount: 100,000Hz
Step Explanation Table
6 By following the diagram from theInstruction Help reading:• ACC rate: 2500• DEC rate: 5000• Target Frequency: 50,000Hz• Pulse Output Amount: 100,000Hz• Start Frequency: 200Hz
• ACC/DEC control with interlock
Chapter 4-12-3How to know the menu is right?
Target Frequency: 50,000Hz
Start Frequency: 200Hz
Pulse Output Amount: 100,000Hz
ACC rate: 2500 pulse
DEC rate: 5000 pulse
Chapter 4-13How to set a certain amount of output pulses?
Answer: Using PULS Function
• Understand
– The function of PULS(886) instruction
– How to control how many pulse to run per cycle
Chapter 4-13-1
What will we learn in this topic
Step Description Picture
1 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.
2 Create 1 each:•Set Pulse (D440)•Set Speed (D442)
• 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
Chapter 4-13-2Control Set Pulse
• PULS control with Interlock will be using these I/O address stated below:
Chapter 4-13-3PULS with Interlock Program
Name Address
PULS_CW W31.05
PULS_CCW W31.06
PULS_Set_table D440
PULS_Start_Freq D442
PULS_Interlock W35
PULS_CW_Interlock W35.00
PULS_CCW_Interlock W35.01
• Create Write Control Speed of the motor
Step Description Table
1 PULS control with interlock • W36 (PULS Interlock) - Use for
interlocking by turning ON itschannel bit to disable either CW(W36.00 active) or CCW (W36.01active) direction control.
Chapter 4-13-4How do we start using PULS function?
Address Register
W31.07 PULS_CW
W31.08 PULS_CCW
D440 PULS_Set_Table
D442 PULS_Start_Freq
W36.00 PULS_CW_Interlock
W36.01 PULS_CCW_Interlock
• Create Write Control Speed of the motor
Step Description Table
2 PULS control with interlock • AT Rung 2, insert a reset interlock
as shown above to reset theinterlock
Chapter 4-13-4How do we start using PULS function?
Address Register
W36 PLS2_Interlock
PLS2 Interlock RESET
• Create response feedback from the PLC
S/N Explanation Table
1 PULS(886)• Port is #0 as when we do wiring on
the PLC• For PULS Instruction, Right Click on
the Instruction PULS (886) andclick Instruction Help
• For Port setting, Check CP1EManual (W480-E1-05), page 12-4
Chapter 4-13-4How do we start using PULS function?
For CIO100.00, port is “0”For CIO100.01, port is “1”For CIO100.02, port is “2”For CIO100.03, port is “3”
Port
• Create response feedback from the PLC
S/N Explanation Table
2 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
Chapter 4-13-4How do we start using PULS function?
Pulse Type
• Create response feedback from the PLC
S/N Explanation Table
3 PULS(886)• Number of pulse is set at DM area
of D440
Chapter 4-13-4How do we start using PULS function?
Number of Pulse
• Click Work Online to go Online
Chapter 4-13-5Online mode
Offline Mode Online Mode
Grey Background
Click here to Online
mode
• Set the PLC setting to the same as the MX2 inverter
Chapter 4-13-6Transfer PLC Program
Step Description Transfer Program
1 Download program to PLC1. Click PLC tab > Transfer > Transfer [PC ->PLC]2. Ctrl + T3. Click on the icon
2 Check the Settings before download, else there will be no communication between PLC and Inverter due to setting wasn’t being transfer.
• Run and test
Chapter 4-13-7NB Display
Step Description Display Number
1 Click on the Chapter 4-2 to go Frame 16 “SPED & ACC” page
2 Click on the “PLS2 & PULS” to go Frame 17 “PLS2 & PULS” page
• Run and test
Chapter 4-13-7NB Display
Step Description Display Number
3 Next slide show the result
• Test with Acceleration
HMI View Servo Drive View
Description Table
Let try the example from the Instruction Help as to check whether data is correct
Chapter 4-13-8Monitor HMI with Inverter
Counter Clockwise (CCW)
Description Value
Set Pulse 50,000
Set Speed 50,000
1st: Set the control according to the
Table below
2nd: Press the CCW button to start motor
Step Description Picture
1 Click on Monitor > Real Time Trace
2 Check Monitor for CSPD
• Check speed of the Servo motor from CX-Drive
Chapter 4-13-9How do we know the display speed is true?
Step Description Picture
3 Click Drive > Work OnlineClick then Work Online shortcut icon
4 Click the start button
• Check speed of the Servo motor from CX-Drive
Chapter 4-13-9How do we know the display speed is true?
Click to start
Step Explanation Table
5 By following the diagram from theInstruction Help reading:• Set Pulse: 50,000• Set Speed: 50,000
• ACC/DEC control with interlock
Chapter 4-13-9How do we know the display speed is true?
Target Frequency: 50,000Hz
Pulse Output Amount: 50,000
Set Pulse: 50,00 pulse
Set Speed: 50,000 Hz
Chapter 4-14How can we have different control setting to
run Servo Motor?
Answer: Create Recipe
• Understand
– How to create recipe for different type of situation
Chapter 4-14-1
What will we learn in this topic
Step Description Picture
1 Create Frame18 for Next topic
2 Copy PULS Control from Frame17 to Frame18
• Create new Frame (Frame18) at Frame 18
• Refer to Chapter 1 on how to create the page and button
Chapter 4-14-2Recipe Selection
Chapter 4-14-2Recipe Selection
Step Description Recipe Data
1 Basic Attributes
2 Click on Multi-State Switch tab
• Create Recipe selection on selecting Recipe
Explain on the later slide
Create 3 recipe
Step Description Recipe Data
3 Click on Tag tab
4 Click on Graphic tab
Chapter 4-14-2Recipe Selection
• Create Recipe selection on selecting Recipe
Chapter 4-14-3Create Recipe Menu
Step Description Recipe menu
1 Basic Attributes• Key in each addresses for different recipe menu box
2 Click on Numeric Data
• Create Recipe menu on selecting Recipe
Create 3 recipe
RW 0 RW 4 RW 8
RW 2 RW 6 RW 10
DWORD = 2WORD
Follow as the picture on the right
Step Description Recipe menu
3 Click on Graphics
RW 0 RW 4 RW 8
RW 2 RW 6 RW 10
Chapter 4-14-3Create Recipe Menu
• Create Recipe menu on selecting Recipe
Chapter 4-14-4Explanation
• From the Recipe selection is where they start reading data
RW 0 RW 4 RW 8
RW 2 RW 6 RW 10
Map to RW 0
Map to RW 4
Map to RW 8
Recipe 1
Recipe 2
Recipe 3
Recipe Selection
Recipe Selection Dropdown List
User Select Recipe 2
Recipe MenuSet Pulse Set Speed Set Pulse Set Speed Set Pulse Set Speed
RW 0 RW 1 RW 2 RW 3 RW 4 RW 5 RW 6 RW 7 RW 8 RW 9 RW 10 RW 11
Recipe selection
State 0 State 1 State 2
0 4 8
Data will read from RW4 to RW7 for recipe 2
Chapter 4-14-5Recipe Transfer to PLC
Step Description Recipe Data
1 Basic Attributes
2 Click on Recipe Data tab
• Click and drag the Recipe Data and place it in the window
4 Word cos:2 word from Set Pulse (D440-D441)2 Word from Set Speed (D442-D443)
The Recipe create will transfer to PLC
Step Description Recipe Data
3 Click on Tag tab
4 Click on Graphic tab
Chapter 4-14-5Recipe Transfer to PLC
• Click and drag the Recipe Data and place it in the window
Chapter 4-14-6Recipe Upload From PLC
Step Description Recipe Data
1 Basic Attributes
2 Click on Recipe Data tab
• Click and drag the Recipe Data and place it in the window
4 Word cos:2 word from Set Pulse (D440-D441)2 Word from Set Speed (D442-D443)
The PLC Data will transfer to Recipe Menu
Step Description Recipe Data
3 Click on Tag tab
4 Click on Graphic tab
Chapter 4-14-6Recipe Upload From PLC
• Click and drag the Recipe Data and place it in the window
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
Chapter 4-14-7Download to NB
1
2
• Try Key in different Recipe Menu and download recipe to PLC
Chapter 4-14-8NB Display
Before Transfer Recipe After Transfer Recipe
Step 1: Key in the different recipe menuStep 2: Select the recipe you desiredStep 3: Download the recipe to PLC
Step 4: Value from recipe 1 transfer to Data Memory area (D440-D443)Step 5: Run the motor CW or CCW and view the differentStep 6: Try different recipe and download to the Data memory area(D440-D443)
Step 1
Step 2 Step 3
Step 4
Step 5
Step Description Recipe Data
1 Basic Attributes
2 Click on Recipe Data tab
• Click and drag the Function Key and place it in the window
4 Word cos:2 word from Set Pulse (D440-D441)2 Word from Set Speed (D442-D443)
The PLC Data will transfer to Recipe Menu
The PLC Data will transfer to Recipe Menu
Chapter 4-14-9Create Recipe Download to USB Drive
Step Description Recipe Data
3 Click on Tag tab
4 Click on Graphic tab
• Click and drag the Function Key and place it in the window
Chapter 4-14-9Create Recipe Download to USB Drive
Chapter 4-14-10Recipe Upload from USB Drive
Step Description Recipe Data
1 Basic Attributes
2 Click on Recipe Data tab
• Click and drag the Function Key and place it in the window
4 Word cos:2 word from Set Pulse (D440-D441)2 Word from Set Speed (D442-D443)
The PLC Data will transfer to Recipe Menu
The PLC Data will transfer to Recipe Menu
Step Description Recipe Data
3 Click on Tag tab
4 Click on Graphic tab
Chapter 4-14-10Recipe Upload from USB Drive
• Click and drag the Function Key and place it in the window
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
Chapter 4-14-11Download to NB
1
2
• Run and test
Chapter 4-14-12How to Download Recipe to USB Drive?
Step Description Display Number
1 Click “Chapter 4-2” button, it will send you to Frame18 “Recipe” page
2 Next slide show the result
• Run and test
Chapter 4-14-12How to Download Recipe to USB Drive?
Step Description Display Number
3 Let key in different value for each Recipe:
Note: Please insert the USB Drive before try
4 • After clicking Export Recipe fromHMI, Recipe Upload pop-up appearand you can see the USB Drive thathave been inserted to the HMI.
• Click on the usb1 shown in theright
Step 1: Value set for Recipe Menu
Step 2: Click on the Export Recipe from HMI
Step 3: Recipe Upload pop-up
appear
Step 4: you will see usb1, click on it
Recipe 1 Recipe 2 Recipe 3
Set Pulse 80000 600 50000
Set Speed 80000 3000 100000
• Run and test
Chapter 4-14-12How to Download Recipe to USB Drive?
Step Description Display Number
5 • Enter the name you want for theRecipe that you have created.
(Ex. I name the recipe as recipe1)
• Click Ok!
6 • To check whether the recipe is savein the USB Drive, you can clickagain Export Recipe from HMI,Recipe Upload pop-up appear andyou can click on the usb1.
• Then on the top right of the pop-up, you can see the recipe beingsave as “.rcp” format
Step 5: Name the recipe you want.
(Ex. recipe1)
Step 6: To view the recipe from the USB Drive, you can either click on “Export Recipe from HMI”
or “Import Recipe to HMI”.
• Run and test
Chapter 4-14-12How to Upload Recipe from USB Drive?
Step Description Display Number
1 Click “Chapter 4-2” button, it will send you to Frame18 “Recipe” page
2 Next slide show the result
• Run and test
Chapter 4-14-12How to Upload Recipe from USB Drive?
Step Description Display Number
3 Let clear the value for each Recipe:
Note: Please insert the USB Drive before try
4 • After clicking Import Recipe toHMI, Recipe download pop-upappear and you can see the USBDrive that have been inserted tothe HMI.
• Click on the usb1 shown in theright
Recipe 1 Recipe 2 Recipe 3
Set Pulse 0 0 0
Set Speed 0 0 0
Step 1: Set all Value to zero
Step 2: Click on the Import Recipe to HMI
Step 3: Recipe download pop-up
appear
Step 4: you will see usb1, click on it
• Run and test
Chapter 4-14-12How to Upload Recipe from USB Drive?
Step Description Display Number
5 • Select the recipe as shown on thetop right of the pop-up.
(Ex. Click on recipe1.rcp)
• Click Ok!
6 • You can see all the value beingtransfer to their respecting place.
Step 6: Select the recipe
(Ex. recipe1)
Step 5: If there recipe in the USB Drive, you can see
from here
Step 7: Value from the recipe will be place to their original place
• 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=42
Information
END of Chapter 4
Thank you!