LaserLT-60 and LaserLT-100 Remote Displays
8
Visit our website
3.3.1 String Example
The weight value of the first character position is defined within the parameter of weight position, or
Wei.pos
, in the string
transmitted by indicator. A possible polarity sign is also part of the weight value. The unit can parse a string up to 39 characters.
For example, if the received string is bpwwwCR+LF:
3.3.2 Advanced Parsing Parameters
Advanced Parsing Parameters utilize logical operators and bit masking to set the individual bits of the string to read the sign,
stability, zero and over/under load and units.
Figure 3-6. Advanced Configuration Parameters
Each of the Advanced parameters are defined by setting the following parameters:
Example: If the string sent by the scale indicator has the form: WWWWWWF<CR><LF>
Where WWWWWW is the weight, F some flags.
Wei.pos will be 0. Wei.Len 6.
If check bit 2 of flag character F is desired and this bit is about negative weight, then set in
Adv
.
ced
/
Neg
.
sig
:
• Mask = 4 (if check bit 2 is desired, binary mask is 00000100, decimal = 4)
• N.Byte = 6
• Value = 4
When character 6 of the string AND (logical AND) Mask = 4 weight is considered negative.
Received String
b
p
w
w
w
w
w
w
w
L
G
S CR LF
String Position
00 01 02 03 04 05 06 07 08 09 10 11 12 13
Figure 3-5. Rice Lake Continuous Data Format Example
Parameter
Description
W.nEt
Weight Net – Bit and character that indicates if the weight is net
nEG.SiG
Negative Sign – Bit and character that indicates if the weight is positive or negative
StAbiL
Stability – Bit and character that indicates if the weight is stable
W.ZEro
Weight Zero – If the value is not set (MASK = 0) the scale is considered to be in the zero range when the weight is equal to 0
W.UnDeR.L
Weight Under Load – Bit and character that indicates if the weight is under load
oUEr.L
Over Load – Bit and character that indicates if the weight is over load
Unit 1
Unit 1 – Lights W1; If 076 lights unit 1, the unit of measure is L, or pounds;
Unit of measurement stickers are provided to replace W1 function LED labels
Unit 2
Unit 2 – Lights W2; If 075 lights unit 2, the unit of measure is K, or kilograms;
Unit of measurement stickers are provided to replace W2 function LED labels
Table 3-4. Advanced Parsing Parameter Settings
Parameter
Description
mask
Mask – Byte where will extract the data, relative to step indicated in
AdU.CEd
(from 0–255); Character is logical
Adv.Ced
with this mask,
the result is compared with Value; Parameter is not managed if the value is set to 0
n.byte
Index Byte – Indicates the character where the data will be extracted; Character index in the string
value
Value – Character value that defines what was selected in
AdU.CEd
step; If the character of the string is a letter it is necessary to insert the
relative ASCII code value
Und.Our
if the
tr.L0
is set and the
tr.HI
parameters will be ignored
Table 3-5. Advanced Parsing Parameter Settings
n.byte
mask
value
AdU.CEd
W,nEt
nEG.SiG
StAbil
W.ZEro
undEr.L
ouEr.L
Unit 1
Unit 2
Содержание Laser-LT-100
Страница 18: ......