40
<CV
n,string
>
Cyclic Variable
Mapped Variables
Description
Update a single input variables using ASCII formatted text
Parameters
n
= 1 to 8 - Input Variable number
string =
any 7-bit numeric ASCII string
Modes
All Modes
Notes
The concepts and usage of Standard Screens, Cyclic Data and Mapped Variables are discussed in
their own section starting on Page 15.
The <CV> Cyclic Variable command is used to update each variable individually by sending the
numeric value as a simple ASCII string.
The syntax is <CV
n
,
string
> where n represents the input variable to be updated (= 1 to 8) and string
is the numeric value to be displayed. For example, the command <CV1,123.456> will set the input
variable 1 to a value of “123.456”. The string is converted to a numeric value and appears on the
standard screens, drawing a bargraph if appropriate. The value can be updated when necessary by
simply sending the same command with the new value.
Note that there is no mechanism to set the data
GOOD
or
BAD
– all data is assumed to be
GOOD
.
Uses
The <CV> command allows:
•
Displayed variables may be updated and the screen redrawn with minimal host overhead
•
Standard screens to be used for the convenient display of up to eight process variables with
little application programming
•
More complex screens can be built up using other “Mapped Variable commands”
Example
See the Standard Screens section (Page 15)
See Also
CD
Cyclic Data
CT
Cyclic-data Timeout