IMDHMIControls LibraryShop main store

Explainer

Why SD62 will not monitor CC-Link remote I/O errors on a Q3UDE

Industrial networks Published 5 min read By IMDHMI controls team

Short answer

No. On a Q3UDE, SD62 stores the annunciator number for fault-annunciator F devices and moves only when the program drives those devices, so by itself it reports nothing about CC-Link. Network and remote I/O status comes from the SB bits and SW words allocated to the CC-Link master module; build the error-monitoring program on those, and add explicit F-device mapping only if you also want an annunciator number.

On this page
  1. What SD62 holds on a Q series CPU
  2. Where the link status actually lives
  3. Two data sources, one decision
  4. Mapping 13 stations to annunciators F100 to F112 on a Q3UDE
  5. Verifying the monitor before the trial run
  6. The decision for each case
  7. Questions asked

No. SD62 will not monitor CC-Link remote I/O errors on a Q3UDE, because it is not a network register: it stores the annunciator number for the fault-annunciator F devices, and it moves only when your program drives those devices. The data link status of your remote I/O stations is exposed through the SB bits and SW words allocated to the CC-Link master module, and that allocation is the correct source for the error-monitoring program. Build the monitor on SB and SW, and bring SD62 in only beside an explicit F-device mapping, which the worked example below shows.

What SD62 holds on a Q series CPU #

The SD62 to SD79 block is the annunciator area of the QCPU special registers, documented in the appendix of manual SH(NA)080483. The CPU documentation gives SD62 its role: it stores the corresponding annunciator number. The manufacturer's FAQ on annunciators describes what moves it: the values in SD62 to SD79 change when annunciator devices are turned on by the program with OUT or SET instructions.

Nothing in that chain involves the CC-Link module. A remote station can drop off the network and SD62 will not move, because no F device changed. The register becomes a CC-Link indicator only after program logic reads the link status, decides a station is faulty, and drives an F device to announce it.

The CC-Link System Master/Local Module User's Manual defines the real diagnostic interface: the data link status is checked with bit data, and the SB and SW areas represent the information in the buffer memory of the master module, read into the devices specified with automatic refresh. In practice SB is your bit window and SW your word window onto the module, and the CC-Link configuration decides which device numbers the automatic refresh fills. Those settings belong to the configuration layer covered in the article on CC-Link network formats and what each one defines.

Take the start addresses from the module's allocation in that configuration, and take the meaning of each bit and word from the SB and SW tables in the master module manual, which also documents the per-station link status bits the monitor evaluates.

Two data sources, one decision #

Source What it represents What moves it Role in the monitor
Allocated SB bits and SW words Link status and diagnostic information from the master module's buffer memory The network and its stations The diagnostic source, always
SD62 The annunciator number of F devices Your program, when it drives an F device A first-fault index, only after a deliberate F-device mapping

The two mechanisms sit at different layers. The SB and SW data is the module's own report of the network; an F device is a program-level alarm you create. Keep the report as the source and treat any annunciator as a derived signal, never as a substitute for it.

Mapping 13 stations to annunciators F100 to F112 on a Q3UDE #

This example builds the derived layer for the network in question, using its configured station count.

Inputs. The network has 13 remote I/O stations, the configured station count. Each station gets one annunciator device, so every fault has its own number. The block base is annunciator number 100, which is this example's choice; pick any free, contiguous range in your program. For the test, station 7 is the station that drops.

Rule. Map each station's data link status bit from SB to one F device, numbered contiguously from the base, and let the program set that device when the bit shows a link error. SD62 then carries the annunciator number of the device that came on, and the operator converts that number back to a station using the base.

Arithmetic. Devices needed: 13 stations x 1 annunciator per station = 13 F devices. Block end: 100 + 13 - 1 = 112, so the block runs F100 to F112. Test fault: the annunciator of station 7 is device 100 + 7 - 1 = F106, so SD62 reads 106, and the station number is 106 - 100 + 1 = 7.

