Lenze Function library LenzeConversionBox Manuel d'utilisateur Page 11

  • 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 10
DMS 1.0 EN - 07/2011 - TD05 L 11
Function library "LenzeConversionBox"
Function blocks
L_cbIntToByteArray - Convert 4 individual integers into an array of byte
3.4 L_cbIntToByteArray - Convert 4 individual integers into an array of byte
This FB converts 4 individual integers into an ARRAY OF BYTE consisting of 8 elements of
the BYTE data type. The element 1 of the array is the lower-order byte of the nInt0 input
and the element 2 is the higher-order byte of the nInt0 input, etc.
Inputs
Outputs
Call possible in: ; Cyclic task
; Interrupt task
; Time-controlled task (INTERVAL)
; Event-controlled task (EVENT)
L_cbIntToByteArray
nInt0 abyByteArray
nInt1
nInt2
nInt3
Identifier/data type Information/possible settings
nInt0
INT
Element 1+2 of the abyByteArray output
nInt1
INT
Element 3+4 of the abyByteArray output
nInt2
INT
Element 5+6 of the abyByteArray output
nInt3
INT
Element 7+8 of the abyByteArray output
Identifier/data type Value/meaning
abyByteArray
ARRAY[1..8] OF BYTE
Array with 8 elements from BYTE data type
Vue de la page 10
1 2 ... 6 7 8 9 10 11 12 13 14

Commentaires sur ces manuels

Pas de commentaire