Only use industrial grade memory cards provided by Beckhoff (wide temperature range, high write life). CFast order numbers: CX2900-0026 (20 GB) to CX2900-0044 (320 GB); microSD:CX1900-0122(512 MB)、CX1900-0132(16 GB)。
2.4 Passive EtherCAT Terminal Installation Prohibition
Passive EtherCAT terminals (such as EL9195) must not be directly installed on the right side of the power module. Passive terminals have no process mapping and do not consume E-bus current. If it is tightly attached to the power module, it will weaken the E-bus signal. Correct practice: Insert at least one active terminal (a common terminal that consumes E-bus current, such as a digital input module) between the power module and the passive terminal. Identification method in TwinCAT tree: Passive terminals do not display process data, and the value in the "E-bus (mA)" column is the same as the previous terminal.

Power wiring and UL requirements
3.1 Definition of Wiring Terminals
The power terminal is located on the right side and is spring crimped (wire 0.5-2.5 mm ², stripped 8-9 mm):
Us (upper row): "24 V" and "0 V" - power the CPU and K-bus/E-bus. This is the core power supply of the system.
Up (bottom row): "+", "-", and "±" - supply power to the power contacts of the bus terminals (electrically isolated from Us).
After power on, the two green LEDs should light up:
Us 24V LED: CPU and bus power supply are normal
Up 24V LED: Power contact supply is normal
3.2 Power supply capacity and fuses
Us needs to provide 24 V DC (-15%/+20%, i.e. 19.2~28.8 V), maximum power consumption: CX5120 11 W, CX5130 14 W, CX5140 16 W (an additional 7 W is added during charging). Recommend using a 4A slow fuse (UL248) or NEC Class 2 power supply.
The maximum load of the Up contact is 10 A, and a separate fuse not exceeding 10 A must be configured.
Important: Always disconnect the 24V line when cutting off the power, and do not disconnect the 0V (ground wire), otherwise it may cause backflow and damage the equipment through the shielding layer.
3.3 UL Compliance
The UL label of CX51x0 is on the nameplate. UL certification environmental requirements: The power supply voltage source is isolated 24 V DC, with a maximum 4 A fuse (UL248) or NEC Class 2. Two Class 2 power supplies must not be connected in series or parallel.
1-second UPS persistent variable protection
4.1 Principles and Limitations
The CX51x0 is equipped with an UltraCap, which can maintain processor power for several seconds after the main power supply drops, and is used to save persistent variables (VAR PERSISTENT) to the CFast card. The maximum safe storage capacity is 1 MB of data (covering the entire lifespan). Do not save K-bus/E-bus data as they may become invalid when power is lost.
SUPS can be enabled/disabled in BIOS (menu: Advanced>Power Controller Options). Default enabled. It also provides the "Hold USB" option (cutting off USB power in UPS mode to save energy) and a startup delay (Delay 0-255 seconds).
4.2 Configuration steps
BIOS confirms SUPS Enable=[Enable].
Windows write filter processing: The persistent data storage path is either WinCAT Boot (TC2) or WinCAT 3.1 Boot (TC3). If FBWF is enabled, ensure that the directory is in the exception list (added by default). EWF must be closed. UWF does not need to be closed, but exceptions need to be configured.
PLC declares persistent variables:
st
VAR PERSISTENT
counter : INT;
systemState : BOOL;
END_VAR
Loop call function block FB_S-UPS_CX51x0 (located in Tc_2SUPS library, requires TwinCAT v3.1 B4016 or above).
Input parameters
EUpsMod: Recommend eSUPs_WrPersistData_Shutdown (perform quick shutdown after saving data)
EPersistentMode: default SPDM2PASS (write twice, more reliable)
TRecoverTime: default T # 10s (waiting time for recovery after short-term power failure)
When the output bPowerFailed Detect is TRUE, it indicates a power failure. At this time, other applications should be stopped to save CPU time for saving data:
st
IF NOT FB_S_UPS_CX51x0.bPowerFailDetect THEN
//Running code normally
END_IF
Verify the validity of persistent data: In TC3, check the implicit variables PlcAppSystemInfo. BootDataLoaded (TRUE indicates successful loading) and OldBootData (TRUE indicates backup loaded). Read the 4th bit (persistent) and 0th bit (hold) of the SYSTEM INFOTYPE. bootDataMlags in TC2.
4.3 Common Problems
If the save is not successful, check the registry ClearInvalidPersistentData=0 (default backup used) or 1 (delete backup).
After replacing the CFast card, the persistent variable file (Port_85x. bootdata) is lost, and the first boot will load a backup (if present) or reset to its initial value.
Detailed interface description and special configuration
5.1 Ethernet interface (X000, X001)
Two independent gigabit ports, factory configured with TwinCAT real-time Ethernet (EtherCAT). LED: Left (LINK/ACT) - Green constant light indicates connection, flashing indicates data; Right (SPEED) - not lit=10 M, green=100 M, red=1000 M.
Jumbo Frame: Intel raw drivers need to be installed (which will overwrite Beckhoff real-time drivers), and then set the Jumbo Packet to 4088 or 9014 bytes in the Advanced tab of the Device Manager. Suitable for high throughput applications such as video streaming.