Setup guide
Chapter 3 Driver and Protocol Objects
©
Automationdirect.com 3-31 Object Reference Manual
Entering ASCII Object Format String
For a static connection to one of the format data members, enter your
format string in the yellow field box in the Edit Connections dialog box.
Remember to begin and end the format strings with quotation marks so that
LookoutDirect
accepts the string input.
You can also connect any valid text data member, such as a text entry
object, to the format data members.
Request Frame Construction Examples
A zero in front of the four pads with zeroes; a space pads with spaces.
Response Format Examples
Note
The decimal point counts as a character when decoding floats (%f). Also, decimal
points denoting precision are not allowed when decoding a float in the response frame.
Request
Format String
RQV
Request
Frame
<01%4u%s RQV1=1234
RQV2.txt=Steph
<011234Steph
<01%04u%s RQV1=34
RQV2.txt=Steph
<010034Steph
<01% 4u%s RQV1=34
RQV2.txt=Steph
<01 34Steph
Response
Frame
Response
Format String
RSV
*(16.38: *(%52f: RSV1=16.38
Response
Frame
Response
Format String
RSV
>>Test Text<< >>%s<< RSV1.txt=Test