IMDHMIControls LibraryShop main store

How-to

Configure Citect to an FX5U over SLMP with MELSECQ

SCADA and data logging Published 6 min read By IMDHMI controls team

Short answer

Choose the MELSECQ driver in Citect, define the port as TCP_BOARD and give its special options the FX5U's IP address, the SLMP application port and -T for TCP or -U for UDP; in GX Works3 drag an SLMP connection module into the FX5U's External Device Configuration, set connection method SLMP with the same protocol, address and port, download, and prove one read before production.

On this page
  1. What MELSECQ, TCP_BOARD and SLMP each do
  2. Configure the pair end to end
  3. Read the option string against the module settings
  4. Prove one read before production
  5. Trace a failed first read
  6. Choose TCP or UDP and close it out
  7. Questions asked

Point Citect at the FX5U through the MELSECQ driver on a TCP_BOARD port, and give the controller an SLMP connection module with the same address, port and transport. In the port's special options that reads -I10.10.10.1 -P1290 -T for TCP or -I10.10.10.1 -P1290 -U for UDP, with your FX5U's IP address in place of the example address and your application port in place of the example port. On the PLC side, GX Works3 supplies the module from Module List under Ethernet device (general) in External Device Configuration, set to connection method SLMP with protocol TCP or UDP to match. That pairing replaces an FX1N-era Melsec poll, because the iQ-F answers supervisory reads over SLMP on Ethernet and never on the old link's terms.

What MELSECQ, TCP_BOARD and SLMP each do #

MELSECQ is the protocol selection in the Citect device for MELSEC-family controllers, and it is the selection to use against an FX5U. TCP_BOARD is the port definition that turns the device into a raw Ethernet endpoint governed by special options, which the driver reads as space-separated tokens, each a dash followed immediately by the option characters and their values. SLMP is the service answering on the controller: the Mitsubishi manual for the iQ-F covers MC protocol and SLMP together, so this is the MC-protocol-format channel the FX5U offers supervisory clients on Ethernet.

MELSOFT communication is a different channel, the engineering tool's. GX Works3 connecting happily proves the network path, the addressing and the power; it says nothing about the SLMP module, and that gap is why a migrated plant can program the PLC fine and still see no SCADA values.

On its own, the word Melsec names a family, not an endpoint. The old FX1N device definition bundles a driver, an interface and a message format that the FX5U does not reproduce; the FX1N base unit carries no Ethernet port at all, so the old poll never reached anything like this channel. Editing the IP address in the old definition is not a migration, so build the new pairing explicitly. An iQ-R controller takes a different route again: getting Citect SCADA talking to a Mitsubishi iQ-R PLC covers that pairing.

Configure the pair end to end #

Save the Citect project and the GX Works3 project before you touch either one, then work through both ends in this order:

  1. In GX Works3, open the FX5U parameter screen and its Basic Settings tab, and confirm the controller's own IP address; the example strings below use 10.10.10.1.
  2. In the same Basic Settings, open External Device Configuration, open the Module List, and drag the SLMP connection module across from Ethernet device (general).
  3. Set the module's connection method to SLMP, set its protocol to TCP or UDP, and enter the application port you will give Citect.
  4. Check the installed GX Works3 version against the FX5U's firmware revision before downloading; matching PLC software versions to controller firmware revisions explains why a revision mismatch can block a download or drop module settings.
  5. Download the configuration to the FX5U and apply it the way GX Works3 indicates; the module must exist in the running controller, not only in the offline project.
  6. In Citect, open the PLC device's properties and set its protocol to MELSECQ.
  7. Define the device's port as TCP_BOARD.
  8. In the port's special options, enter one string, not both: -I10.10.10.1 -P1290 -T for TCP, or -I10.10.10.1 -P1290 -U for UDP, replacing the example address with the FX5U's IP and the example port with the module's port.
  9. Compile and run the updated Citect configuration and open its communication diagnostics.

Read the option string against the module settings #

Take the TCP example, -I10.10.10.1 -P1290 -T. The string states three facts, and each must equal a setting you made in GX Works3:

Option What it carries Example value FX5U setting it must equal
-I destination address, the PLC's own IP 10.10.10.1 the controller's address under Basic Settings
-P destination port, the SLMP application port 1290 the port in the SLMP connection module
-T or -U the transport -T protocol TCP; -U pairs with UDP

The acceptance check is three equalities: the -I value equals the controller's address, the -P value equals the module's port digit for digit, and the trailing letter matches the module protocol. Change any one of the three and the same check runs again at the other end. Two traps live here. The -I value points at the FX5U, so the SCADA machine's own address belongs nowhere in the string. And if the module settings offer a remote-host field, that field is not where the controller's own address goes, and it takes a value only when your design opens the connection outward; read its description in the configuration help before entering anything.

Prove one read before production #

