Create and assign a main tag to an instance to an Add-On Instruction
Create a main tag for an instance of an Add-On Instruction. Creating and assigning a main tag for Add-On Instruction instance allows you to open the logic for that instance as well as edit the parameters for that instance. You can then change the visibility and value parameters for that main tag of the Add-On Instruction instance.
Prerequisites
- Create an Add-On Instruction
- Place the Add-On Instruction in a ladder diagram
To create and assign a main tag to an instance of an Add-On Instruction
- On the explorer bar, selectSystem.
- InSystem, navigate to and right-click the Add-On Instruction and selectTags and parameters. The Tag Editor opens.TIP: To openTags and parameters, you can also select the item inSystemand then in theSystemtitle bar, selectView tags and parameters: (item name).
- In last row of the Tag Editor, selectAdd Tag. A row for the new tag is added.
- Enter the parameters for the tag:
- Name. The name of the tag or program parameter.
- Data Type. Browse to openSelect Data Type, select the data type of the Add-On Instruction, and then selectApply.
- Complete the remaining tag parameters:
- Value. Enter the value of the tag.
- (Optional)Description. Enter a description of the tag to indicate the purpose of the tag or the latest change to the tag.
- Scope. The scope of the tag is the item selected inSystem.
- (Optional)Style. For a BOOL, SINT, INT, DINT, or REAL tag, select a display style to define how the tag value appears. Styles include DECIMAL, BINARY, OCTAL, and HEX.
- Usage. Select a usage type -- LOCAL, INPUT, OUTPUT, or INOUT. The default is LOCAL.
- InSystem, expand theFactoryTalk Smart Objectand program.
- Double-click the routine with the Add-On Instruction. The editor for the routine opens.
- Right-click the first parameter of the Add-On Instruction and select the tag with the Add-On Instruction data type.
Provide Feedback