[connection guide] nx-pnc siemens reva01
TRANSCRIPT
NX-Series PROFINETTM Coupler Unit Connection Guide SIEMENS Corporation PLC (P-210287)
1
NX-series PROFINETTMCoupler Unit
Connection Guide
SIEMENS Corporation PLC SBCA-xxxx
NX-Series PROFINETTM Coupler Unit Connection Guide SIEMENS Corporation PLC (P-210287)
2
目 次
1. Related Manuals .......................................................................................... 3
2. Precautions .................................................................................................. 4
3. Overview ...................................................................................................... 5
4. Applicable Devices and Device Configuration ........................................ 6
4.1. Applicable Devices ................................................................................ 6
4.2. Device Configuration ............................................................................. 7
4.3. Network Information .............................................................................. 9
5. Communication Procedure ...................................................................... 10
5.1. Work Flow ............................................................................................ 10
5.2. Slave Terminal Setup ........................................................................... 12
5.3. Offline Configuration of SIEMENS TIA Portal...................................... 20
5.4. Download to SIEMENS PLC ............................................................... 35
5.5. Configuring a PROFINET Device ........................................................ 39
6. Revision History ........................................................................................ 47
3
1. Related Manuals To ensure system safety, always read and follow the information provided in all Safety
Precautions and Precautions for Safe Use in the manuals for the devices that are used in the
system.
Manufacture Cat. No. Model Manual name
OMRON W536 NX-EIC202 Machine Automation Controller
NX-series EtherNet/IP™ Coupler Unit
User’s Manual
OMRON W504 - Sysmac Studio Version 1 Operation Manual
SIEMENS - MELSEC-S7-1200 S7-1200 Programmable Controller
System Manual
4
2. Precautions
(1) Understand the specifications of devices which are used in the system. Allow some margin
for ratings and performance. Provide safety measures, such as installing a safety circuit, in
order to ensure safety and minimize the risk of error occurrence.
(2) To ensure system safety, make sure to always read and follow the information provided in
all Safety Precautions and Precautions for Safe Use in the manuals for each device which is
used in the system.
(3) The user is encouraged to confirm the standards and regulations that the system must
conform to.
(4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this document
without the permission of OMRON Corporation.
(5) The information contained in this document is current as of March 2021. It is subject to
change for improvement without notice.
The following notations are used in this document.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury, or may result in serious
injury or death. Additionally there may be significant property
damage.
Indicates a potentially hazardous situation which, if not avoided,
may result in minor or moderate injury or property damage.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Symbol
The filled circle symbol indicates operations that you
must do.
The specific operation is shown in the circle and
explained in the text. This example shows a general
precaution for something that you must do.
5
3. Overview This document summarizes the procedures and programs required to connect an OMRON
Corporation NX-series PROFINET Communication Coupler Unit (hereinafter referred to as
"NX-PNC") + various NX-series Units to a Siemens PLC for PROFINET communication.
This document describes the procedures for connecting MITSUBISHI PLC to
EtherNet/IP Coupler Unit via socket communications.
For operations and system configurations that are not specified in this
document, obtain the manuals of the component devices of the system and
check the information in each manual, including safety precautions, precautions
for safe use.
6
4. Applicable Devices and Device Configuration
4.1. Applicable Devices
The applicable devices are as follows.
Manufacture Name Model
OMRON PROFINET Coupler Unit NX-PNC202
SIEMENS CPU Unit S7-1200
Precautions for Correct Use
In this document, the devices with models and versions listed in 4.2. Device Configuration are
used as examples of applicable devices to describe the procedures for connecting the
devices and checking their connections.
You cannot use devices with versions lower than the versions listed in 4.2.
To use the above devices with models not listed in 4.2. or versions higher than those listed in
4.2., check the differences in the specifications by referring to the manuals before operating
the devices.
Additional Information
This document describes the procedures for establishing the network connections and
performing PRFINET communications. It does not provide information on operation,
installation, wiring method, device functionality, or device operation, which is not related to
the connection procedures. Refer to the manuals or contact the manufacture of the product.
7
4.2. Device Configuration
The hardware components to reproduce the connection procedures in this document are as
follows.
Manufacture Name Model Version
OMRON NX-series PROFINETTM Coupler Unit
NX-PNC202 Ver.1.0
OMRON NX-series Unit NX-[][][][] -
OMRON Sysmac Studio SYSMCAC-SE2[][][] Ver1.19 SIEMENS CPU Unit S7-1200 - SIEMENS Ethernet Switch SCALANCE XB208 - SIEMENS TIA Portal -
- Personal computer (OS: Windows10)
-
-
LAN cable (STP (shielded, twisted-pair) cable
of Ethernet category 5 or higher) -
- USB cable (For connecting NX-PNC202) (USB 2.0 type B connector)
-
- 24 VDC power supply (Unit power supply)
-
- 24 VDC power supply (I/O power supply)
-
Precautions for Correct Use
The connection has been checked with the models and versions listed in this document. If
you use a model or version that is not listed here, please check the differences in
specifications in the instruction manual before starting work.
PC Tool: TIA Portal
PROFINET Coupler Unit NX-PNC202
PC Tool: Sysmac Studio
PLC: S7-1200
NX-Units NX-ID3343 NX-OD3153
USB Cable
LAN Cable
USB
Communic
ation Ethernet Switch:
XB208
Signal Cable
8
Additional Information
For the IO loopback signal line, connect Port 1 of NX-ID3343 and NX-OD3253.
9
4.3. Network Information
The network information (IP address/Subnet mask) for this configuration is as follows.
192.168.0.100 / 24
PC
PNC Coupler Unit NX-PNC202
PLC: S7-1200
Ethernet Switch XB208
192.168.0.2 / 24
192.168.0.1 / 24
192.168.0.3 / 24
10
5. Communication Procedure This chapter describes the procedures to communicate between SIEMENS PLC and
NX-PNC.
It is assumed that the NX-PNC is in the factory default settings.
5.1. Work Flow
The procedure to connect SIEMENS PLC and NX-PNC by Ethernet and to communicate is as
follows.
5.2. Slave Terminal Setup Configure the slave terminal settings.
▼
5.2.1. Hardware Settings
Attach the NX Unit to the NX-PNC, set
the hardware switches and connect the
cables.
▼
5.2.2. Parameter Settings
Sets the parameters of the slave
terminal.
▼
5.3. Offline Configuration of SIEMENS TIA Portal Configure offline settings for SIEMENS
TIA Portal.
▼
5.3.1. Create a Project
Create a project in TIA Portal and add a
CPU unit.
▼
5.3.2. Ethernet Switch Configuration Settings
Add a switching hub to the
configuration.
▼
5.3.3. Installing the GSD file
Install the GSD file of NX-PNC into TIA
Portal.
▼
5.3.4. Adding and Setting Remote IO Stations
Add a remote IO station.
▼
5.3.5. Assigning a PROFINET Network Station
Assign a PROFINET network IO
station.
▼
5.3.6. IP Address Setting (PLC) Set the IP address of the PLC.
▼
5.3.7. Set the IP address ( Switch , NX-PNC)
Set the IP address of the switching
HUB and NX-PNC.
▼
11
5.4. Download to SIEMENS PLC Download the configuration to the
SIMENS PLC.
▼
5.4.1. Compiling the Configuration Compile the project.
▼
5.4.2. Download the configuration to the PLC Download the project to the PLC.
▼
5.5. Configuring a PROFINET Device Set the IP address and device name of
the PROFINET device.
▼
5.5.1. Updating the Device List on PROFINET
Update the devices on the network,
including the PLC.
▼
5.5.2. Change the PROFINET settings of the
PLC
Set the IP address and device name of
the PLC.
▼
5.5.3. Change PROFINET setting of remote IO
station
Set the IP address and device name of
the switching HUB and NX-PNC.
▼
5.5.4. Checking the PROFINET network
connection
Check the PROFINET network
connection.
12
5.2. Slave Terminal Setup
Set up slave terminal.
Install Sysmac Studio on Personal computer in advance.
Hardware Settings
1 Make sure that NX-PNC is
powered OFF.
2 Connect each NX Unit to EIP
Coupler.
3 Check the location of the NX-PNC's hard switches and connectors based on the figure on the right.
4 Make sure that all DIP switches
are OFF.
SW1-SW4 is All Off
13
5 Make sure that all rotary switches
are zero.
ADR No.x161: 0
ADR No.x160: 0
14
Parameter Settings Set the parameters for Slave Terminal.
Parameters are set from Sysmac Studio.
Install Sysmac Studio and the USB driver on Personal computer in advance.
Additional Information
For information on how to install SysmacStudio and USB driver, refer to A-1
Driver Installation for Direct USB Cable Connection in Appendices of the Sysmac Studio
Version 1 Operation Manual (Cat. No. W504).
Additional Information
An NX-PNC and NX Unit on the Slave Terminal can be used without settings of unit operation
and configuration information of the NX Unit by support software. In this case, the default
setting of the NX Unit is used for operation.
1 Connect NX-PNC and
Personal computer via a USB,
and then turn ON the power
supply to Slave Terminal.
2 Start Sysmac Studio.
3 Sysmac Studio starts.
Click New Project.
NX-PNC
PC Sysmac Studio
USB
Communication
15
4 The Project Properties dialog
box is displayed.
*In this document, New Project
is used as the project name.
Select Slave Terminal from
the pull-down list of Category.
5 Make sure that PROFINET
Coupler is selected in the
Device field.
Click Create.
6 The New Project dialog box is displayed. The following panes are
displayed in this window. Left: Multiview Explorer Middle top: EIP Tab Page Top right: Toolbox
The following tabs are
displayed in the bottom middle
of this window.
Output Tab Page Build Tab Page
Multiview Explorer
Output Tab Page Build Tab Page
Toolbox
EIP Tab Page
16
7 From Multiview Explorer,
double-click Configuration >
PROFINET > NX-PNC202.
8 Double-click NX-PNC202
under Configurations and
Setup -
PROFINET in the Multiview
Explorer.
9 A confirmation dialog box is
displayed. Check the contents
and click OK.
10 When an online connection is
established, a yellow bar is
displayed under the toolbar.
17
11 Right-click the device icon of
Coupler Unit and select
Compare and Merge with
Actual Network
Configuration.
12 The Compare and Merge with
Actual Unit Configuration
dialog box is displayed.
18
13 Click Apply Actual Unit
Configuration.
14 Click OK.
15 Right-click the device icon of
Coupler Unit and select
Coupler Connection (USB) -
Transfer to Coupler from the
Menu.
16 The Transfer to Coupler dialog
box is displayed.
Click Configuration
information + Unit operation
settings + Unit application
Data.
19
17 A confirmation dialog box is
displayed. Check the contents
and click Yes.
A screen is displayed stating
"Transfer to Coupler".
18 Right-click NX-ENC202 and
select Coupler Connection
(USB) - Offline
20
5.3. Offline Configuration of SIEMENS TIA Portal
SIEMENS TIA Portal V16 (hereinafter referred to as TIA Portal) is used for offline
configuration.
Please install TIA Portal on your PC in advance.
Create a Project
1 Launch the TIA Portal. Double-click on the icon on your desktop.
2 Select "Create new project”.
3 Specify the Project name and the Path where you want to create the project, and select Create.
Select "Create".
21
4 Select "Device & network".
5 Select "Add new device" and
then "Controllers".
6 Select
[Contorollers]
-[SIMATIC S7-1200]
-[CPU 1212C DC/DC/DC]
-[6ES6 212-1AE-40-0XB0]
22
7 Select "Add".
8 The CPU will be added to the
project and the Device View will
be displayed.
23
Ethernet Switch Configuration Settings In this section, you will configure the settings to add the Ethernet switch configuration to the
project using the TIA Portal.
1 Double-click [Devices &
networks] from the list in the
[Devices] tab of the [Project
tree].
2 Click on the "Topology view" tab.
24
3 Select the Hardware catalog
tab, select [6GK5
208-0BA00-2AB2], drag it, and
drop it on the Topology View
screen to place it.
The [6GK5 208-0BA00-2AB2]
will be displayed in the [Network
Components]
-[IE switches]
-[SCALANCE X-200
managed]-[SCALANCE
XB-200].
-[SCALANCE XB208].
[Network Components] -[IE
switches] -[SCALANCE X-200
managed]-[SCALANCE
XB-200]-[SCALANCE XB208].
4 Verify that Switch_1
(SCALANCE XB208) has been
added as shown in the figure on
the right.
25
Installing the GSD file In this section, we will install the GSD file for NX-PNC.
1 Select "Manage general station
description files (GSD)" from the
list in the "Option" tab of the TIA
Portal.
2 In the Installed GSDs tab, click
the Select Source path button to
add the GSD file.
3 When the GSD file you added is
displayed, check the box and
press [Install].
26
Adding and Setting Remote IO Stations In this section, we will use TIA Portal to add and configure a remote IO station networked to a
Siemens PLC.
1 Double-click on "Devices & networks".
2 Select the Topology view tab.
3 Select the Hardware catalog tab,
select NX-PNC, drag it, and drop
it on the Topology View screen to
place it.
NX-PNC is located under
Other field devices
-[PROFINET IO] -[I/O
-[I/O] -[OMRON Corporation].
-[OMRON Corporation] -[NX
Remote I/O
-[NX Remote I/O Bus Coupler].
Select [Other field devices]
-[PROFINET IO] -[I/O] -[OMRON
Corporation] -[NX Remote I/O
Bus Coupler] to display.
27
Assigning a PROFINET Network Station In this section, we will use TIA Portal to configure the network connection of the remote IO
child station networked to the Siemens PLC.
1 Double-click on [Devices & networks] in the [Project tree].
2 Select the Network view tab.
28
3 Drag from the Ethernet port (green frame) of PLC_1, release the dragging when the black connection line appears, and click on the Ethernet port (green frame) of Switchch_1 to draw the connection line.
4 Follow the same procedure as step 3 to connect between PLC_1 and NX-PNC.
As shown in the figure on the right, all network lines will be connected.
5 Switch to [Topology view],
double-click the name of
NX-PNC202, and change the
name of "NX-PNC202" to "io_1".
29
6 Drag from the Ethernet port of PLC_1 (green frame), stop dragging when the black line extends, and click again on the P1 port of Switch_1 (upper left corner) to connect.
As shown in the figure on the right, you can set up the wiring from the X1 port of PLC_1 to the P1 port of Switch_1.
7 Similarly, set up the wiring
between the P2 port of Switch_1
and the X1 port of io_1 and
connect them.
30
IP Address Setting (PLC) In this section, we will use the TIA Portal to set the IP address of the Siemens PLC.
1 Double-click PLC_1 in the [Topology view] to display the [Device view].
When the cursor is placed on the CPU displayed in the [Device view] and it is focused with a blue frame, double-click it to display the Properties.
2 Properties tab General] tab From the list of PROFINET interface[X1]] -[Ethernet address] and set the IP address and
subnet mask to the following values.
IP address: 192.168.0.1 Subnet mask: 255.255.255.0
3 Properties tab General] tab From the list of PROFINET interface[X1]] -[Operating mode] and make sure that IO device is
unchecked. This indicates that PLC_1 is the
master station.
31
4 Properties tab General] tab From the list of PROFINET interface[X1]] -[Advanced options] -[Port[X1
P1]] -[Port[X1 P1]] -[Port[X1 P1]] -[Port
interconnection from the list of PROFINET
interface[X1] -[Advanced options] -[Port[X1 P1]] -[Port interconnection], and confirm that the connection destination of PLC_1 is port 1 of Switch_1.
Local port: Indicates the own
station. Partner port: Indicates the partner station.
32
Set the IP address ( Switch , NX-PNC) In this section, you will set the IP address of the remote IO child station side using TIA Portal.
Set the IP address of the Ethernet switch and NX-PNC.
1 Select Switch_1 from the Device view screen to display Switch_1, then double-click the device to display its Properties.
2 Properties tab General] tab From the list of PROFINET interface[X]] -[Ethernet addresses] from the list of [PROFINET
interface[X]]-[Ethernet addresses], and set the IP address and subnet mask as follows.
IP address: 192.168.0.2 Subnet mask: 255.255.255.0
3 Properties tab General] tab From the list of PROFINET interface[X]] -[Advanced options] -[Port [X1 P1]] -[Port [X1 P1]] -[Port
interconnection and make sure that port 1 of Switch_1 is connected to port X1 of PLC_1.
33
4 Properties tab General] tab From the list of PROFINET interface[X]] -[Advanced options] -[Port [X1 P2]] -[Port [X1 P2]] -[Port
interconnection and make sure that port 2 of Switch_1 is connected to port 1 (X1 P1) of io_1 (NX-PNC).
5 Select io_1 from the Device view screen to display io_1, then double-click the device to display its Properties.
6 Properties tab General] tab From the list of PROFINET interface[X]] -[Ethernet addresses] from the list of [PROFINET
interface[X]]-[Ethernet addresses], and set the IP address and subnet mask as follows.
IP address: 192.168.0.3 Subnet mask: 255.255.255.0
34
7 Properties tab General] tab From the list of PROFINET interface[X]] -[Advanced options] -[Port [X1 P1 R]] -[Port [X1 P1 R]] -[Port
interconnection and confirm that the connection destination for io_1 (NX-PNC) is port 2 (X1 P2) of Switch_1.
8 Properties tab General] tab From the list of PROFINET interface[X]] -[Advanced options] -[Port [X1 P2 R]] -[Port interconnection]]. and confirm that the connection
destination for port 2 of io_1 (NX-PNC) is set to "Any partner".
35
5.4. Download to SIEMENS PLC
Download the settings to the SIEMENS PLC.
Download the settings to the SIEMENS PLC via TIA Portal.
Compiling the Configuration To download the file, run the compilation and make sure it is error-free.
1 Right-click [PLC_1[CPU 1212C DC/DC/DC]] in the list of [Device] tab of [Project tree], and select [Compile] - [Hardware and software(only changes)] in the context menu list.
-[Hardware and software(only changes)
Select [Hardware and software(only changes)] from the context menu list.
2 Make sure that there are zero errors displayed in the compilation results shown in the window at the bottom of the tool.
36
Download the configuration to the PLC Download the configuration to the Siemens PLC.
参考
Make sure that the IP address of the source PC of the download to be configured is in the
same network segment as the Siemens PLC.
In this manual, the IP address of the source PC is set to "192.168.0.100".
1 Right-click on [PLC_1[CPU 1212C DC/DC/DC]] in the [Devices] tab list of the [Project tree].
in the [Devices] tab list of the [Project tree] and click [Download to device] from the context menu.
Download to device -[Hardware and software(only
changes) Select [Download to device] - [Hardware and software(only changes)] from the context menu.
2 Select the network interface of the source PC and press "Start search" to search for the PLC on the network.
37
3 When a PLC is found, the result of the finding will be displayed.
With the destination device (PLC_1) selected, press the "Load" button.
You can check if the destination device is correct by turning on the "Flash LED" check box. When the check is ON, the front LED of the target device will blink.
4 Press the "Load" button. (The transfer will start.)
5 Select "Start module" and click the "Finish" button.
38
参考
When "Load" is executed, if the screen looks like the following, you will be asked if you want
to STOP the RUN of the PLC. Change the "Stop modules" setting from "No action" to "Stop
all" to stop the ladder program, and then click the "Load" button.
39
5.5. Configuring a PROFINET Device
Set the IP address and device name of the PROFINET device.
Updating the Device List on PROFINET
1 From the list of [Devices] in the [Project tree], browse to [Online access] and select [Update accessible devices] for the NIC of the PC that is using TIA Portal.
2 The device list will be updated.
40
Change the PROFINET settings of the PLC
1 Expand the tree of a[192.168.0.100].
, and double-click "Online & diagnostics
The figure on the right shows
the device with the following settings in the PLC.
Device name: a IP: 192.168.0.100
The following settings are used for the PLC.
Device name: a
IP address: 192.168.0.100
2 Open [Functions]-[Assign IP address].
Set IP address to "192.168.0.1". Set Subnet mask to
"255.255.255.0 Click the "Assign IP address"
button.
41
3 [Functions] -[Assign PROFINET device name
-[Assign PROFINET device name].
and select Configured PROFINET device. Set the PROFINET device name
to Set the PROFINET device name
in the Configured PROFINET device to "plc_1" and click the "Assign name" button.
42
Change PROFINET setting of remote IO station
1 b Expand the [192.168.0.99] tree, and double-click "Online & diagnostics".
Double-click "Online & diagnostics".
The following settings are used for the Switch.
Device name: b
IP address: 192.168.0.99
2 Open [Functions]-[Assign IP address]
Set the IP address to Set IP address to "192.168.0.2"
and Subnet mask to "255.255.255.0
Click the "Assign IP address" button.
3 [Functions] -[Assign PROFINET device name
and select Configured PROFINET device. Set the PROFINET device name to "switch_1".
43
4 Click on the "Assign name" button.
5 nx-pnc202[00-00....] Expand the tree of "Online & diagnostics
Double-click "Online & diagnostics".
6 Open [Functions]-[Assign IP address].
Set IP address to "192.168.0.3" and Subnet mask to "255.255.255.0
Click the "Assign IP address" button.
44
7 [Functions] -[Assign PROFINET device name
-[Assign PROFINET device name].
and select Configured PROFINET device. Set the PROFINET device name
to Set the PROFINET device name in Configured PROFINET device to "io_1".
8 Click on the "Assign name" button.
45
Checking the PROFINET network connection Verify that the PROFINET network is configured correctly.
1 Select "PLC_1" in the [Project tree] and click the [Go online] button.
2 Select (check) the device (PLC_1) that you want to connect.
3 Press the "Go Online" button to go online.
46
4 If they are connected correctly, they will all be checked green.
47
6. Revision History
Revision
code
Revised date Revised content
A01 March 9, 2021 Draft
About Intellectual Property Rights and Trademarks
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Windows is a registered trademark of Microsoft Corporation in the USA and other countries.
Sysmac is a trademark or registered trademark of OMRON Corporation in Japan and other
countries for OMRON factory automation products.
Company names and product names in this document are the trademarks or registered
trademarks of their respective companies.