Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 86
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 19
Chapter 1 Communicate with I/O modules
The drill routine executes the logic for the drill machine.
The map_outputs routine copies the values of output tags in the drill routine to their corresponding output devices.
The following example uses the CPS instruction to copy an array of data that
represent the input devices of a DeviceNet network.
Example: Buffer I/O using CPS instruction
Local:0:I.Data stores the input data for the DeviceNet network that is connected to the 1756-DNB module in slot 0. To synchronize the inputs with the application,
the CPS instruction copies the input data to input_buffer.
While the CPS instruction copies the data, no I/O updates can change the data.
As the application executes, it uses the input data in input_buffer for its inputs.
20 Rockwell Automation Publication 1756-PM004E-EN-P - October 2014
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 85 86

Komentáře k této Příručce

Žádné komentáře