Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Beckhoff BK1120/BK1250 EtherCAT Coupling Debugging and KL Terminal Parameterization Complete Guide

F: | Au:FANS | DA:2026-06-17 | 438 Br: | 🔊 点击朗读正文 ❚❚ | Share:

If you need to write protection registers (R32-R47), you need to first write register 31 as 0x1235 (code word). Set through 0x4280:20 (sub index=register number+1).

Write to other registers as needed (such as R33 offset, R34 gain, etc.), with each register corresponding to a sub index (register number+1), for example, register 33 → sub index 22 (hexadecimal).

The final reset code word is 0x4280:20=0.

Finally, clear the terminal selection: 0x427F:00=0.

These entries will be executed in order to ensure parameter distribution.

Example: Modify the user offset (register 33) of the third terminal (KL3314) to 0x04D2 (1234 decimal). Add: 0 to the startup list x427F:00 = 3,0x4280:20 = 0x1235,0x4280:22 = 0x04D2,0x4280:20 = 0,0x427F:00 = 0。

4.2 Approach 2: Online CoE Access

During operation, the KL terminal register can be directly read and written through the CoE directory of the BK coupler. Operation Method:

Select the "CoE Online" tab of the BK coupler.

Firstly, write 0x427F:00 as the target terminal number (2-byte value).

Then access different channels/pages of the register through indexes 0x4280~0x4287. Each channel has a maximum of 64 registers (0-63), with sub index=register number+1. For example, register 33 of channel 1 corresponds to 0x4280:22.

After modification, view the values online. Note: If the terminal number does not exist or does not support register communication, "SDO Abort" will be displayed.

4.3 Approach Three: AoE (ADS over EtherCAT) - Suitable for dynamic access of PLC programs

AoE allows access to KL terminal registers from PLC or remote TwinCAT stations via ADS protocol. A unique AmsNetId (such as 172.16.8.29.3.10) needs to be generated in the "Advanced Settings" → "Mailbox" → "AoE" of the BK coupler. Then, the ADS access parameters are:

AmsNetId: Generated AoE NetId

Port: 100 (fixed)

IndexGroup: 0 represents the coupler itself,>0 represents the terminal number (e.g. 3 represents the third KL terminal)

IndexOffset: The high word represents the channel number (0-3), and the low word represents the register number (16 bits)

For example, accessing register 31 (code word) of channel 2 on the third terminal, IndexGroup=3,IndexOffset=0x0001001F。 This method facilitates dynamic parameter adjustment in PLC programs without the need to intervene in the startup list.


Process data mapping and PDO configuration

The BK coupler automatically generates process images, but users can adjust PDO allocation (via 0x1C12/0x1C13). By default, analog (non digital) terminals are arranged in Word Alignment, while digital terminals are arranged compactly in bits. The status word (CouplerState) and control word (CouplerCtrl) occupy the first 16 bits of the process image with a fixed offset of 0. Non digital terminals (such as KL3062) occupy three parts (three 16 bit words) of "status/virtual word/data" for each channel, while digital terminals are arranged by bit or byte.

In TwinCAT, PDO allocation can be modified through the "Process Data" tab, such as disabling certain channels or changing data length. However, it should be noted that the modifications must be consistent with the actual configuration of the KL terminal, otherwise it will result in an "Invalid SM IN cfg" error (AL Status Code 0x001E).

Detailed explanation and troubleshooting of LED diagnosis

6.1 Power and Status LEDs

Us (green): The power supply of the coupler is normal.

Up (green): The power contacts are supplying power normally.

RUN (green): EtherCAT state machine indication: off=Initiat, flashing=PREOP, single flash=SAFEOP, constant light=OP.

ERROR (red): off=no error, flashing=error or lost frame.

LINK/ACT (green): X1/X2 port link/activity indicator.

6.2 K-bus error flashing code (I/O ERR LED flashing red)

When the I/O ERR LED flashes continuously or regularly, it indicates a K-bus fault. The error code consists of "fast flashing (start)"+"slow sequence (error code)"+"slow sequence (parameter)".

Error code (number of pulses) parameter description and solution measures

1 0 EEPROM checksum error using KS2000 to restore factory settings

1 n>0 Configuration table overflow reduces the number of terminals

2 n>0 configuration table item error check whether the configuration matches the terminal

30 K-bus command error: No terminal or damaged terminal, use the split method to locate

