background image

Ideas in Measuring ..

TECHNIQUES LIMITED

Page 26 

 

 

 

LDU 68 Series Manual    

 

 

 

     

The checksum is derived as follows:-

a) Add together the ASCII values of all 15 characters in the string
b) Convert the decimal result to hexadecimal.
c) Remove the most significant digit from the hexadecimal result
d) Invert the remaining hexadecimal value and add 1
e) Convert the hexadecimal value to characters.

GW  Get the ‘Long’ weight value (Continued)

First bitmapped binary value:

Second bitmapped binary value:

1            not used

1              Signal stable

2            not used

 2              Zero action performed 

4            Output 0 active

4              Tare active   

8            Output 1 active

   8

not used

Leading character
signifies response
to GW command

Net Weight
Excluding 
Decimal point

Gross Weight
Excluding 
Decimal point

First bitmapped 
binary value

Second bitmapped 
binary value

Checksum

W     +00100     +01100     5     1     0A

Issue 1h

Please note that during the period after the measuring cycle has been triggered but before the 
value of GA has been updated, the GA command will return a value 99999. See Checkweigher 
commands section 5.2

Issuing the GA command, the LDU returns the current weight average calculated over the 
Measuring Time MT. The GA value is only updated after another measuring cycle is completed. the 
format of the response includes any decimal places etc. which may have been set. 

GA  Get Average

Master (PC / PLC) sends

LDU XX.X responds

Result

GA

A+01.100

Weight average (over time MT) GA = 1.100g 

Page 27 

 

 

 

LDU 68 Series Manual    

 

 

 

     

Ideas in Measuring ..

TECHNIQUES LIMITED

SF  Send the Filtered value continuously (Display Mode ONLY)   

Master (PC / PLC) sends

LDU XX.X responds

Result

SF

F+01.000

Filtered weight value = 1.000 divisions

This command sends the filtered weight value continuously. The filtered weight value is a rolling 
average of the weight readings over a time set by the FF command. This command is normally 
used when the LDU is connected to an external display where a more stable result is required. 

SW  Send the ‘Long’ weight value continuously

This command sends the ‘long’ weight value continuously. The SW command is issued without any 
parameters and the unit continually returns a string in the format 

W+00100+011005109

 which 

contains the current net weight, the current gross weight, the status values and a checksum. The 
first two sections of the returned string contains the net weight and the gross weight values 
followed by two hexadecimal characters which represent two bitmapped status indicators. The last 
two hexadecimal characters represent the checksum, which is the inverse of the sum of all the 
ASCII values of the string, not including the checksum characters. See the GW command under 
section 5.6 for further details. Please note that the decimal point information is not transmitted.

Please note that during the period after the measuring cycle has been triggered but before the 
value of SA has been updated, the SA command will return a value 99999. 
See the check weighing timing diagram on page 17.

This command sends the ‘average’ weight value continuously . The SA command is issued without 
any parameters and the LDU returns the current weight average calculated over the Measuring 
Time MT. The SA value is only updated after another measuring cycle is completed. The format of 
the response includes any decimal places etc. which may have been set. 

SA  Send the ‘Average’ weight value continuously 

Master (PC / PLC) sends

LDU XX.X responds

Result

SA

A+01.100

Weight average (over time MT) SA = 1.100g 

The following commands allow the Gross, Net, Filtered, ‘Long’ and ‘Average’ weight values to be 
transmitted continuously. Transmission will start as soon as the relevant command has been 
received and will continue until another valid command is accepted by the LDU. The data output 
rate will depend on the baud rate being used e.g. with a baud rate of 9600 approximately 100 
readings per second can be transmitted.

Note : The SG, SN, SF, SW and SA commands will only work if the LDU has been set to full duplex 

5.8  Auto-transmit commands SG, SN, SF, SW, SA

SG  Send the Gross weight value continuously

Master (PC / PLC) sends

LDU XX.X responds

Result

SG

G+01.100

Gross weight value = 1.100 divisions

SN  Send the Net weight value continuously

Master (PC / PLC) sends

LDU XX.X responds

Result

SN

N+01.000

Net weight value = 1.000 divisions

This command sends the net weight value continuously.

This command sends the gross weight value continuously.

Issue 1h

Summary of Contents for LDU 68 Series

