IMDHMIControls LibraryShop main store

Troubleshooting

Why Plant SCADA tags read 0 with good quality until IO Server restart

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

Short answer

A good-quality 0 on a Plant SCADA tag means no read has completed: the IO Server never applied the new MicroLogix 1400 device to its running configuration, so the tag shows its initial value. Compile the project, restart the IO Server to initiate the connection, and confirm the Channel and Unit came online in the ABMLXEIP driver syslog.

On this page
  1. Why do Plant SCADA tags show 0 with good quality?
  2. How do you restart the IO Server to start the connection?
  3. How do you turn on ABMLXEIP driver logging in Citect.ini?
  4. What should the driver log show, and what does each result mean?
  5. What if the log is clean but the tags still read 0?
  6. What if the channel never comes online?
  7. How do you verify the fix and keep it from happening again?
  8. Questions asked

O:0.4 and F8:10 read 0 on your runtime page with good quality, while another SCADA package reads the same MicroLogix 1400 without trouble, so the controller is online and answering on its own session. The fault sits on the Plant SCADA side: the IO Server never applied the newly added IO Device to its running configuration, and a variable with no completed read displays its initial value, 0, at good quality. Comms configuration changes are not applied to a connection that is already running. In the reported case, restarting the IO Server initiated the connection and both values appeared. Work the checks below in order: the restart first, then the driver log that shows where any remaining fault sits.

Why do Plant SCADA tags show 0 with good quality? #

A tag that sits at 0 with good quality has completed no read at all: the page shows the variable's initial value, not a PLC answer, because the IO Server never initiated a connection to the new MicroLogix 1400 device. Good quality only tells you that no failed read is being reported; it does not tell you a read succeeded. A numeric variable the IO Server has never read keeps the initial value it was compiled with, and that is the 0 on your page.

Prove it in seconds: write a different value into F8:10 with the PLC programming software. If the runtime page stays at 0, no read is completing. Plant SCADA initiates a device connection when the IO Server starts, and a device added while the runtime was up gets no connection until a restart.

How do you restart the IO Server to start the connection? #

Compile the project in Plant SCADA Studio, then stop and restart the IO Server process on the machine that owns the device; the connection initiates when the IO Server starts, and in the reported case the O:0.4 and F8:10 values appeared as soon as that restart completed. Take the steps in this order:

  1. Compile the project so the new IO Device and its variables are in the compiled set the IO Server loads.
  2. Stop the IO Server process on its machine, or stop the whole runtime there; either action releases the configuration for reloading.
  3. Start it again and watch O:0.4 and F8:10 on the runtime page.
  4. Decide: live values mean the missing connection was the entire fault, so finish with the verification steps at the end; a 0 that survives the restart means the driver log must show where the fault moved, so continue below.

How do you turn on ABMLXEIP driver logging in Citect.ini? #

Add DebugLevel=ALL and DebugCategory=ALL under the [ABMLXEIP] section of Citect.ini on the IO Server machine and restart the IO Server, and the driver writes its events to syslog.IOServer.<Cluster name>.<IO Server name>.dat in the folder the [CtEdit]Logs parameter points to. The edit is:

[ABMLXEIP]
DebugLevel=ALL
DebugCategory=ALL

By default that folder is %PROGRAMDATA%\AVEVA Plant SCADA <VersionNumber>\Logs. Edit the Citect.ini the IO Server process actually reads, not a copy on the engineering PC, or the file stays empty. The parameters take effect at startup, so the restart is part of the step, not an afterthought.

What should the driver log show, and what does each result mean? #

Look for the Channel (Port) and Unit (IODevice) coming online: that pair of entries separates a tag-address fault from a connection fault, and each possible log outcome points to exactly one next check.

What the syslog shows What it means Next step
Channel and Unit come online, no errors, tags still 0 The read runs but does not map to your variable: address or data type Check the tag addressing below
Channel never opens, or Unit stays offline Network path, wrong IP, or no free PLC connection Run the network checks below
No ABMLXEIP entries at all Driver not loaded, wrong driver named on the IO Device, or the edit hit the wrong Citect.ini Confirm the driver on the IO Device and the ini the IO Server reads
Entries appear only after the restart The connection initiates at IO Server startup Restart after every comms change

What if the log is clean but the tags still read 0? #

A clean log with channel and unit online means the request reaches the controller but does not map to your variable, so check the tag address and data type: F8:10 is a float file and needs a REAL type; O:0.4 is an output-file element using the driver's integer syntax.

  1. Compare the address text with the format in the ABMLXEIP driver help, not with the format the other SCADA package accepted.
  2. Set each variable's IO Device field to the device that came online in the log.
  3. Confirm O:0.4 exists in the controller's I/O configuration by reading it online in the programming software first; an address the controller does not have returns an error, not a value.

