Auto–transmit commands – sg, sn, sx, sw, sa, sl, Sg send gross value continuously, Sn send net value continuously – Flintec LDU 78.1 User Manual
Page 24: Sx send adc sample value continuously, Sa send triggered average value automatically
LDU 78.1 Technical Manual, Rev. 12 May 2011
Page 24 of 36
8.7. Auto–transmit
Commands
– SG, SN, SX, SW, SA, SL
The following commands allow the gross weight or net weight values to be continuously sent. Continuous
transmission start as soon as the relevant command has been issued and finishes when any other valid
command is accepted by the LDU 78.1. The data output rate will depend on the baud rate being used e.g. with
a baud rate of 9 600, approximately 100 values per second can be transmitted.
Note:
All auto-transmit commands will only work if the LDU 78.1 has been set to full duplex [DX=1].
The continuous transmission of either the gross or net values will stop when another valid command is
received.
8.7.1. SG Send Gross Value continuously
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SG
G+01.100
Gross value: 1,100 d
8.7.2. SN
Send Net Value continuously
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SN
N+01.000
Net value: 1,000 d
8.7.3. SX
Send ADC Sample Value continuously
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SXS
S+125785
ADC sample value = 125785 d
8.7.4. SW Send Data String “Net, Gross and Status“ continuously
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SW
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
Output 0 active
Output 1 active
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.
8.7.5. SA
Send Triggered Average Value automatically
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SA
A+01.100
Measurement value: 1,100 d
This command will start to auto-transmit the measurement value of the current trigger cycle. The trigger setup
commands are described in chapter 8.12 and 8.13.
8.7.6. SL
Send Data String “Average, Gross and Status“ automatically
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SL
L+000100+0011005109
(example)
Average 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)
For check sum, status bit 1 and status bit 2 see command SW.