Result. SD62 equal to 106 identifies station 7, but only because the program drove F106 from the SB status bit. The network itself never wrote to SD62.

Decision. With zero F devices mapped, SD62 says nothing about the network, so read the SB bits alone. With one or more mapped, SD62 works as a first-fault index beside the SB bits, and the base, 100 in this example, is the only number needed to convert an annunciator number back to a station.

Verifying the monitor before the trial run #

A compiling program is not proof that the chosen address carries the intended condition, so check statically first. Cross-check every SB and SW address against the module's allocation in the CC-Link configuration and every bit meaning against the master module manual's tables, then trace the path from status bit to alarm output and comment each rung with its station and documented meaning.

When the machine is available, produce one real link fault on the stopped machine by an approved method, for example unplugging one remote station's bus connector with the process in a safe state, and confirm the SB bit changes, the alarm output follows, and SD62 follows only where the F mapping exists. Restore the connection and confirm the recovery behavior you designed. A station that communicates but will not switch its outputs is a different fault with its own procedure, covered in the article on troubleshooting CC-Link inputs working but no digital outputs.

The decision for each case #

  • Plain network monitoring, no annunciator logic: read the allocated SB bits for per-station link status and the SW words for the network-level data. SD62 plays no part.
  • Operator alarm numbers wanted: add the explicit F-device mapping as in the example, then read SD62 as the first-fault index while SB and SW remain the diagnostic source.
  • Either way, never substitute SD62 for the allocated SW words, and never derive addresses from the station count: the addresses come from the module allocation in the CC-Link configuration and the meanings from the master module manual.

Questions asked

Does a multiple-CPU configuration change what SD62 does?

No. The QCPU user's manual for multiple CPU systems gives SD62 the same role, storing the corresponding annunciator number, so the register follows F devices in that architecture as well. CC-Link diagnostics still come from the SB bits and SW words allocated to the master module, and the monitor built on them is the same.

Does a CC-Link Safety master module change where the diagnostics live?

No. The CC-Link Safety system master module manual describes the same arrangement: its SB bits and SW words represent the information in the module's buffer memory, read into the devices specified with automatic refresh. Take the addresses from that module's allocation and the bit meanings from its own manual.

How many station bits should the monitor evaluate?

The master module reports data link status with one bit per possible station, so the program evaluates the bits belonging to the configured remote I/O stations and ignores the rest. Which bit belongs to which station comes from the SB table in the master module manual, never from the station count.

What if the program already uses F devices for process alarms?

That is fine, but SD62 will then report process annunciators as well as network ones. Give the CC-Link conditions their own contiguous block, as the worked example does, so an operator can tell a station fault from a process alarm by the annunciator number alone, and keep the SB bits as the diagnostic source.

Keep reading

  • How-to

    Setting up IP67 EtherCAT remote I/O modules on a soft PLC

    Setting up IP67 EtherCAT remote I/O on a soft PLC is four moves: install the vendor's device description XML in the fieldbus configurator's device repository, scan the bus and insert the scanned devices, plug every occupied IO-Link port with its send and receive data allocation, then import the master, ports and channels into the PLC project through the controller's Data Layer and map the raw bytes in the program.

    Industrial networks

  • Explainer

    Why the PLCnext IO-Link library will not run with a third-party master

    The PLCnext IO-Link library only runs against Phoenix Contact IO-Link master hardware, so no block or setting makes it drive a SICK or ifm master. IEC 61131-9 standardizes the master port to the device, not the fieldbus layout, so each master's own PROFINET cyclic mapping plus its documented acyclic parameter service is the supported route. The library becomes an option only if the project changes to a Phoenix Contact master.

    Industrial networks

  • Selection guide

    IO-Link master device version selection for grippers

    Pick the IODD-supporting device version, 4.11.0.0 or higher, when the scan dialog offers a choice and any connected device needs parameter access through its IODD. Reserve the byte-oriented slot-module revision, 16#00000100 or higher, for projects that rule out IODD files. Every later step follows from that single scan-dialog selection.

    Industrial networks