QUICKDESIGNER
ASCII Flex Protocol
••••
277
Tag Table
This is the syntax for normal tag creation via the Tag Editor or assignment to a Panel Object. There are
three tags.
RAxxxx
Register Ascii
RLxxxx
Register Long
RFxxxx
Register Float
Examples
:
RA1000
RF1001 \* Prec 2
RL9999
RA0
RL44
In the examples above, the ‘xxxx’ stands for the element number. Valid element numbers go from 0 to
9999.
Also, unlike the Ascii string protocol, you do not have to enter 4 digits for the element number. In
Ascii, you would have to type DM0001. In the Flex protocol you can just type RL1.
Syntax Used in the String Commands
The string commands you enter in the Edit Sequence or New Sequence dialogs are composed of the
following elements.
•
Embedded register fields
•
Byte Literals
•
String Literals
Embedded Register Fields
This is how you specify a tag name to read from or write to in a string command. All you do is wrap a
normal tag name in brackets.
{RA1}
{RL283}
{RF43}
There is just one extension to the float syntax that is available. You can specify the precision of a float
tag within the embedded field. To set the precision of a Float to 2, you would do this
{RF43 \* Prec 2}
This syntax will only work and within a string command. You can’t specify a precision in the tag editor
this way. Also, you should only specify a Float precision on SEND string commands.
Byte Literals
Use Byte literals to embed ascii characters in a string command. The syntax is as follows:
\xxx
where ‘xxx’ is a decimal value from 0 to 255.