Download OSCAT BASIC:LIBRARY Documentation In English
Transcript
Chapter 6. Arrays array to be manipulated. ADR() is a standard function which identifes the pointer to the array and SIZEOF() is a standard function, which determines the size of the array. In order to determine the maximum, the array referenced by the pointer is scanned directly in memory. The function ARRAY_GAV does not change the content of the array. This type of processing arrays is very efcient because no additional memory is required and no surrender values must be copied. Example: ARRAY_GAV(ADR(bigarray), SIZEOF(bigarray)) 6.10. ARRAY_HAV Type Function: REAL Input PT: Pointer (pointer to the array) SIZE: UINT (size of the array) Output REAL (mean value of the array) The function _ARRAY_HAV calculates the harmonic median value of an arbitrary array of REAL. When called, a pointer to the array and its size in bytes is passed to the function. Under CoDeSys the call reads: ARRAY_HAV(ADR(Array), SIZEOF(Array)), where array is the name of the array to be manipulated. ADR() is a standard function which identifes the pointer to the array and SIZEOF() is a standard function, which determines the size of the array. In order to determine the maximum, the array referenced by the pointer is scanned directly in memory. The function ARRAY_HAV does not change the content of the array. This type of processing arrays is very efcient because no additional memory is required and no surrender values must be copied. Example: ARRAY_HAV(ADR(bigarray), SIZEOF (bigarray)) 6.11. ARRAY_MAX 77 Type Function: REAL Input PT: Pointer (Pointer to the array) Version 3.33
Related documents
BobCat HydraCat DualCat c.1979 - Owners Manual
OSCAT Building: LIBRARY Documentation In English
Guardian Digital Secure Mail Suite Quick Start Guide
OWDP User Manual and Reference Guide
Acceptance Test Report
Printer-friendly Version
Winter 2012 course information
KESSEL Grease separator “PV” NS 2, 4, 7, 10 For installation in frost
Dual U-BR1TE Module User Manual
VD-310 - Micra
Façade 60 Fabrication Procedures.cdr
B-Toolkit User`s Manual - Computer Science and Engineering