Features, discussions, tips, tricks, questions, problems and feedback

GOT Simple connection to a Siemens S7-1700 PLC- via ethernet

GOT Simple connection to a Siemens S7-1700 PLC- via ethernet.

In connection with the GOT Simple connection to a Siemens S7-1700 PLC- via ethernet.
The following connection procedure is applicable:

Prerequisites

Hardware:

  • Mitsubishi GOT Simple GS2107 HMI.
  • Siemens PLC (e.g., S7-1200 or S7-1500) with Ethernet capability (PROFINET port).
  • Ethernet switch or direct Ethernet cable (CAT5e or higher).
  • PC with TIA Portal (for Siemens PLC) and GT Designer3 (for GOT) installed.

Software:

  • TIA Portal V15 or later (for S7-1200/1500 configuration).
  • GT Designer3 (version compatible with GS2107, e.g., V1.250L or later).

Network Information:

  • IP addresses for GOT and PLC (must be in the same subnet, e.g., GOT: 192.168.0.100, PLC: 192.168.0.1, Subnet Mask: 255.255.255.0).
  • Ensure no IP address conflicts on the network.

Step-by-Step Procedure

Step 1: Hardware Connection

  1. Connect the GOT and PLC to the Network:
  2. Plug an Ethernet cable from the GOT’s Ethernet port to an Ethernet switch.
  3. Connect the Siemens PLC’s PROFINET port to the same Ethernet switch.
  4. Alternatively, use a direct Ethernet cable between the GOT and PLC if no switch is used (ensure a crossover cable or auto-MDI/MDIX support).

Power On Devices:

  1. Power on the GOT Simple GS2107 and the Siemens PLC.
  2. Verify that the Ethernet switch (if used) is powered and operational.

Step 2: Configure Siemens PLC in TIA Portal
Create a New Project in TIA Portal:

  1. Open TIA Portal and select “Create new project.” Enter a project name and click “Create.”
  2. Add a new device: Go to “Project view” > “Add new device” > Select your PLC model (e.g., S7-1200 CPU 1211C or S7-1500 CPU 1511-1 PN) and click “OK.”

Set PLC IP Address:

  1. In the “Device view,” double-click the PLC to open its properties.
  2. Navigate to “PROFINET interface [X1]” > “Ethernet addresses.”
  3. Assign a static IP address (e.g., 192.168.0.1) and subnet mask (e.g., 255.255.255.0). Ensure it’s in the same subnet as the GOT.
  4. Save and compile the hardware configuration (Ctrl+S, then “Compile”).

Enable PUT/GET Communication:

  1. In the PLC properties, go to “Protection & Security.”
  2. Check the box “Permit access with PUT/GET communication from remote partner” to allow the GOT to read/write data.

Create Data Blocks for HMI Communication:

  1. In the “Program blocks” folder, add a new Data Block (DB) (e.g., “DB1_HMI_Data”).
  2. Define tags in the DB for HMI interaction (e.g., Bool, Int, Real). For example:
  3. Name: “Start_Button,” Type: Bool, Address: DB1.DBX0.0
  4. Name: “Setpoint,” Type: Int, Address: DB1.DBW2
  5. Ensure “Optimized block access” is disabled for S7-1200/1500 to allow absolute addressing (right-click DB > Properties > Attributes > uncheck “Optimized block access”).

Download Configuration to PLC:

  1. Connect the PC to the PLC via Ethernet.
  2. In TIA Portal, select “Download to device” > “Hardware and software” and click “Load.”
  3. After downloading, ensure the PLC is in RUN mode.

Step 3: Configure GOT Simple GS2107 in GT Designer3
Create a New Project in GT Designer3:

  1. Open GT Designer3 and select “New Project.”
  2. Choose “GOT Type” as GS21 Series (e.g., GS2107-WTBD) and set the resolution.
  3. Set Controller Type and Communication Settings:
  4. Go to “System” > “Controller Setting.”

Select “CH1” (Ethernet) and set:

  1. Manufacturer: Siemens
  2. Controller Type: Siemens S7 (Ethernet)
  3. Driver: Ethernet (Siemens S7), TCP

Click “Detail Setting” and configure:

  1. PLC IP Address: Enter the PLC’s IP address (e.g., 192.168.0.1).
  2. Port No.: Default is 102 for Siemens S7 TCP/IP (ISO-on-TCP).
  3. Device Range: Set to match PLC tag types (e.g., DB, M, I, Q).

Configure GOT IP Address:

  1. Go to “System” > “Communication Setting” > “Ethernet.”
  2. Set GOT IP Address (e.g., 192.168.0.100) and Subnet Mask (e.g., 255.255.255.0).
  3. Ensure the GOT IP is unique and in the same subnet as the PLC.

Create HMI Screens and Tags:

  • Design HMI screens (e.g., add buttons, lamps, numeric displays).

