Page 361 - Programmable Logic Controllers, Fifth Edition - Mobile version
P. 361
Scope: Controller1(controller) Show: Show All Sort: Base Tag
Tag Name Value Force Mask Style
All_Stop 0 Decimal
+ -Local:2:C { . . . } { . . . }
+ -Local:2:I { . . . } { . . . }
Section_3_Run 2#0000_0000 Binary
Monitor Tags Edit Tags
Figure 15-22 Monitor Tags window.
Monitoring and Editing Tags is selected new tags may be created, and existing tag prop-
erties may be modified.
After tags have been created they can be monitored using
the Monitor Tags window displayed in Figure 15-22. Array
When Monitor Tags is selected the actual value(s) for the
tags will be shown. The Force Mask column is used to Many control programs require the ability to store blocks
force inputs and outputs when troubleshooting. You can of information in memory in the form of tables that can
also create new tags or edit existing tags using the Edit be accessed at runtime. An array is a tag type that con-
Tags window displayed in Figure 15-23. When Edit Tags tains a block of multiple pieces of data. Each element
Scope: Controller1(controller) Show: Show All Sort: Base Tag
P Tag Name Alias For Base Tag Type
All_stop BOOL
+ -Local:2:C AB:1756_DI:C:0
+ -Local:2:I AB:1756_DI:I:0
Section_3_Run Local:2:I.Data.0 Local:2:I.Data.0 BOOL
Monitor Tags Edit Tags
Figure 15-23 Edit Tags window.
Select Data Type
Selection
OK
OK
DINT[6,3,2] Find match
3-dimensional Cancel
1-dimensional 2-dimensional Data Types
BOOL Help
CONTROL
COUNTER
DINT
INT
Load
Load_info
MESSAGE
Array Dimensions
Dim 0 Dim 1 Dim 2
6 3 2
Table [6] Grid [6,3] Block [6,3,2]
Figure 15-24 Types of arrays.
Source: Image Courtesy of Rockwell Automation, Inc.
342 Part 1 Memory and Project Organization
pet73842_ch15_333-394.indd 342 03/11/15 7:33 PM