The ABCLX driver fails the same way when data-table addresses do not match its syntax, covered in why CitectSCADA cannot read MicroLogix data-table tags with ABCLX.

What if the channel never comes online? #

A channel that never opens is a path or capacity problem, not a tag problem: ping the PLC from the IO Server machine itself, confirm the IP address, subnet and gateway in the device definition, and count the EtherNet/IP sessions, because the MicroLogix 1400 accepts 32 of them.

  • Ping from the IO Server machine; the other package running on a different computer proves nothing about this machine's route.
  • The driver opens its own session to the controller directly, the same direct-read path described in reading Allen-Bradley PLC data without RSLinx running, so no gateway service has to run beside the IO Server.
  • Check the session count against the documented limit. Worked example, counting one session per attached client: IO Server 1 + second package 1 + programming software 1 = 3 sessions, so 3 of the 32 EtherNet/IP connections are used and 29 remain; the controller also allows 32 separate Modbus TCP connections. At that count the limit is ruled out. Treat capacity as a suspect only when clients and polling tools approach the limit, and close the other package while you test if you want the count at its minimum.
  • Restart the IO Server and read the log again.

How do you verify the fix and keep it from happening again? #

Confirm the Channel and Unit entries in the syslog with no repeating errors, write a known value into F8:10 from the programming software and watch the runtime page follow it, then return the debug parameters to a quiet level such as WARN so the log does not grow without bound.

  • Change the value again and confirm the page follows; a static non-zero number is a stale read, not a live one.
  • For O:0.4, toggle a test bit only on a stopped machine or on a spare output you have confirmed unused; never force outputs on a live machine.
  • Make an IO Server restart part of every comms change that adds a board, port or IO Device, and treat a good-quality 0 with no matching driver log entries as an unconnected device, not a data fault.

Questions asked

Do I need to restart the whole Plant SCADA system or only the IO Server?

Only the IO Server process that owns the changed device. Compile first, then stop and restart that one IO Server, or use the runtime's online restart command. Display clients reconnect when it comes back and every other server keeps running, so operators lose the page for the restart time only. If you changed devices on several IO Servers, restart each of those, still not the whole system.

Why does another SCADA package read the same tags while Plant SCADA shows 0?

Each package opens its own EtherNet/IP session to the controller, so the other package proves the PLC is running and answering on its session, nothing about yours. The Plant SCADA IO Server holds a separate session that was never initiated, because the device was added while the IO Server was already running. Once the IO Server restarts and its own session comes online, both packages read live values at the same time.

How do I keep the debug log from rolling over before I can read it?

Raise the SysLogSize parameter in the Debug section of Citect.ini to keep a longer file, and use SysLogArchive to control how many rolled files are kept. Read the file soon after the restart, while the Channel and Unit startup entries are still near the top, then return the debug level to a quieter setting such as WARN so the log stops growing during normal operation.

When should I stop troubleshooting and escalate?

Stop when the driver log shows the Channel and Unit online with no errors, the addresses and data types match the driver help, and the tags still read 0 after an IO Server restart. Send the software vendor the ABMLXEIP syslog captured with debug on, the IO Device and variable definitions, and the Plant SCADA version. If the channel never opens although ping succeeds from the IO Server machine, also gather the controller's EtherNet/IP configuration for the PLC vendor.

Keep reading

  • How-to

    How to create a SCADA PLC communication alarm for link loss

    Create the SCADA-to-PLC communication alarm from the data server's diagnostic item, not from a PLC bit. Browse to IsPresent under the PLC shortcut's Diagnostic Items folder, create a digital alarm in FactoryTalk Alarms and Events with IsPresent = 0 as the active condition, and it activates about 20 seconds after the link drops; IsPresent(10) shortens that to about 10 seconds. A heartbeat bit cannot do this because it travels over the link it monitors and goes unreadable exactly when the link fails.

    SCADA and data logging

  • How-to

    Read Citect SCADA 2018 R2 tags from Ignition via OPC DA

    Citect SCADA 2018 R2 ships a built-in OPC DA server: enable it under the Topology activity in Citect Studio, connect Ignition's OPC DA module to it, and the Citect variable tags appear for browsing and import with no OFS, no CtAPI and no project rewrite. OPC UA exists only in later Citect releases. When Ignition and Citect run on different PCs, configure DCOM security for the account the Ignition service runs under.

    SCADA and data logging

  • Troubleshooting

    Why a main-standby failover drops all Modbus channels

    When a Geo SCADA main-standby pair flips Main to Standby and back within a minute, every Modbus channel drops because only the Main server performs driver operations. The usual trigger is a missed heartbeat or a deadlock-detection trip caused by long database locks: read the DB lock percentage and longest lock time in Server Snapshots, treat a longest lock above a few seconds as the trigger, and cut server load until locks stay sub-second.

    SCADA and data logging