background image

 

User Manual

 

Z-SG2 / Z-SG2-L 

 

 

ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY 

BE REPRODUCED WITHOUT PRIOR PERMISSION.

 

www.seneca.it

 

Doc: MI-005370-EN

 

Rev. 6 

Page 42 

 

 

 

BIT CONVENTION WITHIN A MODBUS HOLDING REGISTER  

16.2.

 

A Modbus Holding Register consists of 16 bits with the following convention: 

 

BIT 

15 

BIT 

14 

BIT 

13 

BIT 

12 

BIT 

11 

BIT 

10 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

 

For instance, if the value of the register in decimal is 

12300 

the value 12300 in hexadecimal is: 

0x300C 

 

the hexadecimal 0x300C in binary value is: 

11 0000 0000 1100 

 

So, using the above convention, we get: 

 
BIT 

15 

BIT 

14 

BIT 

13 

BIT 

12 

BIT 

11 

BIT 

10 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

 
 

 

MSB and LSB BYTE CONVENTION WITHIN A MODBUS HOLDING REGISTER  

16.3.

 

A Modbus Holding Register consists of 16 bits with the following convention: 

 

BIT 

15 

BIT 

14 

BIT 

13 

BIT 

12 

BIT 

11 

BIT 

10 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

 

LSB Byte (Least Significant Byte) defines the 8 bits ranging from Bit 0 to Bit 7 included, we define MSB Byte 
(Most Significant Byte) the 8 bits ranging from Bit 8 to Bit 15 inclusive: 
 

BIT 

15 

BIT 

14 

BIT 

13 

BIT 

12 

BIT 

11 

BIT 

10 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BIT 

BYTE MSB 

BYTE LSB 

 
 

 

REPRESENTATION OF A 32-BIT VALUE IN TWO CONSECUTIVE MODBUS HOLDING 

16.4.

REGISTERS 

 

The representation of a 32-bit value in the Modbus Holding Registers is made using 2 consecutive Holding 

Registers (a Holding Register is a 16-bit register). To obtain the 32-bit value it is therefore necessary to read 

two consecutive registers: 

Содержание WZ-SG2

Страница 1: ...GINAL INSTRUCTIONS USER MANUAL Z SG2 Z SG2 L DIGITAL LOAD CELL CONVERTER WITH 24 BIT ADC SENECA S r l Via Austria 26 35127 Z I PADOVA PD ITALY Tel 39 049 8705355 8705355 Fax 39 049 8706287 www seneca...

Страница 2: ...correct installation and the user must follow all the operations described in the installation manual carefully Seneca is not responsible for failures breakages and accidents caused by ignorance or fa...

Страница 3: ...2019 1 0 0 0 First revision MM 16 09 2019 1 0 0 1 Added info for bootloader mode Updated info for the USB port Added a note for the Auto Resolution Added A Resolution Warning MM 26 11 2019 1 0 0 2 Fix...

Страница 4: ...15 8 ANALOGUE OUTPUT CONNECTIONS Z SG2 ONLY 15 8 1 1 RS485 PORT CONNECTIONS 16 8 2 CONFIGURATION OF THE RS485 PORT BY DIP SWITCH 18 9 CONFIGURATION OF THE FLASH MEMORY RS485 PORT 18 9 1 SETTING THE B...

Страница 5: ...ELL FULL SCALE 27 10 2 13 2 EXCEEDING THE THRESHOLD AND STABLE WEIGHING 27 10 2 13 3 STABLE WEIGHING 28 10 2 13 4 MODBUS CONTROLLABLE 28 10 2 13 5 EXCEEDED THRESHOLD WITH HYSTERESIS ALARM 28 STABLE WE...

Страница 6: ...ORY CALIBRATION WITH MANUALLY INSERTED 14 2 TARE 37 CALIBRATION PROCEDURE WITH AN EXTERNAL DEVICE CALIBRATION WITH SAMPLE WEIGHT 37 14 3 MODBUS RTU SLAVE COMMUNICATION PROTOCOL 38 15 SUPPORTED MODBUS...

