Resolving LOGO! 24RC and INSYS GSM 4.1 SMS Communication Failures
The Siemens LOGO! 24RC logic module is a compact controller widely deployed for small automation and remote-alarm applications. When paired with the INSYS Microcom GSM 4.1 modem family, the combination delivers a low-cost remote notification solution: digital inputs and outputs on the LOGO! drive logic, the modem sends an SMS to a defined recipient list. In the field, this pairing frequently produces a situation where AT commands issued by a terminal produce SMS successfully, yet an output transition (Q1) on the LOGO! never reaches the modem's SMS engine. This article documents the root causes, the required HSCom configuration, and the field-proven reset/workaround procedures that bring the link up reliably.
1. System Overview and Architecture
The alarm chain consists of three blocks:
- LOGO! 24RC — Logic module that evaluates inputs (I1..I24 depending on expansion) and drives outputs (Q1..Q16, with Q1..Q4 on the base unit). The base RS-232 port on the LOGO! 24RC (the 0BA5 and 0BA6 generations most commonly paired with the INSYS GSM 4.1) is used for serial communication to external devices.
- INSYS Microcom GSM 4.1 — Industrial GSM/GPRS modem with a DB-9 serial interface, SIM card holder, and the HSCom configuration tool. The modem exposes an SMS-C engine that can be triggered by serial AT commands, by DTMF tones, or by polled monitored values coming from the attached LOGO!.
- HSCom — Windows configuration software shipped with the INSYS modem. The HSCom project file (*.HGP) stores the recipient phone book, the serial port profile, the connection profile, and — critically — which LOGO! outputs are polled and forwarded as SMS events.
The integration diagram is straightforward: a 1:1 serial cable routes LOGO! TX → modem RX, LOGO! RX → modem TX, plus signal ground. No hardware handshaking is required for the alarm path because the INSYS GSM 4.1 operates as a DCE in transparent AT mode and as a polled master in LOGO! mode.
2. Required Hardware and Cabling
| Item | Specification | Notes |
|---|---|---|
| LOGO! base module | 6ED1052-1HB00-0BA6 (LOGO! 24RC, 0BA6) | 24 V DC supply, 4 DI / 4 DO relay, RS-232 on the left RJ12 jack |
| LOGO! programming cable | 6ED1057-1AA00-0BA0 (PC cable) — do NOT use for modem link | The PC cable is for LOGO!Soft Comfort only |
| Serial cable LOGO! ↔ INSYS | Shielded DB-9 (female) to RJ12 (LOGO! side) — straight-through on data lines | Pinout: DB-9 pin 2 → LOGO! RX, DB-9 pin 3 → LOGO! TX, DB-9 pin 5 → LOGO! GND |
| INSYS Microcom GSM 4.1 | Microcom 4.1 series (art. no. 10006619 and similar) | Quad-band GSM, SMA antenna, DB-9 serial, 10–30 V DC supply |
| SIM card | 2G/GSM capable (note: 3G/4G-only SIMs will fail on this modem) | Disable PIN prompt; confirm SMS-C number is provisioned |
| HSCom software | HSCom version matched to firmware on the modem | Save configuration as *.HGP before uploading to the modem |
Verify the cable with a continuity tester before powering up. A swapped TX/RX pair will silently break the link and the modem will not produce any error indication.
3. Matching Serial Port Parameters
The first rule of a stable LOGO! ↔ INSYS link is that the serial parameters on the LOGO! and the parameters encoded in the HSCom project and the parameters in the modem's live profile and the parameters in LOGO!Soft Comfort's connection setup must all four match. The most commonly cited cause of a no-SMS-on-Q1 condition is a parameter mismatch — typically 9600/8/N/1 on the LOGO! against 19200/8/N/1 still active in the modem from a previous configuration.
| Parameter | LOGO! side (recommended) | INSYS GSM 4.1 side (HSCom) | LOGO!Soft Comfort project |
|---|---|---|---|
| Baud rate | 9600 bit/s | 9600 bit/s | 9600 bit/s |
| Data bits | 8 | 8 | 8 |
| Parity | None | None | None |
| Stop bits | 1 | 1 | 1 |
| Flow control | None | None | None |
| Protocol | LOGO! ↔ INSYS protocol (not Modbus) | LOGO! protocol (polled master) | Set in "Tools → PC/Modem Interface" |
4. HSCom Configuration: The Monitored-Values Trap
HSCom organizes the LOGO! interface under a dedicated menu node labelled LOGO. The trap that causes 80% of the field failures documented online is the dual-checkbox requirement: an output must be marked both in the Values in Use column and in the Monitored Values column. Marking only one of the two does not enable the SMS engine to fire on a transition.
4.1 Step-by-step HSCom setup for Q1
- Launch HSCom and open the existing
*.HGPconfiguration (or create a new one with File → New). - Configure the basic settings: SIM PIN (empty if PIN prompt is disabled), SMS-C number, and operator APN if GPRS is used for the data path.
- Open the LOGO page at the end of the menu tree.
- Locate output Q1 in the list of available values.
- Tick Values in Use for Q1 — this allocates a polling slot in the LOGO! protocol frame.
- Tick Monitored Values for Q1 — this declares Q1 as a watched element that triggers the SMS engine on state change.
- Configure the action: in the pop-up window, set the recipient phone number in international format (
+<country code><number>) and enter the SMS text. Repeat the number in the format+1234567890for every recipient. - Save the project as
*.HGPand upload it to the modem via the Modem → Send Configuration menu. - Press the Reset button on the INSYS modem once after the upload completes.
4.2 Required HSCom flags
| Flag | Location in HSCom | Purpose |
|---|---|---|
| Automatic SMS processing | SMS → Settings | Allows the modem to dispatch queued SMS without a host PC attached |
| Control/Output 2 activated by command (AT, SMS, DTMF) | Control → Outputs | Enables remote command path; also required if Q1 is to be flipped remotely |
| Send SMS on monitored value change | LOGO → Monitored Values | The actual trigger that fires the SMS engine on Q1 0→1 and 1→0 transitions |
| Recipient prefix | SMS → Phone Book | Set to + + country code; the field requires the leading + symbol |
5. Recipient Phone Number Format
The INSYS GSM 4.1 firmware enforces a strict E.164-style format on the recipient list. A number stored as 0412345678 is silently rejected by the SMS engine in many firmware builds, producing a "queued but not sent" condition with no log entry. Always store numbers as
+<country code>&code> followed by the subscriber number with no leading zero, no spaces, and no dashes.
| Incorrect | Correct | Country |
|---|---|---|
| 041 234 5678 | +412345678 | Switzerland |
| (01) 234-5678 | +12345678 | United States (1 + area code) |
| 070-1234567 | +46701234567 | Sweden |
6. Root-Cause Matrix
| Symptom | Most likely root cause | Verification | Fix |
|---|---|---|---|
| AT commands send SMS, Q1 transition does not | Q1 only marked in Values in Use or only in Monitored Values | Open HSCom, check both checkboxes for Q1 | Tick both; re-upload; reset modem |
| Power-up SMS arrives, no event SMS | Modem has not started polling LOGO! | Send STATUS? SMS to the SIM; check RX/TX LED on INSYS |
Trigger a STATUS? SMS or press reset on the INSYS |
| No RX/TX activity at all | Serial parameter mismatch (baud rate, parity) | Read modem profile with HSCom, compare with LOGO! project | Match 9600/8/N/1 on both sides |
| SMS queued but never delivered | Recipient number missing leading +
|
Inspect HSCom phone book; enable SMS log | Re-enter numbers in E.164 format |
| Modem hangs after config upload | Stale state machine; new profile not applied | Watch for RDY LED steady after upload | Press hardware Reset on the INSYS front panel |
| Random spam SMS at boot | Test program drives Q1 on every power-up | Review LOGO! program for a Q1 initial-high | Use a pulse-edge trigger, not a level |
| 2G sunset: no SMS at all | Carrier has shut down GSM/2G network | Check operator's 2G sunset schedule | Replace modem with LTE Cat-1 or NB-IoT variant |
7. Step-by-Step Resolution Procedure
-
Confirm the base alarm chain works. Open a terminal on the PC, connect to the modem over its DB-9, type
AT+CMGS="+1234567890"and send a test SMS. If this fails, the problem is the modem, the SIM, or the antenna — not the LOGO!. -
Confirm the LOGO! outputs are alive. Run a minimal program in LOGO!Soft Comfort that ties
I1toQ1and download it to the controller. Toggle I1 and listen for the relay click on Q1. If Q1 does not click, the problem is the program or the wiring — not the modem. - Match the serial parameters on all four locations listed in section 3.
- Re-author the HSCom project following section 4.1, paying special attention to the Values in Use + Monitored Values dual checkbox.
-
Enter recipient numbers in E.164 format with the leading
+and country code. - Upload the project to the modem and press the Reset button on the modem once the upload completes.
-
Force a first contact by sending the SMS
STATUS?to the SIM card. The modem will respond with its current state and, in doing so, will synchronize the polling handshake with the LOGO!. - Trigger Q1 by asserting I1. The RX/TX LEDs on the INSYS should flash within 1–3 seconds, and the recipient should receive an SMS within 5–10 seconds, depending on the GSM network.
8. Verification Checklist
| Check | Expected result |
|---|---|
| Power-up SMS | Received on the operator phone within 30 s of modem power-on |
| Manual AT SMS | Received on the target phone within 10 s |
| LOGO! Q1 → SMS | Received on the target phone within 10 s of Q1 rising edge |
| RX/TX LEDs during Q1 transition | Flash for 1–3 s, then go idle |
| Modem RDY LED after config upload | Steady (not blinking) after reset |
| SIM signal strength | CSQ > 10 (good); > 15 (excellent) |
| SMS-C log entry | Operator's SMS-C confirms delivery (visible in HSCom log with Verbose enabled) |
9. Field-Proven Tips and Edge Cases
- Reset is a one-button bring-up tool. After every HSCom upload, press the Reset button on the INSYS front panel. The modem does not always restart the LOGO! polling thread on a soft reconfiguration; a hardware reset guarantees a clean handshake.
-
The STATUS? trick. Sending
STATUS?to the modem's SIM forces a poll cycle and kicks the LOGO! protocol into a live state. This is a reliable way to verify the link during commissioning when you cannot yet toggle Q1. - Watch for relay wetting current on Q1. The LOGO! 24RC outputs are electromechanical relays rated 8 A / 240 V AC. If you wire a low-current modem input across Q1, place a bleeder resistor (10 kΩ across the load) so the relay contacts do not develop a high-resistance film.
- Use a level transition, not a steady level, to trigger SMS. Configure the LOGO! to drive Q1 with an edge-triggered pulse (e.g., a 2 s pulse from a monostable). A level-driven Q1 that stays high will fire the SMS engine on every poll cycle in some firmware versions.
- Disable the SIM PIN. The INSYS firmware expects a PIN-less SIM by default. If the SIM is PIN-protected, either enter the PIN in HSCom or remove the PIN from the SIM with a phone first.
- Supply the modem with a clean 24 V rail. The LOGO! 24RC has limited auxiliary current. Power the INSYS from a separate 24 V DC source rated at least 1 A to avoid brown-outs during GSM transmit bursts (peaks at 2 A).
- Check the LOGO! generation. The 0BA5 and 0BA6 generations support the polled LOGO! protocol natively. Earlier 0BA4 hardware needs the optional communication module CM LOGO! 0BA4, and the integration with INSYS is documented separately in the Siemens LOGO! product portal.
-
Save the .HGP file as binary-readable. If you need to share the configuration with a support engineer, attach the
*.HGPfile — not screenshots of HSCom. The binary contains the recipient list, the monitored-value table, and the serial profile.
10. Diagnostic State Machine
The state machine above maps the commissioning flow: power-on and AT command test prove the modem path; the Q1 toggle test proves the LOGO! ↔ INSYS protocol is live; a failure on Q1 forces a hardware reset and a STATUS? trigger to re-initialize the polling handshake.
11. Specifications Reference
| Parameter | LOGO! 24RC (0BA6) | INSYS Microcom GSM 4.1 |
|---|---|---|
| Supply | 24 V DC, 1.5 W typical | 10–30 V DC, 2 A peak |
| Outputs | 4 × relay, 8 A / 240 V AC | n/a |
| Serial port | RS-232, RJ12, 9600 bit/s default | RS-232, DB-9, 300–115200 bit/s |
| Protocol | LOGO! ↔ INSYS polled master | LOGO! master, AT command slave, DTMF |
| SMS engine | None | Yes, 7-bit GSM 03.38, PDU mode selectable |
| Configuration tool | LOGO!Soft Comfort V8.x | HSCom (Windows) |
| Typical use | Logic + I/O aggregation | Wireless alarm forwarding |
12. Related Siemens Documentation
Engineers deploying this integration should also review:
- Siemens LOGO! product portal — current portfolio, latest base modules, and the 4.3" color touchscreen generation.
- The LOGO! 0BA6 system manual for the polling protocol block and the RJ12 pinout.
- The INSYS Microcom GSM 4.1 hardware reference for the DB-9 pinout and the Reset button location.
- The HSCom online help bundled with the configuration tool for the full monitored-value table.
Why can I send SMS with AT commands but the LOGO! Q1 transition does not fire one?
The most common cause is that the output is marked in HSCom only under Values in Use or only under Monitored Values. Both checkboxes must be active for the SMS engine to fire on a Q1 transition. Match the serial parameters (9600/8/N/1) and press the hardware Reset on the INSYS after every HSCom upload.
What baud rate should the LOGO! and the INSYS GSM 4.1 use?
Use 9600 bit/s, 8 data bits, no parity, 1 stop bit, no flow control. This must match in the LOGO!Soft Comfort project, the LOGO! runtime, the HSCom project, and the live INSYS profile. A mismatch at any of these four locations breaks the polled master protocol without producing an error.
How do I bring up the link quickly during commissioning?
Send the SMS STATUS? to the modem's SIM. The modem responds with its current state and, in doing so, synchronizes the LOGO! protocol handshake. As an alternative, press the Reset button on the INSYS front panel after uploading the HSCom configuration to force a clean start.
Why are my recipient phone numbers rejected?
The INSYS firmware expects numbers in E.164 format with a leading + and the country code, with no spaces or dashes. A number stored as 0412345678 is silently queued and never delivered. Re-enter every number as +<country code><subscriber>.
Can the INSYS GSM 4.1 still be used on modern mobile networks?
The INSYS Microcom GSM 4.1 is a 2G/GSM device. Many operators have already sunset 2G; verify the local operator's 2G coverage before deploying. If 2G is no longer available, migrate to an INSYS Microcom LTE modem or a Siemens LOGO! CMR 4G communication module.