01.07.2013 Views

Library manual M238 system functions | 2 MB - BERGER - POSITEC

Library manual M238 system functions | 2 MB - BERGER - POSITEC

Library manual M238 system functions | 2 MB - BERGER - POSITEC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GetBatteryLevel: Returns Remaining Power Charge of the Battery<br />

<strong>M238</strong> System Functions<br />

Function Description<br />

This function returns the remaining power charge of the external backup battery (in<br />

percent).<br />

For more information about internal and external batteries, refer to the <strong>M238</strong><br />

Hardware Guide (see <strong>M238</strong> Logic Controller, Hardware Guide).<br />

NOTE: The similar information is also available through the System Variable<br />

PLC_R.i_wBatteryStatus (see page 16)<br />

Graphical Representation<br />

IL and ST Representation<br />

To see the general representation in IL or ST language, refer to the chapter Function<br />

and Function Block Representation (see page 71).<br />

I/O Variables Description<br />

The following table describes the output variable:<br />

Output Type Comment<br />

GetBatteryLevel WORD Percentage of charge remaining in the battery.<br />

Range: 0..100:<br />

100%= 3.5 V<br />

50% = 2.75 V<br />

0%= 2 V<br />

Flashing thresholds of the Batt LED:<br />

100%= always OFF<br />

50%= periodic flashing<br />

0%= always ON<br />

EIO0000000364 04/2012 25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!