Sei sulla pagina 1di 183

Chapter 4

CP1E-N[]S1 to G5 Lite Servo with NB

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

Content Page

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

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

Content Page

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?

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

Content Page

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

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?

Content Page

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

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

Content Page

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

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-1
What Hardware will we be using in this
Topic?

Chapter 4-1-1
Basic Introduction on PLC
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-1i
The Complete CP1E-N[]S1 Family

Chapter 4-1-1i
The Complete CP1E-N[]S1 Family
S1-type
30 I/O points

40 I/O points

Difference between S1 and S

60 I/O points

Chapter 4-1-2
Basic Introduction on NB HMI
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-2i
The Complete HMI Family

HMI
NB3QTW00B

NB3QTW01B

NB5QTW00B

NB5QTW01B

NB7W-TW00B

NB7WTW01B

NB10W-TW01B

Memory
interface

USB
Memory

USB
Memory

USB
Memory

USB
Memory

Ethernet

10/100
base-T

10/100
base-T

10/100
base-T

10/100 base-T

RS-232C
RS-422A
RS-485

RS-232C
RS-422A
RS-485

RS-232C

RS-232C

RS-232C

RS-232C

RS-232C

RS-232C
RS-422A
RS-485

RS-232C
RS-422A
RS-485

RS-232C
RS-422A
RS-485

RS-232C
RS-422A
RS-485

RS-232C
RS-422A
RS-485

Model

Serial (COM1)

Serial (COM2)

Chapter 4-1-3
Basic Introduction on Power Supply
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-3i
The Complete Power Supply Family

Chapter 4-1-4
Basic Introduction on Servo Drive
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-4i
The Complete G5 Lite Family

1-phase/3-phase
200 VAC
100W

200W

750W

1KW

3-phase
200 VAC
1.5KW

2KW

3KW

5KW

Chapter 4-1-5
Basic Introduction on Servo Motor
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-5i
The Complete Servo Family

3000 r/min

2000 r/min

1000 r/min

200V
Without brake

200V
With brake

200V
Without brake

200V
With brake

200V
Without brake

200V
With 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

Chapter 4-1-6
Basic Introduction on Terminal Block
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-6i
The Complete Terminal Block Family

XG4A
MIL Connectors

XG4C
MIL 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

Chapter 4-1-7
Basic Introduction on Cables needed
S/N

Product

Qty

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

10

Encoder Cables:R88A-CRGB003C

11

Connector Terminal Block Cables:XW2Z-100J-B24

12

Type B-mini USB cable

13

Wires

A few

Chapter 4-1-7i
Cable Type
RS232C (Male to Male)
HMI

USB plug Connector


PLC

HMI /
PLC

XW2Z-200T

PC

Chapter 4-1-7i
Cable Type
Motor Power Cables: R88A-CAGA003S
(Global Non-Flexible Cable)

R88A-CAGA003S

Encoder Cables: R88A-CRGB003C


(Global Non-Flexible Cable)

R88A-CRGB003C

Chapter 4-1-7i
Cable Type
Connector Terminal Block Cables

Type B-mini USB cable


Servo Drive

PC

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
(For CX-Drive)

USB cable from PC


(CX-Programmer)
Connect to HMI
using RS232 cable

PLC connect to
Terminal block

Connect with
Servo Drive Cable

Connect to
AC 230V
Motor
encoder
connector
Power cable for
servomotor
(connector)
Connect to
COM1
Connect to
DC 24V

Chapter 4-2-1
Wiring Diagram
Wire PLC to Terminal block

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

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

Chapter 4-3-2
Introduction on CX-Drive
Basic Feature of a CX-Drive
Toolbar
Workspace

Windows

Output
Window

Status Bar

Chapter 4-3-3
Input Type Servo drive Setup
Setting for Servo Drive
Step

Description

Options

General tab

R88D-KP
(Asia use only)

Scroll Bar

Chapter 4-3-3
Input Type Servo drive Setup
Setting for Servo Drive
Step
3

Description
Click on Drive tab
Choose Servo and the
Drive Series for easy
detect

Scroll Bar

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

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

Chapter 4-3-6
Transfer Setting
Transfer Setting
Drive tab > Transfer > To Drive
Click on the Icon

Method
of
transfer

Chapter 4-3-6
Transfer Setting
Steps to follow
Step

Description

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

Display Number

Chapter 4-3-6
Transfer Setting
Steps to follow
Step

Description

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

Display Number

Chapter 4-3-6
Transfer Setting
Steps to follow
Step

Description

After transferring the setting for the


MX2 Inverter, you need to POWER
CYCLE the inverter to enable the setting

Display Number

Chapter 4-4
What do we need to do to let the
Servo Motor Run?
Answer: Using Speed Output control (SPED)

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

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)

W31.00

Counter - Clockwise direction (CCW_RUN)

W31.01

DRIVE_STOP

W31.02

Drive Freq

D400

Chapter 4-4-3
Create New Frame
Create a Frame16 for Servo Drive
Step
1

Description

New Frame

Go to Toolbar
Click on the
Add
Window
icon

Pop-up appear

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)

View form Toolbar


Frame has
be added
once click
OK in Step 2

New Frame
being created

Chapter 4-4-4
Create Link Function
Click and drag the Function Key and place it in the window
Step

Description

Function Key tab

Click on Tag tab

Check Use Tag to display


text on the icon
When it not activate is
state 0, display text

Click on Graphic tab

Select the design


of the button

Chapter 4-1 Button

Click and drag the icon


and do the setting,
after finishes the
setting, click to the
location you desire.

Chapter 4-4-5
Create Motor Run Clockwise (CW) Button
Click and drag the Bit State Switch to the window
Step

Description

Basic Attributes tab

Click on Bit State Switch tab

RUN CW Button

Chapter 4-4-5
Create Motor Run Clockwise (CW) Button
Click and drag the Bit State Switch to the window
Step

Description

Click on Tag tab

Click on Graphic tab

RUN CW Button

Chapter 4-4-6
Create Motor Run Counter Clockwise (CCW) Button
Click and drag the Bit State Switch to the window
Step

Description

Basic Attributes tab

Click on Bit State Switch tab

RUN CCW Button

Chapter 4-4-6
Create Motor Run Counter Clockwise (CCW) Button
Click and drag the Bit State Switch to the window
Step

Description

Click on Tag tab

Click on Graphic tab

RUN CCW Button

Chapter 4-4-7
Create Motor Stop Button
Click and drag the Bit State Switch to the window
Step

Description

Basic Attributes tab

10

Click on Bit State Switch tab

STOP Button

Chapter 4-4-7
Create Motor Stop Button
Click and drag the Bit State Switch to the window
Step

Description

11

Click on Tag tab

12

Click on Graphic tab

STOP Button

Chapter 4-4-8
Create Set Pulse to servo motor
Click and drag the Number Input to the window
Step

Description

13

Basic Attributes tab

14

Click on Numeric Data tab

Display Number

Chapter 4-4-8
Create Set Pulse to servo motor
Click and drag the Number Input to the window
Step
15

Description
Click on Graphic tab

Display Number

Chapter 4-4-9
Method of Download to NB
Method of downloading the drawing to NB
Download way
System Manager

Chapter 4-4-10
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-4-11
Can the servo Run?
Run and test out
Step

Description

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

Display Number

Chapter 4-5
How to create program for Servo Drive in CXProgrammer?
Answer: Using CX-Programmer

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

Chapter 4-5-2
CX-Programmer
Basic Feature of a CX-Programmer
Toolbar
Project
Workspace
Diagram
Workspace

Status
Bar

Chapter 4-5-3
Create New Program
Set the PLC setting to the same as the NB HMI
Step

Description

Click On NEW

Select CP1E

Display Number

Chapter 4-5-3
Create New Program
Set the PLC setting to the same as the NB HMI
Step

Description

Click on Settings, choose N30.


Click Ok then OK.

