Defining strings for serial ports and viewports – Rockwell Automation 5370-CUPK Color CVIM USER-PAK Option User Manual
Page 5
![background image](/manuals/580130/5/background.png)
USER–PAK Option
User Manual
Table of Contents
iii
Defining the Graph
7 – 27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Defining the Viewport Limits – Upper and Lower
7 – 28
. . . . . . . . .
Defining the Event
7 – 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Copy and Paste Features
7 – 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter Objectives
8 – 1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Entering (or Modifying) String Text
8 – 1
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Valid Elements of String Text
8 – 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Literal Text
8 – 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Codes
8 – 4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Characters: N, /, %, #
8 – 8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The N (newline) character
8 – 8
. . . . . . . . . . . . . . . . . . . . . . . . . . .
/ Character Code Indicator
8 – 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
% Formula Indicator
8 – 10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Field Formatting Codes
8 – 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conditional Color-coding
8 – 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extended Conditional Color-coding
8 – 15
. . . . . . . . . . . . . . . . . . . . .
Draw Line Codes
8 – 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Positioning with Draw Line Codes
8 – 18
. . . . . . . . . . . . . . . .
Using the * Symbol
8 – 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Plot Line Codes
8 – 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Change Color Codes
8 – 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of Codes and Indicators
8 – 22
. . . . . . . . . . . . . . . . . . . . . . . . . .
Defining the Event
8 – 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Event Source
8 – 24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Source Condition
8 – 25
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Interval
8 – 26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Repeat String
8 – 28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Repeat String Parameters
8 – 29
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Example of Using the Repeat String and Index Character
8 – 30
. . . . . . . .
Using Math Formula Results for Repeat String parameters
8 – 32
. . .
Custom Serial Port Message Example
8 – 33
. . . . . . . . . . . . . . . . . . . . . . . . . .
Text and Tool Viewport Examples
8 – 36
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example 1 – Creating a Special Character
8 – 37
. . . . . . . . . . . . . . . . . . . .
Example 2 – Using the Change Color Code
8 – 38
. . . . . . . . . . . . . . . . . . .
Example 3 – Using the Draw Line Code
8 – 39
. . . . . . . . . . . . . . . . . . . . .
Example 4 – Using Repeat String and # (Index) Character
8 – 40
. . . . . . .
Setting the Repeat String Parameters
8 – 41
. . . . . . . . . . . . . . . . . . . .
Example 5 – Using Data Codes and # (Index) Character
8 – 42
. . . . . . . . .
Using the Repeat String and # (Index) Character with Statistics Codes
8 – 43
Example 6 – Conditionally Displaying a Text String
8 – 44
. . . . . . . . . . . .
Example 7 – Using Formulas and Plot Line Codes
8 – 46
. . . . . . . . . . . . .
Defining Strings for
Serial Ports and Viewports