A Factory I/O project using the supplied S7-1500 template can appear to have an address conflict: the template shows digital inputs beginning at 512, while Factory I/O exposes offsets only through 64. Do not resolve this by changing or deleting the template hardware. The evidence shows that input addresses 0 through 63 are already linked to the template I/O modules and can be used by adding PLC tags at matching Factory I/O addresses.
Recognize the Addressing Conflict
| Observed item | Evidence-supported interpretation |
|---|---|
| Template DI range starts at 512 | This range is part of the supplied hardware configuration; it is not the address range to select in Factory I/O. |
| Factory I/O offset is limited to 64 | Use matching addresses within the template-linked range from 0 through 63. |
| Changing the template address range | Reported to make PLCSIM enter an error or flashing state and stop exchanging I/O with Factory I/O. |
| Template module in slot 2 appears as analog input | Its I/O tags can still link addresses such as %I0.0 and %I0.1 for the simulated digital signals described in the evidence. |
Understand the Template Address Mapping
The decisive check is the template tag and module configuration, not the DI label or the displayed range beginning at 512. The supplied project contains tags at %I0.0 and %I0.1, and the slot 2 module’s IO tags tab links those addresses to the module. The evidence states that addresses 0 through 63 are automatically linked to the template modules and are not used by the template communication mechanism in a way that creates a conflict.
A separate test produced a different result after an additional input module was added: Factory I/O address 0.0 operated TIA Portal input 64.0, and Factory I/O address 0.5 operated input 64.5. Another report claimed that logic using %I0.0 and %I0.5 activated directly. These observations conflict. Do not assume that Factory I/O always remaps offset 0 to TIA offset 64. Inspect the actual tag-to-module assignments in the project and require matching addresses unless an observed online test proves otherwise.
Configure Matching Factory I/O and TIA Addresses
- Open the supplied S7-1500 template in TIA Portal. Leave its preconfigured modules and address ranges unchanged.
- Open the PLC tag table and identify the existing input tags, including the supplied tags at %I0.0 and %I0.1.
- Open the module in slot 2 and select the IO tags tab. Confirm that the low input addresses are linked to that module.
- Create the additional PLC tags required by the scene within addresses 0 through 63. Do not add a hardware input module merely to obtain usable low addresses.
- Assign each Factory I/O signal the same byte-and-bit address as its PLC tag. A Factory I/O input at 0.0 must correspond to %I0.0; an input at 0.5 must correspond to %I0.5.
- Compile and download the unchanged template hardware configuration and the updated tag and program data to PLCSIM.
Diagnose a Project That Uses Offset 64
If a newly added input module was automatically assigned a starting byte of 64, inspect whether it is actually required. The reported mapping from Factory I/O 0.0 to TIA Portal 64.0 occurred only after such a module was added, while the corrective evidence says the template’s existing low addresses are available. Remove the dependency on the added module by using the template-linked tags, but preserve the supplied template hardware configuration.
If the project still operates %I64.0 from Factory I/O address 0.0, treat that behavior as project-specific until the module and tag associations explain it. Do not program some signals at %I0.x and others at %I64.x without verifying every signal online.
Verify Signal Exchange
- Place the PLC input tags in a watch table or monitor the logic online.
- Operate one Factory I/O input at a time, beginning with an address already visible in the template, such as 0.0 or 0.1.
- Confirm that only the identically addressed PLC tag changes state.
- Repeat for every byte-and-bit address used by the scene. If 0.0 changes %I64.0 instead of %I0.0, return to the module’s IO tags assignments and identify the added-module mapping before continuing.
- Confirm that PLCSIM remains out of the reported error or flashing state after the hardware download.
FAQ
Why does the S7-1500 template show digital inputs starting at 512?
The displayed DI range belongs to the template hardware configuration and does not mean Factory I/O must use offset 512. Inspect the template’s tag list and slot 2 IO tags; the evidence shows usable links from address 0 through 63.
Should I change the TIA Portal input addresses to match Factory I/O?
No. Changing the supplied hardware address constellation was reported to put PLCSIM into an error or flashing state. Keep the template hardware unchanged and create matching PLC tags and Factory I/O assignments within addresses 0 through 63.
Why does Factory I/O input 0.0 sometimes activate TIA input 64.0?
That behavior was observed after an additional input module received a starting byte of 64, but it conflicts with the template-linked low-address behavior. Check the module’s IO tags assignments online; do not assume a universal 0-to-64 remapping.