Sunteți pe pagina 1din 166

Chapter 2

NB to CP1E-N[]S1 to E5CC TEMP


Controller with NB
Objective

• 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

• Chapter 2-8 Compare E5CC and HMI


• Chapter 2-6 How are we going to connect the
components? • 2-8-1 Create a New Frame Page
and Link
• 2-6-1 Write SV Values to E5CC
• 2-8-2 Create Trend Curve Graph
• 2-6-2 Create Write Values Button
• 2-8-3 Download to NB
• 2-6-3 Create Read Values Button
• 2-8-4 NB Display
• 2-6-4 Download to NB
• 2-8-4i E5CC with HMI
• 2-6-5 NB Display
• 2-8-4ii Review previous trending
• 2-6-5i E5CC with HMI
Content Page

• Chapter 2-9 How can I get the trend graph


data?
• 2-9-1 Read Trend Graph Data from
USB Flash Drive
• 2-9-2 Decrypt the CSV file
• 2-9-3 Create Historical Data Display
• 2-9-4 Safety Remove USB flash Drive
• 2-9-5 Download to NB
• 2-9-6 NB Display
• 2-9-6i Is it safe to remove USB Flash
Drive?
• 2-9-6ii How to view previous data?

• Information
Chapter 2-1
Hardware Introduction
Chapter 2-1-1
Basic Introduction on PLC

S/N Product Qty


1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Temperature Controller: E5CC 1
5 RS232C (Male to Male) 1
6 USB plug Connector 1
7 Wires A few
Chapter 2-1-1i
The Complete CP1E-N[]S1 Family
Chapter 2-1-1i
The Complete CP1E-N[]S1 Family
S1-type
30 I/O points 40 I/O points 60 I/O points

Difference between S1 and S


Chapter 2-1-2
Basic Introduction on NB HMI

S/N Product Qty


1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Temperature Controller: E5CC 1
5 RS232C (Male to Male) 1
6 USB plug Connector 1
7 Wires A few
Chapter 2-1-2i
The Complete HMI Family

HMI

NB3Q- NB3Q- NB5Q- NB5Q- NB7W-


Model NB7W-TW00B NB10W-TW01B
TW00B TW01B TW00B TW01B TW01B
Memory USB USB USB USB
- - -
interface Memory Memory Memory Memory
10/100 10/100 10/100
Ethernet - - - 10/100 base-T
base-T base-T base-T
RS-232C RS-232C
Serial (COM1) RS-422A RS-422A RS-232C RS-232C RS-232C RS-232C RS-232C
RS-485 RS-485
RS-232C RS-232C RS-232C RS-232C RS-232C
Serial (COM2) - - RS-422A RS-422A RS-422A RS-422A RS-422A
RS-485 RS-485 RS-485 RS-485 RS-485
Chapter 2-1-3
Basic Introduction on Power Supply

S/N Product Qty


1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Temperature Controller: E5CC 1
5 RS232C (Male to Male) 1
6 USB plug Connector 1
7 Wires A few
Chapter 2-1-3i
The Complete Power Supply Family
Chapter 2-1-4
Basic Introduction on E5CC

S/N Product Qty


1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Temperature Controller: E5CC 1
5 RS232C (Male to Male) 1
6 USB plug Connector 1
7 Wires A few
Chapter 2-1-4i
E5CC- Digital Temperature Controller
Chapter 2-1-5
Wires and cables for connection

S/N Product Qty


1 PLC: CP1E-N30S1 1
2 NB: NB10W-TW01B 1
3 Power Supply: S8JX-G03524CD 1
4 Temperature Controller: E5CC 1
5 RS232C (Male to Male) 1
6 USB plug Connector 1
7 Wires A few
Chapter 2-1-5i
Communication Cable

RS232C (Male to Male) USB plug Connector


HMI PLC

HMI /
PLC PC

XW2Z-200T
Chapter 2-2
How are we going to connect the
components?

Answer: Just follow the wiring diagram


Chapter 2-2-1
Hardware Wiring

Connect to
DC 24V

USB cable from PC


(CX-Programmer)

Connect to HMI
E5CC
using RS232 cable

PLC B+ to E5CC Terminal 13


