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 2-1-1 Basic Introduction on NB HMI 2-1-1i The Complete CP1E-N[]S1 Family 2-1-2 Basic Introduction on NB HMI 2-1-2i The Complete HMI Family 2-1-3 Basic Introduction on Power Supply 2-1-3i The Complete Power Supply Family 2-1-4 Basic Introduction on E5CC 2-1-4i E5CC- Digital Temperature Controller 2-1-5 Wires and cables for connection 2-1-5i Communication Cable Chapter 2-3 Setup For E5CC to communicate with PLC & NB HMI 2-3-1 Communication & Parameter Setting for E5CC Chapter 2-4 How to read E5CC value from PLC? 2-4-1 What will we learn in this topic 2-4-2 Setup CX-Programmer 2-4-3 DM Areas to Read E5CC Data Chapter 2-5 How to NB HMI read E5CC Data? 2-5-1 What will we learn in this topic 2-5-2 Setup NB Designer 2-5-3 Set up I/O list for PV & SV Reading 2-5-4 Create E5CC PV & SV Display
Chapter 2-2 How are we going to connect the components? 2-2-1 Hardware Wiring
Content Page
Chapter 2-5 How to NB HMI read E5CC Data? 2-5-5 Download to NB 2-5-6 View Reading of PV & SV 2-5-7 Address for E5CC Control Status 2-5-8 Create E5CC Alarm 1 Status 2-5-9 Create E5CC Status 2-5-10 Create Stop & Run Button 2-5-11 NB Display 2-5-11i Status between E5CC with HMI Chapter 2-6 How are we going to connect the components? 2-6-1 Write SV Values to E5CC 2-6-2 Create Write Values Button 2-6-3 Create Read Values Button 2-6-4 Download to NB 2-6-5 NB Display 2-6-5i E5CC with HMI Chapter 2-7 Create E5CCs Alarm 1 And Alarm 2 in NB Designer 2-7-1 Create Alarm1 Setting input 2-7-2 Create Alarm2 Setting input 2-7-3 Download to NB 2-7-4 NB Display 2-7-4i Compare E5CC and HMI Chapter 2-8 Compare E5CC and HMI 2-8-1 Create a New Frame Page and Link 2-8-2 Create Trend Curve Graph 2-8-3 Download to NB 2-8-4 NB Display 2-8-4i E5CC with HMI 2-8-4ii Review previous trending
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 1
2 3 4 5 6
Product PLC: CP1E-N30S1
NB: NB10W-TW01B Power Supply: S8JX-G03524CD Temperature Controller: E5CC RS232C (Male to Male) USB plug Connector
Qty 1
1 1 1 1 1
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
1 PLC: CP1E-N30S1
Product NB: NB10W-TW01B
Power Supply: S8JX-G03524CD Temperature Controller: E5CC RS232C (Male to Male) USB plug Connector
Qty
1
2
3 4 5 6
1
1 1 1 1
Wires
A few
Chapter 2-1-2i The Complete HMI Family
HMI
NB3QTW00B RS-232C RS-422A RS-485 NB3QTW01B USB Memory 10/100 base-T RS-232C RS-422A RS-485 NB5QTW00B NB5QTW01B USB Memory 10/100 base-T RS-232C RS-232C RS-422A RS-485 NB7WTW01B USB Memory 10/100 base-T RS-232C RS-232C RS-422A RS-485
Model Memory interface Ethernet
NB7W-TW00B -
NB10W-TW01B USB Memory 10/100 base-T
Serial (COM1)
RS-232C RS-232C RS-422A RS-485
RS-232C RS-232C RS-422A RS-485
RS-232C RS-232C RS-422A RS-485
Serial (COM2)
Chapter 2-1-3 Basic Introduction on Power Supply
S/N
1 2 PLC: CP1E-N30S1 NB: NB10W-TW01B
Product
Qty
1 1
3
4 5 6
Power Supply: S8JX-G03524CD
Temperature Controller: E5CC RS232C (Male to Male) USB plug Connector
1
1 1 1
Wires
A few
Chapter 2-1-3i The Complete Power Supply Family
Chapter 2-1-4 Basic Introduction on E5CC
S/N
1 2 PLC: CP1E-N30S1 NB: NB10W-TW01B
Product
Qty
1 1
Power Supply: S8JX-G03524CD
4
5 6
Temperature Controller: E5CC
RS232C (Male to Male) USB plug Connector
1
1 1
Wires
A few
Chapter 2-1-4i E5CC- Digital Temperature Controller
Chapter 2-1-5 Wires and cables for connection
S/N
1 2 PLC: CP1E-N30S1 NB: NB10W-TW01B
Product
Qty
1 1
3
4
Power Supply: S8JX-G03524CD
Temperature Controller: E5CC
1
1
5 6
RS232C (Male to Male) USB plug Connector
1 1
Wires
A few
Chapter 2-1-5i Communication Cable
RS232C (Male to Male)
HMI PLC
USB plug Connector
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 using RS232 cable
E5CC
Connect to AC 230V
PLC B+ to E5CC Terminal 13 PLC A- to E5CC Terminal 14
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 go to STEP 2
Press for up or down to ON the Communication
Press and go to home screen
Chapter 2-3-1 Communication & Parameter Setting for E5CC
Protocol Setting
Step 1 Step 2 Step 3 Step 4
Press
for 3 sec and go to STEP 5
Press
for 1 sec and go to STEP 6
Press for up/down to select FINS Communication
Press
and go to STEP 8
Communication Baud Rate Setting
Step 2
Step 1
Communications Unit No. Setting
Step 1
Set Communication Baud rate to 57.6 (57600bps)
Press for 1 sec and go to STEP 10
Communication Unit set to 0
Chapter 2-3-1 Communication & Parameter Setting for E5CC
Send Data Wait Time Setting
Step 1 Step 2
Highest Communication Unit No. Setting
Step 1 Step 2
Press and go to Send Data Wait Time
Set it to 1 (1ms delay feedback)
Press
for 1 sec and go to
Set it to 0 as its the only E5CC unit
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 for 3 sec and go to STEP 18
Press and go to Initial Setting/communication protect
Set it to 0 as we dont need any restrict movement to the initial Setting
Press and together for 1 sec and go home screen
Set Auxiliary output for Alarm 1 & Alarm 2
Step 4 Step 3
Step 2 Step 1
Press until Auxiliary Output 1 Assignment (SUB1)
Press for up/down to -169 for Alarm 1
Press until Advance Function Setting Level
Press for 3 sec for 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 when Alarm 1 activate, SUB1 activate
Press until Auxiliary Output 2 Assignment (SUB2)
Press for up/down to ALM2 for when Alarm 1 activate, SUB2 activate
Press for 3 sec and go to home screen
Set Alarm Type for Alarm 1
Step 4 Step 3 Step 2 Step 1
Press
until Alarm type 2
Press for up/down to 2 for Alarm 1
Press
until Alarm 1
Press
for 3 sec 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 1 for Alarm 2
Press
until leave Setting Level
That all for the setting 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 PLCs 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
Click New icon to create PLC program.
New
Select the correct PLC
Select CP1E
Chapter 2-4-2 Setup CX-Programmer
Create PLC type
Step
3
Description
Choose the correct CPU type
Chapter 2
New
PLC type will be display
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
1
Description
Double click on the Setting
Serial COM (RS232C)
PLC Setting pop-up appear, click on Built-in RS232C Port tab to set the Communications Setting
Type Baud Format Mode 7, 2, E
Set 115200 bps Host Link
Chapter 2-4-2 Setup CX-Programmer
Set the PLC setting to the same as the E5CC
Step
1
Description
Double click on the Setting
COMPOWAY
PLC Setting pop-up appear, click on Serial Option Port tab to set the Communications Setting
Type Baud Format Mode
Set 57600 bps 7, 2, E Host Link
Chapter 2-4-2 Setup CX-Programmer
Set the PLC setting to the same as the NB HMI
Step
1
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. Click OK!
Transfer Program
Chapter 2-4-3 DM Areas to Read E5CC Data
Checking E5CC data link to which DM area
Step
1
Description
In CX-Programmer, change it to online mode
CX-Programmer
Go to Memory
Click here
Chapter 2-4-3 DM Areas to Read E5CC Data
Checking E5CC data link to which DM area
Step
3
Description
PLC Memory pop-up appear, click D which is Data Memory
CX-Programmer
Data Memory
Click Monitor
Click
Chapter 2-4-3 DM Areas to Read E5CC Data
Checking E5CC data link to which DM area
Step
5
Description
Monitor Memory Areas pop-up appear, click monitor
CX-Programmer
Click Monitor
All Data Memory data appear
Chapter 2-4-3 DM Areas to Read E5CC Data
Refer to Communication Manual
D0003=Status (Upper Word) D0004=Status (Lower Word)
D0007 = Process Value D0008=Internal Set Point
S/N
1
Explanation
Data Memory Allocation function (All Area are FIXED) D0007=Process Value D0008=Internal Set Point D0003=Status (Upper Word) D0004=Status (Lower Word)
Communications Manual
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 Component library window HMI edit window
Compile information window
Component list window
Project structure window
State toolbar
Chapter 2-5-2 Setup NB Designer
Create New Project
Step
1
Description
File > New(N) or Ctrl + N to create new project
Connection
Click to Create New project
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
1 to 3
Step 1: Select the HMI NB10W-TW01B cos the hardware is NB10WTW01B Here is where you get your HMI, PLC and Connector
Description
Connection
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
1
Description
Connection
Right click on the NB and click Edit to start
Chapter 2-5-2 Setup NB Designer
Setup Communication Setting
Step
1
For CP1E, the Baud rate read either 57600 or 115200 (Ex. For this case, use 115200)
Description
Connection
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. 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 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
Word Data Memory Data Memory
Address
W11 W19 D200 D299 D0 D99
Read data from E5CC will be using these I/O address stated below:
Name
PV Display SV Display
Address
D7 D8
Chapter 2-5-4 Create E5CC PV & SV Display
Create Present Value(PV) Display
Step
1
Description
Under Basic Attributes tab
PV Display
Data Memory 7 (D7)
Click on Numeric Data tab
Setting
Chapter 2-5-4 Create E5CC PV & SV Display
Create Present Value(PV) Display
Step
3
Description
Click on Graphic tab
PV Display
Data Memory 7 (D7)
Chapter 2-5-4 Create E5CC PV & SV Display
Create Set Value(SV) Display
Step
1
Description
Under Basic Attributes tab
SV Display
Data Memory 8 (D8)
Click on Numeric Data tab
Setting
Chapter 2-5-4 Create E5CC PV & SV Display
Create Set Value(SV) Display
Step
3
Description
Click on Graphic tab
SV Display
Data Memory 8 (D8)
Chapter 2-5-5 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 2-5-6 View Reading of PV & SV
Run and Test
Step
1
Description
Click on the Chapter 2-1 to go Frame 12
HMI View
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
1
Explanation
Status There are 3 status set for the E5CC but we be using 2: Status (Upper Word) Status (Lower Word)
Table
Chapter 2-5-7 Address for E5CC Control Status
Refer from the manual
Upper Word
S/N
2
Explanation
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
Table
Chapter 2-5-7 Address for E5CC Control Status
Refer from the manual
Lower Word
S/N
2
Explanation
Lower Word Status We be using D0004 and if we want an alarm 1 to activate, we will use D4.12
Table
Chapter 2-5-8 Create E5CC Alarm 1 Status
Create E5CC Status (Alarm 1)
Step
1
Description
Under Basic Attributes tab
Alarm 1 Status
Click on Bit State Lamp tab
Chapter 2-5-8 Create E5CC Alarm 1 Status
Create E5CC Status (Alarm 1)
Step
3 Click Tag tab
Description
Alarm 1 Status
Name the Indicating Lamp
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
1
Description
The address is stated below Alarm 2
Example
Output Control
Communication
Stop
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
1
Description
Under Basic Attributes tab
Explanation on the next few slide
STOP Button
Setting Mode
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
3 Click on Tag tab
Description
STOP Button
Click on Bit State Lamp tab
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
5
Description
Click on Graphics tab
STOP Button
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
6
Description
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)
STOP Button
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
1
Description
Under Basic Attributes tab
RUN Button
Click on Bit State Lamp tab
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
3
Description
Click on Tag tab, Name the button RUN
RUN Button
Font Size and color
Chapter 2-5-10 Create Stop & Run Button
Create STOP and RUN button for the E5CC
Step
5
Description
Click on Graphics tab
RUN Button
Chapter 2-5-10 Create Stop & Run Button
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 2-5-11 NB Display
Test the E5CC Status
Step
1
Description
Click on the Chapter 2-1 to go Frame 12
HMI View
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 E5CC Output Control
Step 3: You can see 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
Change SV value
Address
D17
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
1
Description
Under Basic Attributes tab, enter address D17
SV Number Input
Click on Numeric Data tab
Setting
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
3
Description
Click on Graphics tab
SV Number Input
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
4
Description
Under Basic Attributes tab, enter address D17
SV Add
Click on Numeric Data tab
Setting
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
6
Description
Click on Graphic tab
SV Add
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
7
Description
Under Basic Attributes tab, enter address D17
SV Subtract
Click on Numeric Data tab
Setting
Chapter 2-6-1 Write SV Values to E5CC
Create SV Number Input
Step
9
Description
Click on Graphic tab
SV Subtract
Chapter 2-6-2 Create Write Values Button
Create Send Values button
Step
1
Description
Under Basic Attributes tab, enter address D15.00
SV Number Input
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
3
Description
Click on tag tab to name the Button
SV Number Input
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
5
Description
Click on Control Setting tab, Set condition that when the register the activated the button can be press
SV Number Input
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
1
Description
Under Basic Attributes tab, Component List will be Multiple State Setting
Read Values Button
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
3
Description
Setting Mode set as constant and value is 2
Read Values Button
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
5
Description
Click on Graphics tab
Read Values Button
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
7
Description
Enter the Register to control the button, D16.00 bit
Read Values Button
This is to enable the Data to be Read from E5CC
Chapter 2-6-4 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 2-6-5 NB Display
Testing Write and Read Values
Step
1
Description
Click on the Chapter 2-1 to go Frame 12
HMI View
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 popup 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 E5CCs Alarm 1 And Alarm 2 in NB Designer
Chapter 2-7-1 Create Alarm1 Setting input
Create Alarm 1 Setting
Step
1
Description
Under Basic Attributes tab, enter address D21
Alarm 1 (SUB1)
Create Alarm 1 Display
Click on Numeric tab
Chapter 2-7-1 Create Alarm1 Setting input
Create Alarm 1 Setting
Step
3
Description
Click on Graphics tab
Alarm 1 (SUB1)
Chapter 2-7-2 Create Alarm2 Setting input
Create Alarm 2 Setting
Step
1
Description
Under Basic Attributes tab, enter address D25
Alarm 2 (SUB2)
Click on Numeric tab
Create Alarm 2 Upper Limit
Chapter 2-7-2 Create Alarm2 Setting input
Create Alarm 2 Setting
Step
3
Description
Click on Graphics tab
Alarm 2 (SUB2)
Chapter 2-7-2 Create Alarm2 Setting input
Create Alarm 2 Setting
Step
4
Description
Under Basic Attributes tab, enter address D26
Alarm 2 (SUB2)
Click on Numeric tab
Create Alarm 2 Lower Limit
Chapter 2-7-2 Create Alarm2 Setting input
Create Alarm 2 Setting
Step
6
Description
Click on Graphics tab
Alarm 2 (SUB2)
Chapter 2-7-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 2-7-4 NB Display
Test it out
Step
1
Description
Click on the Chapter 2-1 to go Frame 12
HMI View
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
1
Description
Go to Toolbar
Click on the Add Window icon
New Frame
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)
New Frame being created
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
1
Description
Function Key tab
Chapter 4-1 Button
Click on Tag tab
Check Use Tag to display text on the icon When it not activate is state 0, display text
Click and drag the icon and do the setting, after finishes the setting, click to the location you desire.
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
1
Description
Under Basic Attributes tab, enter address D7 for PV
Trend Graph
Chapter 2-8-2 Create Trend Curve Graph
Create Trend Graph to view PV and SV value
Step
2
Description
Under Trend Graphics tab
1st: Set this to enable SCROL
Trend Graphic
2nd : 2 signal
Under Control Register Setting, Check PauseClear 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
4
Description
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
Trend Graphic
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
6
Description
Click Channel tab to add 2 trends graphic
Trend Graphic
Set min = 0 and max = 50
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
8
Description
Click Save Historical Data tab then check on the Save to External Device.
Trend Graphic
Save the Data to the Subdirectory(Folder )
Chapter 2-8-2 Create Trend Curve Graph
Create Pause button for trend graph
Step
1
Description
Click Basic Attribute tab to add address
Pause Button
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
3
Description
Click Tag tab to name the button
Pause Button
Click Graphics tab to Select the button design
Chapter 2-8-2 Create Trend Curve Graph
Create Scroll bar to scroll back
Step
1
Description
Click Basic Attribute tab to add address
Trend Graphic
Chapter 2-8-2 Create Trend Curve Graph
Create Scroll bar to scroll back
Step
2
Description
Click Scroll Bar tab, at background Image
Trend Graphic
We will be selecting DIS_BAR002.vg (You can get more image at Import Image)
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
4
Description
Click Scroll Bar Extended Attributes tab as to set the scrolling distance
Select Slider Width and set the distance you required
Trend Graphic
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
1
Description
Create a background graphic by drawing a rectangle
Trend Graphic
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
1
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Second)
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
3
Description
Click Font tab as change color and size
Timing (Second)
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
4
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Minutes)
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
6
Description
Click Font tab as change color and size
Timing (Minutes)
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
7
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Hour)
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
9
Description
Click Font tab as change color and size
Timing (Hour)
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
10
Description
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
Insert :
Chapter 2-8-2 Create Trend Curve Graph
Let create END display timing
Step
1
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Second)
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
3
Description
Click Font tab as change color and size
Timing (Second)
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
4
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Minutes)
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
6
Description
Click Font tab as change color and size
Timing (Minutes)
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
7
Description
Under Basic Attributes tab as to set the scrolling distance
Timing (Hour)
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
9
Description
Click Font tab as change color and size
Timing (Hour)
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
10
Description
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
Insert :
Chapter 2-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 2-8-4 NB Display
Test Trend Graph Function
Step
1
Description
Click on the Chapter 2-2 to go Frame 13
HMI View
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 show the starting of the NB HMI
The time value display show the current timing
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
1
Description
Unplug the USB Drive from the NB HMI
USB Flash Drive
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
3
Description
Double click on the USB Flash Drive and double click on trend folder
USB Flash Drive
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
5
Description
Double click on the csv file, excel will activate and the file will open in encrypted format
USB Flash Drive
Detail unreadable
Chapter 2-9-2 Decrypt the CSV file
2 Method to NBManager
Method 1
At the toolbar, click on Tools > System Manager > Decompile Operate
Method 2
Click on Start > All Programs > scroll to Omron folder > NB Designer > Tools > NBManager
Chapter 2-9-2 Decrypt the CSV file
2 Method to NBManager
Step
1
Description
Click on the Decrypte Historic Data File at Decrypte Operation
Timing (Second)
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
3
Description
Click on the CSV file of the trend curve with the name of YYYYMMDD format. Click OPEN
Timing (Second)
Pop-up message appear informing Decrypte success
Chapter 2-9-2 Decrypt the CSV file
2 Method to NBManager
Step
5
Description
Go to Computer > Double click on the USB Flash Drive
Timing (Second)
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
7
Description
Double click on the csv file, excel will activate and the file will open in decrypted format
Timing (Second)
Now detail is readable
Chapter 2-9-3 Create Historical Data Display
Let create background for the Date and Time
Step
1
Description
At the Filling sector, change the background color of your liking. (Ex. For this project, we be using white color)
Place the background here
Date
Chapter 2-9-3 Create Historical Data Display
Let create Date display
Step
2
Description
Under Time tab, check on the Display Date > set it to YY*MM*DD format and the Date Separator /.
Place the Date/Time here
Date
Want to view what day is it? Just check on the Display Week
We want to view the full display of the year so by 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
3
Description
Under Time tab, check on the Display Time > set it to HH*MM*SS format and the Date Separator /.
Time
Place the Date/Time 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
1
Description
Under Basic Attributes tab, fill in the Address D7
Display
Chapter 2-9-3 Create Historical Data Display
Create Historical Data Display
Step
2
Description
Click on Display Properties tab, select 2 channel as we going to get 2 data. From D7 and D8
Display
Check on Historical Data Query, Key in the Address D100
Chapter 2-9-3 Create Historical Data Display
Create Historical Data Display
Step
4
Description
Click on Background Attribute tab
Display
2nd : Select Time sampling as we are getting sample every cycle
1st: Select continue as we want to keep reading data
3rd: Select how many sample you want every cycle
4th : Select how many cycle within a time frame
Chapter 2-9-3 Create Historical Data Display
Create Historical Data Display
Step
5
Description
Click on Channel Properties tab
Display
1st: Set the data type to 16-bit signed
2nd : Set the minimum value
4th : Set to 2 integer as 2 digit only
3rd : Set the maximum value
Chapter 2-9-3 Create Historical Data Display
Create Historical Data Display
Step
6
Description
Click on Save historical Data tab
1st: Set the data type to 16-bit signed
Display
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
7
Description
Click on Title bar Properties tab
Display
Name the Channel 0 as PV as it start from D7
This show the sequence in the display
Name the Channel 1 as SV as it start from D8
Chapter 2-9-3 Create Historical Data Display
Create Query By Date function with
Step
1
Description
Under Basic Attributes tab, set address to D100
Date
Click on Numeric Data
Value is 8 as the date is 8 digit yyyymmdd 1 word = 4 digit 2 word = 8 digit
Chapter 2-9-3 Create Historical Data Display
Create Query By Date function with
Step
3
Description
Click Graphics tab and select DISP_Bar002.vg
Date
Chapter 2-9-4 Safety Remove USB flash Drive
Let create safety remove button
Step
1
Description
Under Basic Attributes tab, select System Register and choose LB9154
Date
Click on Bit State Switch tab, select Toggle
Chapter 2-9-4 Safety Remove USB flash Drive
Let create safety remove button
Step
3 Click Tag tab
1st: Set the data type to 16-bit signed
Description
Date
Click on Graphics
1st: Set the data type to 16-bit signed
Chapter 2-9-5 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 2-9-6 NB Display
Test it out
Step
1
Description
Click on the Chapter 2-2 to go Frame 13
HMI View
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.omronap.com/admin/access_download.asp?from=pdf_E5CC&catlvl=78&to=H175&product_m odel=E5CC&open=0
END of Chapter 2
Thank you!