IMD SolutionComputing LibraryShop main store

Troubleshooting

Cyclic communication enabled but no Edge connection or key

Edge computing and IIoT Published 7 min read

Short answer

An enabled cyclic communication setting is permission, not a connection. Put the Edge endpoint port inside the documented 33333 to 33340 range, prove the service reachable on that port instead of trusting an ICMP ping, then complete the documented key provisioning; commissioned means r4446.17 reads Yes and r4446.0 reads Yes.

On this page
  1. What each status reading proves
  2. Bring the Edge endpoint inside the permitted port range
  3. Test the service, not just the host
  4. Routes and firewall rules beyond the gateway address
  5. Provision the key until the valid-key bit reads Yes
  6. The 24 V DC supply at X124
  7. The decision for each case
  8. Questions asked

A green power light and an enabled cyclic-communication setting are permission, not proof. On a SINAMICS G220 drive with the OM-IIoT option module, p4447 reading [1] Yes only says cyclic communication with Siemens Industrial Edge is enabled; r4446.0 reading [0] No says that cyclic connection is not established, and r4446.17 reading [0] No says no valid key is present. Work in this order: put the Edge endpoint port inside the permitted 33333 to 33340 range, prove the service reachable on that port — an ICMP ping tests the host, not the port — then complete the documented key provisioning until the valid-key bit reads Yes. The SFTP access bit and the power light never count toward the Edge connection. Each section below gives the check, the expected reading and the fix.

What each status reading proves #

Read the four indications as facts about four different layers, and let each one answer only its own question.

Reading What it proves What it does not prove
Power LED, green The module has supply voltage. Anything about the network or the Edge application.
p4447, active cyclic communications with Edge: [1] Yes Cyclic communication is enabled. You gave permission. That any session exists.
r4446.0, cyclic communication to Siemens Industrial Edge: [0] No The cyclic connection is not established. Why. Endpoint, path and key are all still candidates.
r4446.16, SFTP access: [1] Yes The file-transfer function's access status is affirmative. Anything about the cyclic link. It is a different session.
r4446.17, valid key: [0] No No valid key is present. That the network is at fault.

An affirmative status is evidence about its own function only — the same discipline as what a database write success return actually proves: the bit confirms the operation it reports and nothing about its neighbors. SFTP is SSH File Transfer Protocol, a session with its own login, so its Yes cannot outvote the two No readings that describe the cyclic link. The reading that has to change is r4446.0, and r4446.17 tells you it will not change until key provisioning succeeds.

Bring the Edge endpoint inside the permitted port range #

The commissioning documentation for this drive and option module permits port numbers 33333 to 33340 for the Edge device and requires the appropriate configuration in both devices — the Edge side and the module. The bound check is arithmetic: a configured port of 3333 fails it, because 3333 is below the 33333 lower bound, so that endpoint is invalid before any cable is inspected; a configured port of 33333 passes, because 33333 is within 33333 to 33340.

  1. Read the destination address and port configured at the module. Expected: the intended Edge host's address and a port inside the permitted range. An out-of-range entry is corrected with the commissioning procedure, not by trying another value.
  2. Read the listening port configured in the Edge application. Expected: the same port the module uses. A permitted port is permission, not a listener; if the application listens on a different number, the attempts still land on nothing.
  3. Confirm the Edge application or service is running and bound to an address the module can reach. If it is stopped or bound to another interface, no port number helps.

Test the service, not just the host #

A ping aimed at a port merges two different tests. Ping uses ICMP and asks the host to answer; a TCP connection test asks the specific service to accept a session. A successful ping proves host reachability and nothing else — not that anything listens on the configured port, and not that a key will be accepted. A failed ping can equally mean ICMP is filtered while the service is fine.

  1. Check the physical link first: active link status on the module's port and on the switch port it feeds. A down link sends you to cable, connector and switch configuration before any Edge setting.
  2. Compare addresses and subnet masks on both devices. Expected: valid, unique addresses on the subnets the network design specifies. If both ends sit on the same subnet, the exchange is direct and no gateway participates.
  3. From a station on the module's own segment, run a TCP connection test to the Edge host on the configured port. Expected: the connection opens. If it is refused or times out while the host answers a ping, the target is the listener or a firewall rule, not the cable.
  4. Re-read r4446.0 right after a connection attempt. No attempt recorded sends you back to the endpoint and path checks; an attempt with a rejection moves the case to the key section.

The gap between a reachable host and a working session is a plant-wide pattern — the same one behind a ping that succeeds while the program download still fails.

Routes and firewall rules beyond the gateway address #

Adding a gateway address alone does not create the return route and does not permit traffic through a firewall. A gateway only participates when the two addresses sit on different subnets, and then three things must hold: the gateway is reachable, routes exist in both directions, and filtering allows the configured TCP port along the whole path.

Worked example with invented addresses: the module is 192.168.10.20 with mask 255.255.255.0 and the Edge host is 192.168.20.5. The network addresses are 192.168.10.20 AND 255.255.255.0 = 192.168.10.0 and 192.168.20.5 AND 255.255.255.0 = 192.168.20.0. Different networks, so the module sends to its gateway (for example 192.168.10.1), the Edge side needs a route back to 192.168.10.0/24, and every firewall on that path must allow the TCP session on the configured port in both directions.

Had the host been 192.168.10.5, both AND operations would have returned 192.168.10.0 — same subnet, gateway unused, and routing work aimed at the wrong layer. The same segment-first, route-second discipline runs through diagnosing an edge gateway that is online while its PLC is offline.

Provision the key until the valid-key bit reads Yes #

Reachability only carries packets to the Edge application; r4446.17 decides whether the application accepts the module. A [0] No there is its own commissioning task, not a side effect of power or cabling.

  1. Open the OM-IIoT commissioning procedure for the installed configuration and follow its key-provisioning workflow exactly: the required key type, where it is installed, and the acceptance step. The procedure defines the credential; a network password or an unrelated certificate is not a substitute.
  2. Compare the provisioning state on both devices, because the documentation requires the appropriate configuration on each side. Missing, mismatched or rejected material is corrected through that documented process with authorized credentials.
  3. During a connection attempt, read diagnostics on the module and on the Edge side. Expected: key acceptance or a specific rejection reason. Silence means the attempt never left the endpoint or path layers; a rejection keeps the work here.
  4. Re-read r4446.17 after the procedure. Expected: [1] Yes. While it reads [0] No, the provisioning fault stands, and r4446.0 will not reach [1] Yes behind it.

The 24 V DC supply at X124 #

An external 24 V DC supply at X124 was tried without restoring communication. That result neither convicts the supply nor clears it: the wiring instructions for the installed hardware define whether this configuration needs the external supply, the terminal assignment, and the energization sequence. If the installed configuration requires it, measure at the specified terminals while connected and operating, expecting the documented voltage range and polarity — the green LED you already have is not that measurement. Isolate, lock off and follow the drive's documented procedure before touching any power terminal; live verification on a drive belongs to qualified personnel only.

The decision for each case #

  • Port outside the permitted range: correct it through the commissioning procedure, then re-run the service test. A corrected port alone is not a commissioned link.
  • Host answers a ping, TCP test on the configured port fails: the Edge service is stopped, listening on another address, or filtered. Fix the listener or the firewall rule before touching the key.
  • Ping and TCP test both fail: work the physical link, addresses, masks and routes. A gateway entry by itself is not a route.
  • TCP test passes but r4446.0 still reads [0] No: the case is authentication. Run the documented key provisioning and expect r4446.17 to read [1] Yes first.
  • r4446.17 reads [1] Yes and r4446.0 reads [1] Yes: the link is commissioned. The power LED and the SFTP bit play no part in that judgment.

Questions asked

Does p4447 staying at [1] Yes prove the connection works?

No. It is the enable you set, and an enable stays at the value you wrote whether or not any session exists, which is exactly why it cannot serve as a success test. Judge the link by the live status bits: r4446.17 for key acceptance and r4446.0 for the established cyclic connection. When both read [1] Yes, the link is commissioned.

What is the SFTP access bit actually reporting?

SFTP is SSH File Transfer Protocol, a file-transfer session with its own login and its own status. On this module it covers file-based functions, not the cyclic data exchange with the Edge application. A [1] Yes says that file-transfer access path is in order; it shares the cable with the cyclic link but not the session, so it never overrides r4446.0 or r4446.17.

Is a failed ping itself a fault to repair?

Not on its own. ICMP is frequently filtered by switches and firewalls even when the TCP service works, so a silent ping only matters if a TCP connection test on the configured port also fails. Commission the link on the port test and the status bits; do not require a ping reply that network policy may never permit.

What should be recorded before escalating the case?

The configured destination address and port at both ends, all four readings from p4447 and r4446 (cyclic, SFTP and valid-key bits), link status at the module and the switch, ping and TCP port-test results from a station on the module's own segment, both devices' addresses and masks, and the gateway in use. That set separates an endpoint fault from a path fault in one pass.

Keep reading

  • Troubleshooting

    Trace an edge gateway MQTT connection failure to Azure Event Grid

    A desktop MQTT client that connects and publishes with thumbprint authentication clears only that endpoint, certificate and permission combination on that host. When the gateway fails against the same Event Grid namespace, test four stages in order on the gateway itself: network path and DNS to TCP 8883, the TLS handshake with both certificate directions and the clock, the CONNECT identity, and publish authorization on the exact topic. The first stage that fails names the fix.

    Edge computing and IIoT

  • How-to

    MQTT to Modbus TCP with Node-RED on an edge gateway

    Yes: Node-RED with the node-red-contrib-modbus package can serve MQTT data to a SCADA client as Modbus TCP. Read the RTU device in Node-RED first, give the Modbus server node a port nothing else owns, and scale each MQTT payload to one integer per holding register before the first end-to-end test.

    Edge computing and IIoT

  • How-to

    Sending PLC data to an IoT hub without custom software

    You do not need custom software to move PLC data to an IoT hub: a configurable edge package with an S7, Modbus TCP or EtherNet/IP driver, a channel mapping and an MQTT publisher replaces hand-written acquisition code. Verify two things before you commit: the driver covers the protocol your controller actually speaks, and the publisher covers the destination's authentication and message format. Software still does the work — you configure it instead of writing it.

    Edge computing and IIoT