You are on page 1of 192

NB in One Day

24 hours

6 HandsOn
18 Homework
Index

• NB Features
• Hardware
• NB-Designer
• Communication
• Security
• Memory
• Design
• PLC Parts
• Function Parts
• Project Database
• Nice to know
• Configuration Examples

2 Omron Europe
NB Features

The NB series comprises small and


low-cost touch panels ranging in size
from 3 inches to 10 inches. These are
best for controllers that have a small
number of discrete components and
integrate various functions (micro
controllers).

3 Omron Europe
NB Features

Beautiful colors Intelligence


65K colors, TFT LCD with long-life
Use standard C-Language macros
(50,000H) LED backlight

Connectivity Memory
Communicate to different device simultaneously 1G bits of FROM for screens and required content
with 2 built in com ports
NB5
128MB
RS232
NB7

RS232/422/485
0M 20M 40M 60M 80M 100M 120M 140M

4
NB Features

Wide Display
USB Interface
Wide display of 800 x 480 offers 25% more
display area. Standard USB cable for program transfer.
Memory stick for Data retrieval and recipe storing.
640x480 dpi

N 800x480 dpi

3D Icons Library
Rich library of built in parts with industrial icons.
Support *bmp, *jpeg, *png and gif.

5
NB = Quality
• Backlight lifetime: 50.000 hours/5,7 years
• Resolution 7/10 inch: 800 x 480 dots
• Memory: 128 MB (about 120 MB for screen data)
• Viewing angle NB5: R/L65°, T45°, B65°
• Viewing angle NB7: R/L70°, T70°, B60°
• Power consumption NB500B/01B: 6W/10W
• Power consumption NB700B/01B: 7W/11W
• Obtained standards: EC Directives, cUL508, CE
• Enclosure rating: IP65 (front side)
• Line voltage: 20.4 to 27.6 VDC (24 VDC −15 to 15%)
• Noise immunity: Compliant with IEC61000-4-4, 2KV (Power cable)
• Ambient operating temperature: 0 to 50 °C
• Ambient operating humidity: 10% to 90% RH (without condensation)
• Battery lifetime: 5 years (at 25 °C)

6 Omron Europe
NB Features
Model NB3Q-TW00B NB3Q-TW01B NB5Q-TW00B NB5Q-TW01B NB7W-TW00B NB7W-TW01B NB10W-TW01B
Screen Size 3.5" TFT LCD 3.5" TFT LCD 5.6" TFT LCD 5.6" TFT LCD 7" TFT LCD 7" TFT LCD 10.1" TFT LCD
Display Resolution 320x240 320x240 320x234 320x234 800 x 480 800 x 480 800x480
Display Colors 65,536
Backlight LED
Backlight lifespan 50,000 hours of operating time at the normal temperature (25°C)
Operating
temperature 0 - 50 °C / 10% to 90% RH (without condensation)
USB, USB, USB, USB,
USB stick, USB stick, USB stick, USB stick,
Program Transfer USB Ethernet USB Ethernet USB Ethernet Ethernet
Functional Specifications

