Rockwell-automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command Manual do Utilizador Página 102

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 251
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 101
7–15Communication Commands
Publication
17706.5.16 - October 1996
protected bit write
Sets or resets individual bits within limited areas of the PLC data
table memory. The access is limited by memory access rungs in the
communication zone of the PLC processors ladder diagram
program.
C
CMD
02
STS
TNS ADDR
R
STS
TNS
CMD
42
DATA
(max. 244 bytes)
SET RESET
Up
to 60 masks of this form.
DST SRC
SRC DST
DATA ADDR SET RESET
DATA is:
4byte blocks, each of
which contains a 16bit
address field
Use ADDR to specify the
address of the byte to be
modified in the PLC data
table memory.
Use SET to specify which
bits to set to 1 in the
addressed PLC byte.
Use RESET to specify
which bits to reset to 0 in
the addressed PLC byte.
address
field
a set mask
a reset mask
Put the low byte (least
significant bits) of the PLC
address value into the first
byte of the ADDR field.
A 1 in the SET bit position
means to set the
corresponding bit in the
addressed PLC byte to 1.
A 1 in a RESET bit position
means to reset the
corresponding bit in the
addressed PLC byte to 0.
y
A 0 in the SET bit position
means to leave the
corresponding bit in the
PLC byte unchanged.
A 0 in the RESET bit
position means to leave
the corresponding bit in the
PLC byte unchanged.
Important: For some PLC processors, the interface module at the
receiving PLC node executes this command by making
a copy of the addressed PLC byte. It then sets or resets
the appropriate bits and writes the byte back into PLC
memory. At the same time, the PLC processor can
change the states of the original bits in memory.
Because of this, some data bits may unintentionally get
overwritten.
1774PLC
PLC2
PLC3
PLC5
PLC5/250
Vista de página 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 250 251

Comentários a estes Manuais

Sem comentários