Live M340 values appear after the HMI uses the correct Modbus data path and each screen object binds to the matching driver-backed tag. When the display stays blank, frozen, or zero, trace the chain from screen object to tag, driver, network interface, and controller data map.
What is the screen telling you?
A blank or static value does not identify the failed layer. The screen object only renders the value delivered through its binding. A correct-looking tag name can therefore hide a disconnected driver, an invalid data reference, or a network path that never reaches the controller.
| Operator observation | Reading to take | Meaning and next check |
|---|---|---|
| Every value is unavailable or frozen | Driver connection status | Treat this as a communications problem. Check the Ethernet path and controller interface next. |
| Some values work and others do not | Raw value and quality for each failed tag | The driver path is probably active. Compare Modbus data types and references. |
| A tag changes in diagnostics but not on the screen | Screen-object binding | The tag is right; the binding is wrong. Rebind the object to the tested tag. |
| Values appear but are numerically wrong | Data type, register grouping, and word order | The connection works. Correct interpretation before changing network settings. |
The diagnostic order matters: screen object → HMI tag → Modbus driver → Ethernet path → PLC data. Start with what the operator sees, but test from the driver inward before rebuilding graphics.
Which free SCADA route fits the project?
The free options described for this application use different runtime models. Select the model before building screens; otherwise, a successful simulator test can be mistaken for a deployable SCADA runtime.
| Option | Development and runtime model | Modbus path | Best fit |
|---|---|---|---|
| AdvancedHMI | Free software written in VB.NET and used with the free Visual Studio environment | A Modbus TCP example is available for this software | Preferred when the PC application must run on its own continuously and added configuration effort is acceptable |
| Ignition | Trial-based SCADA environment described as relatively quick to start | Modbus is supported | Preferred for rapid SCADA prototyping when trial operation is acceptable |
| Red Lion | Free test development software with a PC simulator; primarily intended for HMI hardware | Confirm the required driver in the installed software | Short bench tests and HMI screen development |
| Weintek EasyBuilder Pro | Free test development software with a PC simulator; primarily intended for HMI hardware | Confirm the required driver in the installed software | Short bench tests and preparation for Weintek HMI deployment |
AdvancedHMI and Ignition can both serve a Modbus-oriented PC project. Choose AdvancedHMI for a free application intended to keep running; choose Ignition when faster initial assembly matters more than unrestricted trial duration. A two-hour trial window was reported for Ignition, with license-time resets used for further testing; read the installed license screen before planning a session around that limit.
Does the M340 installation provide a Modbus TCP path?
The stated controller is a Modicon M340 with a BMXP341000 processor. Before configuring SCADA, inspect the actual rack and controller project to identify the active Ethernet interface and confirm that it is configured to serve the required Modbus data. A reference to an M320 having onboard Ethernet does not establish the interface fitted to this M340 installation.
- Inspect the physical rack and project hardware configuration. Record the Ethernet interface through which the PC will reach the PLC.
- Read the configured IP settings from the controller project or interface diagnostics. Do not select an address merely because it appears on the local subnet.
- Confirm that Modbus TCP service is active on that interface and that the variables needed by the mini-project are exposed through a documented Modbus data map.
- From the SCADA PC, test basic network reachability. If reachability fails, correct the PC address, subnet path, cabling, switch connection, or PLC interface configuration before editing tags.
If the installed rack has no usable Ethernet interface, a Modbus TCP-only setup cannot communicate directly. Select an installed communications interface and a matching driver, or add an appropriate architecture outside the SCADA configuration. The hardware inventory decides this branch.
Is the driver actually reaching the controller?
Create one device connection before importing or constructing a large tag set. Configure the selected SCADA package with the PLC interface address and the connection fields requested by its Modbus driver. Where the driver asks for a device or unit identifier, copy the value required by the controller path rather than inserting an arbitrary default.
| Setting | Where to read it | Effect of an error |
|---|---|---|
| PLC interface address | Controller project or interface diagnostics | The driver reaches the wrong device or times out. |
| PC network configuration | PC adapter status | The PC cannot route traffic to the PLC interface. |
| Modbus device settings | PLC communications configuration | The Ethernet path works, but protocol requests fail or target the wrong logical device. |
| SCADA polling state | Driver diagnostics | A disabled or faulted connection leaves all dependent tags stale. |
Watch the driver's connection state and request diagnostics while polling a single known value. No successful response sends the decision path back to the interface and network settings. Successful requests with a bad tag value move the investigation forward to data mapping.
Is the tag right but the Modbus binding wrong?
Modbus separates data into coils, discrete inputs, input registers, and holding registers. A numeric reference alone is incomplete: the SCADA tag must use the same data area and interpretation as the controller data map. Documentation and drivers may also express the same location with different reference conventions, so copy the driver's native syntax from its configuration help and reconcile it with the PLC map.
- Select one PLC value whose live state can be observed independently in the controller programming environment.
- Create one SCADA tag using the matching Modbus data area, reference, access direction, and scalar type.
- Compare the raw SCADA value with the PLC value. If communication quality is good but the value is wrong, check reference offset conventions before changing the IP configuration.
- For a value spanning multiple registers, set the required register order and numeric interpretation from the controller data definition. A swapped order can produce a stable but false number.
- Bind a plain numeric or Boolean screen object directly to the tested tag. Add scaling and formatting only after the raw value matches.
When the tag diagnostic changes but the object does not, reopen the object's binding and select that exact driver-backed tag. Duplicate tag names, local memory tags, and copied objects commonly make the graphic look correctly configured while it reads a different value source.
How do you complete and verify the working setup?
- Install the selected package. For AdvancedHMI, use its VB.NET project with Visual Studio; for Ignition, create the project within its trial runtime.
- Create one Modbus device connection using values read from the installed M340 communications path.
- Build a single test tag from the documented PLC data map and view its raw value and quality.
- Bind one simple screen object to that tag. Prove the read path before adding alarms, animation, scaling, or write controls.
- Move the PLC source safely through two distinct known states and confirm that the driver tag and screen object follow both transitions.
- If writes are required, use a dedicated test point permitted for writing. Confirm the written value in the PLC, then restore the test point to its intended state.
- Restart the HMI or SCADA runtime and repeat the read test. This exposes configurations that worked only in an editor or simulator session.
FAQ
Can I use free SCADA with a Modicon M340?
Yes. AdvancedHMI provides a free VB.NET route, while Ignition supports Modbus in a trial-based SCADA environment. The installed M340 communications path must match the selected driver.
Can I run AdvancedHMI continuously on a PC?
AdvancedHMI is the better fit among these options when the application must run independently without a short trial session. Plan for additional VB.NET and Visual Studio configuration work.
Does Ignition communicate with an M340 through Modbus?
Ignition supports Modbus. Configure its driver against the active M340 Ethernet interface and validate one mapped value before creating the full tag database.
Can I use Red Lion or EasyBuilder Pro as permanent PC SCADA?
Their free test software can run PC simulators, but both environments are primarily intended to develop applications for HMI hardware. Use them for bench testing unless the selected runtime and deployment terms meet the project requirement.
Does a changing Modbus tag prove the screen is correct?
No. Move one safe PLC source through two known states, confirm both states in the driver tag, and then confirm the bound screen object follows the same two transitions after a runtime restart.