Rockwell-automation 1336T Function Block Prog. Manual, Series A/B Manuale Utente Pagina 77

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 180
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 179 180

Commenti su questo manuale

Nessun commento