Страница 7: ...the functions fully meet the customer s expectations or that the device firmware and software should have no errors or operate continuously DESCRIPTION 1 1 Z SG2 is a load cell converter strain gauge...

Страница 8: ...al input output Yes configurable between input output USB port Yes on the front for the configuration calibration register reading Drivers Virtual com port for Windows Linux MAC OS Windows CE Configur...

Страница 9: ...5200 bit s configurable Parity Delay in replying Configurable USB RS485 port protocol Modbus RTU Slave LED SIGNALS 2 Z SG2 Z SG2 L LED 2 1 LED SIGNALS ON THE Z SG2 Z SG2 L FRONT LED STATUS LED MEANING...

Страница 10: ...immunity requirements use shielded signal cables connect the shield to a preferential instrumentation earth system separate shielded cables from other cables used for power installations transformers...

Страница 11: ...y 10 40 C Since the cable resistance depends on the temperature the response of the cable to temperature changes must be eliminated The 4 wire cable is part of the load cell temperature compensation s...

Страница 12: ...cell has 6 wires check that the same voltage is also measured between Sense and Sense Now leave the cell at rest without the tare and check that the voltage between the Signal and Signal cables is aro...

Страница 13: ...ARALLEL IMPEDANCE OF THE STATED LOAD CELL Ohm MAXIMUM NUMBER OF CONNECTABLE CELLS IN PARALLEL 350 4 1000 8 For the connection of 4 load cells Seneca recommends using the SG EQ4 product To connect 2 or...

Страница 14: ...20 potentiometer is inserted in the Excitation cable of each load cell There are two ways to trim the load cells The first method is to adjust the potentiometers by trial shifting the calibration wei...

Страница 15: ...value of the other load cells 5 Measure and adjust the excitation voltage of the other three load cells using the respective potentiometer Check the results and make a final adjustment by moving a tes...

Страница 16: ...RIOR PERMISSION www seneca it Doc MI 005370 EN Rev 6 Page 16 Analogue current output RS485 PORT CONNECTIONS 8 2 The device has an RS485 serial port to be connected to the Z PC DINAL accessory and ther...

Страница 17: ...SG2 Z SG2 L ALL RIGHTS RESERVED NO PART OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 005370 EN Rev 6 Page 17 The protocol available through the RS485 port is Mod...

Страница 18: ...address of the RS485 port ATTENTION The configuration via dip switch is active only after a restart ATTENTION The configuration via dip switch has priority over the one saved in flash if you need to u...

Страница 19: ...Page 19 SETTING THE BAUD RATE OF THE RS485 PORT BY DIP SWITCH 9 2 Dip switches 1 and 2 configure the baud rate Baud Rate DIP1 DIP2 9600 OFF OFF 19200 OFF ON 38400 ON OFF 57600 ON ON ATTENTION The pari...

Страница 20: ...y convention Modbus Station Address DIP3 DIP4 DIP5 DIP6 DIP7 DIP8 1 OFF OFF OFF OFF OFF ON 2 OFF OFF OFF OFF ON OFF 3 OFF OFF OFF OFF ON ON 4 OFF OFF OFF ON OFF OFF 5 OFF OFF OFF ON OFF ON 6 OFF OFF O...

Страница 21: ...TOR BY DIP 2 OF SW3 9 5 Usually it is not necessary to use a terminator on the RS485 line unless this is inserted into the bus by some other device for example some modbus masters have a terminator th...

Страница 22: ...70 EN Rev 6 Page 22 Send Sends the configuration if the dip switches ARE NOT ALL OFF the device uses the configuration of the RS485 by dip switch and NOT the one sent by the configuration Test and Cal...

Страница 23: ...dip switch settings OPERATING MODE 10 2 1 It allows to configure the basic operation of the device can be set to factory calibration or to Calibration with Sample weight 10 2 1 1 FACTORY CALIBRATION...

