Documente Academic
Documente Profesional
Documente Cultură
• Understand
– The feature of NB Designer (For NB HMI)
– The feature of CX-Programmer (For PLC)
– Set up communication for PLC, HMI and E5CC
– Change E5CC Set point for HMI
– Monitoring and record E5CC Data
• End of Lesson
– Able to bring back the program you have created which include
• Set up communication between PLC and HMI
• Control HMI Lamp
• Insert Number and text
• Event and Historical Event
Content Page
• Chapter 2-1 Hardware Introduction • Chapter 2-3 Setup For E5CC to communicate
• 2-1-1 Basic Introduction on NB HMI with PLC & NB HMI
• 2-1-1i The Complete CP1E-N[]S1 • 2-3-1 Communication &
Parameter Setting for E5CC
Family
• 2-1-2 Basic Introduction on NB HMI
• Chapter 2-4 How to read E5CC value from
• 2-1-2i The Complete HMI Family PLC?
• 2-1-3 Basic Introduction on Power • 2-4-1 What will we learn in this
Supply topic
• 2-1-3i The Complete Power Supply • 2-4-2 Setup CX-Programmer
Family • 2-4-3 DM Areas to Read E5CC
• 2-1-4 Basic Introduction on E5CC Data
• 2-1-4i E5CC- Digital Temperature
Controller • Chapter 2-5 How to NB HMI read E5CC Data?
• 2-1-5 Wires and cables for connection • 2-5-1 What will we learn in this
• 2-1-5i Communication Cable topic
• 2-5-2 Setup NB Designer
• 2-5-3 Set up I/O list for PV & SV
• Chapter 2-2 How are we going to connect the
Reading
components?
• 2-5-4 Create E5CC PV & SV Display
• 2-2-1 Hardware Wiring
Content Page
• Chapter 2-5 How to NB HMI read E5CC Data? • Chapter 2-7 Create E5CC’s Alarm 1 And
• 2-5-5 Download to NB Alarm 2 in NB Designer
• 2-5-6 View Reading of PV & SV • 2-7-1 Create Alarm1 Setting
• 2-5-7 Address for E5CC Control Status input
• 2-5-8 Create E5CC Alarm 1 Status • 2-7-2 Create Alarm2 Setting
input
• 2-5-9 Create E5CC Status
• 2-7-3 Download to NB
• 2-5-10 Create Stop & Run Button
• 2-7-4 NB Display
• 2-5-11 NB Display
• 2-7-4i Compare E5CC and HMI
• 2-5-11i Status between E5CC with HMI
• Information
Chapter 2-1
Hardware Introduction
Chapter 2-1-1
Basic Introduction on PLC
HMI
HMI /
PLC PC
XW2Z-200T
Chapter 2-2
How are we going to connect the
components?
Connect to
DC 24V
Connect to HMI
E5CC
using RS232 cable
Connect to
COM1
Connect to
DC 24V
Chapter 2-3
Setup For E5CC to communicate with PLC &
NB HMI
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Turn ON Communication Writing
Step 1 Step 2
Step 1 Step 2
Press and together Press and go to Initial Set it to ‘0’ as we don’t need Press and together
for 3 sec and go to STEP 18 Setting/communication protect any restrict movement to the for 1 sec and go home screen
initial Setting
Press until Auxiliary Press for up/down to ‘-169’ for Press until Advance Press for 3 sec for
Output 1 Assignment (SUB1) Alarm 1 Function Setting Level initial setting level
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Set Auxiliary output for Alarm 1 & Alarm 2
Press for up/down to ‘ALM1’ for Press until Auxiliary Press for up/down to ‘ALM2’ for Press for 3 sec
when Alarm 1 activate, SUB1 Output 2 Assignment (SUB2) when Alarm 1 activate, SUB2 and go to home screen
activate activate
Press until Alarm Press for up/down to Press until Alarm 1 Press for 3 sec
type 2 ‘2’ for Alarm 1 and go to
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Set Alarm Type for Alarm 2
Press for up/down to Press until leave Setting That all for the setting
‘1’ for Alarm 2 Level up
Chapter 2-3-1
Communication & Parameter Setting for E5CC
NOTE
• Communications with PLCs from OMRON (CP1E) and Temperature
Controller from OMRON (E5CC) can be performed without creating ladder
programming.
Toolbar
Project
Workspace
Diagram
Workspace
Status Bar
Chapter 2-4-2
Setup CX-Programmer
New
Select
CP1E
Chapter 2-4-2
Setup CX-Programmer
Select
USB
Chapter 2-4-2
Setup CX-Programmer
• Set the PLC setting to the same as the NB HMI
Step Description Serial COM (RS232C)
1 Double click on the Setting
• Click OK!
Chapter 2-4-3
DM Areas to Read E5CC Data
• Checking E5CC data link to which DM area
Step Description CX-Programmer
1 In CX-Programmer, change it to online
mode
2 Go to Memory
Click here
Chapter 2-4-3
DM Areas to Read E5CC Data
• Checking E5CC data link to which DM area
Step Description CX-Programmer
3 PLC Memory pop-up appear, click “D”
which is Data Memory
Data
Memory
4 Click Monitor
Click
Chapter 2-4-3
DM Areas to Read E5CC Data
• Checking E5CC data link to which DM area
Step Description CX-Programmer
5 Monitor Memory Areas pop-up appear,
click monitor
Click
Monitor
Project files
window
HMI edit
Component window
library
window
Component Project
Compile
list structure
information
window window
window
State
toolbar
Chapter 2-5-2
Setup NB Designer
• Create New Project
Step Description Connection
1 File > New(N) or Ctrl + N to create new
project
Click to Create
New project
Step 1
Step 2
Step 3
Right click on
the NB and
click Edit to
start
Chapter 2-5-2
Setup NB Designer
• Setup Communication Setting
Step Description Connection
1
For CP1E,
the Baud
rate read
either 57600
or 115200
(Ex. For this
case, use
115200)
2
Chapter 2-5-3
Set up I/O list for PV & SV Reading
• We be using this range of I/O for this whole chapter
Name Address
Word W11 – W19
Data Memory D200 – D299
Data Memory D0 – D99
Data
Memory 7
(D7)
Data
Memory 7
(D7)
Chapter 2-5-4
Create E5CC PV & SV Display
• Create Set Value(SV) Display
Step Description SV Display
1 Under Basic Attributes tab
Data
Memory 8
(D8)
Data
Memory 8
(D8)
Chapter 2-5-5
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 2-5-6
View Reading of PV & SV
• Run and Test
Step Description HMI View
1 Click on the Chapter 2-1 to go Frame 12
Name the
Indicating Lamp
Choose any
Lamp picture
Chapter 2-5-9
Create E5CC Status
• Let try create Alarm 2, Output Control, Communication and Stop
S/N Description Example
1 The address is stated below
Alarm 2
Output Control
Communication
Stop
Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description STOP Button
1 Under Basic Attributes tab
Explanation on the
next few slide
2 Setting Mode
Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description STOP Button
3 Click on Tag tab
Using a fix
register control
Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description RUN Button
1 Under Basic Attributes tab
2
Chapter 2-5-11
NB Display
• Test the E5CC Status
Step Description HMI View
1 Click on the Chapter 2-1 to go Frame 12
E5CC currently in
RUN mode, Output
Control is active
Setting
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Number Input
3 Click on Graphics tab
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Add
4 Under Basic Attributes tab, enter address ‘D17’
Setting
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Add
6 Click on Graphic tab
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Subtract
7 Under Basic Attributes tab, enter address ‘D17’
Setting
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Subtract
9 Click on Graphic tab
Chapter 2-6-2
Create Write Values Button
• Create Send Values button
Step Description SV Number Input
1 Under Basic Attributes tab, enter address
‘D15.00”
Setting
This is to enable
the Data to be
send to E5CC
Chapter 2-6-2
Create Write Values Button
• Create Send Values button
Step Description SV Number Input
3 Click on tag tab to name the Button
This is to enable
the Data to be
send to E5CC
Chapter 2-6-2
Create Write Values Button
• Create Send Values button
Step Description SV Number Input
5 Click on Control Setting tab, Set condition that
when the register the activated the button can
be press
This is to enable
the Data to be
send to E5CC
Chapter 2-6-3
Create Read Values Button
• Create Read Values Button
Step Description Read Values Button
1 Under Basic Attributes tab, Component List will
be Multiple State Setting
This is to enable
the Data to be
Read from E5CC
Chapter 2-6-3
Create Read Values Button
• Create Read Values Button
Step Description Read Values Button
3 Setting Mode set as constant and value is ‘2’
This is to enable
the Data to be
Read from E5CC
Chapter 2-6-3
Create Read Values Button
• Create Read Values Button
Step Description Read Values Button
5 Click on Graphics tab
This is to enable
the Data to be
Read from E5CC
Chapter 2-6-3
Create Read Values Button
• Create Read Values Button
Step Description Read Values Button
7 Enter the Register to control the button,
D16.00 bit
This is to enable
the Data to be
Read from E5CC
Chapter 2-6-4
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 2-6-5
NB Display
• Testing Write and Read Values
2
Chapter 2-7-4
NB Display
• Test it out
Step Description HMI View
1 Click on the Chapter 2-1 to go Frame 12
Alarm 2 (SUB2) is
de-activated as the
PV is within the
upper and the lower
limit of SV
(Ex. PV must not be
higher then 35 and
lower then 25)
Alarm 2 (SUB2) is
activated as the PV
is over the upper
limit of SV
(Ex. PV now is higher
then 35)
Chapter 2-8
Create Trend Curve to view different value at
different time
Chapter 2-8-1
Create a New Frame Page and Link
• Create a Frame13
Step Description New Frame
1 Go to Toolbar
Click on the
Add
Window
icon
2 Pop-up appear
Frame ID start from 10
as Frame 1 to 9 is used
for special window
New Frame
being created
Frame Name start from
Frame10 as Frame 1 to
9 is used for special
window. (Name can be
change)
2nd : 2 signal
We will be using
LB15 to pause the
trend graph
Chapter 2-8-2
Create Trend Curve Graph
• Create Trend Graph to view PV and SV value
Step Description Trend Graphic
4 Check SCROL as to browse multiple trend
We will be
selecting
DIS_BAR002.vg
(You can get
more image at
Import Image)
2 Geographic Figure
Create a background
Let choose white line
and white background
color
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Second)
1 Under Basic Attributes tab as to set the
scrolling distance
2
Chapter 2-8-4
NB Display
• Test Trend Graph Function
Step Description HMI View
1 Click on the Chapter 2-2 to go Frame 13
Scrolling is unable to sc
Chapter 2-8-4ii
Review previous trending
• Review previous trend or previous page
HMI View E5CC View
When you start scrolling to view the earlier trend graph, the start
timing display will indicate the time when the trend start and the
end timing display will indicate the time when the trend end.
Chapter 3-9
How can I get the trend graph data?
Detail unreadable
Chapter 2-9-2
Decrypt the CSV file
• 2 Method to NBManager
Method 1 Method 2
At the toolbar, click on Tools > System Manager > Click on Start > All Programs > scroll to Omron folder >
Decompile Operate NB Designer > Tools > NBManager
Chapter 2-9-2
Decrypt the CSV file
• 2 Method to NBManager
Step Description Timing (Second)
1 Click on the Decrypte Historic Data File at
Decrypte Operation
2nd : Name
the file where
the data going
to keep
3rd : Set it to
default as it
keep on
saving data
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
7 Click on Title bar Properties tab
4 Click on Graphics
2
Chapter 2-9-6
NB Display
• Test it out
Step Description HMI View
1 Click on the Chapter 2-2 to go Frame 13
• E5CC Catalogs/Manuals:
– http://www.omron-ap.com/downloads/pdf_listing.asp?product_model=E5CC&catlvl=78
• E5CC Communication Manual (H175-E1-05):
– http://www.omron-
ap.com/admin/access_download.asp?from=pdf_E5CC&catlvl=78&to=H175&product_m
odel=E5CC&open=0
END of Chapter 2
Thank you!