Page 1: ...e mail info sensortechniques com Tel 44 0 1446 771185 Fax 44 0 1446 771186 Ideas in Measuring TECHNIQUES LIMITED Page 1 LDU 68 Series Manual Load Cell Digitizing Unit Type LDU 68 Series MANUAL Firmwa...

Page 2: ...detection Commands NR NT 21 5 5 Filter setting Commands FL FF UR 22 5 6 Set Zero Tare and Reset Zero Tare Commands SZ RZ ST RT 23 5 7 Output Commands GG GN GT GS GF GW GA 25 5 8 Auto transmit Commands...

Page 3: ...nctions Inputs Outputs Temperature effects Temperature range Enclosure Dimensions Power supply Options EMC Approvals III or IIII LDU 68 1 ONLY R76 10000 Divisions LDU 68 1 ONLY 0 005 Full Scale 5 V DC...

Page 4: ...se command e g CL_2 Each OP_X command implies a CL command to all other devices on the bus except X This makes the address structure easier and improves system performance 2 COMMUNICATIONS GETTING STA...

Page 5: ...ion mode on power up It is possible to set the network address of the device using the AD command Address range between 0 and 255 Setting the address to 0 will set it into continuously active mode whe...

Page 6: ...120 Ohm 120 Ohm R1 R2 In multi drop configuration there can be brief periods when no transmitter is enabled and the network is therefore allowed to float To avoid this pull up pull down resistors R1 R...

Page 7: ...e shield connection for the RS422 cable should be connected to the power supply ground Gnd Pin 19 3 4 2 RS485 Multi Drop 2 wire connection half duplex The LDU series can be wired in a multi drop mode...

Page 8: ...pair of wires both at the host end and on the last device on the bus 3 4 3 RS485 4 Wire Multi drop Connections Half Duplex Recommended Gnd Tx Rx RS485 Interface Vcc Tx Rx Terminators 120 Ohm Each Ter...

Page 9: ...Ideas in Measuring TECHNIQUES LIMITED Page 9 LDU 68 Series Manual This page is intentionally left blank Issue 1h...

Page 10: ...ge 22 Page 22 Page 16 26 AD An BR CE CG CL CM CS CZ DP DS DX FD FF FM FL GA Baud Rate Command Decimal Point Duplex Filter Factor Filter Mode Filter Level Get Filtered Weight Value Get the filtered net...

Page 11: ...the Long weight value Read or modify the setpoint values Causes the LDU to perform a software reset Save Setpoint Parameters to EEPROM Sets the tare value and puts the LDU in net mode Save Setpoint Pa...

Page 12: ...s CE CM DS DP CZ CG ZT FD CS ZI 18 5 4 Motion detection Commands NR NT 21 5 5 Filter setting Commands FL FF UR 22 5 6 Set Zero Tare and Reset Zero Tare Commands SZ RZ ST RT 23 5 7 Output Commands GG G...

Page 13: ...e response to this request comprises of two 3 digit decimal values which can be decoded according to the table below For example the result S 067000 decodes as follows Signal Stable no motion 1 Zero a...

Page 14: ...his command will respond with OK and after a maximum of 400 ms perform a complete reset of the LDU This has the same functionality as powering off and on again hardware reset Master PC PLC sends SR OK...

Page 15: ...e command without any additional parameters To change the setting issue the command with the additional parameter See table below See table below MT Measuring Time Range 0 500 milliseconds Master PC P...

Page 16: ...mat of the response includes any decimal places etc which may have been set GA Get Average Master PC PLC sends LDU XX X responds Result GA A 01 100 Weight average over time MT GA 1 100g Master PC PLC...

Page 17: ...Weight g Time ms trigger point Timing Control Diagram MT SD Measuring Time Start Delay TL Trigger Level TE Trigger Edge Page 17 LDU68 Series Manual Ideas in Measuring TECHNIQUES LIMITED Issue 1h...

Page 18: ...M 99999 To check the current value issue the CM command without any additional parameters To change the value of CM issue the CE command with the current TAC value and then CM and the new setting See...

Page 19: ...ue the CE command with the current TAC value and then CG with the equivalent load applied See table below CG Set calibration gain Span Master PC PLC sends LDU XX X responds Result CE CG CG_15000 CE_17...

Page 20: ...mple Current TAC value is 17 CE_17 OK Calibration commands enabled CS OK Calibration values stored Issue 1h Zero tracking will only be performed on values within the zero track band at a rate of 0 4 d...

