background image

 

LDU 179.1 Technical Manual rev. 1.10 - February 2019                                                                     Page 35 of 45

 

 

8.8. 

Commands for External I/O Control 

– IN, IO and OM 

 

8.8.1.  IN 

Read status of the logic inputs  

   

  

[ SDO 2100 sub 07 ] 

 
This command reads the status of the logic inputs. 

 

Master (PC / SPS) sends 

Slave (LDU 179.1) responds 

Meaning 

IN

 

IN:0000 

Input 0 and 1 inactive 

IN

 

IN:0001 

Input 0 active 

IN

 

IN:0010 

Input 1 active 

 

The status response is in the form of a four digit code where 0 = false and 1 = t

rue (inputs are active ‘high’). 

The least significant bit corresponds to Input 0. 

8.8.2.  IO 

Read / modify the status of the logic outputs 

  

[ SDO 2100 sub 06 ] 

 

This command reads and can modify the status of the logic outputs (if enabled by the OM command). The 
status response is in the form of a four digit code where 0 = false and 1 = true (outputs are normally open, open 
drain MOSFET’s), the least significant bit corresponds to Output 0. 

 

Master (PC / SPS) sends 

Slave (LDU 179.1) responds 

Meaning 

IO

 

IO:0001 

Output 0 is active 

IO

 

IO:0010 

Output 1 is active 

 

The status of the outputs can be changed by issuing the IO command with the appropriate 4 digit code e.g.  
IO 0001 where in this example output 0 will be activated (FET conducting). Please note that the status of the  
logic outputs is normally determined by the internal setpoints (see section 10.9.2) and therefore setting the  
logic output status using the IO commands is 

not 

allowed. 

 

Setting 

 

Master (PC / SPS) sends 

Slave (LDU 179.1) responds 

Meaning 

IO_0010

 

OK 

Set output 1 active 

IO_0011

 

OK 

Set outputs 0 and 1 active 

 

However, the OM command can be used to allow the status of the logic outputs to be set via the IO 
command. 

8.8.3.  OM  Control of the logic outputs by the host application 

[ SDO 2100 sub 0C ] 

 

The logic outputs can be controlled by the host application (as opposed to the normal internal setpoints) if 
they are enabled by the OM command and the appropriate 4 digit code. 
 

Master (PC / SPS) sends 

Slave (LDU 179.1) responds 

Meaning 

OM

 

OM:0001 

Setting Output 0 is enabled 

OM

 

OM:0011 

Setting Outputs 0 and 1 are enabled 

 

A “1” bit in the code enables the corresponding logic output to be controlled by the host application using 
the IO command. A “0” in the code leaves the corresponding logic output controlled by the internal setpoint. 
Logic output 0 is again the least significant bit. 
 

Setting 

 

Master (PC / SPS) sends 

Slave (DAD 179.1) responds 

Meaning 

OM_0010

 

OK 

Enables output 1 

OM_ 0011

 

OK 

Enables outputs 0 and 1 

 

Note: 

When reading the status of the logic outputs using the IO command, the setpoint status will be 

returned regardless of the OM setting. Sending OM_0000 disables the external logic output control.

 

 

Содержание LDU 179.1

Страница 1: ...2019 Page 1 of 45 Load Cell Digitizing Unit Type LDU 179 1 TECHNICAL MANUAL Firmware Version 179 181 v 1 10 or higher Hardware Version 179 101 5 v 1 01 Document No X179 Rev 1 1 EN Hauch Bach ApS Femst...

Страница 2: ...w 21 8 Commands Description 23 8 1 System Diagnosis Commands ID IV IS SR RS 23 8 1 1 ID Get Device Identity 23 8 1 2 IV Get Firmware Version 23 8 1 3 IS Get Device Status 23 8 1 4 SR Software Reset 23...

Страница 3: ...mple Value continuously 34 8 7 4 SA Send Triggered Average Value automatically 34 8 7 5 SL Send Data String Average Gross and Status automatically 34 8 8 Commands for External I O Control IN IO and OM...

Страница 4: ...13 1 RW Trigger Window for Re Trigger Function 43 8 13 2 TT Averaging Time for Re trigger Function 43 8 13 3 TS Stop Value for Re trigger Function 43 8 13 4 DT Short time Averaging Period 43 8 13 5 TW...

Страница 5: ...Hauch Bach shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as Original Hauch Bach Products NOTICE The co...

Страница 6: ...laws of the Member States relating to electromagnetic compatibility and repealing Directive 2004 108 EC Diese Erkl rungbescheinigt die bereinstimmung mit den genannten Richtlinien beinhaltetjedochkein...

Страница 7: ...ls n 10 000 Minimum input voltage per VSI V 0 2 Measuring range FS mV V 3 3 Maximum resolution at FS approx incr 880000 Measuring rate Hz 9 4 to 1200 Digital filter cut off frequency 3dB Hz 0 25 to 18...

Страница 8: ...his manual means Space _ and Enter CR LF Master PC SPS sends Slave LDU 179 1 responds Meaning ID D 1790 Identity of the device IV V 0107 Firmware version of the device GN N 1234 56 Net weight with alg...

Страница 9: ...Load cell Pin no 0 Shield 1 Excitation 2 Sense 3 Signal 4 Signal 5 Sense 6 Excitation 7 Shield 8 NC 9 NC LDU 179 1 Pin Function Pin no 10 TxD RS232 TxD 11 RxD RS232 RxD 12 CANL CAN line low 13 CANH C...

Страница 10: ...dbus mode and back to ASCII mode In Modbus mode this interface can run Modbus RTU protocol The procedure to switch between the modes and the Modbus RTU communication is described in the sepperate manu...

Страница 11: ...is TDPO2 contains the module number the module status and the dosed weight In checkweigher applications the TPDO2 is used to send triggered measurements With RDPO1 frames you can send simple commands...

Страница 12: ...average weight if it is a TPDO2 and tare value if it is a TPDO3 Then status follows as a 16 bit field with the following values defined 0001 Under range 0002 Over range 0008 Center zero 0010 No motio...

Страница 13: ...the LDU in the PRE OPERATIONAL state When a SDO has been received by the controller no further communication takes place until the service has been acknowledged or a timeout occurs SDO s Are only ava...

Страница 14: ...t mapping Abbreviations used in Tables ro read only rw read write wo write only read will not be regarded as an error but returns undefined results UI8 Unsigned 8 UI16 Unsigned 16 UI32 Unsigned 32 I32...

Страница 15: ...NMT Master or the configuration tool 1014 0 COB ID Emergency Message UI32 ro 80H Node ID COB ID of the Emergency Object 1017 0 Heartbeat Time UI16 rw 0 Producer Heartbeat time in ms If index 1017h is...

Страница 16: ...DO 1 1st Object Cmd Byte UI8 UI32 ro ro 2 20060308H Mapping parameters of the 1st Receive PDO Object is a bitwise command Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Cmd SnG SnN ST RT SZ RZ 1601 0 1 Entri...

Страница 17: ...cation parameters of 4th Transmit PDO Determined using the CANopen minimum system ID assignment procedure Asynchronous communication Not used will not be transmitted 1A00 0 1 2 Number of mapped Entrie...

Страница 18: ...11 12 13 14 15 16 17 18 19 20 21 22 23 Number of entries Dummy Dummy Dummy Filter setting Dummy Logic outputs Logic inputs Measure Time Filter Mode No motion Range No motion Time Output Mask Dummy St...

Страница 19: ...AC protected Not used Not used Calibrate max 1 TAC protected Calibrate min TAC protected Not used Calibrate zero TAC protected Decimal point TAC protected Display step size TAC protect Multi range mul...

Страница 20: ...oint 1 Set point 2 UI8 UI8 UI8 ro rw rw 2 0 0 Number of Set point parameters Set point 1 source Set point 2 source 2900 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Number of entries Gross weight Net Weight Tare D...

Страница 21: ...Frequency 0 8 30 GA Output Get Triggered Average Value None 33 41 GG Output Get Gross Value None 32 GI Retrieves an image file from the LDU s EEPROM None 40 GL Output Get Data String Average Gross Sta...

Страница 22: ...ing Net Gross Status continuously SX Auto transmit Send ADC Sample Value continuously None 34 SZ Scale function System Zero Point None 31 TD Transmit delay For compatibility only 0 255 ms TE Trigger f...

Страница 23: ...this request gives the firmware version of the device 8 1 3 IS Get Device Status SDO 2900 sub 0A Master PC SPS sends Slave LDU 179 1 responds IS S 067000 example The response to this request comprises...

Страница 24: ...nt in multi range applications Permitted values are from 0 to 999999 Master PC SPS sends Slave LDU 179 1 responds Meaning CM1 M 030000 Request CM1 30000 d CE E 00017 example Request TAC counter CE17 C...

Страница 25: ...aster PC SPS sends Slave LDU 179 1 responds Meaning DS S 00002 Request Step size 2 CE E 00017 example Request TAC counter CE17 CE17 OK Calibration sequence active DS50 OK Setup Step size 50 Legal for...

Страница 26: ...1 Request ZT status CE E 00017 example Request TAC counter CE17 CE17 OK Calibration sequence active ZT0 OK Setup ZT Disable Zero tracking will be performed only on results less than ZT range at a rate...

Страница 27: ...S sends Slave LDU 179 1 responds Meaning CE E 00017 example Request TAC counter CE17 CE17 OK Calibration sequence active ZI100 OK Setup Initial Zero range 100 d 8 2 14 TM Tare mode SDO 2300 sub 12 Thi...

Страница 28: ...ve AZ_00500 OK New Zero point 0 0500 mV V Factory default 00 000d 0 0000mV V input signal 8 2 18 AG Absolute gain calibration eCal SDO 2300 sub 01 The command AG is used as absolute gain or measuring...

Страница 29: ...to be stable or not The weight signal has to vary by less than NR divisions over the period of time NT to be considered stable Permitted values are from 0 to 65535 Master PC SPS sends Slave LDU 179 1...

Страница 30: ...No filtering 1221 1 55 18 57 1221 2 122 8 78 1221 3 242 4 96 1221 4 322 3 104 1221 5 482 2 114 1221 6 963 1 132 1221 7 1923 0 5 149 1221 8 3847 0 25 164 1221 Output rate 1221 2UR samples s Prefilter...

Страница 31: ...e required and the calibration zero differ by more than 2 of the CM value maximum allowable value See chapter 9 Used in Approved applications 8 5 1 SZ Set System Zero RPDO1 02 This command sets a new...

Страница 32: ...d the weighing signal returns to gross mode Master PC SPS sends Slave LDU 179 1 responds Meaning RT OK Tare de activated Gross operation The LDU responds to the RT command with either OK or ERR If OK...

Страница 33: ...lue of the sum of all ASCII values within the data string without the check sum itself 8 6 6 GA Get Triggered Average Value SDO 2900 sub 06 This command reads the measurement result of a measurement c...

Страница 34: ...commands in this chapter n a 8 7 1 SG Send Gross Value continuously Master PC SPS sends Slave LDU 179 1 responds Meaning SG G 001 100 Gross value 1 100 d 8 7 2 SN Send Net Value continuously Master PC...

Страница 35: ...he logic outputs is normally determined by the internal setpoints see section 10 9 2 and therefore setting the logic output status using the IO commands is not allowed Setting Master PC SPS sends Slav...

Страница 36: ...eresis and Switching Action for a Setpoint H0 SDO 2700 sub 01 H1 SDO 2700 sub 02 The setpoint switching logic is defined by the numeric value and polarity of the hysteresis Examples of the switching a...

Страница 37: ...e stored in the EEPROM using the SS command See chapter 8 11 3 8 9 4 HT Hold time for all Setpoints SDO 2500 sub 05 This command defines the hold time for the setpoint limit The signal has to exceed t...

Страница 38: ...ings For Serial Channel and CAN Interface n a The command NS Interface Param New Value can display or set various communication parameters in the device The parameter Interface addresses the physical...

Страница 39: ...x responds Meaning NS_0_0 D 1790 The device type is LDU 179 NS_0_1 B 115200 The serial channel baud rate is 115200 NS_0_2 A 000 The serial channel address is 0 NS_0_3 S 00000 The serial channel mode i...

Страница 40: ...e command returns ERR and has no updating action unless it is preceded by the CE_XXXXX 8 11 2 WP Save the Setup Parameters SDO 2004 sub 03 With this command the settings of the Filter FL FM the No mot...

Страница 41: ...MT 0 trigger function disabled time plot of a typical checkweigher cycle see below 8 12 3 GA Get Triggered Average Value SDO 2900 sub 06 This command reads the measurement result of a measurement cycl...

Страница 42: ...up TL 1000 In the example a new measurement cycle would automatically start if the signal exceeds 1000 d e g 100 0 g trigger commands SD and TL Default setting TL 999999 trigger level disabled Note Al...

Страница 43: ...d defines an averaging time for calculating the cycle average value If this time period has been elapsed the measurement cycle will be finished at the latest The setting TT 0 disables the re trigger f...

Страница 44: ...aged tare value falls outside this window then the tare value will not be updated Default setting TW 0 automatic taring disabled Master PC SPS sends Slave LDU 179 1 responds Meaning TW T 00000 Request...

Страница 45: ...s Usually a discussion 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 ensur...

Отзывы: