Lenze PLC Designer PLC Designer (R2-x) Manual de usuario Pagina 473

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 472
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 471
Example in ST:
PROGRAM shr_st
VAR
in_byte : BYTE:=16#45;
in_word : WORD:=16#45;
erg_byte : BYTE;
erg_word : WORD;
n: BYTE :=2;
END_VAR
erg_byte:=SHR(in_byte,n); (* Result is 11 *)
erg_word:=SHR(in_word,n); (* Result is 0011 *)
Example in FBD:
Example in IL:
LD 16#45
SHR 2
ST erg_byte
9.4.3 ROL
PLC Designer IEC operator: Bitwise rotation of an operand to the left: erg:= ROL (in, n)
erg, in and n should be of the type BYTE, WORD or DWORD. in will be shifted one bit
position to the left n times while the bit that is furthest to the left will be reinserted
from the right.
Note!
Please note, that the amount of bits, which is regarded for the arithmetic operation,
is pretended by the data type of the input variable !. If the input variable is a
constant the smallest possible data type is regarded. The data type of the output
variable has no effect at all on the arithmetic operation.
See in the following example in hexadecimal notation that you get different results
for erg_byte and erg_word depending on the data type of the input variable (BYTE or
WORD), although the values of the input variables in_byte and in_word are the same.
Vista de pagina 472
1 2 ... 468 469 470 471 472 473 474 475 476 477 478 ... 843 844

Comentarios a estos manuales

Sin comentarios

Samsung SE-S164L-AMBN Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Lager Samsung SE-S164L-AMBN.
Wir stellen 1 PDF-Handbücher Samsung SE-S164L-AMBN zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Lager Samsung

Modelle Dokumententyp
SH-S162L-BEWN Bedienungsanleitung   Samsung SH-S162L-BEWN User Manual [de] , 32 Seiten
SE-S184M-AMBN Bedienungsanleitung   Samsung SE-S184M-AMBN User Manual, 28 Seiten
SE-S204N-AMBN Bedienungsanleitung   Samsung SE-S204N-AMBN User Manual [de] , 30 Seiten
SC-148A-DOM Bedienungsanleitung   Samsung SC-148A-DOM User Manual [de] , 15 Seiten
SR-T03BEBB Bedienungsanleitung   Samsung SR-T03BEBB User Manual, 15 Seiten
MZ-5PA128C-AM Bedienungsanleitung   Samsung MZ-5PA128C-AM User Manual, 18 Seiten
TS-H352A-WBEH Bedienungsanleitung   Samsung TS-H352A-WBEH User Manual, 20 Seiten
SH-152A-CSWE Bedienungsanleitung    Samsung SH-152A-CSWE User Manual, 2 Seiten
SH-S182M-CEBM Bedienungsanleitung   Samsung SH-S182M-CEBM User Manual, 32 Seiten
SH-R522C-BEWN Bedienungsanleitung   Samsung SH-R522C-BEWN User Manual [en] , 24 Seiten
MZ-5PA064-US Bedienungsanleitung   Samsung MZ-5PA064-US User Manual, 14 Seiten
MZ-7PC512D-AM Bedienungsanleitung   Samsung MZ-7PC512D-AM User Manual, 14 Seiten
SH-S162L-BEWN Bedienungsanleitung   Samsung SH-S162L-BEWN User Manual [en] , 32 Seiten
SD-816B-RPSM Bedienungsanleitung    Samsung SD-816B-RPSM Benutzerhandbuch, 2 Seiten
SW-252BENB Bedienungsanleitung   Samsung SW-252BENB User Manual, 18 Seiten
TS-H552B-MIAH Bedienungsanleitung   Samsung TS-H552B-MIAH User Manual [en] , 27 Seiten
SH-W162L-LCAH Bedienungsanleitung   Samsung SH-W162L-LCAH User Manual, 32 Seiten
SH-S182M-BEBE Bedienungsanleitung   Samsung SH-S182M-BEBE User Manual, 32 Seiten
SW-252FENS Bedienungsanleitung   Samsung SW-252FENS User Manual, 18 Seiten
SW-248F-PTG9 Bedienungsanleitung   Samsung SW-248F-PTG9 User Manual, 18 Seiten