background image

Ideas in Measuring ..

TECHNIQUES LIMITED

Page 4   

 

 

 

LDU68 Series Manual    

 

 

 

     

The command set for the LDU XX.X series is based on a simple ASCII format. This consists of a 2 
capital letter code which enables the user to setup the device, get results or check parameters.

Example:

An LDU XX.X with the address or channel number 1 is connected via the RS485 port to a bus 
system. You want to get the net weight from this device. 
In this manual a space is represented by “_” and Enter (CR/LF) by “

¿

The command OP_2 opens the communication channel to device #2 and closes communication 
with device #1. Now device #2 acknowledges that it is active (OK) and responds to any commands 
on the bus. Communication with device #2 will be closed by another OP command (for another 
device on the bus e.g. OP_5) or by the close 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 STARTED

2.1  Serial Interface

Communication with the LDU xx.x series is via the RS422/RS485 port. The data format is the 
familiar 8/N/1 structure (8 data bits, no parity, 1 stop bit). The LDU xx.x can communicate at the 
following baud rates: 9600, 19200, 38400, 57600, 115200 baud.

RS422

!

 Connection using a 4 wire technique.

!

 Point to Point connection

RS485

!

 Connection using 2 or 4 wire techniques

!

 Multi-drop connection possible with up to 32 LDU XX.X on a bus.

!

 Half duplex only (DX=0).

(RS232)

!

 An optional adaptor board model UA77.1 is available, which has a built-in RS422 to RS232 

converter 

2.2 Command Language

Master (PC / PLC) sends

Slave (LDU XX.X) responds

Status

OP_1

¿

GN

¿

OK

N+123.45

Device number 1 ready

Open Device number 1

Net weight value with sign & decimal point

Get Net weight value

Issue 1h

Page 5   

 

 

 

LDU 68 Series Manual    

 

 

 

    

Ideas in Measuring ..

TECHNIQUES LIMITED

2.3  Setup Baud rate / Device Address

The factory default baud rate is 9600 baud. The factory default device address is 0. Under normal 
circumstances the baud rate can be changed or viewed using the BR command (Page 30). Similarly, 
the device address can be changed or viewed using the AD command (Page 30). If however you do 
not know the device baud rate or address, the LDU can be put into a special configuration mode 
which allows the baud rate and device address to be reset. On the under side of the LDU PCB are a 
set of special solder pads (SW3) - See diagram on page 6. If these solder pads are bridged (shorted 
together) then the LDU will enter the special configuration mode on power up.

Baud Rate (In Configuration Mode)

With SW3 pads bridged, the LDU XX.X will enter a special baud rate search mode on power up. 
This involves the LDU waiting for a space character (0x20) to be received. The time duration of this 
character is measured by the LDU and its baud rate will be set accordingly - i.e. the baud rate of the 
terminal sending the space character will be used by the LDU. The factory default baud rate is 9600 
baud.

Address Settings (In Configuration Mode)

2.4  Display Mode 

With SW3 pads bridged, the LDU XX.X will enter a special configuration 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, where the device will 
listen and respond to any command on the bus without the need for an OP xxx command. Factory 
default: Address 0 

2.5  Getting Started 

You will require a:

!

 PC or PLC with either a RS422 or RS485 communication port 

!

 If you are using a PC or PLC with an RS232 port, you will require a RS422 to RS232 converter 

(optional unit adaptor UA77.1)

!

 Interconnecting cabling - See the wiring diagram on Page 6

!

 A load cell / scale with test weights or a load cell simulator

!

 A 12-24 V DC power supply capable of delivering approx. 100mA for each LDU and load cell

!

 One or more LDU 68.1/68.2

!

 The DOP 4 software*

 

Refer to the wiring diagram on Page 6

*The DOP 4 software with graphical user interface and oscilloscope function is now available for 
Windows PCs. Download the latest version of the DOP 4 software from 
http://www.haubac.com/haubac.asp?p1=167 together with Quick Start and Users Manuals

In addition to the standard filters, a filter factor (FF) has been added specifically for when the LDU 
68 series is used with an external display. The Filter Factor allows a rolling average to be set up 
which gives a more stable result on an external display The Get Filtered value (GF) and Send 
Filtered value (SF) commands can be used to get or auto-transmit the filtered values for an external 
display. 

Issue 1h

Содержание LDU 68 Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 9: ...Ideas in Measuring TECHNIQUES LIMITED Page 9 LDU 68 Series Manual This page is intentionally left blank Issue 1h...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: