Nexcom CPS 100-M User manual

Category
Gateways/controllers
Type
User manual

This manual is also suitable for

NEXCOM International Co., Ltd.
Version 2.0.1
Published October 2019
www.nexcom.com
NEXCOM International Co., Ltd.
IoT Automation Solutions Business Group
Industrial IoT Remote Gateway
CPS200-RE/CPS200-DP
CPS100-RE/CPS100-DP/CPS100-M
User Manual
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
ii
Contents
Contents
Chapter 1: Product Overview ................................. 1
Chapter 2: Hardware Installation .......................... 3
2.1 Cabling ..................................................................................... 3
Chapter 3: System Configuration .......................... 5
3.1 Start Up ....................................................................................5
3.2 Networking ...............................................................................5
Chapter 4: IoT Studio Introduction ........................ 7
4.1 Basic Operations .......................................................................8
4.1.1 Drag and Drop ....................................................................8
4.1.2 Code Up Your Flow .............................................................9
4.2 IoT Studio Administrations ......................................................11
4.2.1 Import ............................................................................... 11
4.2.2 Export ...............................................................................12
Chapter 5: Fieldbus Configuration ....................... 13
5.1 Fieldbus Input Node ................................................................13
5.2 Configuring the Fieldbus Node ................................................18
5.2.1 Creating a New Fieldbus Configuration .............................20
5.2.2 Changing the Existing Fieldbus Configuration ....................25
5.2.3 Loading Firmware and Configuration ................................29
5.3 Configuring the PROFINET ......................................................31
5.3.1 Main Menu .......................................................................31
5.3.2 PROFINET Configuration .................................................... 33
5.3.3 IO and Signal Configuration ..............................................33
5.3.3.1 Signal Definition Page ..................................................36
5.3.3.2 Data Types for Signal Names ........................................39
5.3.3.3 Structure of the Signal Names ...................................... 39
5.3.3.4 Configuring I/O ............................................................40
5.3.3.5 Defining Signals (Procedure) .........................................41
5.3.4 Signal Definitions Overview ...............................................44
5.3.5 GSDML File Download .......................................................45
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
iii
Contents
Chapter 6: System Menu ...................................... 47
6.1 System .................................................................................... 47
6.1.1 Info Center ........................................................................47
6.1.2 Time..................................................................................48
6.2 Package Manager ...................................................................48
6.2.1 Packages ...........................................................................48
6.3 Network .................................................................................49
6.3.1 LAN ...................................................................................49
6.3.2 Wi-Fi .................................................................................50
6.3.3 Hostname .........................................................................50
6.4 Services ...................................................................................51
6.4.1 Service List ........................................................................51
6.5 User Management ..................................................................51
6.5.1 User Accounts ...................................................................51
6.5.2 Roles .................................................................................52
6.6 Security ...................................................................................52
6.6.1 SSL Certificate ...................................................................52
6.7 Help ........................................................................................53
6.7.1 Info ...................................................................................53
6.8 Session ...................................................................................53
6.8.1 User profile .......................................................................53
6.8.2 Logout ..............................................................................53
Chapter 7: IoT Studio Menu ................................. 54
7.1 Input Nodes ............................................................................54
7.1.1 inject ................................................................................. 54
7.1.2 catch ................................................................................. 55
7.1.3 status ................................................................................56
7.1.4 link ....................................................................................57
7.1.5 mqtt ..................................................................................57
7.1.6 http ...................................................................................59
7.1.7 websocket .........................................................................60
7.1.8 tcp ....................................................................................61
7.1.9 udp ...................................................................................64
7.1.10 fieldbus ...........................................................................64
7.1.11 opc.ua .............................................................................64
7.1.12 serial ...............................................................................65
7.2 Output Nodes .........................................................................66
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
iv
Contents
7.2.1 debug ...............................................................................66
7.2.2 link ....................................................................................67
7.2.3 mqtt ..................................................................................67
7.2.4 http response ....................................................................69
7.2.5 websocket .........................................................................69
7.2.6 tcp ....................................................................................69
7.2.7 udp ...................................................................................71
7.2.8 fieldbus .............................................................................71
7.2.9 opc ua ...............................................................................71
7.2.10 serial ...............................................................................72
7.3 Function Nodes ....................................................................... 73
7.3.1 function ............................................................................73
7.3.2 template ...........................................................................73
7.3.3 delay .................................................................................74
7.3.4 trigger ............................................................................... 74
7.3.5 comment ..........................................................................75
7.3.6 http request ......................................................................75
7.3.7 tcp request ........................................................................76
7.3.8 switch ...............................................................................77
7.3.9 change .............................................................................. 80
7.3.10 range ..............................................................................82
7.3.11 split ................................................................................. 84
7.3.12 join .................................................................................84
7.3.13 csv ..................................................................................86
7.3.14 html ................................................................................88
7.3.15 json ................................................................................. 88
7.3.16 xml ..................................................................................90
7.3.17 rbe ..................................................................................91
7.4 Social Nodes ...........................................................................93
7.4.1 email in .............................................................................93
7.4.2 email out ...........................................................................94
7.4.3 twitter in ...........................................................................94
7.4.4 twitter out .........................................................................95
7.5 Storage Nodes ........................................................................95
7.5.1 tail ....................................................................................95
7.5.2 file in .................................................................................95
7.5.3 file out ..............................................................................97
7.5.4 SQLite ...............................................................................97
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
v
Contents
7.6 Analysis Nodes ........................................................................ 99
7.6.1 sentiment .......................................................................... 99
7.7 Advanced Nodes ..................................................................... 99
7.7.1 watch ................................................................................99
7.7.2 feedparse ........................................................................100
7.7.3 exec ................................................................................100
7.8 Gateway Kit Nodes ...............................................................101
7.8.1 iot-datasource .................................................................101
7.9 Cloud Nodes ......................................................................... 102
7.9.1 eventhub .........................................................................102
7.9.2 azureiothub ..................................................................... 103
7.9.3 mssql ..............................................................................104
7.10 Data Process Nodes ............................................................. 112
7.10.1 boundary ......................................................................112
7.10.2 merge ...........................................................................115
7.10.3 cypher ........................................................................... 116
7.10.4 critical section ...............................................................117
7.10.5 HWInfo .........................................................................119
7.11 Modbus Nodes ...................................................................119
7.11.1 Modbus RTU .................................................................119
7.11.2 ModbusTCP ..................................................................122
7.12 OPCUA Nodes ....................................................................124
7.12.1 OpcUA Item ..................................................................124
7.12.2 OpcUA Client ................................................................124
7.12.3 OpcUA Browser ............................................................. 126
7.13 Siemens S7 .........................................................................127
7.13.1 read ..............................................................................127
7.13.2 write .............................................................................127
Chapter 8: Dashboard ......................................... 129
8.1 Create Your Dashboard ......................................................... 129
8.2 Create Your Chart ................................................................. 130
8.3 Work with Modbus RTU Climate Sensors ..............................131
8.3.1 Plan Your Flow ................................................................131
8.3.2 Configure Your Dashboard ..............................................133
Chapter 9: Case Studies ...................................... 135
9.1 Modbus TCP .........................................................................135
9.2 Work with PROFINET Configuration ......................................135
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
1
Chapter 1: Product Overview
Chapter 1: produCt overview
CPS 200/100 series, an edge/remote Industrial IoT gateway, is fully integrated
with fieldbus accessibility, Modbus TCP/RTU, OPC UA and Industrial IoT
studio for extremely easy deployment of both centralized/decentralized
field data implementation in automation process. Equipped with fieldbus
accessibility, user not only can retrieve the data for live monitoring but also
extract key information for custom process, like prediction and maintenance,
yield rate of production and so on. Furthermore, Industrial IoT studio brings
benefits of drag-and-drop data process, exchange field data over network
securely between edge and the Cloud, flexible field data store/analytics/
statistic and so on. CPS 200/100 series is a perfectly matched solution for
remote field data processing in automation.
Specifications
Model Name CPS100-M CPS100-RE/
CPS100-DP
CPS200-RE/
CPS200-DP
Photo
Category IoT Remote
Gateway
Fieldbus Enabled
IoT Remote
Gateway
Fieldbus Enabled
IoT Edge Gateway
Communication
Protocols for Local
Devices
Modbus/TCP,
Modbus/RTU
(Master, OPC-UA
client)
PROFINET-RT or
PROFIBUS-DP
or EtherNet/IP
(Slave), Modbus/
TCP, Modbus/RTU
(Master, OPC-UA
client)
PROFINET-RT or
PROFIBUS-DP
or EtherNet/IP
(Slave), Modbus/
TCP, Modbus/RTU
(Master, OPC-UA
client)
Communication
for Cloud/Server
MQTT, SQLite,
Https
MQTT, SQLite,
Https
MQTT, SQLite,
Https
Wireless
Communication
Interface Options
Wi-Fi, 3G, 4G/LTE
(optional)
Wi-Fi, 3G, 4G/LTE
(optional)
Wi-Fi, 3G, 4G/LTE
(optional)
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
2
Chapter 1: Product Overview
Specifications Cont.
Model Name CPS100-M CPS100-RE/
CPS100-DP
CPS200-RE/
CPS200-DP
Photo
Number of LAN
ports 222
Type of LAN RJ45 RJ45 RJ45
COM Port 1 x RS-232/485 1 x RS-232/485 2 x RS-232/485
USB 1 x USB 3.0
1 x USB 2.0
1 x USB 3.0
1 x USB 2.0
1 x USB 3.0
3 x USB 2.0
Display N/A N/A 1 x DVI
Mounting Style Wall/DIN Rail Wall/DIN Rail Wall/DIN Rail
Temperature -20°C ~ +65°C -20°C ~ +65°C 0°C ~ +50°C
Dimension (mm) 63 x 100 x 151 63 x 100 x 151 85 x 157 x 214
DC Input 12VDC/24VDC 12VDC/24VDC 24VDC
Certification CE, FCC CE, FCC CE, FCC
Storage 16GB eMMC 16GB eMMC 2.5”128GB SSD
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
3
Chapter 2: Hardware Installation
Chapter 2: hardware installation
2.1 Cabling
Items to prepare
1. A power cable with DC 24 V output and a Phoenix Contact 1x3
3-pin terminal block.
9For CPS 100 only, you can use a power cable with DC 12 V
output and a Phoenix Contact 1x3 3-pin terminal block.
2. An Ethernet cable.
3. A set of CPS 200 or CPS 100.
Step 1
¾While wiring the terminal
block, please be aware,
on CPS 100, from the top,
that the sequence of power
terminal definitions of the
plug is ground, negative,
and positive.
¾ On the other hand, on
CPS 200, from the top, the
sequence of power terminal
definitions of the plug is
positive, negative, and
ground.
Once the wiring on the terminal
block is set, insert the power
cable to the power plug.
MS
EtherNet/IP
NS
• Ground
• Negative
• Positive
• Positive
• Negative
• Ground
CPS 100
CPS 200
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
4
Chapter 2: Hardware Installation
Step 2
¾If you have a DHCP enabled
network infrastructure, plug
the Ethernet cable into the
RJ-45 jack circled in blue
and labeled as .
¾It is recommended to
connect directly between
the device and your
computer, plug the Ethernet
cable into the RJ-45 jack
circled in green and labeled
as .
ÖThe IP address:
192.168.253.1 is assigned
to this jack by default.
ÖPlease set your computer’s
IP address in the same
network segment such as
192.168.253.5 with subnet
mask 255.255.255.0, and
try to ping the IP address:
192.168.253.1.
°If it is reachable from your
computer, use your browser
to log onto 192.168.253.1
for system setting.
MS
EtherNet/IP
NS
1
2
CPS 100
CPS 200
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
5
Chapter 3: System Configuration
Chapter 3: system Configuration
3.1 Start Up
• CPS 100 will start up automatically once the inserted power cable
is live.
• CPS 200: Press the power button to start up the system.
3.2 Networking
It is recommended to log onto 192.168.253.1 with your browser
and Ethernet cable connected to . If you are connected to ,
consult your DHCP server for the IP address of your CPS 200 or CPS
100, and log onto the IP address with your browser. You will see
a landing page of IIoT Studio. Go to “Control Panel” for system
setting, “Project Builder” for programming and “Dashboard” for the
information graph.
MS
EtherNet/IP
NS
12
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
6
Chapter 3: System Configuration
Ö If you are unable to log onto the IP address because of the security
issue with your browser, click on continue browsing this website to
change settings of your browser.
• Use the default Username: admin and Password: 12345678
for login if you are logging in for the first time.
• Remember to change username/password and keep it in a
safe area to avoid hacking.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
7
Chapter 4: IoT Studio Introduction
Chapter 4: iot studio introduCtion
This chapter introduces the user interface and the basic operation of
NEXCOM IoT Studio. Once you log onto NEXCOM IoT Studio with your
browser and click on “Project Builder”, you will see the page as shown below.
No. Description No. Description
1 Nodes 6 Input port of the node, receiving
from a connected note.
2 Workspace 7 Note title
3 Node information 8 Output port of the node,
delivering to other node.
4Debug message once in
debugging a node 9 Status of the node
5 Press to start your flow 10 Missing parameters
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
8
Chapter 4: IoT Studio Introduction
4.1 Basic Operations
The icons at the left side of the page are nodes corresponding to different
needs. You can drag and drop any of them to the workspace. Click on the
Info tab on the upper right to view the information of the node you selected.
4.1.1 Drag and Drop
You can drag many nodes onto a sheet and make them a flow
based on the functions and connections. Please note, by the
nature of the node, some of them have both the input and the
output ports while the others have either one of the ports.
You can make as many connections as you like between your
start and end nodes. Furthermore, you can make one output
port connect to different input nodes. Once the connection is
set, you can code up the flow.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
9
Chapter 4: IoT Studio Introduction
4.1.2 Code Up Your Flow
Double click on the inject node, and the edit dialogue should
pop up. Select string in the drop-down menu next to Payload,
fill the next field with “hello”, and click Done.
Double click on the second node, and name it “world”. Write
some codes to the node in Function field and click Done.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
10
Chapter 4: IoT Studio Introduction
Double click on the third node, and name it “!!”. Write some codes
to the node in Function field as shown below and click Done.
Then, click Deploy button on the upper right side to deploy
your flow.
When you can read the message Successfully deployed on
the top, the deployment is complete.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
11
Chapter 4: IoT Studio Introduction
Click the button at the left side of the inject node to see the
result in the debug tab.
4.2 IoT Studio Administrations
You can share the codes by selecting your node, and then choose Export
from the menu on the upper right corner either by copying the codes or
exporting them to a file directly.
4.2.1 Import
To import the codes, you can choose Import from the menu on
the upper right corner and paste the codes to the clipboard or
select a file to import.
Click Deploy to execute the code in the flow.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
12
Chapter 4: IoT Studio Introduction
4.2.2 Export
To export your codes, select the node and choose Export from
the menu on the upper right corner.
You can copy the code or export the code to a file directly.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
13
Chapter 5: Fieldbus Configuration
Chapter 5: fieldbus Configuration
Once you have logged onto the IP address, you should see a page titled
“Edge Gateway manager”. Click NodeRed to enter Node-RED page.
5.1 Fieldbus Input Node
The fieldbusinput node allows you to receive data from a fieldbus
e.g. PROFINET® and uses signals to address the data. The fieldbus
has to be configured and signals have to be defined before using the
fieldbus node. This following example uses the fieldbusinput node
together with a debug node to receive data from a fieldbus and to
display the data thereafter in the debug tab of the IoT Studio™.
Prerequisite
1. A connection with the Edge Gateway is established.
2. The IoT Studio™ workspace is opened.
Steps
1. Inserting the fieldbus input node:
¾ Drag a fieldbusinput node from the node library and drop it in
the worksheet.
¾ The fieldbus node shows a red triangle to indicate that
parameters are missing. These parameters are configured during
the next steps.
2. Showing the sidebar:
¾ Show the sidebar via the IoT Studio™ menu View>Show
Sidebar.
¾ Click the Info tab.
¾ Click on the fieldbus input node to display its properties and a
functional description in the Info tab.
3. Editing the fieldbus input node:
¾ To open the edit dialog, double-click on the fieldbus input node.
¾ The edit dialog for entering the parameters will pop up.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
14
Chapter 5: Fieldbus Configuration
4. Adding a fieldbus interface:
¾If you use a fieldbus node for the first time (the Fieldbus
interface list displays Add new fieldbus interface), click to
add a new fieldbus interface.
¾ Selecting the fieldbus interfaces:
5. Fieldbus interface selection
¾ Verify that at Currently loaded firmware the entry PROFINET
IO Device: Version ... is displayed.
¾ If this is not the case, then select Fieldbus interface using
the entry PROFINET IO Device and then click Reconfigure
interface.
6. Opening the fieldbus configurator (PROFINET configurator):
¾ If Currently loaded firmware does not display the entry
PROFINET IO Device then repeat step 5.
¾ If Currently loaded firmware shows the entry PROFINET IO
Device then click on Open Fieldbus Configurator.
¾ A new tab opens displaying the PROFINET configuration user
interface.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved. CPS 100 and CPS 200 Series User Manual
15
Chapter 5: Fieldbus Configuration
7. Configure PROFINET:
¾ Select IO and Signal configuration in the configuration tree.
¾ The IO Configuration page with the Available IO items list is
displayed.
¾ First, select the entry 16 send byte (inputs) with a double-click
from the Available IO items list.
¾ Afterwards, select the entry 16 receive byte (outputs) with a
double-click from the Available IO items list.
¾ The IO items list displays two PROFINET modules.
8. Defining signal names for modules:
¾ In the IO items list, click on the Tag column on receive_001
(Index 001 with the name 16 send byte (inputs)).
¾ Overwrite the existing Tag name by the new Ta g name:
toController.
¾ In the IO items list, click on the Tag column on send_001
(Index 002 with the name 16 receive byte (outputs)).
¾ Overwrite the existing Tag name by the new Ta g name:
fromController.
¾ A new Tag is displayed for each module, which is part of the
complete signal name.
9. Defining signals for module 1:
¾ Select 001: 16 send byte (inputs) in the configuration tree.
¾ The signal configuration page with information about module
001 is displayed.
¾ Mark the existing signal in the signal list with a left mouse click
on it.
¾ Click Delete selected items.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149

Nexcom CPS 100-M User manual

Category
Gateways/controllers
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI