Libraries, function blocks and
functions
10/10 MN05003003Z-EN
62
EC4-200 specific functions
EC_Util.lib library
This library contains the functions shown in the illustration below:
CAN_BUSLOAD function
This 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 60.
The other functions are shown on the following pages:
• Direct I/O access (DirectAccess)
• TimerInterruptEnable
• DisableInterrupt/EnableInterrupt
EC_Visu.lib/EC_Visu2.lib library
The EC_Visu2.lib library contains function blocks for controlling
the LCD display.
This function is described on page 76.
Figure 70: Functions of the EC_Util.lib library.
Figure 71: Function CAN_BUSLOAD
CAN_BUSLOAD
POINTER TO
DWORD
p_dwIntegrationTime
CAN_BUSLOAD
BOOL
POINTER TO BYTE
p_bBusload
Figure 72: EC_Visu2.lib library
h
The already available functions/function blocks
SetBacklight, SetContrast and GetDisplayInfo from library
EC_Visu.lib can still be used. However, they have been
replaced by the functions/function blocks contained in the
library EC_Visu2.lib (
a
table)
EC_Visu.lib
EC_Visu2.lib
SetBacklight
Disp_SetBacklight
SetContrast
Disp_SetContrast
GetDisplayInfo
Disp_GetDisplayInfo
Summary of Contents for easyControl EC4-200
Page 4: ...II...
Page 10: ...10 10 MN05003003Z EN 6...
Page 14: ...10 10 MN05003003Z EN 10...
Page 22: ...10 10 MN05003003Z EN 18...
Page 38: ...10 10 MN05003003Z EN 34...
Page 62: ...10 10 MN05003003Z EN 58...
Page 78: ...10 10 MN05003003Z EN 74...
Page 96: ...10 10 MN05003003Z EN 92...