Siemens S7-200PLC Especificações Página 402

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 401
IEC 1131-3 Instructions
10-30
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Logical Rotate Right, Logical Rotate Left
The Rotate Right and Rotate Left functions rotate the
input value (IN) right or left by the shift count (N), and
load the result in the output (OUT).
The rotate is circular. In ROR, bit zero is rotated to the
most significant bit. In ROL, the most significant bit is
rotated to bit zero.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
Inputs/Outputs Operands Data Types
IN VB, IB, QB, MB, SB, SMB, LB, VW, IW, QW, MW, SW, SMW,
LW, T, C, AIW, VD, ID, QD, MD, SD, SMD, LD, HC, AC,
Constant, *VD, *LD, *AC
BYTE, WORD
DWORD
N VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *LD, *AC BYTE
OUT VB, IB, QB, MB, SB, SMB, LB, VW, IW, QW, MW, SW, SMW,
LW, T, C, VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC
BYTE, WORD
DWORD
L
A
D
F
B
D
OUT
ROR
EN
IN
N
OUT
OUT
ROL
EN
IN
N
OUT
ENO
ENO
222 224
333
221
Vista de página 401
1 2 ... 397 398 399 400 401 402 403 404 405 406 407 ... 503 504

Comentários a estes Manuais

Sem comentários