Beckhoff TwinCAT 3 (XAR/XAE) with EtherCAT fault ADS 1797: Parameter size not correct (0x705, ADSERR_DEVICE_INVALIDSIZE)

Beckhoff TwinCAT 3 (XAR/XAE) with EtherCATfaultTwinCAT 3.1; ADS Basics 2.6.2, EtherCAT System Manual 6.1.0, NC Errors 2.5.1

Beckhoff: parameter size not correct. The length sent with an ADS read or write does not match what the server expects for that symbol, index group/offset or service.

Diagnose this with AI

Upload a keypad photo, the fault history or a parameter export from your Beckhoff TwinCAT 3 (XAR/XAE) with EtherCAT. InduQT compares the evidence and suggests the next useful checks.

Try Free PLC Fault Diagnostic

When it happens

Likely causes and checks

1Variable data type changed in the PLC (e.g. INT to DINT, array or STRING length)

Points to it
Error started after a PLC download; only some tags fail.
Check
Compare the client’s length with SIZEOF of the PLC variable in the current project.

2Client computes the length wrongly (packing/alignment of structures, STRING terminator)

Points to it
Structure reads fail while single variables work.
Check
Compare the structure layout and pack mode in the PLC with the client definition.

Telling it apart

Evidence to collect

Work on fuel trains, burners, pressure vessels and electrical equipment must be done by qualified personnel following the manufacturer’s documentation and local codes. Never bypass a safety device or interlock.

Related