Once Finish, it will display like this

Display Number

Chapter 4-5-4
Let create Servo Program
Create CW_RUN and CCW_RUN drive

Step

Description

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)

Table
Address

Register

W31.00

CW_RUN

W31.01

CCW_RUN

Chapter 4-5-4
Let create Servo Program
Create CW_RUN and CCW_RUN drive
Port

Step

Explanation

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

W480-E1-05, Page 12-4

For CIO100.00, port is 0


For CIO100.01, port is 1
For CIO100.02, port is 2
For CIO100.03, port is 3

Chapter 4-5-4
Let create Servo Program
Create CW_RUN and CCW_RUN drive
Output
mode

Step
1

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

CW

CCW

Chapter 4-5-4
Let create Servo Program
Create CW_RUN and CCW_RUN drive
Number of pulse when start

Step

Explanation

SPED(885)

Pulse Value is depend on the


model. For G5 Lite model, is up to
100,000Hz

Instruction SPED(885)

Chapter 4-5-4
Let create Servo Program
Create STOP Servo Drive

Step
2

Description
Servo Stop

Create a DRIVE_STOP (W31.02) to


the MODE CONTROL INI(880)

Table
Address

Register

W31.02

DRIVE_STOP

Chapter 4-5-4
Let create Servo Program
Create STOP Servo Drive
Port

Step

Explanation

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

Instruction INI(880)
For using pulse output 0, port is #0000

Chapter 4-5-4
Let create Servo Program
Create STOP Servo Drive
Control Data

Step
2

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

Chapter 4-5-4
Let create Servo Program
Create STOP Servo Drive
First Word With New PV

Step
2

Explanation
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

Instruction INI(880)

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
mode

Grey
Background

Chapter 4-5-6
HMI Com Setting for PLC
Set the PLC setting to the same as HMI
Step

Description

Double click on the Setting

PLC Setting pop-up appear, click on


Built-In RS232C Port tab to set the
Communications Setting

Setting
PLC to HMI
Option

Type

Set

Baud

115200 bps

Format

7, 2, E

Mode

Host Link

Chapter 4-5-7
Transfer PLC Program
Set the PLC setting to the same as the Servo Drive
Step

Description

Download program to PLC


1. Click PLC tab > Transfer > Transfer
[PC ->PLC]
2. Ctrl + T
3. Click on the icon

Check the Settings before download,


else there will be no communication
between PLC and Inverter due to setting
wasnt being transfer.

Transfer Program

Chapter 4-5-8
Can the servo Run?
Run and test out again
Step

Description

Click on the Chapter 4-1 to go Frame 16

Next slide show the result

Display Number

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

Step 1: Press and tenkey pop-up appear.


Key in 100000 (100,000 pulses)

Clockwise
(CW)

Step 3: Press the


STOP button to
start motor

STOP

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

Step 1: Press and tenkey pop-up appear.


Key in 100000 (100,000 pulses)

Counter Clockwise
(CCW)

Step 3: Press the


STOP button to
start motor

STOP

Chapter 4-6
How do we know the display speed is true?
Answer: Using CX-Drives Real Time Trace

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

Chapter 4-6-2
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Click on Monitor > Real Time Trace

Check Monitor for CSPD

Picture

Chapter 4-6-2
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Click Drive > Work Online


Click then Work Online shortcut icon

Click the start button

Click to start

Picture

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

Step 2: Press and tenkey pop-up appear.


Key in 25Hz

The Speed is at
around 600 rpm

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 = rpm
1,000,000 / 10,000 = 100rps x 60 = 600rpm

Chapter 4-7
How to prevent accidental control?
Answer: Using Interlocking

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

W33

CCW_Interlock

W33.00

CW_Interlock

W33.01

Chapter 4-7-3
Create Interlock Servo Program
Follow the diagram stated below

Step
1

Description
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.

Interlock
Address

Register

Address

Register

W33

SPED Interlock

W33.00

CCW_Interlock

W33.01

CW_Interlock

Chapter 4-7-4
How does this interlock works?
By using MOV function

S/N

Explanation

When CW_RUN (CW31.00) is energized,


MOV function send #1 to W33 which
activate W33.01 to energized.

Interlock
Address

Register

Address

Register

W33

SPED Interlock

W33.00

CCW_Interlock

W33.01

CW_Interlock

Chapter 4-7-4
How does this interlock works?
By using MOV function

S/N
2

Explanation
When accidentally press on CCW_RUN
button, motor unable to run Clockwise
direction due to the interlock

Interlock
Address

Register

Address

Register

W33

SPED Interlock

W33.00

CCW_Interlock

W33.01

CW_Interlock

Chapter 4-7-4
How does this interlock works?
By using MOV function

S/N
3

Explanation
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.

Interlock
Address

Register

Address

Register

W33

SPED Interlock

W33.00

CCW_Interlock

W33.01

CW_Interlock

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
mode

Grey
Background

Chapter 4-7-6
Transfer PLC Program
Set the PLC setting to the same as the MX2 inverter
Step

Description

Download program to PLC


1. Click PLC tab > Transfer > Transfer
[PC ->PLC]
2. Ctrl + T
3. Click on the icon

Check the Settings before download,


else there will be no communication
between PLC and Inverter due to setting
wasnt being transfer.

Transfer Program

Chapter 4-7-7
Create Interlock Servo Control at NB HMI
Create Interlock CW and CCW button
Step
1

Description
Bit State Switch Component Attribute

Double click
on the CW
pushbutton

Scroll Bar

Chapter 4-7-7
Create Interlock Servo Control at NB HMI
Create Interlock CW and CCW button
Step
2

Description

Scroll Bar

Click on Control Setting tab

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)

Chapter 4-7-8
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-7-9
NB Display
Run and test
Step

Description

Click on the Chapter 3-1 to go Frame 14

Next slide show the result

Display Number

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
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.

Clockwise
(CW)

Stop button still can be press as to stop servo.

Step 4: Press CCW button for servo motor to run

Step 6: STOP button


can still stop drive in
either mode

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.

Counter Clockwise
(CCW)

Chapter 4-8
How control the speed of the Servo Motor?
Solution: Use Acceleration and Deceleration
(ACC/DEC)

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

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

Create 1 CW (W31.03 ), 1 CCW (W31.04), 1 Stop


(W31.02) pushbutton using Reset type.

Create 1 each:
CW - ACC/DEC rate (D404)
CCW - ACC/DEC rate (D409)

Picture

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
3

Description
Create 1 each:
CW - ACC/DEC Target Freq
(D405)
CCW - ACC/DEC Target Freq
(D410)

Picture

Chapter 4-8-3
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-8-4
NB Display
Run and test
Step

Description

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

Display Number

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

W34

ACC_CW_Interlock

W34.00

ACC_CCW_Interlock

W34.01

Chapter 4-8-6
ACC/DEC with Interlock Program
ACC/DEC control with interlock

Acc Interlock

Step
1

Description
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.

Table
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

Chapter 4-8-6
ACC/DEC with Interlock Program
ACC/DEC control with interlock

Port

Step

Explanation

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

Table

For CIO100.00, port is 0


For CIO100.01, port is 1
For CIO100.02, port is 2
For CIO100.03, port is 3

Chapter 4-8-6
ACC/DEC with Interlock Program
ACC/DEC control with interlock

Output mode

Step
2

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

CW

CCW

Chapter 4-8-6
ACC/DEC with Interlock Program
ACC/DEC control with interlock

First Word of
Setting Table

Step
2

Explanation
ACC(888)

These uses 3 WORD.

D404: ACC/DEC rate

D405-D406: Target Freq

Table

Chapter 4-8-7
NB Display
Run and test
Step

Description

Click on the Chapter 4-1 to go Frame 16

Next slide show the result

Display Number

Chapter 4-8-8
Online mode
Go Online
Offline Mode

Online Mode

Click here
to Online
mode
Grey
Background

