Page 1
PROFINET RT インターフェイスユニット メインモジュール / PROFINET RT Interface unit Main module MG70-PN お買い上げいただき、ありがとうございます。 ご使用の前に、この取扱説明書を必ずお読みください。 ご使用に際しては、この取扱説明書どおりお使いください。 お読みになった後は、後日お役に立つこともございますので、必ず保管してください。 Read all the instructions in the manual carefully before use and strictly follow them. Keep the manual for future references. 取扱説明書 / Instruction Manual...
4.2. IP アドレスおよびデバイス名の設定 固定 IP アドレスおよびデバイス名の設定には、本体側、およびプロジェクト側の両方で の設定が必要となります。 本体側およびプロジェクト側の設定は、 どちらも Automation Studio によって行ないます。 4.2.1. 本体側 設定作業を行なう前に、以下の項目を確認してください。 ・X20BC00E3 のノード数スイッチを“0x00”としてから電源を供給すること ・開発用コンピュータと X20BC00E3 を接続しておくこと Automation Studio において、 「Physical View」上の「Profinet (DTM)」以下に X20BC00E3 を追加してください。 ※本マニュアルでは、コントローラとして X20CP3585、PROFINET RT I/F モジ ュール(マスター)として X20IF10E1-1 を使用したものとして記述しています。 図 4-6 Automation Studio -- IP アドレスおよびデバイス名の設定(本体側) -- No.1 X20IF10E1-1 以下に表示されている「Profinet (DTM)」を右クリックし、...
Page 11
X20IF10E1-1 の「IP address」 「Network mask」に望みの値(実際のネットワー クで使用したい値)をそれぞれ入力し、 「Apply」ボタンを押してください。 ※本マニュアルでは例として、 「IP address」を「192.168.0.20」 、 「Network mask」 を「255.255.255.0」としています。 ルータを使用する場合は、 「Gateway address」にルータの IP アドレスを設定し てください。 図 4-9 Automation Studio -- IP アドレスおよびデバイス名の設定(本体側) -- No.4 「Navigation Area」より「Ethernet Devices」を選択してください。 この時点で、開発用コンピュータ上のイーサネットデバイスが「Use Network Connections for Scan」リストに表示されます。 図 4-10 Automation Studio -- IP アドレスおよびデバイス名の設定(本体側) -- No.5 X20BC00E3 と接続しているイーサネットデバイスについて、...
Page 12
工場出荷状態では、X20BC00E3 のデバイス名は未設定となっています。 「Set Name」 タブの 「New device name」 にて適当な文字列を入力後、 「Set Name」 ボタンを押してください。 ※本マニュアルでは例として、 「New device name」を「brpn001」としています。 この操作により、X20BC00E3 のデバイス名が設定されます。 図 4-12 Automation Studio -- IP アドレスおよびデバイス名の設定(本体側) -- No.7 工場出荷状態では、IP アドレスは未設定となっています。 「Set IP Address」 タブを選択し、 「 Use static IP Address」 で 「IP Address」 、 「 Subnet mask」に望みの値(実際のネットワークで使用したい値)をそれぞれ入力し、...
Page 13
10. もう一度「Search Devices」ボタンを押し、デバイス名と IP アドレスが正しく設 定されていることを確認してください。 図 4-14 Automation Studio -- IP アドレスおよびデバイス名の設定(本体側) -- No.9 もしくは、Web ブラウザを開き、アドレスバーに設定した IP アドレスを入力する ことで X20BC00E3 の Web server にアクセスできますので、そちらで確認してく ださい。 図 4-15 Automation Studio -- IP アドレスの設定(本体側) -- No.10 11 (J)
6.2. X20DC11A6_C1 表 6-2 GSDML ファイル定義の X20DC11A6_C1 の I/O データのアドレスマップ I/O データ名 データ アドレス グループ名 名称 タイプ ModuleOK Unsigned8 x + 0 PowerSupply01 Bool x + 1.0 Inputs_X20DC11A6_C1_a PowerSupply02 Bool x + 1.1 BW_Channel_A Bool x + 2.0 Inputs_X20DC11A6_C1_b BW_Channel_B Bool x + 2.1 BW_Channel_R...
Page 28
SAFETY PRECAUTIONS PRECAUTIONS FOR CORRECT USE Connect cables to the unit property as shown in the Definition of Precautionary Information instruction manual. Not doing so may result in a failure of the unit. Indicates a potentially hazardous situation Caution which, if not avoided, may result in minor or Do not install the unit in the following places: moderate injury, or property damage.
Contents Contents ........................... 1 1. Introduction .......................... 2 2. Basic Information ........................ 3 2.1. Equipment used ......................3 2.2. Equipment connection configuration ................4 3. Downloading the necessary files ..................5 4. B&R: Operations to be performed using Automation Studio ......... 6 4.1.
1. Introduction The MG70-PN is a PROFINET RT Interface unit Main module created by Bernecker + Rainer Industrie Elektronik (hereafter, B&R) and sold by Magnescale Co., Ltd. This manual describes the operation necessary in each company’s development environment (B&R: Automation Studio, Siemens: SIMATIC STEP 7) when introducing the MG70-PN and MG71-CM digital gauges.
2. Basic Information This section shows the slave (MG70-PN) side components used in the descriptions in this manual, and the connection configuration of the various equipment. 2.1. Equipment used Table 2-1 List of equipment used on the slave side Magnescale B&R...
X20DC11A6 Fig 2-1 Slave side connection diagram The Ethernet cable used to connect the master side and the MG70-PN should be shielded in accordance with the operating environment. Use a shielded RJ45 (8P8C) connector as the MG70-PN side connector. 4 (E)
3. Downloading the necessary files Access the B&R website (http://www.br-automation.com/), and select: “Downloads” → “Product Groups: Networks and fieldbus modules” → “Networks and fieldbus modules: PROFINET” → “PROFINET: Bus controllers” → “Bus controllers: X20BC00E3” Download “Profinet Buscontroller GSD Package”. Save the downloaded file in the appropriate location, and extract the file using file extraction software.
4. B&R: Operations to be performed using Automation Studio The description in this section uses the B&R “Automation Studio V4.2.3.159” as the development environment. This description also uses the B&R X20CP3585(CPU), X20IF10E1-1 (PROFINET RT master) as the network element. The network is constructed locally, and the IP address of each element is set as a static IP address as shown in the table below.
Page 35
The DTM catalog update will start. Wait until the update is complete. Fig 4-3 Automation Studio -- Importing the GSDML file -- No.3 The update is complete when the message “DTM catalog update successfully finished…” appears in the “Output” pane. Fig 4-4 Automation Studio -- Importing the GSDML file -- No.4 “X20BC00E3”...
4.2. Setting the IP address and the device name Static IP address and device name settings must be made for both the main unit side and the project side. The main unit side and project side settings are both made by Automation Studio. 4.2.1.
Page 37
A new tab will open. After the tab opens, it appears as shown below. Check that “Navigation Area” is “Controller Network Settings”. The “Network Settings” displayed here are the settings for X20IF10E1-1. Fig 4-8 Automation Studio -- Setting the IP address and the device name (main unit side) -- No.3 Set “IP address”...
Page 38
Click “Search Devices”. The active devices on the Ethernet device network that have check marks will be listed in “Devices Online”. Of the displayed devices, the device with “B&R PN Bus Controller” displayed as the “Device Type” is the X20BC00E3. * To reliably identify the X20BC00E3, check that the “MAC Address”...
Page 39
At the default setting, the IP address is not set. Select “Set IP Address” tab, set “IP Address” and “Subnet mask” with “Use static IP Address” to the desired values (the values to be used with the actual network), and click “Set Address”. * In the example in this manual, “IP Address”...
4.2.2. Project side 1. Open “Device Configuration” of “Profinet (DTM)” under X20IF10E1-1, and select “Device Table” from “Navigation Area”. Of the displayed devices, the device with “Device” set to “X20BC00E3” is the X20BC00E3. Set “Name of station” to the value set in step 8 of section 4.2.1 above, and click “Apply”.
4.3. Configuration setting for MG71-CM The X20BC00E3 that can be located in “Physical View” by the operation in section 4.1 above is the configuration up to the MG70-PN. The following task must be performed to set the configuration up to the MG71-CM part.
Page 42
(registers), refer to the X20DC11A6 data sheet and the B&R “PROFINET RT User’s manual”. Fig 4-23 Automation Studio -- Configuration setting for MG71-CM -- No.5 Click “OK” or “Apply”. The “X20BC00E3” located in “Physical View” will become the MG70-PN and MG71-CM configuration. 14 (E)
4.4. Communication settings In order to correctly acquire data, it is necessary to set only one of the combinations of master and slave settings to little-endian. If both are big-endian or both are little-endian, the MSB/LSB of the acquired data will be inverted. 4.4.1.
5. Siemens: Operations to be performed using SIMATIC STEP 7 The description in this section uses the Siemens “SIMATIC STEP 7 Basic V13 SP1 Update 9” as the development environment. This description also uses the Siemens SIMATIC S7-1200 CPU1211C (CPU, PROFINET RT master) as the network element.
Page 45
Wait until GSDML file import is complete. When import is complete, a window will be displayed. Click “Close”. Fig. 5-3 SIMATIC STEP 7 -- Importing the GSDML file -- No.3 Fig. 5-4 SIMATIC STEP 7 -- Importing the GSDML file -- No.4 The hardware catalog will be automatically updated.
5.2. Setting the IP address and the device name Static IP address and device name settings must be made for both the main unit side and the project side. Both the main unit and project side settings are made using SIMATIC STEP 7. 5.2.1.
Page 47
Select “Assign IP address” from the left menu of the opened page. At the factory default, the IP address is not set. Set “IP address” and “Subnet mask” to the desired values (the values to be used with the actual network), and click “Assign IP address”. * In the example in this manual, “IP address”...
Page 48
Double-click “Update accessible devices” again, and check that a device with the device name and IP address set in steps 3 and 4 above has been added. Fig. 5-11 SIMATIC STEP 7 -- Setting the IP address and the device name (main unit side) -- No.5 This can also be checked by opening the Web browser, entering the set IP address in the URL field, and accessing the X20BC00E3 Web server.
5.2.2. Project side Add the X20BC00E3 as a new device, and open “Device Configuration”. Fig. 5-13 SIMATIC STEP 7 -- Setting the IP address and the device name (project side) -- No.1 Select X20BC00E3 in “Device view”, display the “Properties” tab, and select “Ethernet addresses”...
The X20BC00E3 that could be located in “Devices & networks” by the operation in section 5.1 above is the configuration up to the MG70-PN part. The following task must be performed to set the configuration up to the MG71-CM part.
Page 51
To use the X20DC11A6 latch or other functions, select “X20DC11A6_C1”, open the “Properties” tab, and open “Module parameters” from the left menu. The various parameters can be edited from this page. For a description of the parameters (registers), refer to the X20DC11A6 data sheet and the B&R “PROFINET RT User’s manual”.
6. I/O Data address map This section describes the address map of the I/O data of each element (the elements defined in the GSDML file) used in this manual. For a description of each I/O data, refer to the X20PS9400 and X20DC11A6 data sheets or the B&R “PROFINET RT User’s manual”.
6.2. X20DC11A6_C1 Table 6-2 Address map of I/O data of X20PS9400 defined in GSDML file I/O data name Data Address Group name Name type ModuleOK Unsigned8 x + 0 PowerSupply01 Bool x + 1.0 Inputs_X20DC11A6_C1_a PowerSupply02 Bool x + 1.1 BW_Channel_A Bool x + 2.0...
Page 54
容 ( 操作、保守など ) と異なる目的で本マニュアルを使用 することを禁止します。 The material contained in this manual consists of information that is the property of Magnescale Co., Ltd. and is intended solely for use by the purchasers of the equipment described in this manual. Magnescale Co., Ltd. expressly prohibits the duplication...