Application tags, Application, Tags – Rockwell Automation 2711C-xxxx PanelView Component HMI Terminals Quick Start User Manual

Page 20

Advertising
background image

20

Publication 2711C-QS001F-EN-P - November 2010

Chapter 1 Review Sample Application

Application Tags

The sample application uses read and write tags to define how objects interact with addresses in the
MicroLogix 1100 controller. The tags read or write data to a bit or integer file. Objects that do not read or
write to a controller address such as screen buttons or headings do not require a tag.

The same tags are used for DF1 or Ethernet communication.

This object

Uses this tag

To

Motor_Start

Start the motor by writing the value 1 to the Boolean tag.

Motor_Stop

Stop the motor by writing the value 0 to the Boolean tag.

Motor_AutoManual

Set the motor to auto mode or manual mode by writing the

value 0 or 1 to the Boolean tag.

Read the tag value to determine the auto or manual mode of the

motor.

Motor_Status_Ind

Read the tag value to determine the running or stopped status

of the motor.

Change_Speed

Write the value of the entered motor speed, 0 to 1000 rpm, to

an unsigned integer address.

Motor_Speed

Read the current value of the motor speed. The bar graph

displays the speed in a graphic format. The numeric display

displays the value in a numeric format.

This tag is also used to trigger an alarm if the motor speed

reaches 850 or 900 rpm.

Advertising