Pick a device you can watch in the GX Works3 monitor at the same time, a status bit or a counter rather than an output that moves the machine. Read it through Citect and compare the two displays: same device, same data type, same value. Toggle the condition through an approved method and watch both screens; a plausible number that never moves is stale data, not a working read. Expand to the bits and numeric values the application actually uses, in both polarities and across the ranges the tags declare. Test any write on a designated test device first and watch the logic that consumes it before letting Citect command the machine. Acceptance is fresh values with no recurring device errors; one good read proves one exchange, not the migration.

Trace a failed first read #

Work outward from the endpoint instead of editing tags at random:

  • Confirm the -I address is the address of the controller actually on the wire; reachability that comes and goes usually means a duplicate IP somewhere on the subnet.
  • Check that the two machines sit on one network. Example: the Citect machine at 10.10.10.50 with mask 255.255.255.0 and the FX5U at 10.10.10.1. AND each address with the mask: 10.10.10.50 with 255.255.255.0 gives 10.10.10.0, and 10.10.10.1 with the same mask gives 10.10.10.0, so both sit on one network and no router is involved. Move the SCADA machine to 10.20.1.50 and the networks differ, so traffic then needs a gateway that forwards the chosen port and transport.
  • Check the firewall for the transport you chose: a rule that allows TCP on the application port does not pass UDP on the same port, and the reverse.
  • Confirm the SLMP connection module is in the running project; re-open External Device Configuration on the downloaded controller, not the offline copy.
  • Sort the Citect diagnostics into one of three cases: no request sent, a request sent with no reply, or a reply carrying an application error. No reply points back at the address, the route, the firewall transport or a missing module; an application error points at device addressing or data type in the tags.
  • If GX Works3 reports Ethernet errors on the module or port, guide to FX5U Active, Unpassive and SLMP errors walks the recovery for each state.

Choose TCP or UDP and close it out #

Run the link over TCP: -T in the special options, protocol TCP in the module. TCP confirms delivery and order before Citect shows a value, which is what an alarm-bearing supervisory link wants. Choose UDP only where the plant standard or the rest of the installation is already committed to it, and then set -U and protocol UDP together. The decision rule is identical either way: one transport, set identically in the option string and in the module, proven by the single-read test before the link carries anything that matters.

Questions asked

My SCADA package is Ignition, not Citect. What changes?

The PLC side stays the same SLMP connection module. Ignition's Mitsubishi TCP driver connects through a Series selection under Device Settings, and the dropdown offers iQR, iQF, Q and L among the options; pick the family that matches your controller, then enter the FX5U's address and the SLMP application port in the driver's connection fields. The special-option string belongs to Citect's TCP_BOARD port definition, not to the PLC.

Do tag addresses survive the FX1N to FX5U move?

The familiar FX device letters do: D registers, M bits and X and Y inputs and outputs exist on the FX5U as well, so tag lists usually come across. Never trust them blindly, though. Verify each migrated tag against the PLC monitor for the same device, the same data type and the same engineering value, and give anything the screen writes a write test on a safe device first.

Will the link work with TCP on one end and UDP on the other?

No. TCP sets up and confirms a connection before either side exchanges data, while UDP sends standalone datagrams with no setup step. A -T client against a module set to UDP, or the reverse, leaves every request unanswered even when the address and port match exactly. Decide the transport once, then use the same letter in the special options and the same protocol in the module settings.

GX Works3 reaches the FX5U fine. Why does Citect still fail?

Because the two channels are separate services. MELSOFT communication serves the engineering tool, so GX Works3 staying green while Citect reports device errors is the expected signature of a missing or inactive SLMP module, not of a broken network. Give Citect its own SLMP connection module with a connection method, protocol and port, download it to the controller, and run the single-read test again.

Keep reading

  • Troubleshooting

    Getting Citect SCADA talking to a Mitsubishi iQ-R PLC

    Fix the transport before anything else: the Citect MELSECQ port on TCP_BOARD must match the iQ-R's SLMP connection module exactly — protocol, port number and IP address. If tags above device 65,535 fail, that is the MELSEC Q protocol's 16-bit address ceiling, and no setting fixes it; move to Mitsubishi's OPC MX UA server with a Citect OPC client driver.

    SCADA and data logging

  • How-to

    Connecting Vijeo Citect SCADA to PLCSIM without a PLC

    No Siemens driver in Vijeo Citect reaches classic PLCSIM directly: it exposes S7ProSim, an API, not a protocol. The supported no-hardware path is PLCSIM Advanced V4.0 or later with its built-in OPC UA server on the PLCSIM Virtual Ethernet Adapter; for an S7-200 there is no simulator, so test screens with local variables. Set variable tags to Digital for bits like i0.0 and m0.0 and Int for words like VW100; c0.0 is not valid counter syntax.

    SCADA and data logging

  • How-to

    Why Modicon libraries for Citect SCADA 2018 fail in Plant SCADA 2023

    The Modicon General Purpose library for Citect SCADA 2018 is the last release for Citect, and its installer throws an incompatibility message on Plant SCADA 2023. Install it in Citect SCADA 2018, migrate the project so the library include version updates, then open the migrated project in Plant SCADA 2023 and verify bindings and live values.

    SCADA and data logging