1. Overview: The Pretesting Bottleneck
OEM machine builders routinely need to home every actuator and then jog each one between its mechanical min/max limits during pretesting at the factory floor. With machines that contain dozens of motors and pneumatic cylinders, the traditional workflow requires the technician to walk back to a PC or fixed HMI, change a manual-movement index in the PLC, walk back to the actuator to visually verify motion, and repeat. With 4–5 m vertical reaches and technicians climbing into machine frames, the round-trip cost dominates the commissioning time.
The requirement is unambiguous: a hand-held transmitter must let the operator (a) type a three-digit identifier such as 322 for actuator M32.2, (b) trigger the preprogrammed move, and (c) stop the move instantly. The PLC fleet in scope is mixed Siemens SIMATIC S7-1200/S7-1500 and Allen-Bradley CompactLogix/ControlLogix, so the chosen protocol must traverse both. The objective of this guide is to present four engineer-proven architectures, their hardware catalog numbers, the TIA Portal configuration steps, the safety gating logic, and the verification procedure.
Before any radio or webserver is ordered, a documented risk assessment per ISO 13849-1:2023 and IEC 60204-1:2016 is mandatory. Several architectures below assume caged or perimeter-guarded machines; for un-caged machines, a separate safe-motion strategy is required.
2. Safety Requirements — Non-Negotiable Up Front
Wireless remote control of hazardous motion is a category 3 or 4 safety function in nearly every machine-tool and packaging application. The following elements must be present regardless of which wireless architecture is selected:
| Requirement | Standard / Source | Implementation |
|---|---|---|
| Mode selection | ISO 13849-1 §4.3 | Key-locked Commissioning / Auto switch wired to a fail-safe input; remote actuation only valid when key-switch is in Commissioning. |
| Emergency stop | IEC 60204-1 §9.2.5.4 | Hard-wired E-Stop chain using a Category 1 stop; the radio link cannot be in series with E-Stop. Typical: SIRIUS 3SK1111 safety relay or Pilz PNOZ s4. |
| Hold-to-run (dead-man) | ISO 13849-1 §5.2 | Three-position enabling switch on the transmitter (off-on-off). The 2nd position must be spring-return-to-off, not spring-return-to-on, to prevent a dropped transmitter from continuing motion. |
| Speed / separation | ISO 10218-1 §5.4 (if robot) | Cap commissioning speed to ≤250 mm/s for any axis the operator can reach into. |
| Latency budget | Functional safety | Operator-to-stop ≤ 250 ms. Wireless round-trip + PLC scan + safety relay drop-out must be measured and documented. |
| Watchdog / link-loss | ISO 13849-1 §4.5.4 | If the radio link is lost for >500 ms, the safety relay must drop out and the drives must be brought to a safe state via STO. |
3. Solution Architecture Comparison
Four architectures are documented below. Selection depends on the existing PLC/HMI inventory, budget, and whether numeric keypad entry is required.
| Option | Numeric Entry | Latency | Cost (approx.) | Best For |
|---|---|---|---|---|
| A — Siemens Webserver + Mobile Browser | Yes (touch keypad) | 200–800 ms | €0–500 | S7-1500 with Comfort/Unified Panel already installed |
| B — Industrial Radio Remote (Tele Radio class) | Yes (numeric handset) | 20–80 ms | €800–2500 | Multi-vendor PLCs, no WiFi on shop floor |
| C — Industrial Pi + Node-RED Gateway | Yes (web dashboard) | 100–400 ms | €300–700 | Mixed Siemens + Rockwell fleets |
| D — Mobile VNC to Comfort Panel | No (mirrors HMI) | 150–600 ms | €0 (existing VNC server) | Brownfield projects with mature HMI screens |
4. Option A — Siemens Webserver + Mobile Browser
The S7-1500 (firmware V2.0 and later) and S7-1200 (firmware V4.0 and later) include a built-in Webserver that exposes user-defined web pages and watch tables over HTTP/HTTPS. With a WiFi access point bridged into the machine network, any smartphone browser becomes a wireless HMI without third-party software.
4.1 Prerequisites
- S7-1500 CPU 1511-1 PN (6ES7511-1AK02) or higher, or S7-1200 CPU 1215C DC/DC/DC (6ES7215-1AG40) firmware V4.4+.
- TIA Portal V17 or later for HTML5 user-defined pages (older V14/V15 only supports classic watch tables).
- Industrial WiFi AP, e.g. Siemens SCALANCE W1788-1EA (6GK5788-1EA00) or Cisco IW6300H.
- Webserver activated: PLC properties → Webserver → Activate webserver on this module, Permit access via HTTPS.
- User management with role Commissioning defined, password ≥ 12 chars.
4.2 TIA Portal — Creating the Commissioning Page
- Project tree → PLC → Webserver → User-defined pages.
- Add new HTML fragment named
page_commissioning.html. - Insert an input element bound to a tag in the commissioning DB:
<input type="number" min="0" max="999" name="MoveIndex" value=":="MoveIndex":"> - Insert a write button that triggers a single-bit
MoveTriggertag:
<button onclick="WriteTag('MoveTrigger', true)">EXECUTE</button> - Add a status panel that reads
CurrentActuatorName,LastError, andbEnableOKfrom the safety FB. - Configure SSL certificate under Webserver → Security → Server certificate (use the self-signed TIA Portal cert for lab, CA-signed for production).
- Download hardware configuration to PLC and browse to
https://<PLC-IP>/page_commissioning.html.
/Portal/Portal.mwsl are read-only by default for the Commissioning role. You must enable Write access on the role; otherwise the trigger button will return HTTP 403.5. Option B — Industrial Radio Remote with Numeric Keypad
Industrial crane-style transmitters from vendors such as Tele Radio (Tiger, Tucan, Puma series), Cattron, and HBC Radiomatic ship with detachable numeric keypads and Modbus RTU/TCP, CANopen, or Profibus receivers. This is the only architecture that delivers sub-100 ms latency without depending on the customer's IT infrastructure.
5.1 Recommended Hardware
| Vendor | Transmitter | Receiver | Bus Output | Stop Category |
|---|---|---|---|---|
| Tele Radio | Tiger T24-12 (numerical keypad + enable) | R24-12 | Modbus RTU / TCP, CANopen | Cat 3 PL d |
| Cattron | Excalibur S-series | SR-series | EtherNet/IP, Profinet | Cat 4 PL e |
| HBC Radiomatic | Spectrum series | FU-EC | Profinet, CANopen | Cat 4 PL e |
5.2 Modbus Mapping Example (Tiger T24-12)
The receiver exposes a holding-register map that is read by the S7-1500 via a Modbus TCP client instruction (MB_CLIENT or the newer MODBUSPN V3 block in TIA V17).
| Register | Name | Type | Description |
|---|---|---|---|
| 40001 | MoveIndex_LSB | UINT16 | Low byte of 0–999 actuator index |
| 40002 | MoveIndex_MSB | UINT16 | High byte (always 0 for 0–999) |
| 40010 | TriggerBit | BOOL | Momentary execute |
| 40011 | Enable_OK | BOOL | 1 = 3-pos enable pressed; 0 = stop or released |
| 40012 | Link_OK | BOOL | 1 = radio link active |
| 40013 | EStop_OK | BOOL | 1 = physical E-Stop closed |
Sample TIA Portal ST code to convert register pair into a single integer and trigger a movement:
// FB "RemoteManualMove" — TIA Portal SCL
IF #Link_OK AND #Enable_OK AND #EStop_OK THEN
#MoveIndex := DWORD_TO_INT( SHL( INT_TO_DWORD(#MoveIndex_MSB), 16 ) OR #MoveIndex_LSB );
#bValid := (#MoveIndex >= 0) AND (#MoveIndex <= 999);
IF #bValid AND #TriggerBit AND (NOT #TriggerPrev) THEN
#bExecute := TRUE; // one-shot rising edge
END_IF;
ELSE
#bExecute := FALSE;
END_IF;
#TriggerPrev := #TriggerBit;
The bExecute pulse is fed into the existing manual-movement sequencer in the application program.
6. Option C — Industrial Pi + Node-RED Gateway
A Raspberry Pi 4 (4 GB) or an industrial equivalent (e.g. Revolution Pi Connect S) running Node-RED provides a vendor-agnostic gateway that talks Modbus TCP, S7 native (via the node-red-contrib-s7 node), EtherNet/IP (via node-red-contrib-cip-ethernet-ip), and exposes a mobile-friendly dashboard. Cost is roughly one-tenth of an industrial radio and supports both Siemens and Rockwell without code duplication.
6.1 Bill of Materials
- Raspberry Pi 4B or RevPi Connect S (catalog 100359).
- Node-RED ≥ v3.1 with nodes:
node-red-dashboard,node-red-contrib-s7,node-red-contrib-modbus. - Read-only SD card (industrial SLC, ≥ 16 GB).
- Power: 24 V → 5 V via Meanwell DDR-15.
- WiFi: Pi onboard (lab only) or USB industrial dongle (e.g. EW-7811UAC).
6.2 Flow Sketch
-
S7 read node: address
DB100.DBX0.0forMoveIndex,DB100.DBX2.0forTrigger; poll 100 ms. -
Function node validates
MoveIndexis in 0–999 andbLinkOKfrom the safety FB. -
Dashboard group with a numeric input (slider 0–999), an EXECUTE button, and a status panel bound to
CurrentActuatorName. -
S7 write node mirrors the dashboard back into the PLC when Remote Source selector is set to
PIin the HMI.
node-red-contrib-https) and HTTP basic auth with a per-engineer password. Reverse-proxy via nginx and disable Node-RED admin on port 1880 from the WiFi side.7. Option D — Mobile VNC to Comfort / Unified Panel
Siemens Comfort Panels (TP700–TP2200, 6AV2 1xx series) and Unified Comfort Panels include a built-in VNC server accessible from any smartphone VNC client. This is the fastest path to a mobile HMI on existing hardware.
7.1 Configuration Steps
- Open the Panel project in TIA Portal.
- Panel properties → Services → enable Sm@rtServer (Comfort) or Webserver + VNC (Unified).
- Define a commissioning user with password; restrict to View + Operate only — no Administration rights.
- Configure IP, subnet, gateway to match the machine's Profinet segment.
- On the smartphone, install VNC Viewer (RealVNC) or the Siemens Sm@rtClient app (iOS / Android).
- Connect to
<Panel-IP>:5900(Comfort) orhttps://<Panel-IP>/(Unified).
8. Numeric Selection Logic — Parsing "322" into M32.2
The standard actuator naming convention encodes the machine axis and the sub-index in the three digits. The mapping is consistent across the OEM fleet, so a deterministic parser belongs in a reusable function block.
| Digit Position | Range | Meaning | Example "322" |
|---|---|---|---|
| Hundreds (X00) | 0–9 | Machine sub-system | 3 = Conveyor 3 |
| Tens (0X0) | 0–9 | Axis / cylinder group | 2 = Vertical lift |
| Units (00X) | 0–9 | Direction or sub-actuator | 2 = Down stroke |
Sample SCL parser used to populate a UDT ActuatorSelect from a single integer:
// Convert raw index 0–999 into UDT fields
#ActuatorSelect.iSubsystem := #MoveIndex / 100; // 3
#ActuatorSelect.iAxisGroup := (#MoveIndex MOD 100) / 10; // 2
#ActuatorSelect.iSubIndex := #MoveIndex MOD 10; // 2
#ActuatorSelect.sName := CONCAT('M', INT_TO_STRING(#MoveIndex));
Edge-trigger the execute to prevent double-firing:
IF #MoveIndex <> #MoveIndexPrev THEN
#bIndexChanged := TRUE;
END_IF;
IF #bIndexChanged AND #bTrigger THEN
#bExecute := TRUE;
#bIndexChanged := FALSE;
END_IF;
#MoveIndexPrev := #MoveIndex;
9. Wireless Network Infrastructure
Industrial WiFi is not optional. A domestic router in a steel-framed hall will not deliver the 250 ms latency budget. Recommended topology:
- One Siemens SCALANCE W1788-1EA (6GK5788-1EA00) AP per 30 m of machine length, mounted ≥ 3 m above floor, with external antenna (e.g. ANT795-4MR).
- Power over Ethernet (PoE+) via SCALANCE PSR9230 (6GK5923-0PS00) or a managed PoE switch.
- Commissioning SSID isolated in a separate VLAN (e.g. VLAN 99) with no route to the corporate LAN.
- For machines where radio coverage is impractical, fall back to Option B (industrial radio remote with bus output) — these radios operate at 433/868/915 MHz and propagate well around metal structures.
10. Remote I/O and PLC Architecture Context
PLCs and remote I/Os are real-time deterministic controllers; a wireless link in the loop must respect this. According to NXP's PLC and Remote I/O application brief, deterministic latency is the primary design constraint. When adding a wireless remote you are inserting a non-deterministic element, which is why the safety relay + dead-man chain must remain outside the wireless path. If the wireless link is for command-and-status only (no safety function) and the safety chain is a parallel hardwired circuit, the deterministic constraint is preserved.
For distributed architectures where the radio receiver is not co-located with the main PLC, remote I/O modules such as the AutomationDirect BRX series can be installed at the receiver and tunneled back over Ethernet to the central S7-1500. See the BRX Remote I/O Controllers product page for module selection. This is useful when the wireless receiver must sit near a hazardous area and the main PLC is in a control cabinet 30 m away.
11. Commissioning Procedure
- Document risk assessment with all stakeholders; record PL target and residual risk.
- Power up the receiver/AP, verify LED status on SCALANCE W (Power, Link, Activity).
- Check E-Stop chain with PLC in Stop: pressing the physical E-Stop must drop out the safety relay within 50 ms.
- Verify dead-man: with PLC in commissioning mode, hold enable switch — drives must energize. Release — drives must de-energize within 250 ms.
- Verify link-loss drop-out: power off the radio transmitter while the enable is held — safety relay must drop out within 500 ms.
-
End-to-end latency: with the PLC logging timestamped
MoveTriggerand the handheld logging key-press, take 50 samples; mean < 250 ms, max < 400 ms. - Functional test: type index 322, press EXECUTE, observe M32.2 move to home position; press EXECUTE again, observe move to mechanical max.
- Watchdog: verify PLC fault is raised (OB82 / OB86) if the radio connection is missing for > 1 s; the application must fall back to local HMI only.
- Sign-off: attach the test record to the machine's CE technical file.
12. Troubleshooting Matrix
| Symptom | Likely Cause | Diagnostic | Fix |
|---|---|---|---|
| Execute button does nothing | Role lacks write access | Browser dev tools → Network tab → check HTTP 403 | Add write permission to commissioning role in TIA Portal user management |
| Page loads but values are stale | Tag reference syntax error | View page source, verify :="Tag": matching PLC tag name case |
TIA Portal webserver tag names are case-sensitive |
| High latency > 1 s | WiFi client roaming between APs | WiFi analytics on SCALANCE W | Disable 802.11r fast transition or assign static channel |
| Random fault OB86 | Modbus TCP connection drops | Wireshark capture on PLC port 502 | Increase MB_CLIENT timeout to 5 s and enable keep-alive |
| Radio link loss not detected | Watchdog not implemented | PLC logic review | Add cyclic Heartbeat toggle monitored at 100 ms; raise fault if missing for 5 cycles |
| Numerical value resets to 0 | Form not bound correctly | Browser inspector | Use :="MoveIndex": (assignment on submit) vs :="MoveIndex":" (write on change) |
| VNC client shows error "connection refused" | Panel VNC server disabled | Panel diagnostics | Enable Sm@rtServer in TIA Portal and reload project to panel |
13. Engineering Field Notes
- Never route E-Stop through the wireless transmitter's outputs. E-Stop must be a series-wired loop into the safety relay regardless of mode selection.
- If the actuator count grows past 999, the parsing FB must be extended to 4 digits and the webserver input max raised to 9999; do not repurpose spare bits for sequencing.
- Document the actuator index table in the machine's electrical drawing set (typically drawing index "COMM-001"); technicians must be able to read
322and findM32.2on the schematic. - When commissioning multiple identical machines, export the webserver HTML fragments as part of the TIA Portal master project — this prevents drift.
- For machines with safety-rated motion (presses, robots), the wireless remote is for ergonomic jog only; the production cycle is hard-gated by light curtain or area scanner.
Can the Siemens S7-1200 webserver be accessed from any smartphone?
Yes. S7-1200 firmware V4.4+ and S7-1500 V2.0+ support user-defined HTML5 web pages. Connect the phone to the same WiFi SSID as the PLC, browse to https://<PLC-IP>/page_commissioning.html, and authenticate with the commissioning role credentials.
What is the latency budget for a wireless commissioning remote?
Target ≤ 250 ms end-to-end (operator key-press to actuator motion start) to satisfy PL d functional safety assumptions. Industrial radio remotes deliver 20–80 ms; WiFi-based architectures deliver 200–800 ms and require measurement before deployment.
Do I need a separate safety relay if I use a three-position enabling switch?
Yes. The enabling switch is part of the safety function and must be wired (directly or via F-CPU) to a Cat 3/PL d or Cat 4/PL e safety relay such as SIRIUS 3SK1111 or Pilz PNOZ s4. The wireless link carries the command; the safety relay carries the enable.
Can the same remote control both Siemens and Rockwell PLCs?
Yes, via either Modbus TCP (supported natively by both ControlLogix via AOI and S7-1500 via MB_CLIENT) or via a Node-RED gateway translating Modbus to EtherNet/IP and S7 native in parallel. Industrial radio receivers with dual bus outputs (e.g. Cattron Excalibur) can also drive two PLCs simultaneously.
Why is the VNC option sometimes considered unsafe for commissioning?
VNC video latency over WiFi can reach 1–3 s, which is longer than a typical operator reaction time. Operators may jog a motor based on a stale frame. Always verify the actual end-to-end latency with a stopwatch test before relying on VNC, and ensure the operator remains in line-of-sight of the actuator.
Which ISO standards govern wireless remote control of machinery?
ISO 13849-1:2023 covers safety-related parts of control systems including PL rating. IEC 60204-1:2016 covers electrical equipment of machines including emergency stop. ISO 10218-1 applies if robots are involved. A documented risk assessment must determine which clauses apply to your specific machine.