USB Port (2.0 Full


speed) Slave Host, Slave Slave Host, Slave Slave Host, Slave Host, Slave
Ethernet 10/100 Ethernet 10/100 Ethernet 10/100
Ethernet 10/100 COM1: RS232 COM1: RS232 COM1: RS232 COM1: RS232 COM1: RS232
COM1: COM1: COM2: COM2: COM2: COM2: COM2:
Com Interface RS232/422/485 RS232/422/485 RS232/422/485 RS232/422/485 RS232/422/485 RS232/422/485 RS232/422/485
Omron C/CJ/CS/CP series: Host Link
Modbus RTU, Modbus Slave, Modbus Extend, Modbus TCP, Modbus ASCII
Siemens S7-200/300/400, Mitsubishi FX/Q, Panasonic FP, Schneider Midicon/Twido, Delta DVP, LG(LS) LS
Supported PLCs NB-Designer version 1.2 and higher: Allen-Bradley (Rockwell) AB, GE Fanuc Automation GE
Battery Built-in. (5 years lifespan at 25°C)
Application Memory 128MB (including system area)
Rated Voltage 20.4 to 27.6 VDC (24 VDC -15 to +15%)
Power Consumption
(24VDC) 5W 9W 6W 10W 7W 11W 14W
Cut out size 119.0x93.0mm 172.4x131.0mm 192x137mm 258.0x200.0mm
Panel color Black
IP Rating Front operation part: IP65 (Dust proof and drip proof only from the front of the panel
Obtained standards EC Directives, KC, cUL508
Software package NB Designer (NB5Q-TW01B and NB7W-TW01B version 1.10 and higher, NB3Q-TW_B and NB10W-TW01B version 1.20 and higher)
Software

Macro Function Supported. Standard C Library


Number of pages >200 pages
Program size 120Mb
Simulation Supported

7 Omron Europe
NB Model

Model name standard

Type name standard

Model/Type name standard

8 Omron Europe
Omron technology

NB series are manufactured in the same Omron factory, with the same
technology processes and infrastructure as our highly reliable PLCs and
Sensors.

Hardware OMS China, Software Kinco


9 Omron Europe
Hardware

10 Omron Europe
Hardware: DIP Switch

• NB5Q/NB7W only has 2 switches SW1 and SW2, while for the
NB3Q and NB10W, there are totally 4 DIP switches, and for all
models, SW1 and SW2 feature the same functions. The settings and
corresponding operating modes are as follows:

• As mentioned above, the settings and corresponding operating


modes of the switches SW1 and SW2 of NB3Q and NB10W are the
same as those of NB5Q/NB7W (see the table above), and the
functions of SW3 and SW4 of NB3Q and NB10W are stated as
below:

11 Omron Europe
Hardware: DIP Switch

• System Setting Mode: The PT will be launched into a built-in system


setup screen, and is subject to the user for brightness, system time
and buzzer settings.
• Calibrate Mode: When the user touches the panel, a symbol “+” will
pop up on the screen, with which the touch control precision level
can be calibrated.
• Downloader Mode: This is used for basic operations such as
updating the firmware, downloading and uploading the user’s
engineering documents, etc. and this mode is not intended for
general users.
• User Project Mode: This is the User Project Mode of NB-Series PTs.
The PT will display the startup screen of the project already
downloaded.

12 Omron Europe
Hardware: RS-232C

COM1(NB5Q/NB7W/NB10W) is a 9-pin D-type socket port. This port


supports RS-232C communication function, making it connectable to a
controller which features RS-232C function, and it can also be used for
downloading programs or debugging for the product. The pins are
defined as follows:

(*) Pins 4 and 5 are not used, thus not compliant with RS or CS functions.

13 Omron Europe
Hardware: RS-232C/RS-485/RS-422A

COM2 (NB3Q/NB5Q/NB7W/NB10W) is a 9-pin D-type socket port. This


port supports RS-232C/RS-485/RS-422A communication function. The
pins are defined as follows:

14 Omron Europe
Hardware: Ethernet 10/100 base-T

NB*-TW01B is equipped with Ethernet Interface, which is adaptive RJ-


45 type interface with the transmission rate of 10M / 100M. It can be
connected with PC to perform the uploading and downloading of the
programs and the system refreshing, and can also be used to realize
the communication with the controller supporting the Ethernet
communication. And its pins are defined as follows:

15 Omron Europe
Hardware: USB HOST

NB*-TW01B is equipped with USB HOST port, which is USB A-type


port. Through this port, USB memory can be connected to perform
uploading, downloading, project operation and storage of related data.
And its pins are defined as follows:

16 Omron Europe
Hardware: USB SLAVE

USB SLAVE port is USB B-type port, which can connect the USB port
on PC side to perform the uploading, downloading and debugging of the
programs for the product. And its pins are defined as follows:

17 Omron Europe
Hardware: USB (i.e. *-TW01B)

• Download via USB Disk; When the project is too large, it can be directly downloaded to the
external storage device to operate.
• Using Picture From Extended Memory; NB-Designer also supports the bitmap data directly calling
the pictures from the external memory in order to save the memory space of the HMI.
• Data Encryption; For the data stored in the external memory - USB disk, data encryption function
can be used to limit the user to make modification, editing and so on to the data files in CSV
format.
• Historical Event Storage
• Save Screenshot to The Extended Memory

18 Omron Europe
Hardware: Download to USB1 (i.e. *-TW01B)

When the project is too large, it can be directly downloaded to the


external storage device to operate. During the download, check the
[Download to USB1] in [Select Section] option in the [NBDownload]
dialog box, as shown below:

Direct operation of the project in the external storage device is only applicable to the HMI supporting the external storage device.
The project directly copied into the external storage device doesn’t work.
Directly removing the external storage device during the operation is not permissible, otherwise it will cause the project operating abnormally.

19 Omron Europe
Hardware: USB (i.e. *-TW01B)

• When the state of the specified register turns ON from OFF, the
content of the current screen will be stored into the external memory
in the form of “bmp picture”, thus making the operation screen of HMI
viewed conveniently

“Save Screenshot to The Extended Memory” is only applicable to the HMI with USB HOST. Function of “Save Screenshot to The Extended
Memory” supports the offline simulation, indirect online simulation and direct online simulation. All the screenshot pictures got by this simulation
method are stored in the “\disk\usb1\scr” file under the installation directory of NB-Designer software.
After the “Save Screenshot to The Extended Memory” operation is performed for about 1 minute, the external storage device can be removed to
ensure the successful storage of the screenshot.

20 Omron Europe
Hardware: USB PictBridge

• PictBridge is an industry standard introduced in 2003 from the


Camera & Imaging Products Association (CIPA) for direct printing. It
allows images to be printed directly from digital cameras to a printer,
without having to connect the camera to a computer. Its formal name
is “Standard of Camera & Imaging Products Association CIPA DC-
001 — 2003 Digital Solutions for Imaging Devices”. CIPA DC-001-
2003 Rev. 2.0 has been published in 2007.

21 Omron Europe
NB-DESIGNER

22 Omron Europe
NB-Designer Design Window:
The window is used for designing images and setting
the communication method between the HMI and
PLC.
Toolbar:
Displaying icons for common functions. The function names will be indicated when
Project Files Window:
the cursor is put on related icons. The toolbar contains sub-toolbars for basic
The Window adopts a tree structure to show the correlations between
functions, such as drawing, position, system, page up/down, database, compilation
the project-related touch panel and macro files & BMP files.
and debugging, etc.

Graph Element Window:


The Graph Element Window contains: Communication Connection, Project Structure Window:
HMI, PLC, PLC Parts, Function Parts and Project Database. The Window adopts a tree structure chart to show the relations of the
PLC, HMI, internal windows and components of the HMI in the whole
project.
Message Window:
Displaying the compilation process of a project State Bar:
and providing compilation error information. Displaying information such as the current
cursor position, the width/height of the
23 target object and the editing state, etc. Omron Europe
NB-Designer
Project files are created

Drag and drop the NB on the Design window

Project structure is created

24 Omron Europe
NB-Designer

Drag and drop the CP1


on the Design window

25 Omron Europe
NB-Designer

Drag and drop the Connection on the Design


window. Move the ‘ends’ to the NB and the
CP1L to create a hardware connection.

26 Omron Europe
NB-Designer

Simple double click on


the Unit for the settings

27 Omron Europe
NB-Designer

First Screen appears ‘0:Frame0’

Click on the HMI structure

28 Omron Europe
NB-Designer: Start Menu & Help

NB-Designer
Release Notes
Sample Program
NBManager
RecipeEditor

29 Omron Europe
Communication

30 Omron Europe
Download with NB-Designer

• Connect NB (USB or Ethernet)


• SW1+SW2; OFF (User Project Mode)
• Start NB-Designer
• Create or open the Program
• Compile the Program
• Select the Download way (USB or IP address)
• Click on the Download
• Select the Project file and Download

31 Use a shielded USB cable: CP1W-CN221


Omron Europe
Download with NB-Manager
NBManager is a tool managing the whole NB-Designer software, which includes 6 operates, i.e.
Download Operate, Upload Operate, System Operate, Get Version, Decompile Operate and Pass
Through communication.

• Connect NB
• SW1+SW2; OFF (User Project Mode)
• Start NBManager
• Set Communication Type
• Select Download User Data
• Select file (must be Compiled)

32 Use a shielded USB cable: CP1W-CN221


Omron Europe
Upload with NBManager

• Connect NB (USB or Ethernet)


• Set Communication Type
• SW1+SW2; OFF (User Project Mode)
• Start NBManager
• Password ‘888888’ (Default)

33 Use a shielded USB cable: CP1W-CN221


Omron Europe
Connecting to Host Via Ethernet

Connecting PT Directly to the Host


• Connect the NB to the host using twisted-pair cable.

Connecting PT to Host with a Hub


• Multiple NBs and hosts can be connected using twisted-pair cable
and a hub.

34 Omron Europe
Connecting to Host Via Ethernet

The Ethernet FINS communication for NB series products is only limited


the local network, but the Ethernet communication cross the network
segment is allowable with the prerequisite of using the router. That’s to
say, the supported FINS network is only limited to the local network, but
the various devices in the network can be cross the network segment.
Please take the following architecture as reference.

35 Omron Europe
Pass Through Communication

• Pass Through Communication supported by NB-Designer currently


refers to the pass through communication function applicable to the
Serial Connection. The connection is as shown below.

COM2

COM1: RS232C

USB / Ethernet

36 Omron Europe
Pass Through Communication
• Set NB settings for COM1 and COM2 (example with CP1L / CP1W-CIF01)
• Start NBManager
• Select USB or Ethernet port as the control type of pass through. Serial port doesn’t support the pass through
communication. USB or ETN port is used to control the start and end of the pass through communication.
• Set the Source port and Destination port
• Start pass through communication
• Click on Auto Online in CX-Programmer

37 Omron Europe
Simulation
Programming efficiency is improved as you can preview project and
check operation with NB-Designer. (NB is not needed. ) Significant
download time can be saved because download of project is not
required.

Offline Simulation
Editing effect can be previewed visually without
connecting to PLC.

Direct Online Simulation


Same operation as NB can be simulated on PC.
RS-232C
PC is connected to PLC with RS-232C.
CS/CJ Series

Indirect Online Simulation


Same operation as NB can be simulated on PC.
PC is connected to PLC via NB.
USB / RS-232C RS-232C

NB becomes SIMULATION MODE during Indirect Online


Simulation, and SIMULATION MODE is displayed on Screen. NB Series CS/CJ Series

38
Security

39 Omron Europe
Security

The difference between User permissions and User levels:

• User levels: there is a difference between high-level users and low-


16 level users – high-level users can access low-level windows, while
low-level users can not access high-level windows. Whole windows
can be encrypted based on user levels.
• User permissions: user permissions are not restricted by user levels.
32 As long as the user’s name and password are input correctly, the
component which is set limited for access to it can be operated. With
the user permission, user accounts can be added or deleted. User
permissions only work on components, and has nothing to do with
the window password.

40 Omron Europe
Security: User Permissions

The software opens 32 users and 32 operation permissions for free use.
The users and operation permission can be set separately, and the
operation permission is not limited to the users. And the online user
addition/deletion and permission modification can be done in the HMI.
The default valid time of user permission is 10 minutes. After 10
minutes, this user permission will be automatically cancelled, and the
operation permission can be obtained by inputting the password again.

41 Omron Europe
Security: User Permissions

Checking this option means the Login Window 9 will pop up


automatically for the user to input the password for convenient login
when the security level or the permission of the current user doesn’t
meet the requirement of the set level or authority.

Only “****” will be displayed and all the values to be read are hidden, and it is used to input the password.

42 Omron Europe
Security: Security Levels

The security level is classified into 16 levels (0 to 15). One 8-digit


number password can be set for each level at the request of the users,
and the greater the level number, the higher the level. 15-level is the
highest and 0-level is the lowest. When the security level is 0, it means
no password. And 0 can’t be used for setting password. The default
security level is 3.

43 Omron Europe
Security: Security Levels

Checking this option means the Password Input Window Frame 6 will
pop up automatically for the user to input the password.

Only “****” can be displayed and all the values to be read are hidden, and it is used to input the password.

44 Omron Europe
Security: Permission Control

Setting “Permission Control” for the component means only the user
having this operation authority can operate the component restricted by
this authority.

45 Omron Europe
Security: Permission Control & Security Levels

Checking this option means the Login Window 9 will pop up


automatically for the user to input the password for convenient login
when the security level or the permission of the current user doesn’t
meet the requirement of the set level or authority.

Only “****” can be displayed and all the values to be read are hidden, and it is used to input the password.

46 Omron Europe
Security: Project Opening Protection

• If a password is specified, it will be then requested at project opening:

• The password can be changed at any time:

47 Omron Europe
Security: Project Upload/Decompile Protection

• Upload Password
• Decomplation Password

NOTE: The default passwords are both 888888.

48 Omron Europe
Security: Operator Confirm

Checking this option means the Confirm Action window will pop up
automatically when the current component is touched, and the state
value can be written into the controller when “YES” is clicked, while the
operation will be cancelled automatically when the user have clicked
“Cancel” or haven’t confirmed “YES” after the set “wait[s]”is exceeded.

49 Omron Europe
Security: Button / Switch settings

To avoid operational error such as touching by mistake, Button/Switch


has the following options.
• Min Press Time(X100ms) … Touching is accepted only after pushing Button
consecutively for set time.
Accepted!!

40×100msec

Keep pushing Button


PUSH !

• Min Time Interval (Seconds) … Following touching is not accepted during set time
after accepting touching. Accepted!! Ignored Accepted!! IgnoredIgnored Accepted!! Ignored
Touching invalid period Touching invalid period Touching invalid period

2 seconds 2 seconds 2 seconds

PUSH !

50 Omron Europe
Memory

51 Omron Europe
Memory Area (Internal)

The internal nodes can be selected also. And the descriptions of


internal nodes are as follows:

52 Omron Europe
Memory Area (Internal)

• LB Refers to the local bit address of HMI. [NOT retentive].


• RB Refers to the absolute address of bit address saved in the recipe card, which can be saved
when the power is OFF. When the battery is dead in HMI, the data stored in the recipe card will be
lost.
• RBI Refers to the index address of bit address saved in the recipe card, which can be saved when
the power is OFF. When the battery is dead in HMI, the data stored in the recipe card will be lost.
• LW.B Refers to the bit address corresponding to the local word address of HMI. [NOT retentive].
• FRB Refers to the absolute address of bit address saved in Flash, which can be saved when the
power is OFF. When the battery is dead in HMI, the data saved in Flash will not be affected.
• FRBI Refers to the index address of bit address saved in Flash, which can be saved when the
power is OFF. When the battery is dead in HMI, the data saved in Flash will not be affected.
• LW Refers to the local bit address of HMI. [NOT retentive].
• RW Refers to the absolute address saved in the recipe card, which can be saved when the power
is OFF. When the battery is dead in HMI, the data stored in the recipe card will be lost.
• RWI Refers to the index address saved in the recipe card, which can be saved when the power is
OFF. When the battery is dead in HMI, the data stored in the recipe card will be lost.
• FRW Refers to the absolute address of word address saved in Flash, which can be saved when
the power is OFF. When the battery is dead in HMI, the data saved in Flash will not be affected.
• FRWI Refers to the index address of word address saved in Flash, which can be saved when the
power is OFF. When the battery is dead in HMI, the data saved in Flash will not be affected.

53 Omron Europe
Design

One screen can include Common Window, Basic Window and Fast
Selection Window while one Common Window or Basic Window can
include many pop-up windows. And the relationship between them is
shown as below.
Pop-up
window 1,2,3….

Common window

Bottom
window 1,2,3….

Fast selection
Screen window

Pop-up
window 1,2,3….

Basic window

Bottom
window 1,2,3….

54 Omron Europe
Design: Horizontal & Vertical

HMI Display Mode can be Horizontal or Vertical.

55 Omron Europe
Design: Task Bar

Determines whether to display the task bar or not. If the “Display Task
Bar” is selected, the task bar will be displayed at the bottom of the
screen.

56 Omron Europe
Design: Task Bar

Task Bar attributes:

- Touch Indicator: it changes its color when the screen is touched

- CPU Indicating Lamp: it shows the CPU usage condition in percentage

- Alarms Indicating Lamp: it’s a bar showing the ratio of the actual active
alarms to the total alarm number defined

- Fast Selection Window: Determines whether to include the Fast


Selection Window or not. Another option allows to show, in the Task Bar,
the Fast Selection Window button only

- Fonts, colors, size and text can be also defined:

57 Omron Europe
Design: Fast Selection Menu

Fast Selection Window is the window called by the operation buttons,


and it will be always displayed in the screen until the operation button
makes it hidden. Therefore, it can be used to put window-switching
button or some other common components. The default Fast Selection
Window is Frame 2. When the other window is set as Fast Selection
Window, the size of that window must be same as that of Fast Selection
Window.

58 Omron Europe
Design: Common Window

Common Window will always be displayed in the screen, and the


components to be displayed forever can be put in Common Window. In
this way, you can see the state of this component or operate this
component at any time. The default Common Window is Frame 1. You
can use [Change Common Window] function key to switch the other
window as the current Common Window, but only one window can be
used as the current Common Window.

59 Omron Europe
Design: Bottom Window

3 bottom windows (max.) can be set for the window in [Window


Attribute] dialog box. Bottom Window is generally used to put some
common components such as background graphics, charts and titles
and so on for the multiple components. Each window can be set as
Bottom Window. Bottom Window can be selected directly from the
[Bottom Window] option. Bottom Window is different from the general
window. The components in Bottom Window will be inserted into the
general window during the running, and in fact Bottom Window isn’t
displayed at all, but the display and control of its components are similar
to that of the components in the general window.

60 Omron Europe
Design: Component Tag

Tag refers to the text displayed in the surface of the components such
as switch, lamp or the other components.

61 Omron Europe
Design: Multi-Language

NB-Designer provides 3 available fonts, i.e. dot matrix font, graphics


font and vector font.

• Dot Matrix font saves the bitmap for each character of the required
Chinese character set. Each primitive (small picture) is spliced
together to form a character string when it is used.
• Graphics font treats the whole character string as a whole, and
intercepts the whole bitmap and saves it in the project. This method
can make full use of the fonts installed in Windows and the display
effect is good.
• Vector font. In NB-Designer, the software intercepts the characters
that are needed for or may be used by the user from the user-set
fonts through checking the setup of the user-set fonts, and then
makes them into very small TrueType font file (in ttf format) for the
slave unit to use.

62 Omron Europe
Design: Multi-Language & use of Vector font

Text Library

Using the text library can realize the reuse of the text and the multi-
language project. The operation instructions related to the font:

• Maximum language number setup The maximum language number


can be set up to 32. If the user doesn’t need so many languages, he
can set the maximum language number flexibly in order to save the
space.
• Default language font setup. The user can set the default font for
each language, and when the user uses the text library, he doesn’t
need to reselect the font each time. For some special languages
such as Russian, Korean and Japanese etc, the user can set their
corresponding fonts to achieve the better display effect.

63 Omron Europe
Design: Multi-Language

• The switching among the multiple languages can be realized by


modifying the value of special register, which refers to LW9130 in
NB-Designer.
• Each Language can use a different Font Attribute
• Text Library has the functions of importing & exporting the text in
CSV format, and it can be edited by EXCEL conveniently.

NOTE: After the .csv file is edited in excel file, be sure to save it as “Unicode Text
(*.txt)”. Change the extension of the file *.txt back into *.csv

64 Omron Europe
Design: Address Tag

• Address Tag is a useful address logon library, which prevents the


inconvenience resulting from repeated input of address, thus saving
a lot of time. As long as you have logged the address here, you can
use the address logged into the object library in any place where
“Use Address Tag” can be used.
• Address Tag Library has the functions of importing & exporting the
text in CSV format, and it can be edited by EXCEL conveniently.

After the .csv file is edited in excel file, be sure to save it as “Unicode Text (*.txt)”.
Change the extension of the file *.txt back into *.csv

65 Omron Europe
Design: Macro Function

• Macro is an advanced HMI control method, which makes the function


of the HMI more powerful. The HMI can have the same logic and
arithmetic functions with the PLC through the Macro programming.
Using Macro flexibly can realize more powerful functions that can not
be realized by the common component, and make the HMI more
perfect.
• NB-Series PT provides the new Macros different from the Macro
scripting language mode in the other HMIs, and the Macro is
compatible with the standard C language (ANSI C89) completely.

66 Omron Europe
Design: What can we do with Macros

1.Setting / reading value from/to inner (local) memory and Host memory
which can be accessed via com.driver
2.Calculation and judge each value and control the flow
3.Writing some graphic and pattern on NB screen
4.Using mathematic functions
• All grammar of programming language is the same as ANSI C(89). All arithmetical and logical operators, such as +, +=, ++, &, ~, etc. and
flow control, such as for, if, while, switch, and do..while., can be used as C language (2).
• Pointer also can be used but if it causes access violation to NB system, macro error has been appeared on the NB screen.
• Some functions and structured data are embedded for NB, such as memory access (1) and graphic drawing (3). These detail are
described in "NB-D operation manual" 3-9.
• And also one of the standard library "math.h" are embedded. It means following functions and macro/parameter can be used without
making by oneself.(4) for detail, please read some resource about C language such as,
http://en.wikipedia.org/wiki/Math.h#Overview_of_functions

67 Omron Europe
Design: Special Included Macro’s for NB
/* Special included functions for NB */ /* Functions for drawing on screen */ /* Functions for mathmatic calculation */
/* Please read "NB designer Operation manual" */ sin (double);
/* 3-6 "Macro Functions" */ DrawRect(x, y, w, h, pen, brh) cos (double);
DrawRndRect(x, y, w, h, radius, pen, brh) tan (double);
/* Functions for Accessing local (inner) memory */ DrawEclips(x, y, w, h, pen, brh) sinh (double);
DrawLine(x1, y1, x2, y2, pen) cosh (double);
ReadLocal(x1,x2,x3,x4,x5) DrawPolyg(pts, n, pen, brh) tanh (double);
WriteLocal(x1,x2,x3,x4,x5) DrawArc(x, y, w, h, start, end, pen) asin (double);
DrawPie(x, y, w, h, start, end, pen, brh) acos (double);
atan (double);
/* structure data format for drawing */ /* Standard Mathmatical functions */ atan2 (double, double);
/* Please read any resouce for C language */ exp (double);
typedef struct penparam /* "standard liblary" math.h */ log (double);
{ log10 (double);
short type; /* fixed parameter (double) */ pow (double, double);
short width; M_E 2.7182818284590452354 sqrt (double);
int color; M_LOG2E 1.4426950408889634074 ceil (double);
}PenParam; M_LOG10E 0.43429448190325182765 floor (double);
M_LN2 fabs (double);
typedef struct brushparam 0.69314718055994530942 ldexp (double, int);
{ M_LN10 frexp (double, int*);
2.30258509299404568402 modf (double, double*);
int type;
M_PI fmod (double, double);
int backColor;
3.14159265358979323846
int foreColor;
M_PI_2
}BrushParam; 1.57079632679489661923 isgreater(x, y)
M_PI_4 isgreaterequal(x, y)
typedef struct point 0.78539816339744830962 isless(x, y)
{ M_1_PI islessequal(x, y)
short x; 0.31830988618379067154 islessgreater(x, y)
short y; M_2_PI isunordered(x, y)
}Point; 0.63661977236758134308
M_2_SQRTPI 1.12837916709551257390
M_SQRT2
1.41421356237309504880
M_SQRT1_2 0.70710678118654752440 "macrotypedef.h" library

68 Omron Europe
PLC Parts

69 Omron Europe
PLC Parts: Bit State Objects

PLC Parts include three ‘Bit State’ objects:

- BIT STATE SETTING: Bit State Setting component defines one touching
area. When this area is activated, the bit address inside the HMI or in the
PLC can be switched to “On” or “Off” forcefully.

- BIT STATE LAMP: displays the On/Off state of bit address inside a
specified HMI or PLC device. The object graphics will follow the bit state.
If “Use Tag” is checked, the tag values corresponding to the different
states can be set and displayed

- BIT STATE SWITCH: it’s the combination of the Bit State Lamp and the
Bit State Setting component. It defines a touching area, and the bit
address inside the HMI or of the PLC can be switched between On and
Off state when this area is enabled. Read and write addresses can be
different

70 Omron Europe
PLC Parts: Bit State objects (common)

BASIC ATTRIBUTES:
The Basic Attributes tab allows to link PLC or HMI addresses to the
object:

When the Address Tag database has been filled, it is possible to use it
too.
71 Omron Europe
PLC Parts: Bit State objects (common)

TAG:
The Tag tab allows to specify the label written over the objects:

A Text Library is also available, for multi language projects

72 Omron Europe
PLC Parts: Bit State objects (common)

GRAPHICS:
The Graphics tab allows to specify the graphic aspect for each of the two
object states:

It is possible to chose between the System libraries and a custom library

73 Omron Europe
PLC Parts: Bit State objects (common)

DISPLAY SETTINGS:
The Display Setting tab allows to specify the Display control settings:

74 Omron Europe
PLC Parts: Bit State Setting

BIT STATE SETTING:


When the object is touched, the bit address specified into the Basic
Attributes tab, can be set to “On” or “Off” state, in according to the Type
specified in the Bit State Setting tab:

75 Omron Europe
PLC Parts: Bit State Lamp

BIT STATE LAMP:


The Bit State Lamp displays the On/Off state the bit address specified
into the Basic Attributes tab. The object graphics will follow the bit state.

The object supports different blinking types; the blinking rate set in the
“Rate” box is in unit of 100 ms (if the rate is set to 500 ms, both ON time
and OFF time of the Bit State Lamp are 500 ms.)

76 Omron Europe
PLC Parts: Bit State Switch

BIT STATE SWITCH:


When the object is touched, the bit address specified into the Basic
Attributes tab, can be switched “On” or “Off” state in according to the set
Switch Type setting (less switch types than the Bit State Setting types..).

Moreover, the read and the write addresses can be different [Basic
Attributes]:

77 Omron Europe
PLC Parts: Bit State Setting and Switch

CONTROL SETTINGS:
The Control Setting tab allows to specify the Enable, Security and Notify
settings:

- Min Press Time (x100ms): Refers to the minimum press time to


recognize the touching operation as valid
- Min Time Interval (seconds): Refers to the interval between 2 valid
touching operations for the same component, and the default is 0 s.

78 Omron Europe
PLC Parts: Direct Window

Direct Window can make a specified window pop up onto the current
screen.
Select the Popup Window

Window Size

Condition when the Window is Visible

There is no absolute limitation on the number of Direct Window. Maximum of 16 Direct Windows can be displayed simultaneously during operation.
The closing or opening of the Direct Window is only determined by the bit address of the [Read Address] that
control it, while Function Key can't be used to close it.
79 Omron Europe
PLC Parts: Multiple State Object

The Multiple State objects adopt the same concepts of the Bit State
objects, applied to words instead of bits.

- MULTIPLE STATE SETTING:

- MULTIPLE STATE DISPLAY:

- MULTIPLE STATE SWITCH:

Since words are involved, these objects provides higher functions (like
for example the JOG function)

80 Omron Europe
PLC Parts: Multiple State Setting

The Multiple State Setting object support many setting modes (but two
states only)

For the JOG options it is possible to set Delay Time and Step value

81 Omron Europe
PLC Parts: Multiple State (JOG Function)

• Set value can be added/subtracted to value of word address with set period while
Switch is pushed.
• Result never exceeds upper limit/lower limit.
• You can select whether to stop addition/subtraction (JOG++/JOG--) or to return from
upper limit to lower limit/from lower limit to upper limit to perform addition/subtraction
again (JOG++(Circle)/JOG--(Circle)) when value of word address reaches upper
limit/lower limit.

Example

Value of Write Address Addend : 1


This image cannot currently be display ed. This image cannot currently be display ed.
(1 - 2147483647) This image cannot currently be display ed. This image cannot currently be display ed. This image cannot currently be display ed. This image cannot currently be display ed.

Accepted!! Accepted!! Accepted!! Accepted!! Accepted!! Accepted!!

Delay Time JOG Speed JOG Speed JOG Speed JOG Speed

0.5 sec 0.1 sec 0.1 sec 0.1 sec 0.1 sec
(0.1-1.5 sec) (0.1-1.5 sec)

PUSH !

82 Omron Europe
PLC Parts: Multiple State Switch

The Multiple State Switch object support less control modes

But, the Multiple State Display object supports up to 256 different states!

When the object is touched,


the mapping data of the
corresponding state will be
written into the specified word
address. Write address can be
same or not same as the read
address

83 Omron Europe
PLC Parts: Scroll Bar

Scroll Bar is used to change the value in the specified word


register by pressing the slider.

From the Scroll Bar Tab, the following


features can be set:

1. Single or double word length


Word | Double Word

2. Direction
Left > Right | Right > Left | Up > Down | Down > Up

3. Background Image
None | Vector Graphics | Bitmap

4. Bar color or image


None | Vector Graphics | Bitmap

84 Omron Europe
PLC Parts: Scroll Bar

Scroll Bar is used to change the value in the specified word


register by pressing the slider.

From the Scroll Bar Extended


Attributes tab, the following features
can be set:

1. Slider width
Default 10

2. Fixed min/max limits


Default 0 - 100

3. Indirect min/max limits


Both PLC and PT memory can be used.
Address TAG can be used

85 Omron Europe
PLC Parts: Moving Components

Moving component can be used to move a graphic library or


bitmap object depending from X & Y coordinates stored in
PLC or PT addresses.

At least 3 consecutive words have to be used:

In case of multi state graphic object, the 1°word can be used in


order to show the different states of it (1 > 255).

86 Omron Europe
PLC Parts: Moving Components

Moving component can be used to move a graphic library or


bitmap object depending from X & Y coordinates stored in
PLC or PT addresses.

Types of movements:
X Only | Y Only | X&Y Axis

X Scaling | Y Scaling | X&Y Scaling

X ReverseS. | Y ReverseS. | X&Y ReverseS.

X Scaling & Y ReverseS.

X ReverseS. & Y Scaling

87 Omron Europe
PLC Parts: Moving Components

Moving component can be used to move a graphic library or


bitmap object depending from X & Y coordinates stored in
PLC or PT addresses.

Direct Scaling (e.g. X Scaling):

X Maximum & Minimum

X Maximum & Minimum


Scaled

88 Omron Europe
PLC Parts: Moving Components

Moving component can be used to move a graphic library or


bitmap object depending from X & Y coordinates stored in
PLC or PT addresses.

Indirect Scaling (e.g. X Scaling):

Enable/Disable

Starting Address

Control words

89 Omron Europe
PLC Parts: Animation

The Animation component can also be used to move a


graphic vector or a bitmap image indirectly. Instead of the
Moving Component, here the coordinates are fixed, and the
only possibility is to jump from a node to another one.

Drawing&Configuring Animation:

1) Drag&Drop the Animation object on


the screen
2) Use mouse left button to fix each node
3) Use mouse right button to enter
configuration window

90 Omron Europe
PLC Parts: Animation

The Animation component can also be used to move a


graphic vector or a bitmap image indirectly. Instead of the
Moving Component, here the coordinates are fixed, and the
only possibility is to jump from a node to another one.

Drawing&Configuring Animation:

Use the selected word and the following one to control the
Animation as shown in the table:

91 Omron Europe
PLC Parts: Animation

The Animation component can also be used to move a


graphic vector or a bitmap image indirectly. Instead of the
Moving Component, here the coordinates are fixed, and the
only possibility is to jump from a node to another one.

In the Animation Tab, the X&Y


nodes coordinates are shown.

Use the selected word+1 to


jump from node to node.

From this tab is also possible to


add, remove or shift a node

92 Omron Europe
PLC Parts: Alarm Display

The Alarm Display component displayes the active alarms.

From the Basic Attributes Tab, it is possible to scroll the


alarm list by changing the Read address area value.

93 Omron Europe
PLC Parts: Alarm Display

The Alarm Display component display the active alarms.

From the Alarm Display Tab, it is possible to set Row/Column spaces.

94 Omron Europe
PLC Parts: Trend Curve

The Trend Curve component acquires some PLC data and displays it in
the manner of a trend curve at regular intervals. When each sampling
period comes to an end, new data will be read from the PLC and
displayed on the right of the Trend Curve, which ensures the real-time
display.

1. Add Trend Curve to the screen


2. Set the Read Address for the Trend Curve
3. Set the Min. And Max. Values for the Trend Channel
4. Set the Trend Graphics options
5. Set the Extended attributes like Grid

95 Omron Europe
PLC Parts: XY Plot

XY Plot reflects the correlation of two variables visually. If you want to


monitor the XY Plot reflecting the changes of address values, the NB
Unit can clearly displayed it out only by using this component. It is
assumed that there are M channels, and N XY Plot components for the
sampling points per page, and the corresponding registers in PLC is
M×N×2, as shown below. X11, Y11, X12, Y12, ..., X1N, Y1N, ..., XM1,
YM1, ..., XMN, YMN

96 Omron Europe
PLC Parts: Bar Picture

The Bar Picture displays PLC register data in a bar chart percentage
style according to the set maximum and minimum values.
1. Add Bar Picture to the screen
2. Set the Read Address for the Meter
3. Set the Bar Graph Attributes like Color and Values
4. Set the Scales for the Bar

Note: When the Bar Picture is of a Circle shape, scale display is not supported.

97 Omron Europe
PLC Parts: Meter

Meter can display the data in the specified register by means of a meter
diagram.
1. Add Meter to the screen
2. Set the Read Address for the Meter
3. Select or Import Meter Graphic
4. Select the Meter Component and Color
5. Set the Extended attributes like Values
6. Set the Start and End Point on the graphics

98 Omron Europe
PLC Parts: Recipe Data (NB <-> PLC)

Recipe Data component can realize the data transmission from the HMI
to PLC, or vice versa. The recipe memory stores in a flash ROM, and
can retain data in the case of power interruption.

The recipe memory space of the NB3Q/NB5Q is 128K (Word), and for the NB7W/NB10W it is 256K (Word).

99 Omron Europe
PLC Parts: Recipe Editor

RecipeEditor is an Editor attached in the NB-Designer, and it is mainly


used for the user to check, edit or create the recipe file conveniently and
visually.

The supported formats currently are as follows: files in .rcp format uploaded from or downloaded to
NBManager, the specific files in .csv format and the file of FRW register in .frp format.)

100 Omron Europe


PLC Parts: Recipe Data File (Index address)

There are 2 indication methods for the recipe memory, i.e. “RW”
represents the absolute address while “RWI” represents the index
address. The data in “LW9000” is the offset of the index address.

101 Omron Europe


PLC Parts: Recipe Data File (Add Recipe’s)

• Creating a larger Recipe file gives the possibility to add recipes


online at the NB.

102 Omron Europe


PLC Parts: Event Display

Event Display component is used to display the event information


registered in “Event Information database” and whose current state
satisfying the triggering conditions. The Event Display component will
display these triggered event information one by one according to the
time sequence of the triggered event. If the accurate time needs to be
displayed, the RTC must be used or the Time must be read from the
PLC.

Note: 1. For the popup window, it will pop up only when the event is confirmed.
2. For the popup window for the event triggering, it can be closed by the <Close window> for the
Function Key or the triggering function <Write Data: No>.

103 Omron Europe


PLC Parts: Event Logging to USB (TW01B)

Select HMI Historical Events Storage and select Save to External


device. The objects from the Event log object list are now stored on a
.CSV file on the memory stick.

104 Omron Europe


PLC Parts: Indirect Window

• Indirect Window can make an already created window pop up on the


current screen. Generally, the window called by the indirect window
is smaller than the full screen (but it can also be of the same size as
the full screen). The popup window through the indirect window is
the window corresponding to the value of the word address register
of [Read Address]. There is no absolute limitation on the number of
indirect windows in NB-Designer. However, a maximum of 16 popup
windows can be displayed simultaneously during operation.

105 Omron Europe


PLC Parts: Number Display

The Number Display component is used to display the data in the


specified word register.

106 Omron Europe


PLC Parts: Text Display

The Text Display component can display data in the specified word
register, which is analyzed through the standard ASCII character table.
Low-byte character codes are displayed on the left, while high-byte
character codes are displayed on the right.

107 Omron Europe


PLC Parts: Number Input

The Number Input component can be used to display the current data
contained in word address inside a specified HMI or of PLC, to input
data through the pop-up keyboard and to change the data contained in
this address by pressing “ENTER” button.

Decimal System (signed int/unsigned int): The data is displayed in decimal


(0~9), and the following 2 attributes will appear only after the decimal system is
selected.
Hexadecimal System (hex): The data is displayed in hexadecimal format (0~F),
and the conversion ratio and the decimal point are eliminated.
Binary System (bin): The data is displayed in binary format (0 and 1), and the
conversion ratio and the decimal point are eliminated.
Password (password): Only “****” will be displayed and all the values to be read
are hidden, and it is used to input the password. Its conversion formula and the
decimal point are eliminated.
Double-precision Floating-point Value (double): The data in the controller will
be converted into the
decimal data from the data in 64-digit IEEE floating format and will be displayed in
decimal format.

108 Omron Europe


PLC Parts: Text Input

Text Input component can modify or display the data in the specified
word register, which is analyzed through the standard ASCII character
table. The input data is saved to a consecutive register with the “Read
Address” as the first address. Low-byte character codes are displayed
on the left, while high-byte character codes are displayed on the right.

109 Omron Europe


PLC Parts: Oscillograph

The Oscillograph functions similarly to the Trend Curve, and the


difference between them is as follows: For the Trend Curve, the
background communication still continue to do when the current window
where the Trend Curve locates is closed, the sampling information
before the switching can be obtained when the Trend Curve is switched
to at any time. But the data sampling of the Oscillograph is valid only in
the current page, which means the Oscillograph data will not be read
but be lost each time when the page is switched, and the data sampling
will start from the beginning when the Oscillograph window is switched
to. The advantages of Oscillograph are as follows: The user can monitor
several waveforms that don’t need to be recorded for the long period,
and no background communication burden will be brought. Meanwhile,
the user can use the “Sampling Rate” function provided by the
Oscillograph in combination with the PLC to change the frequency of
sampling point instead of only being limited on the frequency of
1s/sampling point.

110 Omron Europe


PLC Parts: Note Book

Note Book component can modify or display the data in the specified
word register, which is analyzed through the standard ASCII character
table. The input data is saved to a consecutive register with the “Read
Address” as the first address. Low-byte character codes are displayed
on the left, while high-byte character codes are displayed on the right. It
supports the display of the multi-line text content and page turning, and
can be used to make the operations such as Copy, Cut and Paste etc.
for the text contents in the selected area.

111 Omron Europe


PLC Parts: Multiple State Neon Lamp

