Ups under twincat, Behavior of the ups: data handling – BECKHOFF DK9122-0311-0026 User Manual
Page 2

Industrial PC
Monitoring and diagnosis
Application Note DK9122-0311-0026
The 1-second UPS from Beckhoff is available for the following Industrial PCs and embedded devices:
– Embedded PCs from the CX50x0 series
– Industrial PC C6915
– Control Panels from the CP62xx and CP77xx series with Intel
®
Atom
™
motherboard
UPS under TwinCAT
The UPS is controlled in TwinCAT by the calling of a function block. Depending on the selected mode, the function block FB_S_
UPS initiates the storage of persistent data and/or QuickShutdown of the operating system in the event of a power failure. The
necessary library is integrated into the installation from TwinCAT 2.11 R2 Build 2016 onwards. For older TwinCAT versions, an
appropriate library must be copied into the library folder.
FB_S_UPS
sNetID
iPLCPort
iUPSPort
tTimeout
ePersistentMode
tRecoverTime
bPowerFailDetect
eState
eUpsMode
Fig. 1 TwinCAT function block for controlling the UPS
Behavior of the UPS: Data handling
New Automation Technology
Beckhoff
2
For application notes see disclaimer on the last page