Страница 24: ...urement will have the sign if traction it will have the sign A typical case of use is to link the direction of the force to the analogue output so that for example 4mA correspond to the maximum tracti...

Страница 25: ...s to be used only by experts or on the advice of Seneca personnel ADVANCED FILTERING 10 2 9 These parameters can only be configured by expert personnel or at the suggestion of Seneca 10 2 9 1 NUMBER O...

Страница 26: ...t is in rough ADC points 10 2 9 5 FILTER RESPONSE SPEED It represents a parameter related to the filter response speed it can vary from 0 001 slowest response to 1 fastest response Represents the vari...

Страница 27: ...nnel is configured as an input or an output DIGITAL INPUT CONFIGURATION 10 2 12 If the digital channel is set as an input it is possible to select its behaviour 10 2 12 1 ACQUIRES THE TARE In this mod...

Страница 28: ...ontrolled directly by modbus see STATUS register in the chapter 16 6 10 2 13 5 EXCEEDED THRESHOLD WITH HYSTERESIS ALARM In this mode the output is activated when the net weight reaches the threshold t...

Страница 29: ...ET WEIGHING ALARM 10 2 15 It is the threshold value in technical units see 10 2 13 HYSTERESIS 10 2 16 It is the hysteresis value used in the digital output mode EXCEEDED THRESHOLD WITH HYSTERESIS see...

Страница 30: ...ts the baud rate to be used in the communication from the RS485 port PARITY 10 2 21 It sets whether the communication of the RS485 port must take place with or without even or odd parity DELAY IN REPL...

Страница 31: ...MEASUREMENTS 10 2 25 It allows to configure the type of representation of the floating point values of the measurements while the configuration parameters do not change operation 10 2 25 1 FIRST PART...

Страница 32: ...crosoft Excel The sample acquisition time can be set minimum 1 second The data logger will create a text file in a standard csv format CALIBRATION OF THE LOAD CELL WITH THE EASY SETUP SOFTWARE 11 In t...

Страница 33: ...In the tare acquisition mode from the field proceed as follows for calibration 1 Replace the tare on the cell 2 Wait for the measurement to stabilize 3 Press the TARE ACQUISITION FLASH button FACTORY...

Страница 34: ...ion 1 Set the Tare value in technical units 2 Press the SET MANUAL TARE FLASH button ATTENTION To obtain better measurement accuracy use the tare acquisition mode from the field CELL CALIBRATION WITH...

Страница 35: ...l 2 Wait for the measurement to stabilize 3 Press the TARE ACQUISITION FLASH button 4 Replace the Tare Sample Weight 5 Wait for the measurement to stabilize 6 Press the SAMPLE WEIGHT ACQUISITION FLASH...

Страница 36: ...nloaded from the device s web page The drivers are however installed automatically with the installation of the Easy Setup software DRIVERS FOR LINUX SYSTEMS 12 2 In many Linux distributions the drive...

Страница 37: ...calibration of a load cell by sending Modbus commands depending on the type of operation chosen CALIBRATION PROCEDURE WITH AN EXTERNAL DEVICE FACTORY CALIBRATION WITH 14 1 TARE ACQUIRED FROM THE FIELD...

Страница 38: ...EGISTER 9 The device saves the new sample weight value in flash and resets the COMMAND REGISTER value 10 The load cell is calibrated MODBUS RTU SLAVE COMMUNICATION PROTOCOL 15 The communication protoc...

Страница 39: ...User Manual Z SG2 Z SG2 L ALL RIGHTS RESERVED NO PART OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 005370 EN Rev 6 Page 39...

Страница 40: ...d only RW Read write register RW Reading and writing register contained in flash memory writable a maximum of 10000 times Unsigned 16 bit unsigned integer register can take values from 0 to 65535 Sign...

Страница 41: ...S OFFSET NUMBERING OF MODBUS ADDRESSES WITH 1 BASED CONVENTION STANDARD 16 1 2 The numbering is that established by the Modbus consortium and is of the type HOLDING REGISTER MODBUS ADDRESS 4x MEANING...

