8-channel ntc temperature sensor converter with usb / rs485 port and modbus rtu protocol (26 pages)
Summary of Contents for Seneca Z-SG2-L
Page 1
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.it ORIGINAL INSTRUCTIONS...
Page 2
Set-up must be performed only after 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 failure to apply the stated requirements.
Page 3
User Manual Z-SG2 / Z-SG2-L Document revisions DATE REVISION NOTES AUTHOR 18/07/2019 1.0.0.0 First revision Added info for bootloader mode Updated info for the USB port 16/09/2019 1.0.0.1 Added a note for the Auto Resolution Added A Resolution Warning Fix Status register 26/11/2019 1.0.0.2...
1.1. DESCRIPTION ..................................7 1.2. TECHNICAL SPECIFICATIONS ..............................8 LED SIGNALS ......................9 2.1. Z-SG2 / Z-SG2-L LED ................................9 INSULATION ........................ 9 POWER SUPPLY ....................... 10 LOAD CELL CONNECTION ..................11 5.1. 4 OR 6-WIRE LOAD CELL CONNECTION..........................11 CHECKING THE LOAD CELL OPERATION ............. 12 6.1.
Page 5
User Manual Z-SG2 / Z-SG2-L 10.2.5. CELL FULL SCALE ...............................24 10.2.6. SAMPLE WEIGHT .................................24 10.2.7. NOISE FILTER ................................24 10.2.8. FILTER LEVEL ................................25 10.2.9. ADVANCED FILTERING ...............................25 10.2.9.1. NUMBER OF SAMPLES OF THE MOVING AVERAGE ....................25 10.2.9.2. ADC CHOPPING ................................25 10.2.9.3.
Page 6
REPRESENTATION OF A 32-BIT VALUE IN TWO CONSECUTIVE MODBUS HOLDING REGISTERS ......42 16.5. TYPE OF 32-BIT FLOATING POINT DATA (IEEE 754) ......................43 16.6. Z-SG2 / Z-SG2-L: MODBUS 4X HOLDING REGISTERS TABLE (FUNCTION CODE 3) ............44 www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-005370-EN Rev.
Use the installation manual for more information. ATTENTION! In any case, SENECA s.r.l. or its suppliers will not be responsible for the loss of data/revenue or consequential or incidental damages due to negligence or bad/improper management of the device, even if SENECA is well aware of these possible damages.
User Manual Z-SG2 / Z-SG2-L TECHNICAL SPECIFICATIONS 1.2. TECHNICAL SPECIFICATIONS Analogue/digital converter 24 Bit > of 16777000 points Type of measurement Unipolar ratiometric (compression only) or bipolar ratiometric (compression and traction) Noise digital filter New advanced digital filter with configurable response time from 16ms to about 2s.
Parity, Delay in replying Configurable USB / RS485 port protocol Modbus RTU Slave LED SIGNALS Z-SG2 / Z-SG2-L LED 2.1. LED SIGNALS ON THE Z-SG2 / Z-SG2-L FRONT STATUS LED MEANING Device powered Device OFF Corrupted Flash memory FLASHING Data receipt on RS485 port...
User Manual Z-SG2 / Z-SG2-L POWER SUPPLY ATTENTION! The upper power supply limits must not be exceeded, as this might cause serious damage to the module Switch the module off before connecting inputs and outputs. To meet the electromagnetic immunity requirements: - use shielded signal cables;...
User Manual Z-SG2 / Z-SG2-L LOAD CELL CONNECTION It is possible to connect the converter to the load cell in 4- or 6-wire mode. 6-wire measurement is preferable for measurement accuracy. The load cell power supply is provided directly by Z-SG2.
User Manual Z-SG2 / Z-SG2-L LOAD CELL CONNECTION TERMINAL SIGNAL MEANING +Excitation Cell supply (+) +Sense Reading of the supply to the cell (+) +Signal Load cell signal (+) - Signal Load cell signal (-) - Sense Reading of the supply to the cell (-)
Page 13
[Ohm] 1000 For the connection of 4 load cells Seneca recommends using the SG-EQ4 product. To connect 2 or more 4-wire cells in parallel with the SG-EQ4 junction box, use the following diagram: To connect 2 or more 6-wire cells in parallel with the SG-EQ4 junction box use the following diagram: www.seneca.it...
User Manual Z-SG2 / Z-SG2-L For more details, refer to the SG-EQ4 Junction Box accessory manual. 7.1. TRIMMING 4-WIRE LOAD CELLS The figure below shows a diagram of three trimmed load cells. A variable resistor, independent of the temperature, or a typically 20 Ω potentiometer is inserted in the +Excitation cable of each load cell.
User Manual Z-SG2 / Z-SG2-L on the corners is not very practical. In these cases the second, more suitable method is to "pre-trim" the potentiometers using a precision voltmeter (at least 4 1/2 digits). You can use the following procedure: 1) Determine the exact mV/V ratio of each load cell, shown in the calibration certificate of the cell itself.
RS485 PORT CONNECTIONS 8.2. The device has an RS485 serial port to be connected to the Z-PC-DINAL accessory and therefore directly connected to the Seneca Z-PC range of devices: Find below the pins for connector IDC10: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-005370-EN Rev.
Page 17
User Manual Z-SG2 / Z-SG2-L The protocol available through the RS485 port is Modbus RTU Slave. www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-005370-EN Rev. 6 Page 17 BE REPRODUCED WITHOUT PRIOR PERMISSION.
User Manual Z-SG2 / Z-SG2-L CONFIGURATION OF THE RS485 PORT BY DIP SWITCH The SW1 dip switch is used to configure the parameters related to the RS485 communication port. DIP switches 1 and 2 are used for the baud rate of the RS485 port...
User Manual Z-SG2 / Z-SG2-L 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 19200 38400 57600 ATTENTION ! The parity bit and other baud rates can only be configured via the Easy Setup software.
User Manual Z-SG2 / Z-SG2-L 9.3. SETTING THE MODBUS STATION ADDRESS OF THE RS485 PORT BY DIP SWITCH Dip switches 3 to 8 are used to configure the modbus station address of the RS485 port using the binary convention: Modbus...
(for example some modbus masters have a terminator that cannot be removed). Terminator DIP2 SW3 COMPLETE CONFIGURATION WITH EASY SETUP To configure the device it is necessary to install the free "Easy Setup" software suite which can be downloaded in section Z-SG2/Z-SG2-L of the www.seneca.it website. EASY SETUP MENU 10.1.
Page 22
User Manual Z-SG2 / Z-SG2-L 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 Calibration: Opens a new screen to read the main registers and allows you to send the commands for the calibration of the load cell to the device.
User Manual Z-SG2 / Z-SG2-L 10.2. CREATING A PROJECT ATTENTION! It is necessary to set all the dip switches to OFF before sending the configuration to the device or the configuration of the RS485 port will be consistent with the dip switch settings! 10.2.1.
User Manual Z-SG2 / Z-SG2-L 10.2.1.2. CALIBRATION WITH SAMPLE WEIGHT It is used when a sample weight is available (as far as possible towards the load cell full scale). In this mode the calibration consists in acquiring both the tare and the sample weight directly on the field. For more information refer to chapters 11 and 14 of the manual.
10.2.9. ADVANCED FILTERING These parameters can only be configured by expert personnel or at the suggestion of Seneca: 10.2.9.1. NUMBER OF SAMPLES OF THE MOVING AVERAGE It is the number of samples on which the moving average is calculated, the more it increases and the slower and more stable the response of the filter is (minimum 1, maximum 100).
User Manual Z-SG2 / Z-SG2-L 4096 [ ] = = 1365 So for example with the value 3 we get an ADC speed of: With ADC CHOPPING ENABLED it can be configured from 13 (maximum speed) to 255 (minimum speed).
To avoid this effect, use a resolution that allows the value to be represented (for example 1g or 2g). DIGITAL INPUT/OUTPUT SELECTION 10.2.11. It selects whether the Z-SG2 / Z-SG2-L digital channel is configured as an input or an output. DIGITAL INPUT CONFIGURATION 10.2.12.
User Manual Z-SG2 / Z-SG2-L 10.2.13.3. STABLE WEIGHING In this mode the output is activated when the stable weighing condition is verified. 10.2.13.4. MODBUS CONTROLLABLE In this mode the output can be controlled directly by modbus (see STATUS register in the chapter 16.6).
User Manual Z-SG2 / Z-SG2-L 10.2.14.1. DELTA WEIGHT It is the maximum variation of the net weight accepted in the time defined by Delta Time. 10.2.14.2. DELTA TIME It is the time (in quanta of 100 ms) in which the net weight must vary less than the Delta Weight set value.
User Manual Z-SG2 / Z-SG2-L 10.2.18. ANALOGUE OUTPUT CONFIGURATION The analogue output is completely configurable passing 4 points: two of net weight and two of analogue output: Example: We would like the analogue output to be 4 mA with a net weight of 0 Kg and 20 mA with a net weight of 10 Kg:...
User Manual Z-SG2 / Z-SG2-L For example, if the tare ADC value is 5670 points and if the tare tracking ADC value is 10 points, a new tare will be acquired if the ADC value of 5675 points is stable for 5 seconds.
User Manual Z-SG2 / Z-SG2-L The test will continue to request registers via Modbus and it will be possible to send commands using the appropriate commands. It is also possible to calibrate the cell or start the data logger. THE DATA LOGGER 10.3.1.
User Manual Z-SG2 / Z-SG2-L Field or Manual. 11.2. FACTORY CALIBRATION WITH TARE ACQUISITION FROM THE FIELD 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)"...
User Manual Z-SG2 / Z-SG2-L In Manual calibration mode, proceed as follows for calibration: 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.
User Manual Z-SG2 / Z-SG2-L In Sample Weight mode, 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 4) Replace the Tare + Sample Weight 5) Wait for the measurement to stabilize 6) Press the "SAMPLE WEIGHT ACQUISITION (FLASH)”...
DRIVERS FOR LINUX SYSTEMS In many Linux distributions the drivers of this port are already included (for example Raspbian for Raspberry Pi devices). It is possible to consult the web page of the device on the Seneca website for more information. FIRMWARE UPDATE...
User Manual Z-SG2 / Z-SG2-L To bring the device in bootloader mode, follow the procedure below: 1) Remove power from the device 2) Keep the side button pressed 3) Power the device keeping the side device pressed 4) Wait a few seconds...
User Manual Z-SG2 / Z-SG2-L 3) Write the decimal value in the COMMAND REGISTER 49914 The device saves the new tare value in flash and resets the COMMAND REGISTER value 5) Enter the weight value of the sample weight in technical units in the STANDARD WEIGHT VALUE...
Page 39
User Manual Z-SG2 / Z-SG2-L www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-005370-EN Rev. 6 Page 39 BE REPRODUCED WITHOUT PRIOR PERMISSION.
According to the Modbus standard the Holding Register registers are addressable from 0 to 65535, there are 2 different conventions for numbering the addresses: "0-BASED" and "1-BASED". For greater clarity, Seneca shows its register tables in both conventions. ATTENTION! CAREFULLY READ THE DOCUMENTATION OF THE MODBUS MASTER DEVICE IN ORDER TO UNDERSTAND WHICH OF THE TWO CONVENTIONS THE MANUFACTURER HAS DECIDED TO USE www.seneca.it...
User Manual Z-SG2 / Z-SG2-L NUMBERING OF MODBUS ADDRESSES WITH "0-BASED" CONVENTION 16.1.1. The numbering is: HOLDING REGISTER MODBUS MEANING ADDRESS (OFFSET) FIRST REGISTER SECOND REGISTER THIRD REGISTER FOURTH REGISTER FIFTH REGISTER Therefore the first register is at address 0.
User Manual Z-SG2 / Z-SG2-L 16.2. BIT CONVENTION WITHIN A MODBUS HOLDING REGISTER A Modbus Holding Register consists of 16 bits with the following convention: For instance, if the value of the register in decimal is 12300 the value 12300 in hexadecimal is:...
User Manual Z-SG2 / Z-SG2-L For example, if register 40064 contains the 16 most significant bits (MSW) while register 40065 contains the least significant 16 bits (LSW), the 32-bit value is obtained by composing the 2 registers: 40064 MOST SIGNIFICANT WORD 40065 LEAST SIGNIFICANT WORD ...
Page 45
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET (MSB) Baud Rate: Selects the baud rate of the RS485 port 0= 4800 1 = 9600 2=19200 3=38400 RS485 BAUD 4=57600 UNSIGNED 40005 RATE / RS485 RW** 5=115200...
Page 46
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET (MSB) DIGITAL INPUT TYPE: Selects the operation of the digital input 0 = The digital input acquires the tare 1 = The status of the digital DIGITAL INPUT...
Page 47
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET Start scale value of the net 40038 weight for the analogue output RW** (LSW) Value of the threshold in 40039 alarm in technical units RW** THRESHOLD FLOATING (MSW) [kg/g/t…]...
Page 48
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET Configures the ADC sampling speed. ADVANCED ADC For further information, please UNSIGNED 40045 RW** SPEED refer to 10.2.9.3 16 BIT It is active only if level 7 filtering (advanced) is set.
Page 49
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET It is the hysteresis value for 40050 the threshold exceeded alarm RW** (LSW) Represents the variation in ADC points due to noise 40051 alone. It is active only if level RW** 7 filtering (advanced) is set.
Page 50
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET It is possible to configure a pre-determined filter level: FILTER LEVEL RESPONSE [ms] TIME (default) 1800 Dependent on the configuration “ADVANCED” DENOISE FILTER UNSIGNED 40055 RW** VALUE 16 BIT...
Page 51
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET RESOLUTION MODE (MSB) Selects the type of resolution to be used only with the net weight measurement between: 0 = Maximum resolution 1 = Manual resolution RESOLUTION (MANUAL RESOLUTION...
Page 52
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET Selects whether the RO registers in floating point format are displayed in the modbus registers in H/L or FLOATING POINT UNSIGNED 40061 L/H: RW** ORDER 16 BIT 0 = Displays the registers in...
Page 53
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET [kg/g/t…] Value of the net weight in 40071 technical units (LSW) Value of the gross weight in 40072 INTEGER GROSS technical units (MSW) SIGNED 32 WEIGHT Value of the gross weight in 40073 [kg/g/t…]...
Page 54
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET Status register: BIT 0 LSBIT (RO) Bit 0 = 1 Exceeded threshold + Stable weighing BIT 1 (RO) Bit 1 = 1 The cell has reached full scale...
Page 55
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET UNSIGNED 40079 RESERVED 16 BIT Command register, after executing the command the register returns to the value 0 43948 (decimal) Reboots the device 49594 (decimal) Acquires the tare in RAM (on restart it is...
Page 56
User Manual Z-SG2 / Z-SG2-L ADDRESS ADDRESS REGISTER DESCRIPTION TYPE (4x) OFFSET Maximum value of the net 40082 weight in technical units from FLOATING restart (MSW*) MAX NET WEIGHT POINT 32 [kg/g/t…] Maximum value of the net 40083 weight in technical units from...
Need help?
Do you have a question about the Z-SG2-L and is the answer not in the manual?
Questions and answers