The Multiple State Neon Lamp component displays the tag contents in
loopy-moving way by the neon lamp, and it supports the tag contents
corresponding to 256 (max.) states in the loopy-moving way.

1. Add Multiply State Neon Lamp to the screen


2. Set the Address for the states of the Neon Lamp
3. Set the Number of states and Movement options
4. Create the Tag or select the Tekst / Language
5. Create and/or select the Graphics

112 Omron Europe


PLC Parts: Bit State Neon Lamp

The Bit State Neon Lamp component displays the tag contents in
loopy-moving way by the neon lamp, and it supports the tag contents
corresponding to State 0 and State 1 in the loopy-moving way. The
difference of the Multiple State Neon Lamp and the Bit State Neon
Lamp is the controlling method, and the former selects the difference
states ranging from 1 to 256 by changing the register value, while the
latter changes the display state (only 2 states available) by changing the
state of the control bit.

113 Omron Europe


PLC Parts: Trigger Touch

The Trigger Touch component is applicable to the conditions where the


several components can be triggered to act not through the triggering
method. When the triggering conditions for the specified register of the
Trigger Touch component are satisfied, the components placed in the
valid area for the Trigger Touch component can be triggered to act.

1,3 and 4 locate in the valid triggering area, while 2 locates in the invalid triggering area. Therefore,
when the set triggering conditions for the specified register of the Trigger Touch component are
satisfied, the components in the Trigger touch area will be triggered, while components (2) outside the
Trigger touch area will not be triggered.

114 Omron Europe


PLC Parts: Grid

The Grid component can make the selection type of “Select by row”,
“Select by col” and “Select by cell”. The user can set the “Row”,
“Column”, “Select Color”, “Background Color”, “Border Color”, and write
the selected Row No. and Column No. into the specified register.

If required, the Grid component can also be used in combination with the Number Input component and the Macro, thus
controlling the display condition through the Macro.

115 Omron Europe


PLC Parts: Historical Data Display

The Historical Data Display component can read a series of data


contained in the consecutive registers from the specified word register
periodically and display them in the table form.

Note: The sampled data must be consecutive, and only the little amount instead of the large amount of
consecutive data saving is applicable.

116 Omron Europe


PLC Parts: Operation Log

• The Operation Log component can be used to record or display the


operations made by the users to the HMI in the table form. The
operation log will be stored into the external memory in CSV format.

117 Omron Europe


PLC Parts: Historical Event Display

The Historical Event Display component is used to search and display


the historical event information, which is logged in “Event Information”
database and whose state meets the current triggering conditions, in the
table form.
Note 1.The [Read Address] for the Historical Event Display is the register address specified for searching the
historical event records. The default Word Length is 2.
2.The Historical Event Display component only supports the HMI with USB HOST.
3.If the Historical Event Display component is to be used, it needs to check the [Save to External Device]
option in the [Historical Events Storage] tab in the [HMI Attribute] dialog box and set the path for storing
the historical event information files.

118 Omron Europe


Function Parts

119 Omron Europe


Function Parts: Scale

This objects offers a simple graphic aid for scale indicators.

Four styles are available, with different properties:

120 Omron Europe


Function Parts: Function Key

The Function Key objects is a powerful command object, which


provides many functions such as ‘Switch Window’, ‘Keyboard
Function’, ‘Execute Macro’ etc.

NOTE: The Function Key is not controlled by a register address, so the


execution of specified function can be activated by touching this
component only.

Available Functions:

• SWITCH WINDOW

121 Omron Europe


Function Parts: Function Key & Popup

The ‘SWITCH WINDOW’ function allows to control screen navigation, to


change the actual Common and Fast Selection Window, and to manage
Popup Windows
A Popup window is a Basic window, where the dimensions have been
simply reduced:
Pop Window types:
- TRACKING:
It will move when its parent window moves
- MONOPOLY:
Parent window will be frozen
- CLIPPING:
The borders will be restricted to the parent
window borders
- COHERENCE:
It will not change its layer even if touched

122 Omron Europe


Function Parts: Function Key & Popup

How to customize your Popup Window:


Add a FUNCTION KEY object with the ‘Switch Window’ -> ‘Popup
window title bar’ function at the top side of the window to set the Popup
window title

The title will be showed in the Task Bar, and it will allow to move the
Popup window anywhere:

123 Omron Europe


Function Parts: Function Key

KEYBOARD FUNCTION: To create customized keyboards

Special keyboard functions are supported:

124 Omron Europe


Function Parts: Function Key

Put the Function Key objects in a screen and set the desired
Keyboard Function

Customize the screen dimensions and set the screen Special Attribute
as ‘Keyboard Page’

In the Number/Text Object,


select the correct Keyboard
from the list, and that’s it!

125 Omron Europe


Function Parts: Function Key

TOUCH CALIBRATION: To calibrate the touch panel

After this function is selected, pressing the Function Key can make the
system go to HMI Touch Calibration Screen, thus allowing the users to
perform touch calibrations to the HMI

126 Omron Europe


Function Parts: Function Key

CLEAR EVENT: To clear events

After this function is selected, pressing the Function Key can clear the
event information stored in the recipe data area

127 Omron Europe


Function Parts: Function Key

MESSAGE BOARD: To set the NB Note Pad object tools

It is possible to set the Tool, the Pen Color, the Pen Width and the Clear
function to be used in the message board

128 Omron Europe


Function Parts: Function Key

MESSAGE BOARD: To clear events

After this function is selected, pressing the Function Key can clear the
event information stored in the recipe data area

129 Omron Europe


Function Parts: Function Key

NEW FUNCTIONS: Save screenshot to extended memory


(screen capture)

When the object is touched, the screen is stored into the USB memory
stick as a “.bmp” file

This function is applicable to the HMI with the USB Host port only

130 Omron Europe


Function Parts: Function Key

NEW FUNCTIONS: Save screenshot to extended memory


(screen capture)

NOTES:
- To enable the save screenshot function it requires this
setting in the [HMI Attribute] – [HMI] tab dialog box:

- This function is simulated by the simulator


- The picture name can be customized (default name: “yyyy-
mm-dd, 10:12:50:203.bmp”)

131 Omron Europe


Function Parts: Function Key

NEW FUNCTIONS: Import/Export function

This function is applicable to the HMI with the USB Host port only

When the object is touched, Project Data and/or Recipe data can be
imported/exported from/to the USB memory stick

132 Omron Europe


Function Parts: Function Key

NEW FUNCTIONS: Import/Export function

Export the Project to USB Stick (Project Upload):

Touch the object

Enter the proper password

The File List window [screen number 5]


is automatically showed to choose the
destination path and to specify the
destination file name

A ‘.pkg’ file will be generated


133 Omron Europe
Function Parts: Function Key

NEW FUNCTIONS: Import/Export function

Import the Project from USB Stick (Project Download):

Touch the object

The File List window [screen number 5]


is automatically showed to perform the
Import operation

Select the source folder where the ‘.pkg’


file is located and press the ‘OK’ button.

The project will be downloaded to the NB

134 Omron Europe


Function Parts: Function Key

NEW FUNCTIONS: Import/Export function

Import/Export Options:

• Allow Upload: Determines whether the PKG files will be uploaded after
the user project data is downloaded to HMI.
• Allow Decompilation: Allows the user to decompile and modify the PKG
files generated by configuration compilation after it is checked

Default passwords: 888888

135 Omron Europe


Function Parts: Alarm Bar

Alarm Bar icon can be used to display the triggered preset


alarm information by using the Neon Lamp in the area where
the Alarm Bar locates.

The alarm information will scroll from the right to the left when the bit
address is triggered to the alarm state.

The alarm information must be logged in the [Alarm Information]


database in advance since this component only displays the alarm
information

136 Omron Europe


Function Parts: Alarm Bar

The Alarm Bar allows to set the flowing message speed (pixels
to shift and shift frequency) and to filter the an alarm group type
between 0 and 255.

NOTE: Background fill color is not supported..

137 Omron Europe


Function Parts: Timer

Timer component performing the timing. When the timing is over,


it will execute the corresponding function, such as Macro, Data
Transmission (data copy) OR State Setting.

Timers support four TRIGGER MODES:

138 Omron Europe


Function Parts: Timer

And the following BASIC ATTRIBUTES:

139 Omron Europe


Function Parts: Timer

TIMER FUNCTIONS: What can you do with Timers?

1 – RUN MACROS:

2 –DATA TRANSMISSION (to copy max 32.767 bits or words from a


source address to a destination address):

140 Omron Europe


Function Parts: Timer

TIMER FUNCTIONS: What can you do with Timers?

3 – STATE SETTING (to perform periodical operation to words or bits):

141 Omron Europe


Function Parts: Bitmap

The Bitmap object can be used to display BG, BMP, JPG, PNG
and animated GIF files.

Bitmap object is not controlled by a register, and doesn’t have multiple


states, thus the bitmap showed is fixed to the graphics state specified at
the design time.

NOTES:

1 – BG stands for ‘Bitmap Graphic’


1 - Only files previously imported in the Project File Window as ‘New
Graphics’, can be selected !!

142 Omron Europe


Function Parts: Bitmap

One bitmap includes 256 kinds of states and the created bitmap can be
used in the Edit Window. The bitmap is mainly applicable to graphic
area, i.e. external graphics addition.
Note The operations (such as line-drawing, drawing, text addition etc.) for the bitmaps can’t be made in the Graphics
Edit Window, and only the external graphics addition can be done.

1. Add New Graphics


2. Select the Bitmap for the state
3. Add states to the Graphic 1. Add Multiply State Switch to the screen
4. Select the Images for the state(s) 2. Set the Address for the states
5. Safe the File / Graphic 3. Set the Number of states
4. Select the Graphic
5. Set the Control Settings

143 Omron Europe


Function Parts: Vector Graph

Vector Graph component is used to call and display the bg-form


graphics in the system graphics library or the graphics library in Project
files window. The Vector Graph component is not controlled by the
register, and don’t have multiple states, thus the Vector Graphic
corresponding to the graphics state specified by you at the designing
time will always be displayed.

144 Omron Europe


Function Parts: Vector Graph

One vector graphics includes 256 kinds of states and 2 kinds of using
methods, that’s to say, it can be used as static vector graphics or the
graphics representing the display states for various kinds of
components.

1. Add New Graphics


2. Select the Vector Graphics for the state
3. Add states to the Graphic 1. Add Multiply State Switch to the screen
4. Design the Graphic for the state(s) 2. Set the Address for the states
5. Safe the File / Graphic 3. Set the Number of states
4. Select the Vector Graphic

145 Omron Europe


Function Parts: Vector Graph & Bitmap

NB-Designer provides the powerful vector graphics and bitmap library,


and you can create any desired graphics (such as switch, lamp, piping
etc.) in the library and even you can add your own pictures to the library.
The graphics can be 256-color bitmap, 16-color bitmap, 32-color bitmap
or in JPG, BMP, GIF and PNG format. Every vector graphics or bitmap
include 256 states that are enough for the user to use.

Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on
mathematical expressions, to represent images in computer graphics. "Vector", in this context, implies more than a straight line.

146 Omron Europe


Function Parts: Note Pad

Note Pad is designed specially to provide the users with a space for the
message reservation and transmission, thus allowing the users to write
any text on the HMI freely. And its function is similar to that of the
drawing board.

147 Omron Europe


Function Parts: File List

• The File List is used to display the file information of the external
storage device. This component is divided into three parts: the left
part displays the information on the folder under the current
directory, the upper-right part displays the information on the file
under the current directory, and the lower-right part displays the HMI
information on the selected project file (.pkg) or the recipe file (.rcp).
• The File List component, a kind of special component, needs to be
used in combination with [Import/Export] function of Function Key.
• [Frame5:File List Window] is provided by the system when the new
project is created, convenient for the users to call it during the import
or export of project file or recipe file. The specified pop-up File
Browser Window can be set in the [HMI Extended Attributes] tab in
the [HMI Attribute] dialog box.

148 Omron Europe


Function Parts: Data Transmission

Data Transmission component can make the data in the specified


register address transferred to the other register address. Data
Transmission can be triggered by the manual touching method or the
state change of the specified address.
As an example the Output Frequency from MX2 Inverter 1 transferred to
the Data Memory 0 of the CP1L.

149 Omron Europe


Function Parts: Free plotting

The Freeplotting component is based on the data in the register, and


you can use it to draw the corresponding graphics by the pixel point in
the HMI.
• Solid color with Bit Register used: Set the component size to 50×50, the register address to LB0,
the foreground color to red and the values of 2500 registers (i.e. LB0 to LB2499) to be read by
HMI. Then when the register value is 1, the pixel point corresponding to the component location
will be drawn into red color.
• Multicolor with Word Register used: Set the component size to 50×50, the register address to LW0,
and the values of 2500 registers (i.e. LW0 to LW2499) to be read by HMI. Then the pixel point
corresponding to the component location will be drawn into the corresponding 65536 true color
according to the actual value read from the register.
• There are two refreshing methods for the components. Refresh Timer: The minimum unit is 100
ms. Trigger: The specified bit triggers the Freeplotting Component by a certain triggering method.

150 Omron Europe


Function Parts: Date/Time

The Date/Time component can display the value of the internal RTC
clock of the HMI in the set format.

151 Omron Europe


Function Parts: Dynamic Graph

The Dynamic Graph component can modify the positions and sizes of
the rectangle, ellipse or line by changing the value of the register.

152 Omron Europe


Function Parts: User Info Display

When the system uses User Permisision function, the related


information of the current login user can be displayed in the table form
by using the User Info Display component. The User Info Display
component must be used in combination with the User Permission,
otherwise it will not work.

153 Omron Europe


Function Parts: Combination Operations

The Combination Operations component incorporates the Bit State


Setting component and Multiple State Setting component into one
component, thus making the user realize the bit-state setting and multi-
state setting operations through only one key. The Combination
Operations component can be created by using the mouse to click
[Components] - [Button/Switch] - [Combination Operations] or dragging
[Combination Operations] component from [Graph element window] -
[Function Parts] to the HMI Edit Window.

154 Omron Europe


Function Parts: Event Bar

Event Bar is used to make the event information logged in [Event


Information] database and meeting the current triggering conditions
displayed scrolling from the right to the left.

155 Omron Europe


Project Database

156 Omron Europe


Project Database: Text Library

Text Library can be used to store the text contents needed by the
project, thus preventing the tag with the same text from being input
frequently. In addition, Text Library can be used to the conditions with
the requirement of multi-language support to realize the switching
among the multiple languages for the HMI Edit screen. NB-Designer
currently supports up to 32 kinds of languages setting.

Once the text name is confirmed, it can’t be modified in the Text Library Edit screen.
Default the number of language is 8 and the default language is 1. Using
more language or different default language then set the HMI Attribute.

157 Omron Europe


Project Database: Address Tag

Address Tag is a useful address logon library, which prevents the


inconvenience resulting from repeated input of address, thus saving a
lot of time. As long as you have logged the address here, you can use
the address logged into the object library in any place where “Use
Address Tag” can be used.

The addresses tag can’t be changed in the other places. If they are needed to be changed, you just need to
enter the Address Tag dialog box to perform the related operations.
For the use of Address Tag, when the data type is “Bit”, only Bit component can use this Address Tag; while
when the data type is “Word”, only Word component can use this Address Tag.

158 Omron Europe


Project Database: Alarm Information

To display the information on the Alarm Display component or Alarm


Bar component, the logon in the list of [Alarm Information] database is
needed. One bit address can control whether one piece of information
will be displayed or not. If the logged bit address is triggered (ON or
OFF), the related information will be displayed on the Alarm Display
component.

This component is only responsible for the logon of alarm information,


and the display needs to be done by “Alarm Display” component

159 Omron Europe


Project Database: Event Information

The information logged in Event Information component will be


displayed in the Event Display component. To display the information in
the Event Display component, the information must be logged in the
[Event Information] database in advance. One bit or word address
controls one piece of information. When the logged bit or word address
is triggered (i.e. It is ON/OFF or the restricted value is triggered.), the
corresponding information will be displayed in the Event Display
component.

This component is only responsible for the event log, and the display
needs to be done by “Event Display” component.

160 Omron Europe


Project Database: PLC Control

When the corresponding control is triggered, PLC Control component


can activate one specific operation. PLC Control component is a
powerful component group, which can realize a large variety of
functions because it is more powerful than the general component. And
its functions are as follows:
• 1. Change Window: Changes the current window.
• 2. Write Data to PLC (Current Base Window): Transfers the current Window No. to the PLC.
• 3. General PLC Control: Realizes the data transmission between the PLC address and LW/RW.
• 4. Backlight Close: Turn off the backlight.
• 5. Backlight Close (Write Back): Turn off the backlight with the returned value.
• 6. Execute Macro Program: Execute the corresponding Macro program number when the condition is met.
• 7. Backlight Open: Turns on the backlight.
• 8. Backlight Open (Write Back): Turns on the backlight with the returned value.
• 9. General PLC Control (Extend)
• 10. Change Window (Ignore the window 0)

161 Omron Europe


Nice to know

162 Omron Europe


Nice to know: BMP LIBRARY

The NB-Designer provides a BMP library stored here:


…\NB-Designer_V1.20\bg_vg_lib\BG\image

Some example:

… and more!

163 Omron Europe


Nice to know: Component list Window

• This window displays all the component information used by the


project, including HMI No., Frame, Part No., Read PLC, Read
Address, Write Address, Function Address etc. Double-click an item
to reveal the attributes of the selected component, and the HMI Edit
window will skip to the window where this component locates.

164 Omron Europe


Nice to know: Message Window

• The Message Window mainly displays compilation information of the


project so that the user can precisely pinpoint where errors lie, as
shown below.
• When the project is opened, the Message Window will display the
loaded information of the project. When the project is compiled, the
Message Window will display the compilation process and error
information.
• The compiled information can be cleared or exported in the Message
Window. Right-click the mouse in the [Message Window]

Clear Message: All the information in the Message Window will be cleared off.
Export Message: All the contents in the Message Window are exported to the folder which contains the current project,
forming a file named “log.txt”.

165 Omron Europe


Nice to know: Multi Copy function

• Single Copy: When the user selects one component to perform


single copy, he just needs to click the component while pressing the
Ctrl key, which is equivalent to the operation of “Copy + Paste”.
• Multiple Copy: It is intended for the multiple copy of a certain
component, and the software can automatically increase or decrease
the component address and set the interval after the component
copy operation. Right-click the component to be copied, and select
“Multi-Copy” from the drop-down menu, then the following dialog box
will pop up. The user can make settings according to the
requirement.

166 Omron Europe


Nice to know: Copy Single Window

Copy Single Window:


When the number is 1, both the starting source window ID and the starting destination window ID can
be set, which means the screen and attributes of the source window will be copied into the destination
window. If the destination window doesn’t exist, the window with a specified number will be created
automatically after the copy operation. And if the destination window exists already, “Copy error: the
destination window ID already exists!” will prompt. When the number is greater than 1, both the starting
source window ID and the starting destination window ID can be set, and the destination window ID will
increase automatically according to the copied number in this case, which means the screen and
attributes of the source window will be copied into the windows between the starting destination
window and the end destination window respectively.

167 Omron Europe


Nice to know: Copy Multi-Window

Copy Multi-Windows:
When the number is 1, both the starting source window ID, the end source window ID and the starting
destination window ID can be set, and the end destination window ID will increase automatically
according to the number of the source window, which means the screens and attributes of the windows
between the starting source window and the end source window will be copied in order into the
windows between the starting destination window and the end destination window respectively. When
the copy number is greater than 1, the starting source window ID, the end source window ID and the
starting destination window ID can be set, and the end destination window ID will increase
automatically according to the copied number and the number of the source window, which means the
screens and attributes of the windows between the starting source window and the end source window
will be copied in order and as specified number into the windows between the starting destination
window and the end destination window respectively.

Note :The copy operation across the project or HMI windows are not supported.
When the multiple windows are operated, the copying and deletion among the non-continuous
windows are not supported.

168 Omron Europe


Nice to know: USB System Registers

New System Register, to handle USB stick, have been added:

169 Omron Europe


Nice to know: Default Keyboards

NB-Designer provides up to 21 default keyboards included under


[Group Components Library]

To use them, right-click the mouse in a Popup window blank area and
select [Groups] - [Use the group element]; then select [keyboard] from
[Group Components] in [Edit Box Of Group Components Library]
Finally, select [NUMERAL_S_T1] from [Preview] and click the [Place
Group Components] button

Some example:

170 Omron Europe


Nice to know: Transparency

Simply adjust screen dimensions to the desired popup dimensions and,


if needed, set the Transparence value

NOTE: Transparency option is valid for screens used as Popup screens


only

The Function Key can be


used to Open, Close,
Move and Minimize Popup
windows

Tip: Click on the Task Bar


to minimize/maximize the
selected Popup window

171 Omron Europe


Nice to know: Big & Small Icons

Click with the Right mouse button on the Field and select the option

172 Omron Europe


Nice to know: Change Project Path

• Change the default Windows project path

173 Omron Europe


Configuration Examples

174 Omron Europe


Configuration Examples

1. NB with CP1L through COM1/RS232 (Host link)


2. NB with CP1L (2pcs) through COM2/RS422 (Hostlink)
3. NB with CP1L through COM1/RS232 (Host link) and
MX2 (2pcs) through COM2/RS485 (Modbus RTU)
4. NB with CP1L-EM (2pcs) through Ethernet (FINS/UDP)

175 Omron Europe


Example-1: Configuration

NB with CP1L through COM1/RS232 (Host link)

176 Omron Europe


Example-1: Communication Wiring diagram

• NB pin 2 (SD) to CP1L (CP1W-CIF01) pin 3 (RD)


• NB pin 3 (RD) to CP1L (CP1W-CIF01) pin 2 (SD)
• NB pin 9 (SG) to CP1L (CP1W-CIF01) pin 9 (SG)
• CP1W-CIF01 Bridge between pin 4 (RS) and pin 5 (CS)

In order to avoid malfunctions caused by interferences, shield the cables properly.

177 Omron Europe


Example-1: Settings

• Set the Host link Communication (RS232) settings of the NB COM1


and the PLC Serial Port the same. Unit Number 0 (default).

178 Omron Europe


Example-2: Configuration

NB with CP1L (2pcs) through COM2/RS422 (Hostlink)

179 Omron Europe


Example-2: COM2 Wiring diagram

• NB pin 6 (RDB+) to 1e and 2e CP1L (CP1W-CIF11/12) SDB+


• NB pin 8 (RDA-) to 1e and 2e CP1L (CP1W-CIF11/12) SDA-
• NB pin 1 (SDB+) to 1e and 2e CP1L (CP1W-CIF11/12) RDB+
• NB pin 7 (SDA-) to 1e and 2e CP1L (CP1W-CIF11/12) RDA-
• Switches CP1W-CIF11/12 conform diagram

In order to avoid malfunctions caused by interferences, shield the cables properly.

180 Omron Europe


Example-2: Settings (PLC0)

• Set the Host link (RS422) Communication settings of the NB COM2


and the 1e PLC Serial Port the same. Unit Number 0 (default).

181 Omron Europe


Example-2: Settings (PLC1)

• Set the Host link (RS422) Communication settings of the NB COM2


and the 2e PLC Serial Port the same. Unit Number 1.

182 Omron Europe


Example-3: Configuration

NB with CP1L through COM1/RS232 (Host link) and MX2 (2pcs)


through COM2/RS485 (Modbus RTU)

183 Omron Europe


Example-3: COM1 Wiring diagram

• NB pin 2 (SD) to CP1L (CP1W-CIF01) pin 3 (RD)


• NB pin 3 (RD) to CP1L (CP1W-CIF01) pin 2 (SD)
• NB pin 9 (SG) to CP1L (CP1W-CIF01) pin 9 (SG)
• CP1W-CIF01 Bridge between pin 4 (RS) and pin 5 (CS)

In order to avoid malfunctions caused by interferences, shield the cables properly.

184 Omron Europe


Example-3: COM2 Wiring diagram

• NB pin 6 (RDB+) to 1e and 2e MX2 (SP)


• NB pin 8 (RDA-) to 1e and 2e MX2 (SN)

In order to avoid malfunctions caused by interferences, shield the cables properly.

185 Omron Europe


Example-3: Settings (PLC)

• Set the Host link Communication (RS232) settings of the NB COM1


and the PLC Serial Port the same. Unit Number 0 (default).

186 Omron Europe


Example-3: Settings (MX2-1)

• Set the Host link (RS482) Communication settings of the NB COM2


and the 1e MX2 the same. Unit Number 1.

Positioning:
C007 = 85 (EB)
Communication: P003 = 1 (Encoder feedback)
A001 = 3 (Modbus) P004 = 3 (EA & EB)
A002 = 3 (Modbus) P001 = xxx (Encoder pulses)
C071 = 10 (115k2)
C072 = 1 (Node number)
C074 = 1 (Even parity)
C076 = 4 (Dec. and stop)
C077 = 2.00 (Time Out)

187 Omron Europe


Example-3: Settings (MX2-2)

• Set the Host link (RS482) Communication settings of the NB COM2


and the 2e MX2 the same. Unit Number 2.

A001 = 3 (Modbus)
A002 = 3 (Modbus)
C071 = 10 (115k2)
C072 = 2 (Node number)
C074 = 1 (Even parity)
C076 = 4 (Dec. and stop)
C077 = 2.00 (Time Out)

188 Omron Europe


Example-4: Configuration

NB to CP1L-EM (2pcs) through Ethernet (FINS/UDP)

189 Omron Europe


Example-4: Communication Wiring diagram

In order to avoid malfunctions caused by interferences, use shielded cables.

190 Omron Europe


Example-4: Settings

• Set the IP address in the same range

191 Omron Europe


THANK YOU FOR YOUR
ATTENTION!
192

You might also like