Rockwell-automation 9301 Series RSView32 Users Guide Manual do Utilizador Página 238

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 769
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 237
7–38 RSView32 User’s Guide
Using the DataLogSnapshot command
You can record tag values using the DataLogSnapshot <file>
command or DataLogSnapshot * command.
The DataLogSnapshot <file> command records tag values for all tags
in the specified model at the instant the command is executed. The
DataLogSnapshot * command records tag values for all tags in all
running models at the instant the command is executed.
Use these commands anywhere an RSView32 command or macro can
be entered. For example, enter the command as the action for an
event.
Operators can also use these commands at runtime. For details, see
“Providing operators with a way to log on demand” on page 7-39.
Example: Creating an event for on demand logging
To create an event that will trigger logging when an alarm occurs:
1. Click On Demand as the log trigger.
2. Open the Event editor. Create an expression such as:
If alm_in_alarm(motor_fault) and new_batch_started then 1 else 0
3. In the Event editor’s Action field, type DataLogSnapshot <file>
where file is the name of the data log model.
When tag1 goes into alarm, the DataLogSnapshot <file> command
runs. All tags in the model will then be logged (not just the tag in
alarm).
Vista de página 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 768 769

Comentários a estes Manuais

Sem comentários