EasyManua.ls Logo

Moeller EC4-200 - EC4-200 Specific Functions; Ec_Util.lib Library; Ec_Visu.lib Library

Moeller EC4-200
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Libraries, function blocks and
functions
05/06 AWB2724-1584GB
52
EC4-200 specific functions
EC_Util.lib library
This library contains the functions shown in the illustration below:
CAN_BUSLOAD function
The function can be called cyclically in a user program. When a
read cycle was completed successfully, the function returns the
TRUE value and writes the values calculated for integration time
and bus load to the transferred addresses.
If the bus load calculation is not yet completed or the CAN
controller has not yet been initialised, the function returns FALSE.
Information on evaluating the return value is provided in the
browser command “canload” on page 50.
EC_Visu.lib library
The EC_Visu.lib library contains function blocks for controlling the
LCD display. Of the nine function blocks, only the function blocks
“SetBacklight”, “SetContrast and GetDisplayinfo” can be used at
present.
SetBacklight:
On/off switching of the backlight
SetContrast:
Set contrast
The contrast can be increased or decreased in 2 stages.
Figure 58: Functions of the EC_Util.lib library.
h
The “timer” function is described in section “Timer
interrupt” on page 43.
Figure 59: CAN_BUSLOAD function
CAN_BUSLOAD
POINTER TO
DWORD
p_dwIntegrationTime CAN_BUSLOAD BOOL
POINTER TO BYTE p_bBusload
Figure 60: EC_Visu.lib library
Figure 61: SetBacklightSetBacklight
Figure 62: SetContrast
SETBACKLIGHT
BOOL xStrobe xActive BOOL
BOOL xTurnOn typError VISULIB_ERROR
SETCONTRAST
BOOL xStrobe
DISPLAY_CONTRAST typContrastValue
xActive BOOL
typError VISULIB_ERROR

Table of Contents

Related product manuals