Assign tags to screen elements using Siemens addressing:

  • For Data Block: Use “DBn.DBXm” (e.g., DB1.DBX0.0 for a Bool, DB1.DBW2 for an Int).
  • For Memory Bits: Use “Mn” (e.g., M0.0 for a Bool).
  • Example: For a button, set Device to “DB1.DBX0.0” to control the “Start_Button” tag.

Download Project to GOT:

  1. Connect the PC to the GOT via Ethernet or USB.
  2. In GT Designer3, select “Communication” > “Write to GOT.”
  3. Download the project to the GOT and reboot the GOT.

Step 4: Test Communication
Verify Network Connectivity:

  1. From a PC on the same network, ping the GOT (e.g., ping 192.168.0.100) and PLC (e.g., ping 192.168.0.1) to confirm connectivity.

Test HMI Functionality:

  1. On the GOT, navigate to the HMI screens.
  2. Interact with elements (e.g., press a button to set DB1.DBX0.0) and verify that the PLC responds (e.g., a tag changes in TIA Portal’s watch table).
  3. Monitor PLC tags in TIA Portal (Online > Monitor) to confirm GOT read/write operations.

On the GOT side:

GOT Side Settings

  1. Create a new project in GT Designer3 and select GS2107 as GOT type.
  2. Configure controller type as Siemens S7 (Ethernet), set PLC IP address, port (102), and driver (Ethernet Siemens S7, TCP).
  3. Set GOT IP address and subnet mask in Communication Setting.
  4. Design HMI screens and assign Siemens-compatible tags (e.g., DBn.DBXm, Mn).
  5. Download the project to the GOT.

image

image

image

image

image

image

image

image

image

On the Siemens PLC side:

Siemens PLC Side Settings

  1. Create a TIA Portal project and add the PLC device.
  2. Assign a static IP address to the PLC’s PROFINET interface.
  3. Enable PUT/GET communication in Protection & Security settings.
  4. Create a Data Block with tags for HMI interaction and disable optimized block access.
  5. Download the hardware and software configuration to the PLC.

image

image

image

**As for the addressing:

Addressing Notations
Siemens PLC Addressing (used in TIA Portal and GOT):

Data Blocks (DB):

  • Format: DBn.DBXm for bits, DBn.DBWm for words, DBn.DBDm for double words.
  • Example: DB1.DBX0.0 (Bool, bit 0 in DB1), DB1.DBW2 (Int, word starting at byte 2).
  • Note: n is the Data Block number, m is the byte offset, and for bits, an additional .bit (0–7) is specified.

Memory Bits (M):

  • Format: Mn.b for bits, MWn for words.
  • Example: M0.0 (Bool, bit 0 in memory), MW10 (Int, word starting at byte 10).

Inputs (I) and Outputs (Q):

  • Format: In.b for input bits, Qn.b for output bits, IWn for input words, QWn for output words.
  • Example: I0.0 (input bit), Q0.1 (output bit), IW2 (input word).

GOT Tag Assignment:

  • In GT Designer3, use the above formats directly in the “Device” field for screen elements.
  • Example: A lamp tied to DB1.DBX0.0 reflects the state of the “Start_Button” tag in DB1.
  • Ensure the device range in Controller Setting includes DB, M, I, Q as needed.

Notes:

  • GOT uses absolute addressing, so PLC Data Blocks must have “Optimized block access” disabled to allow direct DBn.DBXm access.
  • For large data transfers, group tags in contiguous DB addresses to optimize communication.

Troubleshoot Issues:

  • If communication fails, check:
  • IP addresses and subnet masks match.
  • PLC is in RUN mode and PUT/GET is enabled.
  • Firewall settings on the PC or network are not blocking port 102.
  • GOT driver and controller settings are correct.
  • Use TIA Portal’s diagnostic tools (Online > Diagnostics) or GOT’s error codes (System > Error Display) to identify issues.

Notes
Firmware and Software Compatibility:

  • Ensure the GOT firmware supports the Siemens S7 Ethernet driver (check Mitsubishi’s website for updates).
  • TIA Portal version must match the PLC firmware (e.g., V15 for S7-1200 firmware V4.0+).

Performance:

  • Limit the number of tags polled by the GOT to avoid overloading the PLC’s communication buffer (e.g., <100 tags for S7-1200).
  • Use multi-word transfers (e.g., DB1.DBW0–DB1.DBW10) for efficiency.

Security:

  • If security is a concern, configure PLC access restrictions in TIA Portal after testing, but ensure GOT communication is not blocked.

References:

  • Mitsubishi GOT Simple Series Manual (SH-081915ENG).
  • Siemens TIA Portal Help (S7-1200/1500 Communication).
  • Industry Support Siemens Forum (e.g., post ID 168679 for GOT-S7 communication insights).

Reference Resources:
GOT2000 Series Connection Manual (Non-Mitsubishi Electric Products 2) For GT Works3 Version1 https://dl.mitsubishielectric.com/dl/fa/document/manual/got/sh081199eng/sh081199engam.pdf

Got Simple vs Siemens S7-300