Check the n+1 terminal connection after disconnecting the 40 coupler

Check for broken wires at terminal n+1 and terminal KL9010 after terminal n of 4 n

5 n register communication error, replace the nth terminal

14 n terminal format error. Restart the coupler. If it still persists, replace the terminal

The number of 15n terminals is incorrect. Restart or restore to factory settings

16 n K-bus data length error, restart or restore to factory settings

Important: Continuous rapid flashing indicates EMC interference, and power, grounding, and shielding need to be checked.

6.3 EtherCAT Master Station Error Messages

AL Status Code 0x0003: K-bus error causing inability to enter SAFEOP, K-bus fault needs to be investigated.

AL Status Code 0x001E (Invalid SM IN cfg): Process data length mismatch, usually due to the configuration reported by the KL terminal not matching the TwinCAT ESI preset. Solution: Check if the terminal is in special mode (such as enabling other PDOs), or use KS2000 to verify the register configuration.

  • Basler DECS-250-CGCM-LN2SA1C Digital Excitation Control System
  • Valmet Automation PLC Module A413171
  • Valmet Automation 542852-3A Rack-Mount Cross Connect Panel
  • Valmet Marine Damatic M851565 Main Keyboard
  • Valmet TIU 6 Printed Circuit Board A413110
  • Metso Valmet U4440253V1.1 RMI CPU 300
  • Metso Valmet A413016 Ver.12 NCU2
  • Valmet M851565 Damatic Keyboard
  • Valmet ATB16-4 16 Channel Relay Card
  • Valmet Metso A413331 SPU Power Supply
  • Valmet PUD 10B Automation Control Rack
  • Valmet MT917 ABMB DMU PCB I/O Module
  • Valmet M851565 Damatic Keyboard Mkb2
  • Valmet EDS-518A-MM-SC Ethernet Gateway
  • Valmet 542836-6A PCB Card
  • Valmet ATB16-4/2 Terminal Board 9144047
  • Valmet ATB16-4 Controller Board 0-50°C 4-20mA Analog Output
  • Valmet 542852-3A Slot Rack Chassis Module
  • Valmet A413026 Ver.M1 FBC Board
  • Valmet IQ Basis Weight SH Sending Assembly A418081
  • Valmet PMB 2R Monolithic Backplane 8-Slot PCB 542821-5A and -5B
  • Valmet ATB16-4 16-Channel Relay Card Controller Board 22195028
  • Valmet Diff-EL SL6NK227SF0 Pressure Transmitter 0-380 mBar
  • Valmet A413110 TIU6 Board Ver.M1
  • Neles Automation A413278 Control Module
  • Valmet BCUTB Terminal Module 10101006 11091002
  • Valmet Senso 160 Measuring Station Display 160.2
  • Valmet AIU 1A Analog Input Unit M851245
  • Valmet IQ Web Caliper Sensor A420734
  • Valmet M851040/M8510401 Memory Board
  • Valmet AN35S1MC02RA Valve
  • Valmet M851121 M2 Cross Connect Panel
  • Valmet AIU-8 Simulator Board 421522-1A
  • Metso BIU 82 D200533 Binary Input Unit
  • Valmet M851121 M2 Module Rack
  • Valmet A413383 PC Board Module
  • Valmet N0542 NO54 ABMB PCB - 545200-3A Board
  • Valmet Metso IOP304 Input Module 181503
  • Valmet PDP601 Distributed Processing Unit 181585
  • Valmet A413084 CPU Board - Processor Module for Automation Systems
  • Valmet AIU 16T Analog Input Module M8512081 M1
  • Valmet AIU 16 Analog Input Module 545100-3A and 545100-3B
  • Metso Valmet BIU4 A413146 Binary Input Unit
  • Valmet AIU-8 Simulateur Board 421522-1a Analog Simulator
  • Valmet BIU8A Binary Input Unit 542803-3B M851222 M1
  • Valmet IQ Web Color DH Photoelectric Sensor A418182 2.04
  • Valmet A413200 AIU-8 Simulator Board 191151 421522-1A
  • Valmet Automation SCU M851006 System Control Unit Module
  • Valmet 857565/851565 Damatic Keyboard IP40 5V Operator Interface
  • Valmet A413077 FBC2 Module Rev 06 Field Bus Controller
  • Valmet DMU 2 PCB Module 545142-3A DM Data Management Unit
  • Valmet AIU16T PCB Card M851208 Analog Input Module
  • Valmet A413181 PLU Board
  • Valmet m851006 SCU Module
  • Valmet Metso 181226 Digital Input Module
  • Valmet AIU16T Analog Input Module - 16-Channel 65421466-2B MT924 V1.3
  • Valmet WIN3136875 Slide Clutch
  • Metso Valmet TIU61 A413111 Temperature Input Unit
  • Valmet MC12S Slitter Motor
  • Valmet A413139 AOH4 Board - Analog Output High Module
  • Valmet A409001 BIU85 Board
  • Valmet A413063 DMU Board
  • Valmet A413325 IPU I/O Power Unit
  • Valmet M851004 M2 CPU Module
  • Valmet IOP345 Digital Input Module
  • Metso Valmet A413215 Communication Board
  • Valmet DIFF-EL 80 M1 Transmitter
  • Valmet A413001 CPU Module
  • Valmet M899520 TDC-2 Module
  • Valmet A409001 BIU85 Board
  • Metso Valmet A413005 CPU Module
  • VALMET PUD 10 B Process Automation Rack with CPU SCU Module
  • Valmet A413091 GDU1 Board
  • VALMET M851006 M2 SCU Module
  • Lyngso Valmet Marine 990.896.000 Position Loop Card
  • Valmet Cooking Liquor Measurement 3417H
  • VALMET ABMB MT831 PCB Card
  • Valmet Automation A413325 IPU I/O Power Unit
  • Valmet Metso Consistency Transmitter Smart Pulp M2
  • VALMET METSO A413274 Connection Module
  • VALMET PI33S1KSA02RSA-ELI26 Switch
  • VALMET ND9103HN-CE07-K05 Intelligent Valve Controller
  • VALMET PMB 2R 16 Slot Backplane PCB Card
  • NELES VALMET A413135 AOU 4 Output Module
  • Metso Valmet A413345 FPU Power Unit
  • VALMET A413171 PIC Module
  • VALMET A413620 Repeater Module
  • Valmet M851521 Memory Card
  • Valmet DIFF-EL 140 M1 Transmitter
  • Valmet A413064 DMU Module
  • Valmet IOP371 I/O Bus Extender Module
  • Valmet Cooking Liquor Measurement 3400 Model 3417H
  • Metso Valmet A413043 CPU Module – Industrial Processor
  • Valmet BIU4 M851221 Binary Input Module
  • Valmet PMB 1S CPU SCU Rack Module
  • Valmet A413248 Controller Module
  • Valmet PDP601 Distributed Processing Unit
  • VALMET M851004 M2 CPU Printed Circuit Board Module
  • Metso Valmet A413045 Ver.05 CPU Module
  • Valmet A413181 Ver.05 PLU1 Board
  • Lyngso Valmet ATB16 Controller Board
  • VALMET AIU 16 Analog Input Unit 545100-3A/3B
  • VALMET PUD 10 B Power Supply PCB Rack Module
  • Valmet MS-50V/120V Bearing Unit
  • Valmet PDP603 Distributed Processing Unit – DPU Module
  • Valmet A413110 TIU Board – Terminal Interface Unit
  • Valmet S420154 I/O Backplane PCB – Printed Circuit Board
  • Valmet A413173 Industrial Control Module
  • Valmet A413044 CPU Module
  • Valmet A4IU1 Analog I/O Module
  • Valmet A413325 IPU Power Unit – PLC Module
  • Valmet M851002 CPU Module – Central Processing Unit
  • Valmet PUD10B Power Supply Board
  • Valmet K00990 Master CPU Electronic Assy
  • Valmet Metso IOP345 Input Module
  • Metso Automation T545215 Board
  • Valmet Metso IOP304 Input Module
  • Valmet 542844-6A SCU Module
  • Metso A413043 Ver.11 Valmet CPU Module
  • Valmet Automation BIU 8A Input Module
  • Metso A413044 Ver05 Valmet CPU Module
  • VALMET 542821-5A Control System Rack Module
  • Metso A413005 Ver.04 Valmet CPU Module
  • Valmet M851207 AIU16 Card
  • Valmet BIU8 Binary Input Unit
  • VALMET 547070-2B CPU Printed Circuit Board Module
  • Valmet Automation A413325 Power Module
  • VALMET AUTOMATION A413135 AOU4 Module