Страница 42: ...0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 MSB and LSB BYTE CONVENTION WITHIN A MODBUS HOLDING REGISTER 16 3 A Modbus Holding Register consists of 16 bits with the following convention BIT 15 BIT 14 BIT 13 BIT 12...

Страница 43: ...the most significant word with the least significant word therefore it is possible to obtain 40064 as LSW and 40065 as MSW TYPE OF 32 BIT FLOATING POINT DATA IEEE 754 16 5 The IEEE 754 standard https...

Страница 44: ...6 BIT 40002 1 FIRMWARE REVISION FIRMWARE REVISION RO UNSIGNED 16 BIT 40003 2 UNIT UNIPOLAR MSB UNIT Selects the unit of measurement among 0 Kg 1 g 2 t 3 lb 4 l 5 N 6 bar 7 atm 8 Other LSB UNIPOLAR 0 A...

Страница 45: ...e in number of characters RW UNSIGNED 16 BIT 40006 5 OUTPUT STOP SCALE V mA Full scale value of the analogue output in V mA MSW RW FLOATING POINT 32 BIT 40007 6 Full scale value of the analogue output...

Страница 46: ...40030 29 Ratio value of the load cell sensitivity in mV V MSW RW 40031 30 CELL FULL SCALE kg g t Full scale value of the load cell in technical units MSW RW FLOATING POINT 32 BIT 40032 31 Full scale v...

Страница 47: ...HT kg g t Value of the delta weight in technical units for the stable weighing condition MSW RW FLOATING POINT 32 BIT 40042 41 Value of the delta weight in technical units for the stable weighing cond...

Страница 48: ...anced is set RW UNSIGNED 16 BIT 40047 46 ADVANCED ADC CHOPPING Enables or disables the ADC Chopping mode For further information please refer to 10 2 9 2 It is active only if level 7 filtering advance...

Страница 49: ...filtering advanced is set MSW RW FLOATING POINT 32 BIT 40052 51 Represents the variation in ADC points due to noise alone It is active only if level 7 filtering advanced is set LSW RW 40053 52 ADVANCE...

Страница 50: ...ilter level FILTER LEVEL RESPONSE TIME ms 0 16 1 32 2 50 3 250 4 400 default 5 900 6 1800 7 ADVANCED Dependent on the configuration The higher the filter level the more stable but slow the weight meas...

Страница 51: ...ion calculated based on full scale to get 10000 points DENOISE FILTER ENABLE LSB 0 Noise filter disabled advanced mode 1 Noise filter enabled RW UNSIGNED 16 BIT 40057 56 MANUAL RESOLUTION kg g t Sets...

Страница 52: ...65535 In the case of bipolar measurement It can vary from 0 max traction to 32767 min traction From 32768 condition of 0 or rest to 65535 max compression RO UNSIGNED 16 40063 62 RESERVED RO UNSIGNED...

Страница 53: ...R GROSS WEIGHT kg g t Value of the gross weight in technical units MSW RO SIGNED 32 BIT 40073 72 Value of the gross weight in technical units LSW RO 40074 73 INTEGER TARE WEIGHT kg g t Value of the ta...

Страница 54: ...Stable weighing BIT 1 RO Bit 1 1 The cell has reached full scale BIT 2 RO Bit 2 1 Net weight is 0 BIT 3 RO Reserved BIT 4 RO Bit 4 1 Weighing is stable BIT 5 R W Only if the modbus controlled output m...

Страница 55: ...e tare in RAM on restart it is lost 49914 decimal Acquires the tare in Flash for the calibration procedure in both operating modes factory calibration and with sample weight 50700 decimal Acquires the...

Страница 56: ...s from restart LSW RO 40084 83 MIN NET WEIGHT kg g t Minimum value of the net weight in technical units from restart MSW RO FLOATING POINT 32 BIT 40085 84 Minimum value of the net weight in technical...

Отзывы: