# 11.25 Siemens Logo

Supported Series: Siemens Logo

**HMI Setting**

| **Items**       | **Settings** | **Note** |
| --------------- | ------------ | -------- |
| Protocol        | Simens Logo  |          |
| Connection      | Ethernet     |          |
| Port No.        | 102          |          |
| PLC station No. | 2            |          |

**Address list**

| **Number** | **Address type** | **Type**    | **Range** | **DB address** | **PLC address** |
| ---------- | ---------------- | ----------- | --------- | -------------- | --------------- |
| 1          | RTC              | Word        | 1-7       | DB1.DBX984.0   | 0x001ec0        |
| 2          | VB               | Byte        | 0-1469    | DB1.DBX0.0     | 0x000000        |
| 3          | VD               | Double word | 0-1466    | DB1.DBX0.0     | 0x000000        |
| 4          | VW               | word        | 0-1468    | DB1.DBX0.0     | 0x000000        |
| 5          | NAQ              | word        | 1-32      | DB1.DBX1406.0  | 0x002bf0        |
| 6          | NAI              | word        | 1-64      | DB1.DBX1262.0  | 0x002770        |
| 7          | AM               | word        | 1-64      | DB1.DBX1118.0  | 0x0022f0        |
| 8          | AQ               | word        | 1-16      | DB1.DBX1072.0  | 0x002180        |
| 9          | AI               | word        | 1-16      | DB1.DBX1032.0  | 0x002040        |
| 10         | I                | bit         | 1-64      | DB1.DBX1024.0  | 0x002000        |
| 11         | Q                | bit         | 1-64      | DB1.DBX1064.0  | 0x002140        |
| 12         | M                | bit         | 1-112     | DB1.DBX1104.0  | 0x002280        |
| 13         | NI               | bit         | 1-128     | DB1.DBX1246.0  | 0x0026f0        |
| 14         | NQ               | bit         | 1-128     | DB1.DBX1390.0  | 0x002b70        |
| 15         | V                | bit         | 0-14697   | DB1.DBX0.0     | 0x000000        |

**PLC software setting**

**Steps in LOGO software:**

1. Click \[Tools]--\[Ethernet Connections],shown as below.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0s9-3M_2m54675%2F0.png?generation=1601177543664695\&alt=media)

1. Set Ethernet connection parameter.like IP,Subnet Mask,shown as below.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0tJtSXLLAUNDtD%2F1.png?generation=1601177543659806\&alt=media)

1. **TSAP set**:The value set by local TSAP is the remote TSAP set in HMI.PLC's remote TSAP is the opposite,shown as below.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0u8ppSnoUscpIs%2F2.png?generation=1601177543677579\&alt=media)

1. **Download projec**t: click "address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected.Then click “ok”, and the system will prompt that PLC will be"STOP" mode. Click“YES” to start download.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0vDGVbBCyZfIVQ%2F3.png?generation=1601177543673041\&alt=media)

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0w6mxZqt1M4i4e%2F4.png?generation=1601177543681873\&alt=media)

**HMI Communication settings**

1. Set PLC IP in \[Device IP] settings;

![1](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0xOO_GhJXE8hGU%2F5.png?generation=1601177543665856\&alt=media)

1. Enable HMI Ethernet in \[Project Settings];

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0yjcpR_nmdoCDz%2F6.png?generation=1601177543676116\&alt=media)

1. TSAP setting

Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register.

HSW10118 = local TSAP of HMI, this is remote TSAP of PLC.

HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC.

✎**Note:**

1. The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192.![IMG\_256](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba0zBzCKc9nBUagm%2F7.png?generation=1601177543669709\&alt=media)
2. AI word address and Ibit address are read-only and cannot be written on HMI;
3. VW address should be even number.such as VW0, VW2, VW4...
4. VD address it takes two VW addresses.such as VD0,VD4,VD8...
5. Written value of RTC cannot exceed 255.

**Communication cable**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-MICb4muKbnP6x-eTWwY%2F-MICba1-NPPoneXtJPtf%2F8.png?generation=1601177543691277\&alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wecon.gitbook.io/pistudio-manual/11.-plc-protocols/untitled-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
