Page 53

Petruzella_ProgrammableLogicControllers__5e

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


Petruzella_ProgrammableLogicControllers__5e
To see the actual publication please follow the link above