Parameter Format Codes; Navigating A Custom Transmit Table - GSE 60 SERIES Technical Reference Manual

Programmable process controllers
Table of Contents

Advertisement

P
F
ARAMETER
ORMAT
A format code defines how a parameter value is to be transmitted. For
example, a customer may prefer to have the parameter names Gross,
Tare and Net appear to the left of the weight values instead of the to the
right. Perhaps the weight values should be left-padded with zeros instead
of spaces. A time value may be printed in 12 or 24 hour format, with or
without the date. Do you want to include seconds? Include the name of
the day? These and many more variations are possible using format
codes. Refer to Table 8-6 through Table 8-13 for a list of available
formats.
Each type of parameter (floats, integers and strings) has it's own format
code selections. Keep this in mind when selecting format codes for weight
parameters, time & date parameters, variables, etc. Refer to the
appropriate format table.
Establishing the desired format code is a simple matter of addition. First
decide how you want the data to appear, then add the various format
codes that will generate the desired output. For example, suppose you
want the gross weight to appear as follows:
Gross +00050.00 lb
The criteria would be parameter name first, weight padded with left zeros,
print a plus sign, and print current units. Since the gross weight is a float-
type parameter, we must reference Table 8-9 for the appropriate format
codes. Looking down the "Add Value" column, begin adding the numbers
that will result in the desired format:
A
V
DD
ALUE
32768
Print Name First
64
Plus Sign for Positive Data
16
Pad With Zeros
32848
FORMAT CODE
N
C
AVIGATING A
If we could examine the entire transmit table from our example, it would
appear as:
GSE Scale Systems
Of course the display will only show five characters of the transmit table at
once. Using the [ 3 ] and [ 4 ] keys you can scroll backward and
forward through the transmit table. Text characters are easy to identify as
they appear exactly as entered. However the
make the custom transmit data appear rather cryptic. We know that
represents a control code, but which one? Likewise,
unidentified parameter of unknown format.
C
ODES
D
ESCRIPTION
T
USTOM
RANSMIT
c
c
c
P
c
c
P
c
c
c
c
c
A
c
c
A
c
c
c
c
60 Series Technical Reference Manual
Communications 8-19
T
ABLE
P
c
c
c
A
c
c
c
P
characters can
and
A
c
c
P
represents an
A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents