Quick overview
1. Applicable products
XB6S-EC2002 + XB6S digital output module (using the XB6S-1616A as an example)
2. Platform used
CODESYS platform
3. Problem scenario
The program contains an output instruction, but the module's channel indicator does not light up and the actual actuator does not respond
4. Troubleshooting dimensions
Checking diagnostic information / checking the load power supply / variable address conflicts / direct assignment test in the mapping area
5. Troubleshooting entry point
First check whether the channel indicator lights up, then locate the cause step by step in the troubleshooting sequence
When using the Solidot slice I/O EtherCAT protocol coupler XB6S-EC2002 with a digital output module on the CODESYS platform, if the program has already issued an output instruction but the module's channel indicator does not light up and the actual actuator does not respond, how should troubleshooting be carried out?
This problem can usually be narrowed down step by step from four dimensions: confirming via the coupler diagnostic history whether the load power supply is connected, using a multimeter to check whether the load power supply terminals are supplying power correctly, checking whether the variable address bound to the output channel is subject to double-coil occupancy, and performing an output isolation test by assigning a value directly in the mapping area. This article uses the XB6S-EC2002 + XB6S-1616A combination as an example (note: the test environment also had an XB6S-A08V connected, but the troubleshooting described here does not involve this module), and explains each troubleshooting step in turn.

Preliminary check: Before troubleshooting, first observe the indicator status of the corresponding channel on the module. If the indicator is on but the actuator does not respond, check the wiring first. If the indicator is off, troubleshoot item by item according to the following steps.
1. Check the coupler diagnostic information
Fault symptom — a red exclamation mark appears on the coupler icon.
Click the coupler and select "Diagnostic History" to check whether error messages such as "First module: load power supply not connected" are present. Taking the XB6S-1616A as an example, check its wiring diagram and you will find that terminals D8/D9 of this module require an external 24 V supply to power the loads of the output channels. If these terminals are not wired, the channel indicator will not light up even if the program has issued an output command, and no voltage will be output at the output port.


*COM is DI common, DI is NPN/PNP compatible, DO is NPN
Note: The load supply terminals (D8/D9) and the module operating power supply are independent of each other. Both must be wired correctly for the output function to work properly.
2. Check whether the load power supply is normal
Fault symptom — terminals D8/D9 are wired, but the output channel still does not respond.
After confirming that D8/D9 are wired, use a multimeter in DC voltage mode to measure the actual voltage at terminals D8/D9 and troubleshoot the following item by item:
• Whether the voltage value is within the normal range (24 V DC);
• Whether the wiring polarity is correct, ruling out reverse connection;
• Whether the terminals are crimped securely, ruling out loose connections.
3. Check whether the variable address has a double-coil conflict
Fault symptom — the external power supply is normal, but the output value cannot be monitored in either the I/O mapping or the program.
If the variable bound to an output channel (e.g. TEST2) is called by multiple coils in the program at the same time, no error is generated at compile time, but at runtime the states of the other coils overwrite the output value of this variable, so the expected output cannot be issued correctly. You must unbind the other coils from this variable, or rebind the output channel to a variable address that is not occupied by other program sections.


4. Direct assignment in the mapping area for isolation testing
If none of the above checks reveal any abnormality, you can further isolate the fault location using the following method.
Directly assign a value to the target channel in the I/O mapping area, bypassing the program logic, and observe the indicator status of the corresponding channel on the module. Handle the result in one of two ways depending on the outcome:
• The indicator is on, but the actuator does not respond
The output signal has been issued normally, so the problem is on the wiring side. Check whether the wiring at the actuator end is correct;
• The indicator lights up and the actuator operates.
The module output function is normal, so the problem lies in the program logic. Further troubleshooting is required to determine whether there are double coils or logic overwrites in the program.
