beautypg.com

Output commands – gg, gn, gt, gs, gw – Flintec LDU 69.1 User Manual

Page 21

background image

LDU 69.1 Technisches Handbuch, Rev. 12 January 2011

Page 21 of 28

8.6. Output Commands – GG, GN, GT, GS, GW

The following commands “Get” the gross, net, tare and ADC sample values from the LDU 69.1.

8.6.1. GG Get Gross Value

Master (PC / SPS) sends

Slave (LDU XX.X) responds

Meaning

GG

G+01.100

Gross value: 1.100 d

8.6.2. GN Get Net Value

Master (PC / SPS) sends

Slave (LDU XX.X) responds

Meaning

GN

N+01.000

Net value: 1.000 d

8.6.3. GT

Get Tare Value

Master (PC / SPS) sends

Slave (LDU XX.X) responds

Meaning

GT

T+00.100

Tare value: 0,100 d

8.6.4. GS Get ADC Sample Value

This command gets the actual Analogue to Digital Converter (ADC) value. This can be useful during
development or when calibrating to see how much of the ADC range is being used.

Master (PC / SPS) sends

Slave (LDU XX.X) responds

Meaning

GS

S+125785

ADC sample value = 125785 d

For service purposes it may be helpful to note the GS values for the “no-load” or “zero” output and when the
“calibration load” is applied.

8.6.5. GW Get Data String “Net, Gross and Status“

Master (PC / SPS) sends

Slave (LDU XX.X) responds

Meaning

GW

W+000100+0011005109

(example)

Net value: +000100 d (no decimal point)

Gross value: +001100 d (no decimal point)

Status bit 1: 5 (not used)

Status bit 2: 1 (Hex)

Check sum: 09 (Hex)

The status bits 1 and 2 are defined as follows:

Status

Value = 1

Value = 2

Value = 4

Value = 8

Status bit 1 Not used

Not used

Not used

Not used

Status bit 2 Signal stable

Set zero performed

Tare active

Not used


The check sum is the reciprocal value of the sum of all ASCII values within the data string without the check
sum itself.