Connect to PLC A- to E5CC Terminal 14
AC 230V

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 3

Press for 1 sec and Press for up or down to Press and go to


go to STEP 2 ON the Communication home screen
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Protocol Setting
Step 1 Step 2 Step 3 Step 4

Press for up/down to Press and go to


Press for 3 sec and Press for 1 sec and
select FINS STEP 8
go to STEP 5 go to STEP 6
Communication

• Communication Baud Rate Setting • Communications Unit No. Setting


Step 2 Step 1 Step 1

Set Communication Baud


Press for 1 sec and
rate to 57.6 (57600bps) Communication Unit
go to STEP 10
set to ‘0’
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Send Data Wait Time Setting • Highest Communication Unit No. Setting

Step 1 Step 2
Step 1 Step 2

Press for 1 sec and Set it to ‘0’ as its the


Press and go to Set it to ‘1’ (1ms delay go to only E5CC unit
Send Data Wait Time feedback)

• Move out From Setting level


Step 2 Step 1

Home Screen Press and go to


home screen
Chapter 2-3-1
Communication & Parameter Setting for E5CC
• Unlock Operation & Initial Setting
Step 1 Step 2 Step 3 Step 4

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

• Set Auxiliary output for Alarm 1 & Alarm 2

Step 4 Step 3 Step 2 Step 1

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

Step 1 Step 2 Step 3 Step 4

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

• Set Alarm Type for Alarm 1

Step 4 Step 3 Step 2 Step 1

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

Step 1 Step 2 Step 3

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.

• Program-less communication enables monitoring and changing of settings


for CP1E is simply by reading and writing into PLC memory.

• Designing and work hours spent for the programming of communication


with PLC during the setup is significantly reduces with program-less
communications.
Chapter 2-4
How to read E5CC value from PLC?

Answer: Using PLC’s Data Memory Area


Chapter 2-4-1
What will we learn in this topic
• Understand
– The feature of CX-Programmer (For PLC)
• Learn how to use DM area for communication from PLC to E5CC
– Set up communication between PLC and HMI
– Set up communication between PLC and E5CC
Chapter 2-4-2
Setup CX-Programmer
• Basic Feature of a CX-Programmer

Toolbar
Project
Workspace

Diagram
Workspace

Status Bar
Chapter 2-4-2
Setup CX-Programmer

• Create PLC type


Step Description Chapter 2
1 Click New icon to create PLC
program.

New

2 Select the correct PLC

Select
CP1E
Chapter 2-4-2
Setup CX-Programmer

• Create PLC type


Step Description Chapter 2
3 Choose the correct CPU type

PLC type will


New be display

4 Select USB to download/upload

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

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
Chapter 2-4-2
Setup CX-Programmer
• Set the PLC setting to the same as the E5CC
Step Description COMPOWAY
1 Double click on the Setting

2 PLC Setting pop-up appear, click on


Serial Option Port tab to set the
Communications Setting Type Set
Baud 57600 bps
Format 7, 2, E
Mode Host Link
Chapter 2-4-2
Setup CX-Programmer
• Set the PLC setting to the same as the NB HMI
Step Description Transfer Program
1 Download program to PLC
1. Click PLC tab > Transfer >
Transfer [PC ->PLC]
2. Ctrl + T
3. 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.

• 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

6 All Data Memory data appear


Chapter 2-4-3
DM Areas to Read E5CC Data
• Refer to Communication Manual

D0003=Status (Upper Word)


D0007 = Process Value
D0004=Status (Lower Word)
D0008=Internal Set Point

S/N Explanation Communications Manual


1 Data Memory Allocation function (All
Area are FIXED)
• D0007=Process Value
• D0008=Internal Set Point
• D0003=Status (Upper Word)
• D0004=Status (Lower Word)

Refer to H175-E1-05 Communications


Manual, Page 6-29
Chapter 2-5
How to NB HMI read E5CC Data?

Answer: We need to use NB Designer to read


E5CC data value
Chapter 2-5-1
What will we learn in this topic
• Understand
– the feature of NB Designer (For NB HMI)
– The setting for NB HMI
– How to create link from main page to motor page
– How to create button activate the motor
– Set up communication between PLC and HMI
Chapter 2-5-2
Setup NB Designer
• Basic Feature of a NB Designer
Title
Menu
Toolbar

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

2 Create the project name and click ok

Name the Project you desire


(EX.Chapter_Demo)

Choose the location


of the project
Chapter 2-5-2
Setup NB Designer
• Create software connection
Step Description Connection
1 to 3
Step 1: Select the HMI
Here is where you get
NB10W-TW01B cos the
your HMI, PLC and
hardware is NB10W-
Connector
TW01B

Step 1
Step 2

Step 2: Select the PLC


OMRON CP1H/L/E cos
the hardware is CP1E

Step 3

Step 3: Select Serial Port


cos we be using RS232
Cable
Chapter 2-5-2
Setup NB Designer
• Start up
Step Description Connection
1

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)

Default Setting, changes if necessary


Chapter 2-5-2
Setup NB Designer
• Method of downloading the drawing to NB
– Download way
– System Manager
Chapter 2-5-2
Setup NB Designer
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-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

• Read data from E5CC will be using these I/O


address stated below:
Name Address
PV Display D7
SV Display D8
Chapter 2-5-4
Create E5CC PV & SV Display
• Create Present Value(PV) Display
Step Description PV Display
1 Under Basic Attributes tab

Data
Memory 7
(D7)

2 Click on Numeric Data tab


Setting
Chapter 2-5-4
Create E5CC PV & SV Display
• Create Present Value(PV) Display
Step Description PV Display
3 Click on Graphic tab

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)

2 Click on Numeric Data tab


Setting
Chapter 2-5-4
Create E5CC PV & SV Display
• Create Set Value(SV) Display
Step Description SV Display
3 Click on Graphic tab

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

2 You can see the Present Value and Set


value display on the NB HMI
Chapter 2-5-6
View Reading of PV & SV
• Changing Speed by entering value
E5CC View HMI View

Step 3: STOP button


can still stop drive in
either mode

The Set value from


the E5CC data
display on the HMI

Press up to increase the


Set value (SV) to 30
Chapter 2-5-7
Address for E5CC Control Status
• Refer from the manual
Upper Word Lower Word

S/N Explanation Table


1 Status
• There are 3 status set for the E5CC
but we be using 2:
• Status (Upper Word)
• Status (Lower Word)
Chapter 2-5-7
Address for E5CC Control Status
• Refer from the manual
Upper Word

S/N Explanation Table


2 Upper Word Status
• We be using D0003 and if we want
to do a stop button we will use
D3.08
• In the manual, RUN/STOP is 24 but
1 word is 16 bits and there no 24 in
1 word so we take 16-31 and
change it to 0-15 and from there,
we assign the bit
Chapter 2-5-7
Address for E5CC Control Status
• Refer from the manual
Lower Word

S/N Explanation Table


2 Lower Word Status
• We be using D0004 and if we want
an alarm 1 to activate, we will use
D4.12
Chapter 2-5-8
Create E5CC Alarm 1 Status
• Create E5CC Status (Alarm 1)
Step Description Alarm 1 Status
1 Under Basic Attributes tab

2 Click on Bit State Lamp tab


Chapter 2-5-8
Create E5CC Alarm 1 Status
• Create E5CC Status (Alarm 1)
Step Description Alarm 1 Status
3 Click Tag tab

Name the
Indicating Lamp

4 Click on Graphics tab

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

4 Click on Bit State Lamp tab


Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description STOP Button
5 Click on Graphics tab
Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description STOP Button
6 Click on Control Setting, at the Touching Enable
Setting

Using Register to control the button.


(Ex. If D16.00 is ‘ON’, then the STOP
button is able to click)

7 At Control Register, Set to D16.00

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 Click on Bit State Lamp tab


Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description RUN Button
3 Click on Tag tab, Name the button “RUN”

4 Font Size and color


Chapter 2-5-10
Create Stop & Run Button
• Create STOP and RUN button for the E5CC
Step Description RUN Button
5 Click on Graphics tab
Chapter 2-5-10
Create Stop & Run 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

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

2 You can see the Status of the E5CC on


the NB HMI display
Chapter 2-5-11i
Status between E5CC with HMI
• Changing Speed by entering value
E5CC View HMI View

E5CC currently in
RUN mode, Output
Control is active

You can see that the


OUT1 is activated

Step 2: You can see that the


Output Control is OFF

Step 1: Press Stop to stop the Step 3: You can see


E5CC Output Control that the OUT1 is OFF
and STOP is
activated
Chapter 2-6
Writing to E5CC using NB Designer
Chapter 2-6-1
Write SV Values to E5CC
• Write data will be using these I/O address stated
below:
Name Address
Change SV value D17
Chapter 2-6-1
Write SV Values to E5CC
• Create SV Number Input
Step Description SV Number Input
1 Under Basic Attributes tab, enter address ‘D17’

2 Click on Numeric Data tab

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’

5 Click on Numeric Data tab

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’

8 Click on Numeric Data tab

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”

2 Click on Bit State Switch tab

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

4 Click on Graphic tab

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

6 The Register that control is W16.00 which the


communication is ON

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

2 Writing Address using D15

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’

4 Click on Tag tab to name the button

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

6 Click on Control Setting tab, Set conditional


Enabling

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

Step Description HMI View


1 Click on the Chapter 2-1 to go Frame 12

2 Next slide show the result


Chapter 2-6-5i
E5CC with HMI
• 2 method of writing Set value to E5CC through NB HMI

HMI View E5CC View

Method 1: Clicking on the


display input, tenkey pad pop-
up appear for you to key in the
value
(Ex. We key in 50)

Method 2: Clicking on the plus


or minus button to
increase/decrease the value
(Ex. We key in 50)
Chapter 2-6-5i
E5CC with HMI
• We will write Set value to E5CC through NB HMI

HMI View E5CC View

Step 1: Press Write


Value button

The value have been


overwritten to the E5CC

The value have been


overwritten to the E5CC
from 30 to 50
Chapter 2-6-5i
E5CC with HMI
• We will Read Set value from E5CC to NB HMI

E5CC View HMI View

Let Decrease the set value


(SV) from E5CC
(Ex. Decrease value to 30.0)

Step 1: Press Read


Value button
Chapter 2-6-5i
Compare E5CC and HMI
• We will Read Set value from E5CC to NB HMI

E5CC View HMI View

Step2: Value from the E5CC will


send to NB HMI display
(Ex. Display value 30)
Chapter 2-7
Create E5CC’s Alarm 1 And Alarm 2 in NB
Designer
Chapter 2-7-1
Create Alarm1 Setting input
• Create Alarm 1 Setting
Step Description Alarm 1 (SUB1)
1 Under Basic Attributes tab, enter address ‘D21’

Create Alarm 1 Display

2 Click on Numeric tab


Chapter 2-7-1
Create Alarm1 Setting input
• Create Alarm 1 Setting
Step Description Alarm 1 (SUB1)
3 Click on Graphics tab
Chapter 2-7-2
Create Alarm2 Setting input
• Create Alarm 2 Setting
Step Description Alarm 2 (SUB2)
1 Under Basic Attributes tab, enter address ‘D25’

2 Click on Numeric tab

Create Alarm 2 Upper Limit


Chapter 2-7-2
Create Alarm2 Setting input
• Create Alarm 2 Setting
Step Description Alarm 2 (SUB2)
3 Click on Graphics tab
Chapter 2-7-2
Create Alarm2 Setting input
• Create Alarm 2 Setting
Step Description Alarm 2 (SUB2)
4 Under Basic Attributes tab, enter address ‘D26’

5 Click on Numeric tab

Create Alarm 2 Lower Limit


Chapter 2-7-2
Create Alarm2 Setting input
• Create Alarm 2 Setting
Step Description Alarm 2 (SUB2)
6 Click on Graphics tab
Chapter 2-7-3
Download to NB
1. Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
2. Click download to download the drawing

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

2 Next slide show the result


Chapter 2-7-4i
Compare E5CC and HMI
• Function of Alarm 1 (SUB1)
HMI View E5CC View

Key in value ‘1’


(This mean that PV must not be
more than the Set Value by ‘1’)

You need to click on Write


value button as to transfer
the setting to E5CC
Chapter 2-7-4i
Compare E5CC and HMI
• Function of Alarm 1 (SUB1)
HMI View E5CC View

Value for the SV and PV


is the same so the Alarm
1 sill not be activate

Alarm 1 (SUB1) is not


activate as PV is not
higher than SV by ‘1’

Value for the SV is higher


then the PV by ‘1’, so Alarm 1
activate and Output Control
de-activated
Alarm 1 (SUB1) is
activated as PV is higher
than SV by ‘1’
Chapter 2-7-4i
Compare E5CC and HMI
• Function of Alarm 2 (SUB2)
HMI View E5CC View

Key in value for upper limit and


lower limit range
(Ex. Upper = 5.0 and Lower is 5.0)

You need to click on Write


value button as to transfer
the setting to E5CC
Chapter 2-7-4i
Compare E5CC and HMI
• Function of Alarm 2 (SUB2)
HMI View E5CC View

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)

3 View form Toolbar


Frame has
be added
once click
OK in Step 2
Chapter 2-8-1
Create a New Frame Page and Link
• Create a button to go to Frame13
Step Description Chapter 4-1 Button
1 Function Key tab

2 Click on Tag tab Click and drag the icon


Check Use Tag to display and do the setting,
text on the icon after finishes the
setting, click to the
When it not activate is location you desire.
state 0, display text

3 Click on Graphic tab

Select the design


of the button
Chapter 2-8-2
Create Trend Curve Graph
• Create Trend Graph to view PV and SV value
Step Description Trend Graph
1 Under Basic Attributes tab, enter address ‘D7’
for PV
Chapter 2-8-2
Create Trend Curve Graph
• Create Trend Graph to view PV and SV value
Step Description Trend Graphic
2 Under Trend Graphics tab
1st: Set this to enable SCROL

2nd : 2 signal

3 Under Control Register Setting, Check Pause-


Clear as to pause the trend graphic

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

Word length is 3 so if the


specified register is LW90
then LW90, LW91 and LW92
will be the current browsing
index value

5 Check Time is to save the time of the trend


graph
For Starting point is “LW30,
LW31, LW32, LW33, LW34,
LW35” respectively, and the
“Second, Minute, Hour,
Day, Month, Year”

For the end point is “LW36,


LW37, LW38, LW39, LW40,
LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Create Trend Graph to view PV and SV value
Step Description Trend Graphic
6 Click Channel tab to add 2 trends graphic

Set min = 0 and max = 50

7 Click Extended Attributes tab to change the


line & columns and the color of the trend
Chapter 2-8-2
Create Trend Curve Graph
• Create Trend Graph to view PV and SV value
Step Description Trend Graphic
8 Click Save Historical Data tab then check on
the Save to External Device.

Save the Data to the


Subdirectory(Folder )
Chapter 2-8-2
Create Trend Curve Graph
• Create Pause button for trend graph
Step Description Pause Button
1 Click Basic Attribute tab to add address

2 Click Bit State Switch tab to make the button


toggle
Chapter 2-8-2
Create Trend Curve Graph
• Create Pause button for trend graph
Step Description Pause Button
3 Click Tag tab to name the button

4 Click Graphics tab to Select the button design


Chapter 2-8-2
Create Trend Curve Graph
• Create Scroll bar to scroll back
Step Description Trend Graphic
1 Click Basic Attribute tab to add address
Chapter 2-8-2
Create Trend Curve Graph
• Create Scroll bar to scroll back
Step Description Trend Graphic
2 Click Scroll Bar tab, at background Image

We will be
selecting
DIS_BAR002.vg
(You can get
more image at
Import Image)

3 Button Image is to color the scrolling button

We will be selecting button2-04.bg


(You can get more image at Import Image)
Chapter 2-8-2
Create Trend Curve Graph
• Create Scroll bar to scroll back
Step Description Trend Graphic
4 Click Scroll Bar Extended Attributes tab as to
set the scrolling distance
Select Slider
Width and set
the distance
you required

5 Variable Max/Min Value

When register is LW90, LW91 and LW92 will be


the current browsing index value, the starting
browsing index value and the maximum browsing
index value of Scroll Bar respectively. This option
is valid only when “Multiple pages” is selected.
“SCRO” can be used to browse the multiple Trend
Curves and can be in combination with the Scroll
Bar.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Trend Graphic
1 Create a background graphic by drawing a
rectangle

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 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Second)
3 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Minutes)
4 Under Basic Attributes tab as to set the
scrolling distance

5 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Minutes)
6 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Hour)
7 Under Basic Attributes tab as to set the
scrolling distance

8 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create start display 1st
Step Description Timing (Hour)
9 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point
in the current page is “LW30, LW31, LW32, LW33,
LW34, LW35” respectively, and the “Second, Minute,
Hour, Day, Month, Year” for the end point is “LW36,
LW37, LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let insert ‘:’ in between hour & minutes and minutes & second
Step Description Insert ‘:’
10 • Click Text at the toolbar, Text Attribute
pop-up appear.
• At the content, type ‘:’ and click ok. Place
it between hour & minutes and minutes &
second
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Second)
1 Under Basic Attributes tab as to set the
scrolling distance

2 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Second)
3 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Minutes)
4 Under Basic Attributes tab as to set the
scrolling distance

5 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Minutes)
6 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Hour)
7 Under Basic Attributes tab as to set the
scrolling distance

8 Click Numeric Data tab, value is up to 59 as it


seconds is from 0-59

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let create END display timing
Step Description Timing (Hour)
9 Click Font tab as change color and size

When the specified address is LW30, the “Second,


Minute, Hour, Day, Month, Year” for the start point in
the current page is “LW30, LW31, LW32, LW33, LW34,
LW35” respectively, and the “Second, Minute, Hour,
Day, Month, Year” for the end point is “LW36, LW37,
LW38, LW39, LW40, LW41” respectively.
Chapter 2-8-2
Create Trend Curve Graph
• Let insert ‘:’ in between hour & minutes and minutes & second
Step Description Insert ‘:’
10 • Click Text at the toolbar, Text Attribute
pop-up appear.
• At the content, type ‘:’ and click ok. Place
it between hour & minutes and minutes &
second
Chapter 2-8-3
Download to NB
1. Click Tools at toolbar, click Compile to compile the drawing first, if there
no problem carry on the next step.
2. Click download to download the drawing

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

2 Next slide show the result


Chapter 2-8-4i
E5CC with HMI
• Monitor PV and SV trend graph
HMI View E5CC View

The PV and SV display

The time value display The time value display


show the starting of the show the current timing
NB HMI

The PV and SV display

Scrolling is unable to sc
Chapter 2-8-4ii
Review previous trending
• Review previous trend or previous page
HMI View E5CC View

1st: Click on the Pause button


to pause the on going trending

2nd: Scroll left to view newest


trend graph and right to
earliest trend graph

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?

Answer: From the USB Flash Drive


Chapter 2-9-1
Read Trend Graph Data from USB Flash Drive
• From the USB Flash Drive
Step Description USB Flash Drive
1 Unplug the USB Drive from the NB HMI

2 Plug in the USB Drive to the PC, go to my


computer to find the USB Flash Drive
Chapter 2-9-1
Read Trend Graph Data from USB Flash Drive
• From the USB Flash Drive
Step Description USB Flash Drive
3 Double click on the USB Flash Drive and double
click on trend folder

4 Double click on Historytrend folder and you will


see the CSV file of the trend curve with the
name of “YYYYMMDD” format
Chapter 2-9-1
Read Trend Graph Data from USB Flash Drive
• From the USB Flash Drive
Step Description USB Flash Drive
5 Double click on the csv file, excel will activate
and the file will open in encrypted format

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

2 Pop-up Open appear. At Look in, look for


Computer > Find USB Flash Drive
Chapter 2-9-2
Decrypt the CSV file
• 2 Method to NBManager
Step Description Timing (Second)
3 • Click on the CSV file of the trend curve
with the name of “YYYYMMDD” format.
• Click OPEN

4 Pop-up message appear informing Decrypte


success
Chapter 2-9-2
Decrypt the CSV file
• 2 Method to NBManager
Step Description Timing (Second)
5 Go to Computer > Double click on the USB
Flash Drive

6 Double click on Trend > Double click on


HistoryTrend

After Decrypted the file


name remain the same
with ‘_new’ to it
Chapter 2-9-2
Decrypt the CSV file
• From the USB Flash Drive
Step Description Timing (Second)
7 Double click on the csv file, excel will activate
and the file will open in decrypted format

Now detail is readable


Chapter 2-9-3
Create Historical Data Display
• Let create background for the Date and Time
Step Description Date
1 At the Filling sector, change the background
color of your liking. Place the background
(Ex. For this project, we be using white color) here
Chapter 2-9-3
Create Historical Data Display
• Let create Date display
Step Description Date
2 Under Time tab, check on the Display Date >
set it to ‘YY*MM*DD’ format and the Date Place the Date/Time
Separator ‘/’. here

Want to view what We want to view the full


day is it? Just check on display of the year so by
the ‘Display Week’ checking on the ‘Year 4-digit
Display’

Normally, Date/Time can be put together but


for this case, we separate it
Chapter 2-9-3
Create Historical Data Display
• Let create Time display
Step Description Time
3 Under Time tab, check on the Display Time >
set it to ‘HH*MM*SS’ format and the Date Place the Date/Time
Separator ‘/’. here

Want to view timing in


AM and PM format?
Check on this

Normally, Date/Time can be put together but


for this case, we separate it
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
1 Under Basic Attributes tab, fill in the Address
‘D7’
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
2 Click on Display Properties tab, select 2
channel as we going to get 2 data. From “D7
and D8’

3 Check on ‘Historical Data Query’, Key in the


Address ‘D100’
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
4 Click on Background Attribute tab

2nd : Select Time sampling 1st: Select continue as


as we are getting sample we want to keep
every cycle reading data

3rd: Select how many 4th : Select how many


sample you want cycle within a time
every cycle frame
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
5 Click on Channel Properties tab

1st: Set the data 2nd : Set the 4th : Set to


type to 16-bit minimum 2 integer as
signed value 2 digit only

3rd : Set the


maximum
value
Chapter 2-9-3
Create Historical Data Display
• Create Historical Data Display
Step Description Display
6 Click on Save historical Data tab

1st: Set the data type to


16-bit signed

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

Name the Channel 0 as


PV as it start from D7

This show the Name the Channel 1 as


sequence in SV as it start from D8
the display
Chapter 2-9-3
Create Historical Data Display
• Create Query By Date function with
Step Description Date
1 Under Basic Attributes tab, set address to
‘D100’

2 Click on Numeric Data


1 word = 4 digit
Value is 8 as the date 2 word = 8 digit
is 8 digit ‘yyyymmdd’
Chapter 2-9-3
Create Historical Data Display
• Create Query By Date function with
Step Description Date
3 Click Graphics tab and select DISP_Bar002.vg
Chapter 2-9-4
Safety Remove USB flash Drive

• Let create safety remove button


Step Description Date
1 Under Basic Attributes tab, select System
Register and choose LB9154

2 Click on Bit State Switch tab, select Toggle


Chapter 2-9-4
Safety Remove USB flash Drive

• Let create safety remove button


Step Description Date
3 Click Tag tab

1st: Set the data type to


16-bit signed

4 Click on Graphics

1st: Set the data type to


16-bit signed
Chapter 2-9-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-9-6
NB Display
• Test it out
Step Description HMI View
1 Click on the Chapter 2-2 to go Frame 13

2 Next slide show the result


Chapter 2-9-6i
Is it safe to remove USB Flash Drive?
• Let try safety remove USB Flash Drive
HMI View HMI Hardware

Click on the button to


safety remove the USB
Flash Drive

Click on the button to


safety remove the USB
Flash Drive

This mean that the USB


Flash Drive is removed
Chapter 2-9-6ii
How to view previous data?
• Let try to view previous data
HMI View HMI Hardware

Type in the date that you want


to view the past data
(Ex. Let view 20130530 data)

Insert the USB Flash


Drive to the HMI

The data on the previous


day will be display
Information

• 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!

S-ar putea să vă placă și