Allen-Bradley devicenet modules in logix5000 control systems Manual Do Utilizador

Página de 239
Publication DNET-UM004A-EN-P - March 2004
7-10        Control a Device
Program Your Logic With 
Alias Tags
While you can use the input and output tags of the scanner directly in 
your logic, it is a lot easier to use alias tags.
alias tag – a tag that represents another tag
• Both tags share the same data.
• When the data changes, both tags change.
• An alias tag provides a descriptive name for 
data, such as DeviceNet input or output data.
• If the location of the data changes, simply point 
the alias tag lets to the new location without 
editing your logic.
As an option, create tags that describe each device without pointing them to 
the actual addresses of the devices. Later, convert the tags to aliases for the 
data of the devices.
Select the address of the data.
To select a bit, click the 
▼.
3. Right-click the tag name and choose 
New…
4. Select the Alias button.
6. Select the scope for the alias tag.
Look in the
controller-scoped tags.
5. Select the tag that this alias tag represents.
7. Choose OK.
1. Enter your logic.
2. Type a descriptive tag name for the DeviceNet data.