Chapter 4-8-9
Transfer PLC Program
Set the PLC setting to the same as the MX2 inverter
Step

Description

Download program to PLC


1. Click PLC tab > Transfer > Transfer
[PC ->PLC]
2. Ctrl + T
3. Click on the icon

Check the Settings before download,


else there will be no communication
between PLC and Inverter due to setting
wasnt being transfer.

Transfer Program

Chapter 4-8-10
Monitor HMI with Inverter
Test with Acceleration
HMI View

Servo Drive View


3rd: Press the CCW
button to start
motor

1st: Set a rate on


how fast to
ACC/DEC
2nd: Set a rate on
how many pulse
per cycle

Counter Clockwise
(CCW)

Description

Table
Description
CW_ACC/DEC rate
CW_ACC/DEC Target Frequency
CCW_ACC/DEC rate
CCW_ACC/DEC Target Frequency

Value
5000
100,000
2500
100,000

Chapter 4-9
How do we know the display speed is true?

Answer: Using CX-Drives Real Time Trace

Chapter 4-9-1
Check with CX-Drive

Check speed of the Servo motor from CX-Drive


Step

Description

Click on Monitor > Real Time Trace

Check Monitor for CSPD

Picture

Chapter 4-9-1
Check with CX-Drive

Check speed of the Servo motor from CX-Drive


Step

Description

Click Drive > Work Online


Click then Work Online shortcut icon

Click the start button

Click to start

Picture

Chapter 4-9-2
How to know the menu is right?
ACC/DEC control with interlock
Acceleration during
50,000Hz

Acceleration during
100,000Hz

At
100,000Hz

At
50,000Hz

S/N

Explanation

By following the diagram from the


Instruction Help reading:

CW-ACC/DEC rate: 250

CW-ACC/DEC Target Frequency:


50,000

Table

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

Create Frame17 for Next topic

Create a change window to Frame17 and


name it PLS2 & PULS
Place the button at Frame16

Picture

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

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.

Create 1 each:
ACC rate (D420)
DEC rate (D421)

Picture

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
5

Description

Picture

Create 1 each:
Target Frequency (D422)
Pulse Output Amount (D424)
Start Frequency (D430)

Setting for :
Target Frequency
Start Frequency

Setting for:
Pulse Output Amount

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
6

Description

Create a change window to Frame16 and


name it SPED & ACC
Place the button at Frame17

Picture

Chapter 4-10-2
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-10-3
NB Display
Run and test
Step

Description

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 Frame17PLS2 &
PULS page

Display Number

Chapter 4-10-3
NB Display
Run and test
Step

Description

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

Display Number

Chapter 4-11
What kind of program function needed for this
topic?

Answer: Using PLS2 Function

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

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

W35

PLS2_CW_Interlock

W35.00

PLS2_CCW_Interlock

W35.01

Chapter 4-11-3
How do we start using PLS2 function?
Create Write Control Speed of the motor

Step

Description

PLS2 control with interlock

W35 (PLS2 Interlock) - Use for


interlocking by turning ON its
channel bit to disable either CW
(W35.00 active) or CCW (W35.01
active) direction control.

Table
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

Chapter 4-11-3
How do we start using PLS2 function?
Create Write Control Speed of the motor

PLS2 Interlock
RESET

Step

Description

PLS2 control with interlock

AT Rung 2, insert a reset interlock


as shown above to reset the
interlock

Table
Address

Register

W35

PLS2_Interlock

Chapter 4-11-3
How do we start using PLS2 function?
Create response feedback from the PLC
Port

S/N

Explanation

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

For Port setting, Check CP1E


Manual (W480-E1-05), page 12-4

Table

For CIO100.00, port is 0


For CIO100.01, port is 1
For CIO100.02, port is 2
For CIO100.03, port is 3

Chapter 4-11-3
How do we start using PLS2 function?
Create response feedback from the PLC
Output Mode

S/N
2

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

CW

CCW

Chapter 4-11-3
How do we start using PLS2 function?
Create response feedback from the PLC
First Word of Settings Table

S/N
3

Explanation
PLS2(887)

These uses 3 WORD.

D420: ACC rate

D421: DEC rate

D422: Target Frequency

Table

Chapter 4-11-3
How do we start using PLS2 function?
Create response feedback from the PLC
First Word of Starting Frequency

S/N
4

Explanation
PLS2(887)

These uses 2 WORD

D430 to D431

For motor max frequency uses

100,000Hz = 0001 86A0

D431 = 0001

D430 = 86A0

Table

Chapter 4-11-4
Online mode
Click Work Online to go Online
Offline Mode

Online Mode

Click here
to Online
mode
Grey
Background

Chapter 4-11-5
Transfer PLC Program
Set the PLC setting to the same as the MX2 inverter
Step

Description

Download program to PLC


1. Click PLC tab > Transfer > Transfer
[PC ->PLC]
2. Ctrl + T
3. Click on the icon

Check the Settings before download,


else there will be no communication
between PLC and Inverter due to setting
wasnt being transfer.

Transfer Program

Chapter 4-11-6
NB Display
Run and test
Step

Description

Click on the Chapter 4-1 to go Frame 16

Next slide show the result

Display Number

Chapter 4-11-6i
Monitor HMI with Inverter
Test with Acceleration
HMI View

Servo Drive View


2nd: Press the CCW
button to start
motor

Counter Clockwise
(CCW)

1st: Set the control


according to the
Table below

Description
Let try the example from the Instruction Help as to
check whether data is correct

Table
Description

Value

ACC rate

5000

DEC rate

2500

Target Frequency

50,000

Pulse Output Amount

100,000

Start Frequency

200

Chapter 4-12
How do we know the display speed is true?

Answer: Using CX-Drives Real Time Trace

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

Chapter 4-12-2
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Click on Monitor > Real Time Trace

Check Monitor for CSPD

Picture

Chapter 4-12-2
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Either click Drive > Work Online


Or click then Work Online shortcut icon

Click the start button

Click to start

Picture

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

By following the diagram from the


Instruction Help reading:

ACC rate: 5000

DEC rate: 2500

Target Frequency: 50,000Hz

Pulse Output Amount: 100,000Hz

Start Frequency: 200Hz

Table

ACC rate:
5000 pulse

DEC rate:
2500 pulse

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

By following the diagram from the


Instruction Help reading:

ACC rate: 2500

DEC rate: 5000

Target Frequency: 50,000Hz

Pulse Output Amount: 100,000Hz

Start Frequency: 200Hz

Table

ACC rate:
2500 pulse

DEC rate:
5000 pulse

Chapter 4-13
How to set a certain amount of output pulses?

Answer: Using PULS Function

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

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

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.

Create 1 each:
Set Pulse (D440)
Set Speed (D442)

Picture

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

W35

PULS_CW_Interlock

W35.00

PULS_CCW_Interlock

W35.01

Chapter 4-13-4
How do we start using PULS function?
Create Write Control Speed of the motor

Step

Description

PULS control with interlock

W36 (PULS Interlock) - Use for


interlocking by turning ON its
channel bit to disable either CW
(W36.00 active) or CCW (W36.01
active) direction control.

Table
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

Chapter 4-13-4
How do we start using PULS function?
Create Write Control Speed of the motor

PLS2 Interlock
RESET

Step

Description

PULS control with interlock

AT Rung 2, insert a reset interlock


as shown above to reset the
interlock

Table
Address

Register

W36

PLS2_Interlock

Chapter 4-13-4
How do we start using PULS function?
Create response feedback from the PLC
Port

S/N

Explanation

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

For Port setting, Check CP1E


Manual (W480-E1-05), page 12-4

Table

For CIO100.00, port is 0


For CIO100.01, port is 1
For CIO100.02, port is 2
For CIO100.03, port is 3

Chapter 4-13-4
How do we start using PULS function?
Create response feedback from the PLC
Pulse Type

S/N

Explanation

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

Table

Chapter 4-13-4
How do we start using PULS function?
Create response feedback from the PLC
Number of Pulse

S/N

Explanation

PULS(886)

Number of pulse is set at DM area


of D440

Table

Chapter 4-13-5
Online mode
Click Work Online to go Online
Offline Mode

Online Mode

Click here
to Online
mode
Grey
Background

Chapter 4-13-6
Transfer PLC Program
Set the PLC setting to the same as the MX2 inverter
Step

Description

Download program to PLC


1. Click PLC tab > Transfer > Transfer
[PC ->PLC]
2. Ctrl + T
3. Click on the icon

Check the Settings before download,


else there will be no communication
between PLC and Inverter due to setting
wasnt being transfer.

Transfer Program

Chapter 4-13-7
NB Display
Run and test
Step

Description

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

Display Number

Chapter 4-13-7
NB Display
Run and test
Step
3

Description
Next slide show the result

Display Number

Chapter 4-13-8
Monitor HMI with Inverter
Test with Acceleration
HMI View

Servo Drive View

2nd: Press the CCW


button to start
motor

1st: Set the control


according to the
Table below

Description

Counter Clockwise
(CCW)

Table

Let try the example from the Instruction Help as to


check whether data is correct
Description

Value

Set Pulse

50,000

Set Speed

50,000

Chapter 4-13-9
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Click on Monitor > Real Time Trace

Check Monitor for CSPD

Picture

Chapter 4-13-9
How do we know the display speed is true?

Check speed of the Servo motor from CX-Drive


Step

Description

Click Drive > Work Online


Click then Work Online shortcut icon

Click the start button

Click to start

Picture

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

By following the diagram from the


Instruction Help reading:

Set Pulse: 50,000

Set Speed: 50,000

Table
Set Speed:
50,000 Hz

Set Pulse:
50,00 pulse

Chapter 4-14
How can we have different control setting to
run Servo Motor?

Answer: Create Recipe

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

Create Frame18 for Next topic

Copy PULS Control from Frame17 to


Frame18

Picture

Chapter 4-14-2
Recipe Selection

Create Recipe selection on selecting Recipe

Step

Description

Basic Attributes

Click on Multi-State Switch tab

Recipe Data

Create 3 recipe
Explain
on the
later
slide

Chapter 4-14-2
Recipe Selection

Create Recipe selection on selecting Recipe

Step

Description

Click on Tag tab

Click on Graphic tab

Recipe Data

Chapter 4-14-3
Create Recipe Menu

Create Recipe menu on selecting Recipe

Step
1

Description
Basic Attributes
Key in each addresses for different
recipe menu box

Follow as the
picture on the
right

Recipe menu

RW 0

RW 4

RW 8

RW 2

RW 6

RW 10

Click on Numeric Data


Create 3 recipe

DWORD = 2WORD

Chapter 4-14-3
Create Recipe Menu

Create Recipe menu on selecting Recipe

Step
3

Description

Recipe menu

Click on Graphics

RW 0

RW 4

RW 8

RW 2

RW 6

RW 10

Chapter 4-14-4
Explanation
From the Recipe selection is where they start reading data
User Select
Recipe 2

Recipe
selection

State 0

State 1

State 2

Data will read from RW4 to RW7 for recipe 2


Recipe Menu

Set Pulse
RW 0

RW 1

Set Speed
RW 2

RW 3

Set Pulse
RW 4

RW 5

Set Speed
RW 6

Set Pulse

RW 7

RW 8

Set Speed

RW 9

RW 10

Recipe Selection
Recipe Selection Dropdown List
RW 0

Recipe 1

Map to RW 0

Recipe 2

Map to RW 4

Recipe 3

Map to RW 8

RW 4

RW 2

RW 8

RW 6

RW 10

RW 11

Chapter 4-14-5
Recipe Transfer to PLC

Click and drag the Recipe Data and place it in the window

Step

Description

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)

Recipe Data

Chapter 4-14-5
Recipe Transfer to PLC

Click and drag the Recipe Data and place it in the window

Step

Description

Click on Tag tab

Click on Graphic tab

Recipe Data

Chapter 4-14-6
Recipe Upload From PLC

Click and drag the Recipe Data and place it in the window

Step

Description

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)

Recipe Data

Chapter 4-14-6
Recipe Upload From PLC

Click and drag the Recipe Data and place it in the window

Step

Description

Click on Tag tab

Click on Graphic tab

Recipe Data

Chapter 4-14-7
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-14-8
NB Display
Try Key in different Recipe Menu and download recipe to PLC
Before Transfer Recipe
Step 2

Step 3

After Transfer Recipe


Step 5

Step 1

Step 4

Step 1: Key in the different recipe menu


Step 2: Select the recipe you desired
Step 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
different
Step 6: Try different recipe and download to the Data
memory area(D440-D443)

Chapter 4-14-9
Create Recipe Download to USB Drive

Click and drag the Function Key and place it in the window

Step
1

Description
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)

Recipe Data

Chapter 4-14-9
Create Recipe Download to USB Drive

Click and drag the Function Key and place it in the window

Step

Description

Click on Tag tab

Click on Graphic tab

Recipe Data

Chapter 4-14-10
Recipe Upload from USB Drive

Click and drag the Function Key and place it in the window

Step
1

Description
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)

Recipe Data

Chapter 4-14-10
Recipe Upload from USB Drive

Click and drag the Function Key and place it in the window

Step

Description

Click on Tag tab

Click on Graphic tab

Recipe Data

Chapter 4-14-11
Download to NB
1.
2.

Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
Click download to download the drawing

Chapter 4-14-12
How to Download Recipe to USB Drive?
Run and test
Step

Description

Click Chapter 4-2 button, it will send


you to Frame18 Recipe page

Next slide show the result

Display Number

Chapter 4-14-12
How to Download Recipe to USB Drive?
Run and test
Step
3

Description

Display Number

Let key in different value for each


Recipe:
Recipe 1

Recipe 2

Recipe 3

Set Pulse

80000

600

50000

Set Speed

80000

3000

100000

Note: Please insert the USB Drive


before try
4

After clicking Export Recipe from


HMI, Recipe Upload pop-up appear
and you can see the USB Drive that
have been inserted to the HMI.

Click on the usb1 shown in the


right

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

Chapter 4-14-12
How to Download Recipe to USB Drive?
Run and test
Step
5

Description

Display Number

Enter the name you want for the


Recipe that you have created.
(Ex. I name the recipe as recipe1)

Click Ok!

To check whether the recipe is save


in the USB Drive, you can click
again Export Recipe from HMI,
Recipe Upload pop-up appear and
you can click on the usb1.

Then on the top right of the popup, you can see the recipe being
save 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.

Chapter 4-14-12
How to Upload Recipe from USB Drive?
Run and test
Step

Description

Click Chapter 4-2 button, it will send


you to Frame18 Recipe page

Next slide show the result

Display Number

Chapter 4-14-12
How to Upload Recipe from USB Drive?
Run and test
Step
3

Description

Display Number

Let clear the value for each Recipe:


Recipe 1

Recipe 2

Recipe 3

Set Pulse

Set Speed

Note: Please insert the USB Drive


before try
4

After clicking Import Recipe to


HMI, Recipe download pop-up
appear and you can see the USB
Drive that have been inserted to
the HMI.
Click on the usb1 shown in the
right

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

Chapter 4-14-12
How to Upload Recipe from USB Drive?
Run and test
Step
5

Description

Select the recipe as shown on the


top right of the pop-up.
(Ex. Click on recipe1.rcp)

Display Number
Step 5: If there
recipe in the USB
Drive, you can see
from here

Click Ok!
Step 6: Select the
recipe
(Ex. recipe1)

You can see all the value being


transfer to their respecting place.

Step 7: Value from the recipe will be place to


their original place

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
=42

END of Chapter 4
Thank you!

Potrebbero piacerti anche