BECKHOFF CX2100­09x4 User Manual

Page 69

Advertising
background image

Commissioning

bValid: If this output is set the data in the ST_UPSStatus structure are valid (no error occurs at the last read
cycle).

bError: This output is set if an error occurs by execution of the function.

nErrId: Supplies the Ads error number or a command specific error code (table) when bError output  is set.

stStatus: Structure with the status information of UPS.

Error codes

Error description

0x0000

no error

0x8001

UPS configuration error. Perhaps the UPS is not
configured correctly, or no UPS is configured.

0x8002

Communication error. The communication to the UPS
has been interrupted.

0x8003

Error by reading the status data.

Note:

Not all UPS devices are able to deliver status infomation. Some devices can´t deliver e.g BatteryLifeTime or
BatteryReplace­Status.

Example for a call in FBD

Online data with status information of UPS:

CX2100­09x4

69

Version 1.1

Advertising