Rockwell-automation Logix5000 Controllers Add-on Instructions Programm Uživatelský manuál Strana 43

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 42
Defining Add-On Instructions Chapter 2
Program parameters that reference a module must connect to a module, and
cannot reference other module reference parameters.
Module reference parameters must be program or Add-on Instruction
scope, not controller scope.
Tip: You cannot create a module reference tag. You can only reference modules using
an InOut parameter of the MODULE data type.
1. In the Controller Organizer, right-click an Add-On Instruction and
select Open Definition.
2. On the Parameters tab, in the blank Name box, type a name for a
parameter.
3. In the Usage box, select InOut.
4. In the Data Type list, select the MODULE type. This data type is for the
MODULE object, and contains the following information:
Entry Status
Fault Code
Fault Info
FW Supervisor Status
Force Status
INSTANCE
LED Status
Mode
Path
For more information on the MODULE object, search the Logix Designer
online help.
5. In the Description list, type a description, maximum 512 characters.
This description appears in the instruction’s help.
6. In the Constant list, select InOut parameters check box you want to
designate as constant values.
Tip:
You can also create parameters by using the Tag Editor, New Parameter or Local Tag dialog box, or by right-clicking a
tag name in the logic of your routine.
For more information on using parameters in programs, see Logix5000
Controllers Program Parameters Programming Manual, publication
1756-PM021.
Rock well Automati on Publication 1756- PM010F-EN-P - Oct ober 2014 43
Zobrazit stránku 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 103 104

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

Žádné komentáře