Page 21: ...ble below To save this change to EEPROM use the WP command With NR 2 the weight signal can vary no more than 2 d in the time period NT in order to be considered stable Factory default NR 1 NR No motio...

Page 22: ...l set to 3 FL_1 OK Filter level changed to 1 WP OK Write parameter to EEPROM Filter Level FL Cut off frequency Hz 3dB 0 5 1 2 2 1 3 0 5 4 0 2 5 0 1 6 0 05 7 0 02 Filter Factor FF Averaging time Second...

Page 23: ...R if the new current zero is more than 2 of the CM value higher or lower than the true zero set during calibration The SZ command will also fail if the weight signal is not stable as defined by the no...

Page 24: ...nd with OK and the tare active bit of the Device Status IS response will be set to 0 This command will activate the net weighing function by storing the current weight value as a tare The weight signa...

Page 25: ...sample value Master PC PLC sends LDU XX X responds Result GS S 125785 ADC value 125785 counts GF Get the Filtered value Display Mode ONLY Master PC PLC sends LDU XX X responds Result GF F 01 000 Filt...

Page 26: ...Leading character signifies response to GW command Net Weight Excluding Decimal point Gross Weight Excluding Decimal point First bitmapped binary value Second bitmapped binary value Checksum W 00100...

Page 27: ...een triggered but before the value of SA has been updated the SA command will return a value 99999 See the check weighing timing diagram on page 17 This command sends the average weight value continuo...

Page 28: ...utputs are normally open open drain MOSFETs the least significant bit corresponding to Output 0 etc IO Read Modify the status of the output channels Master PC PLC sends LDU XX X responds Result IN IN...

Page 29: ...mand the setpoint status will be returned regardless of the IM setting Sending IM 0000 disables the external logic output control Factory default IM 0000 Setting Master PC PLC sends LDU XX X responds...

Page 30: ...ing Increasing H0 100kg H0 100kg H0 100kg H0 100kg Above 2000 kg ON 0 2100 kg ON Above 2101 kg OFF Above 2001 kg OFF Above 1901 kg ON Below 2000 kg ON 0 1999 kg OFF Below 1900 kg OFF Decreasing Decrea...

Page 31: ...net weight Similarly to read or change the base for the setpoint of logic 1 issue the commands as above but substitute A1 instead of A0 NOTE All changes to the setpoint settings have to be stored in...

Page 32: ...X 1 is selected Factory default DX 0 Request Set device address Setting the device address to 0 will cause the device to be permanently active listening and responding to every command on the bus with...

Page 33: ...d and responding You can set this delay anywhere between 0 and 255 milliseconds To read the current Time Delay setting issue the TD command without any parameters To change the value of Time Delay iss...

Page 34: ...nds LDU XX X responds Result WP OK Parameter saved SS Save the setpoint setup parameters With this command the value of the setpoints S0 S1 the setpoint hysteresis H0 H1 and the setpoint action A0 A1...

Page 35: ...that there is no inadvertent or unauthorized access to the calibration parameters The following parameters are considered as CALIBRATION commands CE Calibration Enable returns the current TAC value CZ...

Page 36: ...scussion with the Weighing Equipment Approvals Officers at the relevant National Weights Measures Office will then reveal the extent of any pattern testing that may be necessary to ensure compliance R...

Page 37: ...to the LDU XX X Link the solder pads SW4 on the back of the LDU XX X with a solder bridge Power up the LDU XX X Start the LduDownload program Press the Load button and choose the LduXX a20 file Press...

Page 38: ...omputer or PLC LOGIC I O Function UA 77 1 Terminal Pin No LDU 68 x Common Ground Load cell cable shield Gnd Shield 0 Positive Load cell excitation voltage Exc to load cell 1 Positive Load cell sense v...

Page 39: ...Load cell cable shield Gnd Shield 0 Positive Load cell excitation voltage Exc to load cell 1 Positive Load cell sense voltage Sen 2 Positive Load cell signal voltage Inp to LDU 3 Negative Load cell si...

Page 40: ...up 2 or more LDU 68 xs in a multi drop application to an USB port of a PC using a USB to RS422 485 converter This circuit has been tested and is known to work correctly The USB to RS422 485 converters...

Reviews: