NB To CP1E-N S1 To E5CC TEMP Controller With NB
NB To CP1E-N S1 To E5CC TEMP Controller With NB
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
Qty 1
1 1 1 1 1
Wires
A few
Qty
1
2
3 4 5 6
1
1 1 1 1
Wires
A few
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
NB7W-TW00B -
Serial (COM1)
Serial (COM2)
Product
Qty
1 1
3
4 5 6
1
1 1 1
Wires
A few
Product
Qty
1 1
4
5 6
1
1 1
Wires
A few
Product
Qty
1 1
3
4
1
1
5 6
1 1
Wires
A few
HMI / PLC
PC
XW2Z-200T
Chapter 2-2
How are we going to connect the components? Answer: Just follow the wiring diagram
E5CC
Connect to AC 230V
Connect to COM1
Connect to DC 24V
Chapter 2-3
Setup For E5CC to communicate with PLC & NB HMI
Press
Press
Press
Press
and go to STEP 8
Press
Home Screen
Press for up/down to ALM1 for when Alarm 1 activate, SUB1 activate
Press for up/down to ALM2 for when Alarm 1 activate, SUB2 activate
Press
Press
until Alarm 1
Press
Press
Chapter 2-4
How to read E5CC value from PLC?
Status Bar
Select CP1E
Description
Choose the correct CPU type
Chapter 2
New
Select USB
Description
Double click on the Setting
PLC Setting pop-up appear, click on Built-in RS232C Port tab to set the Communications Setting
Description
Double click on the Setting
COMPOWAY
PLC Setting pop-up appear, click on Serial Option Port tab to set the Communications Setting
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
Description
In CX-Programmer, change it to online mode
CX-Programmer
Go to Memory
Click here
Description
PLC Memory pop-up appear, click D which is Data Memory
CX-Programmer
Data Memory
Click Monitor
Click
Description
Monitor Memory Areas pop-up appear, click monitor
CX-Programmer
Click Monitor
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
Chapter 2-5
How to NB HMI read E5CC Data?
State toolbar
Description
File > New(N) or Ctrl + N to create new project
Connection
Description
Connection
Step 1 Step 2
Step 2: Select the PLC OMRON CP1H/L/E cos the hardware is CP1E Step 3
Description
Connection
Description
Connection
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
Description
Under Basic Attributes tab
PV Display
Description
Click on Graphic tab
PV Display
Description
Under Basic Attributes tab
SV Display
Description
Click on Graphic tab
SV Display
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
The Set value from the E5CC data display on the HMI
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
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
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
Description
Under Basic Attributes tab
Alarm 1 Status
Description
Alarm 1 Status
Description
The address is stated below Alarm 2
Example
Output Control
Communication
Stop
Description
Under Basic Attributes tab
Explanation on the next few slide
STOP Button
Setting Mode
Description
STOP Button
Description
Click on Graphics tab
STOP Button
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
Description
Under Basic Attributes tab
RUN Button
Description
Click on Tag tab, Name the button RUN
RUN Button
Description
Click on Graphics tab
RUN Button
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
Step 3: You can see that the OUT1 is OFF and STOP is activated
Chapter 2-6
Writing to E5CC using NB Designer
Address
D17
Description
Under Basic Attributes tab, enter address D17
SV Number Input
Description
Click on Graphics tab
SV Number Input
Description
Under Basic Attributes tab, enter address D17
SV Add
Setting
Description
Click on Graphic tab
SV Add
Description
Under Basic Attributes tab, enter address D17
SV Subtract
Setting
Description
Click on Graphic tab
SV Subtract
Description
Under Basic Attributes tab, enter address D15.00
SV Number Input
Setting
Description
Click on tag tab to name the Button
SV Number Input
Description
Click on Control Setting tab, Set condition that when the register the activated the button can be press
SV Number Input
Description
Under Basic Attributes tab, Component List will be Multiple State Setting
Description
Setting Mode set as constant and value is 2
Description
Click on Graphics tab
Description
Enter the Register to control the button, D16.00 bit
Description
Click on the Chapter 2-1 to go Frame 12
HMI 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)
Let Decrease the set value (SV) from E5CC (Ex. Decrease value to 30.0)
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
Description
Under Basic Attributes tab, enter address D21
Alarm 1 (SUB1)
Description
Click on Graphics tab
Alarm 1 (SUB1)
Description
Under Basic Attributes tab, enter address D25
Alarm 2 (SUB2)
Description
Click on Graphics tab
Alarm 2 (SUB2)
Description
Under Basic Attributes tab, enter address D26
Alarm 2 (SUB2)
Description
Click on Graphics tab
Alarm 2 (SUB2)
Description
Click on the Chapter 2-1 to go Frame 12
HMI 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
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
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
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
Description
Go to Toolbar
Click on the Add Window icon
New Frame
Pop-up appear
Frame Name start from Frame10 as Frame 1 to 9 is used for special window. (Name can be change)
Description
Function Key tab
Click and drag the icon and do the setting, after finishes the setting, click to the location you desire.
Description
Under Basic Attributes tab, enter address D7 for PV
Trend Graph
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
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
Description
Click Channel tab to add 2 trends graphic
Trend Graphic
Click Extended Attributes tab to change the line & columns and the color of the trend
Description
Click Save Historical Data tab then check on the Save to External Device.
Trend Graphic
Description
Click Basic Attribute tab to add address
Pause Button
Description
Click Tag tab to name the button
Pause Button
Description
Click Basic Attribute tab to add address
Trend Graphic
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)
We will be selecting button2-04.bg (You can get more image at Import Image)
Description
Click Scroll Bar Extended Attributes tab as to set the scrolling distance
Select Slider Width and set the distance you required
Trend Graphic
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.
Description
Create a background graphic by drawing a rectangle
Trend Graphic
Geographic Figure
Create a background Let choose white line and white background color
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
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 :
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
Description
Under Basic Attributes tab as to set the scrolling distance
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.
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.
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 :
Description
Click on the Chapter 2-2 to go Frame 13
HMI View
Scrolling is unable to sc
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?
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
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
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
Detail unreadable
Method 2
Click on Start > All Programs > scroll to Omron folder > NB Designer > Tools > NBManager
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
Description
Click on the CSV file of the trend curve with the name of YYYYMMDD format. Click OPEN
Timing (Second)
Description
Go to Computer > Double click on the USB Flash Drive
Timing (Second)
After Decrypted the file name remain the same with _new to it
Description
Double click on the csv file, excel will activate and the file will open in decrypted format
Timing (Second)
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
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
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
Normally, Date/Time can be put together but for this case, we separate it
Description
Under Basic Attributes tab, fill in the Address D7
Display
Description
Click on Display Properties tab, select 2 channel as we going to get 2 data. From D7 and D8
Display
Description
Click on Background Attribute tab
Display
Description
Click on Channel Properties tab
Display
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
Description
Click on Title bar Properties tab
Display
Description
Under Basic Attributes tab, set address to D100
Date
Description
Click Graphics tab and select DISP_Bar002.vg
Date
Description
Under Basic Attributes tab, select System Register and choose LB9154
Date
Description
Date
Click on Graphics
1st: Set the data type to 16-bit signed
Description
Click on the Chapter 2-2 to go Frame 13
HMI View
Type in the date that you want to view the past data (Ex. Let view 20130530 data)
Information
END of Chapter 2
Thank you!