background image

Page 32 

 

 

 

LDU 68 Series Manual    

 

 

 

     

Ideas in Measuring ..

TECHNIQUES LIMITED

5.11 Communication setup Commands – AD, CL, BR, DX, OP, TD

NOTE: These settings will only take effect after a power on reset (remember to store the settings  
using the WP command before turning the power off)

With this command, the following Baud rates can be set up: 9600, 19200, 38400, 5760 and 115200 
baud. 

With this command the communication can be set to half (DX=0) or full (DX=1) duplex.

Factory default: 9600 Baud

Refer to section 2 (page 4) for details of how to carry out an automatic adjustment of the baud rate 

Half duplex communication can be used for 2 wire RS485 communication. The auto transmit 
commands SG and SF will only work if full duplex (DX=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 without the need for an OP command.  

Factory default: Address 0

Refer to section 2 (page 4) for details of how to carry out a manual setting of the address by 
soldering SW3.

AD  Device address setup / request

Master (PC / PLC) sends

LDU XX.X responds

Result

AD

AD_49

A:000

OK

Address set to 0

Address changed to 49

Master (PC / PLC) sends

LDU XX.X responds

Result

BR

BR_115200

B:9600

OK

Baud rate set to 9600

Baud rate changed to 115K2 baud

Master (PC / PLC) sends

LDU XX.X responds

Result

DX

DX_1

X:000

OK

Half duplex set

Communication changed to full duplex

CL  Close Device address n

BR  Request / Setup Baud Rate

DX  Half or full duplex communication

Master (PC / PLC) sends

LDU XX.X responds

Result

CL_3

OK

Device 3 closed

Issue 1h

Ideas in Measuring ..

TECHNIQUES LIMITED

Request / Enable device communication

This command, if sent without parameters, requests the address or device number of the device 
active on the bus. If sent with parameters, this enables the device defined by the parameters. 

OP  Device communication enable / request

The requested device acknowledges its readiness and responds to all bus commands until a 
further OP command arrives with a different device address or a CL command is received.

Master (PC / PLC) sends

LDU XX.X responds

Result

OP

OP_14

O:0003

OK

Device 3 open

Device 14 opened

This command allows to set a delay between the LDU receiving a command 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 issue the TD command followed by a space and then the value of the 
delay required in milliseconds e.g. TD 255 to set the delay to 255 milliseconds. 

To save the new Time Delay setting, issue the WP command. 

TD Transmit Delay

This command is particularly useful when LDUs are used on a 2 wire RS485 bus where the host 
PLC is unable to ‘turn around’ the transmit and receive lines quick enough to prevent missing part 
or all of the answer.

Request / Set Transmit Delay time

Master (PC / PLC) sends

LDU XX.X responds

Result

TD

TD_1

D:0000

OK

Transmit delay set to 0 milliseconds

Transmit delay changed to 1 millisecond

Page 33 

 

 

 

LDU 68 Series Manual    

 

 

 

     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: