Professional Documents
Culture Documents
Mx2 Cp1e NB Chapter3 (Us)
Mx2 Cp1e NB Chapter3 (Us)
Mx2 Cp1e NB Chapter3 (Us)
• Understand
– the feature of NB Designer (For NB HMI)
– The feature of CX-Programmer (For PLC)
– Set up communication between PLC and HMI
– Create Project and control PLC through NB HMI by touch
• End of Lesson
– Able to bring back the program you have created which include
• Set up communication between PLC and HMI
• Control of Inverter
• Read value of inverter value
• Write value to inverter
Content Page
• Chapter 3 -1 What are the Hardware we be • Chapter 3-3 Do we need to do setting for the
using for this chapter 3? MX2 Inverter?
• 3-1-1 Basic Introduction on PLC • 3-3-1 What will we learn in this topic
• 3-1-1i The Complete CP1E-N[]S1 Family • 3-3-2 Introduce CX-Drive
• 3-1-2 Human Machine Interface (HMI) • 3-3-3 How to do setting for 3G3MX2 inverter
• 3-1-2i The Complete HMI Family • 3-3-4 How to do setting for 3G3MX2 inverter
• 3-1-3 Power Supply • 3-3-5 Modbus Setting For Drive
• 3-1-3i The Complete Power Supply • 3-3-6 Transfer Setting to 3G3MX2 inverter
Family
• 3-1-4 Inverter • Chapter 3-4 How to Start/Stop a motor from NB
• 3-1-4i The Complete MX2 Family HMI?
• 3-1-5 Motor • 3-4-1 What will we learn in this topic
• 3-1-6 Wires and cables for connection • 3-4-2 Set up I/O list
• 3-1-6i Cable Connection Type • 3-4-3 Create New Frame
• 3-4-4 Create Link button
• Chapter 3-2 How are we going to connect • 3-4-5 Create Motor Stop Button
the components? • 3-4-6 Method of Download to NB
• 3-2-1 Wiring Diagram • 3-4-7 Download to NB
Content Page
• Chapter 3-4 How to Start/Stop a motor • Chapter 3-6 How to write program using the
from NB HMI? Data Memory to control the MX2 Inverter?
• 3-4-1 NB Display • 3-6-7i Monitor HMI with PLC
• Chapter 3-5 How PLC Control MX2 Inverter • Chapter 3-7 Read Data From Inverter
through Modbus? • 3-7-1 What will we learn in this topic
• 3-5-1 Explanation on Data Memory use • 3-7-2 I/O list for Write Motor Program
in MODBUS • 3-7-3 How to Create Frequency input
control?
• Chapter 3-6 How to write program using • 3-7-4 Create different Color background
the Data Memory to control the MX2 • 3-7-5 Create Frequency scrolling input
Inverter? • 3-7-6 Method of Download to NB
• 3-6-1 What will we learn in this topic • 3-7-7 Download to NB
• 3-6-2 Create New Program • 3-7-7 NB Display
• 3-6-3 Create Motor Program
• 3-6-4 Online mode • Chapter 3-8 How to control the speed of the
• 3-6-5 Modbus Com Setting for PLC motor from PLC?
• 3-6-6 Transfer PLC Program • 3-8-1 What will we learn in this topic
• 3-6-7 NB Display • 3-8-2 How to control Motor speed?
Content Page
• Chapter 3-8 How to control the speed of the • Chapter 3-9 How to Read Ampere (I) value From
motor from PLC? Inverter through NB HMI?
• 3-8-3 Online mode • 3-9-8 How can we continuously read value?
• 3-8-4 Transfer PLC Program • 3-9-9 Online mode
• 3-9-10 Transfer PLC Program
• 3-8-5 NB Display • 3-9-11 NB Display
• 3-8-5i Monitor HMI with PLC • 3-9-11i Monitor HMI with Inverter
• 3-9-12 Check Ampere value with MX2
• Chapter 3-9 How to Read Ampere (I) value inverter
From Inverter through NB HMI?
• 3-9-1 What will we learn in this topic • Chapter 3-10 Can inverter read other value?
• 3-9-2 I/O list for Read Motor Program • 3-7-1 What will we learn in this topic
• 3-9-3 Create Display Ampere • 3-7-2 I/O list for Write Motor Program
• 3-9-4 Method of Download to NB • 3-7-3 Solution
• 3-9-5 Download to NB • 3-7-4 Online mode
• 3-9-6 How to Read Motor Ampere • 3-7-5 Transfer PLC Program
Value? • 3-7-6 NB Display
• 3-9-7 How can we continuously read • 3-7-6i Monitor HMI with Inverter
value? • 3-7-7 Check Voltage value with MX2 inverter
Content Page
• Chapter 3-10 Can inverter read other value? • Chapter 3-11 How to prevent other user to
• 3-7-8 Check Temperature value with access the control page?
MX2 inverter • 3-11-9 How to see current User accessing?
• 3-7-9 Check Frequency value with MX2 • 3-11-10 Download to NB
inverter • 3-11-11 NB Display
• Take Note
• Information
Chapter 3-1
What are the Hardware we be using for this
chapter 3?
4 Inverter: 3G3MX2-AB002-V1 1
5 Oriented motor 1
8 Wires A Few
Chapter 3-1-1i
The Complete CP1E-N[]S1 Family
Chapter 3-1-1i
The Complete CP1E-N[]S1 Family
S1-type
30 I/O points 40 I/O points 60 I/O points
2 NB: NB10W-TW01B 1
3 Power Supply: S8VS-06024 1
4 Inverter: 3G3MX2-AB002-V1 1
5 Oriented motor 1
8 Wires A Few
Chapter 3-1-2i
The Complete HMI Family
HMI
2 NB: NB10W-TW01B 1
5 Oriented motor 1
8 Wires A Few
Chapter 3-1-3i
The Complete Power Supply Family
Chapter 3-1-4
Inverter
2 NB: NB10W-TW01B 1
4 Inverter: 3G3MX2-AB002-V1 1
5 Oriented motor 1
8 Wires A Few
Chapter 3-1-4i
The Complete MX2 Family
IP20 IP54 IP20 IP54 IP20 IP54 IP20 IP54 IP20 IP54 IP20 IP54
2 NB: NB10W-TW01B 1
4 Inverter: 3G3MX2-AB002-V1 1
8 Wires A Few
Chapter 3-1-5i
Motor Type Range
Motor
Omron Inverter: 3G3MX2-AB002-V1 Inverter can Control motor from a range within 200V, 50HZ,
200W motor.
So for this course, we be using Oriental Motor MODEL 4IK25A-SW2L Induction Motor
Chapter 3-1-6
Wires and cables for connection
2 NB: NB10W-TW01B 1
4 Inverter: 3G3MX2-AB002-V1 1
HMI /
PLC PC
XW2Z-200T
Chapter 3-1-6i
Cable Connection Type
Inverter MX2 PC
Chapter 3-2
How are we going to connect the
components?
Connect to
DC 24V
Connect with
mini –USB to PC
USB cable from PC (For CX-Drive)
(CX-Programmer)
Connect to HMI
using RS232 cable
Turn ON the dip
switch on the Left
side for MODBUS
Inverter RS+ to PLC B+
Connect to Inverter RS- to PLC A-
AC 230V
Connect to
COM1
Connect to
DC 24V
Chapter 3-3
Do we need to do setting for the MX2
Inverter?
Toolbar
Workspace
Windows
Output
Window
Status Bar
Chapter 3-3-3
How to do setting for 3G3MX2 inverter
• Setting for 3G3MX2 inverter
Step Description Scroll Bar
1 Click on Tools at toolbar, click
Options
3G3MX2-AB001
(Asia use only)
Chapter 3-3-3
How to do setting for 3G3MX2 inverter
• Setting for 3G3MX2 inverter
Step Description Scroll Bar
3 Click on Drive tab
Choose Inverter and
the Drive Series for
easy detect
Chapter 3-3-4
How to do setting for 3G3MX2 inverter
• To Auto detect device (Auto Online too )
• Click on Drive > AutoDectect
• Ctrl + D
• Click on the icon
ICON
Chapter 3-3-5
Modbus Setting For Drive
• Setting for 3G3MX2 inverter
Step Description Scroll Bar
1 Go to Parameter Editor (Setting must be
same as the PLC side)
• A0001 - 3. Modbus
• A0002 - 3. Modbus
• F001 – 50 Hz
Chapter 3-3-6
Transfer Setting to 3G3MX2 inverter
• Transfer Setting
Step Description Scroll Bar
1 Method 1: Drive tab > Transfer > To
Drive
Method of transfer
2
Chapter 3-4-8
NB Display
• Run and Test
Step Description Display Number
1 Click on the Chapter 3-1 to go
Frame 14
Example:
If writing to coil, D1301 = #5
If Read from coil, D1301 = #1
1 Word = 2 bytes
Example:
1. If only 1 Communication Data:
D1302 = #2
(This take up D1303 only)
2. If only 2 Communication Data:
D1302 = #4
(This take up D1303 & D1304)
Chapter 3-5-1
Explanation on Data Memory use in MODBUS
• Where to get Communications Data?
Coil address
to ON/OFF
the coil
Example:
If writing to the inverter is 0001h, PLC
has to send command D1303 = #0
Setting to Setting to
turn ON turn OFF
the coil the coil
Toolbar
Project
Workspace
Diagram
Workspace
Status Bar
Chapter 3-6-2
Create New Program
• Set the PLC setting to the same as the NB HMI
Step Description Display Number
1 Click On NEW
2 Select CP1E
Chapter 3-6-2
Create New Program
• Set the PLC setting to the same as the NB HMI
Step Description Display Number
3 Click on Settings, choose N30.
Click Ok then OK.
Click here to
Online mode
Click here to
Program
mode
Grey
Background
Chapter 3-6-5
Modbus Com Setting for PLC
• Set the PLC setting to the same as the MX2 inverter
Name Address
Motor Freq Set W27.00
Freq input D321
Chapter 3-7-3
How to Create Frequency input control?
• Click and drag the Number Input and place it in the window
Step Description Input Number
1 Basic Attributes tab
Step 1
Change the
background color
(Ex. Blue)
2 Save picture
Do this 1 time as
we need for
background color
Chapter 3-7-5
Create Frequency scrolling input
• Click and drag the Scroll Bar and place it in the window
Step Description Scroll Bar
1 Basic Attributes tab
Scroll Bar
2 Click on Scroll Bar tab
Vertical design, Down
to up mean value low
to high
Scroll Bar
4 Scroll Bar tab
This is equal
to 50Hz
Chapter 3-7-6
Method of Download to NB
• Method of downloading the drawing to NB
– Download way
– System Manager
Chapter 3-7-7
Download to NB
1. Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
2. Click download to download the drawing
2
Chapter 3-7-8
NB Display
• Run and Test
Step Description Display Number
1 Click on the Chapter 3-1 to go
Frame 14
Sequence Control
sending bit
When
compare
is not
equal
When
compare
is equal
Stop the
sequence
control
Click here to
Online mode
Grey
Background
Chapter 3-8-4
Transfer PLC Program
• Set the PLC setting to the same as the MX2 inverter
Step Description Transfer Program
2
Chapter 3-9-6
NB Display
• Run and Test
Step Description Display Number
1 Click on the Chapter 3-1 to go
Frame 14
Create New
RUNG for READ
function
Reference from
Page 265
Reference from
Page 287
Modbus
Completion
Respond
feedback
Reference from
Page 14-18
D1354 S3 S2 S1 S0 D1355 S3 S2 S1 S0
Write Function
Read Function
Click here to
Online mode
Grey
Background
Chapter 3-9-10
Transfer PLC Program
• Set the PLC setting to the same as the MX2 inverter
Step Description Transfer Program
Step 5: Ampere
value (Step on how
to set is on the next
slide)
Step 4: Ampere Value
can be view from the
Inverter itself
Chapter 3-9-12
Check Ampere value with MX2 inverter
• How to view Ampere Value from MX2 Inverter
Press 1 time to Press 1 time to Press 1 time to Now you see the
d0001 d0002 enter Ampere Value
Click here to
Online mode
Grey
Background
Chapter 3-10-5
Transfer PLC Program
• Set the PLC setting to the same as the MX2 inverter
Step Description Transfer Program
Step 7: Motor
Temperature value
(Step on how to set
is on the next slide)
Step 9: Frequency
value (Step on how
to set is on the next
slide)
Press 1 time to Press to d0013 Press 1 time to Now you see the
d0001 enter Voltage Value
Press 1 time to Press to d0018 Press 1 time to Now you see the
d0001 enter Temperature Value
Press 1 time to Press 1 time to Press 1 time to Now you see the
d0001 d0002 enter Frequency Value
Default password
for all is 888888
Chapter 3-11-3
Create Security level
• Create Security level for NB
Step Description Display Number
3 Let Change the password for each
security level created.
(Ex. Password Password Number )
0 NULL
1 111111
2 222222
3 333333
Set different password
4 444444
for different level
Chapter 3-11-4
Create New Frame
• Create a Frame15 with security level 1
Step Description New Frame
1 Go to Toolbar
Click on the
Add
Window
icon
Select security
level to “1”
Chapter 3-11-4
Create New Frame
• Let create a Frame15 with security level 1
Window Attribute HMI Attribute
1. The Number of Security Level in the Window Attribute is depend on how many number of security level you set
at the HMI Attributes
2. Select Security level
• Low (0), Common (1), High (2), Higher (3), Highest (4)
Chapter 3-11-5
What is Permission level?
• Why need do we need Permission level?
1. End-User may want to restrict other users to access certain control/page as
to prevent them for mis-using it.
2. End-User can set other user the right to access the control/page which they
required
4 User0
Don’t Check
• Don’t Enable the permission
setting as this level any people can
access to the page/feature
Chapter 3-11-6
Create Permission level
• Create Permission level for NB
Step Description Display Number
5 User1
• Enable the permission setting as
this level only let technician to
Engineer to access certain
page/feature
6 User2
• Enable the permission setting as
this level only let technician to
Assistant Manager to access
certain page/feature
Chapter 3-11-6
Create Permission level
• Create Permission level for NB
Step Description Display Number
7 User3
• Enable the permission setting as
this level only let technician to
Manager to access certain
page/feature
8 User4
• Enable the permission setting as
this level only let technician to
Director to access certain
page/feature
Chapter 3-11-7
Create Link Button with permission
• Click and drag the Function Key and place it in the window
Step Description Chapter 3-2 Button
1 Function Key tab
Step 1
Change the
background color
(Ex. Grey)
2 Save picture
4 Save picture
Delete the box
after creating
multiple state
VG graphic
1. Usr4 = 32 – 1 = 31
2. Usr3 = (32 / 2) - 1 = 15
3. Usr2 = (16 / 2) – 1 = 7
4. Usr1 =(8 / 2) – 1 = 3
Chapter 3-11-9
How to see current User accessing?
• Click and drag the Multi State Display and place it in the window
Step Description Display Number
4 Click on Graphics tab
• Select Background2.vg as the
graphic has around 32 state
Chapter 3-11-10
Download to NB
1. Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
2. Click download to download the drawing
2
Chapter 3-11-11
NB Display
• Run and Test
Step Description Display Number
1 Click on the Chapter 3-2 to go
Frame 15
Select all (Ctrl + a) the button and copy (Ctrl + At Frame15, paste (Ctrl + v) the buttons
c) and go to Frame15
Chapter 3-12-3
Create Different Security level Viewing
1 Ampere PV 1
2 Voltage PV 2 Select “2” Select “4”
3 Heat Sink 3
Temperature
4 Frequency PV 4
Chapter 3-12-4
Create display of Security level
• Click and drag the Number Display and place it in the window
S/N Description Security Level
1 Basic Attributes tab
Display current
Security Level
Must be more
then the
number of
security level
you have set
Chapter 3-12-4
Create display of Security level
• Click and drag the Number Display and place it in the window
S/N Description Security Level
3 Click on Graphic tab
Choose
Display Bar
Display current
Security Level
Chapter 3-12-5
Create Security password
• Click and drag the Number Input and place it in the window
S/N Description Security Level
1 Basic Attributes tab
Input Security
Level password
Must be more
then the
number of
security level
you have set
Chapter 3-12-5
Create Security password
• Click and drag the Number Input and place it in the window
S/N Description Security Level
3 Click on Graphic tab
Choose
Display Bar
Input Security
Level password
Chapter 3-12-6
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
2
Chapter 3-12-7
Viewing display from different Security
• Click and drag the Number Input and place it in the window
S/N Description Security Level
1 Basic Attributes tab
Force
Level to
Must be more go down
then the
number of
security level
you have set
Chapter 3-12-8
Create Force down Security level
• Click and drag the Number Input and place it in the window
S/N Description Security Level
3 Click on Graphic tab
Choose
Display Bar
Force
Level to
go down
Chapter 3-12-9
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
2
Chapter 3-12-9i
Viewing display from different Security
1 Login 1
Chapter 3-2
2 RUN 2
Pushbutton
Permission Permission
3 Frequency 3 Level “3” Level “4”
Control
4 Frequency 4
Scroll
Chapter 3-12-11
Create Permission User Login
• Click and drag the Text Input and place it in the window
Step Description Scroll Bar
1 Basic Attributes tab
Here is where
you key in the
user
3 word length
equal to 6
characters
Select
Display
Bar
Chapter 3-12-12
Create Permission password
• Click and drag the Text Input and place it in the window
Step Description Scroll Bar
1 Basic Attributes tab
Here is where
you key in the
password
Select
Display
Bar
Chapter 3-12-13
Create Permission Login Button
• Click and drag the Bit State Switch and place it in the window
Step Description Scroll Bar
1 Basic Attributes tab
Here is where
you press
login
Here is where
you press
login
Select
Display
Bar
Chapter 3-12-14
Create Permission Logout button
• Click and drag the Bit State Switch and place it in the window
Step Description Scroll Bar
1 Basic Attributes tab
Here is where
you press
logout
Here is where
you press
logout
Select
Display
Bar
Chapter 3-12-15
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
2
Chapter 3-12-15i
Viewing display from different Permission
• Logout
• Once you click logout, you go back home page and click again Chapter
3-2, you can’t get back to the page unless you re-key in your user
name and password with your security password
Information
• MX2:
– http://www.omron-
ap.com/downloads/pdf_viewing.asp?product_model=3G3MX2&catlvl=50
• CX-Drive:
– http://www.omron-ap.com.sg/downloads/pdf_listing.asp?product_model=NB
Series&catlvl=201
• IP Code:
– http://en.wikipedia.org/wiki/IP_Code
• Manual (I570-E2-01-X):
• http://downloads.industrial.omron.eu/IAB/Products/Motion%20and%20Drives/Frequen
cy%20Inverters/General%20Purpose/MX2/I570/I570-E2-01-X+MX2+UsersManual.pdf
• Manual (W480-E1-05):
– http://www.omron.com.au/downloads/pdf_viewing1.asp?product_model=CP1E&catlvl
=42
END of Chapter 3
Thank you!