Lenze Function library LenzeConversionBox Manuel d'utilisateur Page 10

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 14
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 9
Function library "LenzeConversionBox"
Function blocks
L_cbByteArrayToInt - Convert array of byte into 4 individual integers
10 L DMS 1.0 EN - 07/2011 - TD05
3.3 L_cbByteArrayToInt - Convert array of byte into 4 individual integers
This FB converts an ARRAY OF BYTE consisting of 8 elements of the BYTE data type into 4
individual integers. The element 1 of the array is the lower-order byte of the nInt0 output
and the element 2 is the higher-order byte of the nInt0 output, etc.
Inputs
Outputs
Call possible in: ; Cyclic task
; Interrupt task
; Time-controlled task (INTERVAL)
; Event-controlled task (EVENT)
L_cbByteArrayToInt
abyByteArray nInt0
nInt1
nInt2
nInt3
Identifier/data type Information/possible settings
abyByteArray
ARRAY[1..8] OF BYTE
Array with 8 elements from BYTE data type
Identifier/data type Value/meaning
nInt0
INT
Element 1+2 of the abyByteArray input
nInt1
INT
Element 3+4 of the abyByteArray input
nInt2
INT
Element 5+6 of the abyByteArray input
nInt3
INT
Element 7+8 of the abyByteArray input
Vue de la page 9
1 2 ... 5 6 7 8 9 10 11 12 13 14

Commentaires sur ces manuels

Pas de commentaire