Beckhoff CU8110-0060 Manual page 39

Table of Contents

Advertisement

bError: This output is set if an error occurred when executing the function.
nErrId: Supplies the ADS error number or the command-specific error code (table) when the bError output is
set.
Error Codes
0x0000
0x8001
0x8002
0x8003
stStatus: Structure with the status information of the UPS (type: ST_UPSStatus [} 40]).
Not every UPS device can supply all the status information. Some devices, for example, cannot supply the
BatteryLifeTime or BatteryReplace status.
Example:
Online data with status information of a UPS:
Requirements
Development en-
Target platform
vironment
TwinCAT v3.1.0
PC or CX (x86, x64, ARM)
CU8110-0060
Error description
No error
UPS configuration error. It is possible that the UPS is
not configured correctly or that no UPS is configured
at all.
Communication error. Communication with the UPS
was interrupted.
Error during the reading of the status data.
UPS hardware
• Beckhoff BAPI v1;
• Beckhoff P24Vxxxx;
• Beckhoff CP903x card (PCI/ISA);
Version: 1.0
Configuration
PLC libraries to be
integrated (cate-
gory group)
Tc2_IoFunctions
(IO)
39

Advertisement

Table of Contents
loading

Table of Contents