Rockwell-automation 1336T Function Block Prog. Manual, Series A/B Manuel d'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 180
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
Function Block Library 4–15
1336 FORCE — 5.9 August 1995
DIVIDE
BLOCK TYPE 23
decimal
17
hexadecimal
Divide
ID = Exec =
Output
NODE 0
LSW In
NODE 1
MSW In
NODE 2
Div
NODE 3
DEFINITION
Divides a 32 bit signed integer by a 16 bit signed integer. Any
remainder is truncated. If Div = 0, the calculation is not performed
and Output = 0. The Output is clamped to ±32767 should the result
exceed the limits.
INPUTS
LSW In — A least significant dividend word value representing
bits 0–15 of a 32 bit dividend value.
MSW In — A most significant dividend signed integer value
representing bits 16–31 of a 32 bit dividend value.
Div — The signed integer divisor.
OUTPUT
Output — The result of dividing the dividend by the divisor.
FUNCTION
Output = LSW In, MSW In ÷ Div.
PARAMETERS DATA TYPE LINKABLE DEFAULT VALUE RANGE
LSW In Unsigned Integer Yes 0 0 to 65535
MSW In Signed Integer Yes 0
±32767
Div Signed Integer Yes 0
±32767
Output Signed Integer No
±32767
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 179 180

Commentaires sur ces manuels

Pas de commentaire