WT60 Modbus Protocol Manual EN
WT60 Modbus Protocol Manual EN
WT60 Modbus Protocol Manual EN
User’s manual
MODBUS-RTU
PROTOCOL
for instruments WT60
BASE
BATCHING
LOAD
UNLOAD
The following symbols are used in the manual to draw the reader’s attention to important
points:
Further information.
TABLE OF CONTENTS
SUPPORTED FUNCTIONS.......................................................................................................... 1
The MODBUS-RTU protocol enables reading and writing of registers present in LAUMAS
instruments, based on the standard addressing system provided in the reference guide of Modicon
PI-MBUS-300.
SPECIAL WARNINGS
Not all commands present in the aforementioned document are implemented for communication
with the instruments. All limitations will be specified later.
Pay close attention to the values sent to the instrument: they must fall within the ranges specified in
the tables on the following pages (and they must guarantee proper functioning of the instrument).
Some data will be written directly into a special memory named EEprom, which can be written a
limited number of times only (100000). Therefore avoid writing continuously in these locations
Numerical values are expressed as decimal values in the following pages; in case of 0x prefix
values are expressed as hexadecimal
DATA FORMAT
- 1 start bit;
- 8 data bits, least significant bit;
- no parity, odd or even parity.
- 2 stop bits in case of no parity (n-8-2)
- 1 stop bit in case of checking parity (O-8-1, E-8-1)
SUPPORTED FUNCTIONS
Among the commands available in the MODBUS-RTU protocol, only the following are used to
manage communication with the instruments. Other commands may not be interpreted correctly and
could generate errors or system shut-downs:
FUNCTION description
03 (0x03) READ HOLDING REGISTER
16 (0x10) PRESET MULTIPLE REGISTERS
-1-
INSTRUMENT RESPONSE TIMES
The length of time that elapses between the end of the QUESTION string to the instrument and the
start of the ANSWER string from the instrument varies between 5 msecs and 20 msecs (max).
The length of time that must elapse between the end of the ANSWER string from the instrument and
the start of the next QUESTION string to the instrument is 0.5 msec (min).
In order to take into consideration the total time of a communication (QUESTION + ANSWER), the
transmission times for the strings, which must be calculated according to the baud rate used, must
be added to these.
In general, a longer length of time must be considered to correctly handle the query loop.
Some systems are very slow at correctly handling communication timing, resulting in a
decrease in the number of queries possible in the unit of time.
Where present, the DELAY parameter allows the instrument to respond to the system that is
questioning it with a certain delay. This directly influences the number of queries possible in the unit
of time.
- The serial settings cannot be modified via the serial port itself. Operate manually using the
instrument menus.
- Modifications made will be active after switching off and on again. Modifications such as the
delay time (‘Delay’) and the instrument’s address (‘Address’), however, are active
immediately.
-2-
MODBUS RTU PROTOCOL for WT60000 BASE
R = reading register
W = writing register
-3-
LIST OF BIT IN ADDRESS 40005 “Status Register”
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - - - In In In - - - - Out Out Out Out
3 2 1 4 3 2 1
Function Command
0007 Net weight
0008 Semiautomatic zero
0009 Gross weight
0010 Restore Check Output as SetPoint
0021 Keyboard lock
0022 Keyboard unlock
-4-
MODBUS-RTU PROTOCOL for WT60000 BATCHING ( 3 – 6 - 14 PRODUCTS)
-5-
40034 Set product 7 H R/W
40035 Set product 7 L R/W
40036 Set product 8 H R/W
40037 Set product 8 L R/W
40038 Set product 9 H R/W
40039 Set product 9 L R/W
40040 Set product 10 H R/W
40041 Set product 10 L R/W
40042 Set product 11 H R/W
40043 Set product 11 L R/W
40044 Set product 12 H R/W
40045 Set product 12 L R/W
40046 Set product 13 H R/W
40047 Set product 13 L R/W
40048 Set product 14 H R/W
40049 Set product 14 L R/W
40050 Set decimal point R
-6-
40081 Decimal point total R
40082 Batched net weight 1 H R
40083 Batched net weight 1 L R
40084 Batched net weight 2 H R
40085 Batched net weight 2 L R
40086 Batched net weight 3 H R
40087 Batched net weight 3 L R
40088 Batched net weight 4 H R
40089 Batched net weight 4 L R
40090 Batched net weight 5 H R
40091 Batched net weight 5 L R
40092 Batched net weight 6 H R
40093 Batched net weight 6 L R
40094 Batched net weight 7 H R
40095 Batched net weight 7 L R
40096 Batched net weight 8 H R
40097 Batched net weight 8 L R
40098 Batched net weight 9 H R
40099 Batched net weight 9 L R
40100 Batched net weight 10 H R
40101 Batched net weight 10 L R
40102 Batched net weight 11 H R
40103 Batched net weight 11 L R
40104 Batched net weight 12 H R
40105 Batched net weight 12 L R
40106 Batched net weight 13 H R
40107 Batched net weight 13 L R
40108 Batched net weight 14 H R
40109 Batched net weight 14 L R
40110 Batched net weights decimal point R
40111 Number of last formula batched R
40112 Number of last cycle batched R
-7-
LIST OF BIT IN ADDRESS 40005 “Status Register”
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
In 8 In 7 In 6 In 5 In 4 In 3 In 2 In 1 - - - - Out Out Out Out
4 3 2 1
Function Command
0008 Semiautomatic zero
0011 Product zero-setting (if “0” is set all products will be reset)
0012 Reading batched net weights
0013 Batched net weight acquisition – communication received
0014 Start the batching
0015 Stop the batching
-8-
0016 ENTER key
0017 ESC key
0018 Start the batching after “tare” alarm
0021 Keyboard lock
0022 Keyboard unlock
Note:
Registers from 40022 to 40050 refers to the formula into the 40117 register.
Programming a formula: write the formula’s number that you want to program into the register
40117, then write the batching sets to the relevant registers.
Reading a formula: write the formula’s number into the register 40117, the relevant registers will
be updated.
The 40009 and 40114 registers are equal. The 40012 and 40115 registers are equal.
The batching start command takes into consideration the formula number and the number of
current cycles. If a formula analogue selector is connected, you can batch a different formula to
the one currently selected by writing all at once the registers 40114, 40115 and 40116.
The batched net weights are updated following receipt of the reading command (function 0012)
which must take place while the unloading phase is active
-9-
MODBUS-RTU PROTOCOL for WT60000 LOAD
- 10 -
40065 Programmed cycles R/W
40066 Command Register W
- 11 -
LIST OF BIT IN ADDRESS 40005 “Status Register”
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
In 2 In 1 - - - -Out Out Out Out
4 3 2 1
For the coding used refer to the instrument
manual
Function command
0008 Semiautomatic zero
0011 Product zero-setting (if “0” is set all products will be reset)
0012 Reading batched net weights
0013 Batched net weight acquisition – communication received
0014 Start the batching
0015 Stop the batching
0016 ENTER key
0017 ESC key
0018 Start the batching after “tare” alarm
- 12 -
0021 Keyboard lock
0022 Keyboard unlock
Note:
Registers from 40022 to 40027 refers to the formula into the 40067 register.
Programming a formula: write the formula’s number that you want to program into the register
40067, then write the batching sets to the relevant registers.
Reading a formula: write the formula’s number into the register 40067, the relevant registers will
be updated.
The 40009 and 40064 registers are equal. The 40012 and 40065 registers are equal.
The batching start command takes into consideration the formula number and the number of
current cycles. If a formula analogue selector is connected, you can batch a different formula to
the one currently selected by writing all at once the registers 40064, 40065 and 40066.
The batched net weights are updated following receipt of the reading command (function 0012)
which must take place while the unloading phase is active.
- 13 -
MODBUS-RTU PROTOCOL for WT60000 UNLOAD
- 14 -
Address Description R/W
40036 Formulas total H R
40037 Formulas total L R
40038 Formula total 1 H R
40039 Formula total 1 L R
40040 Formula total 2 H R
40041 Formula total 2 L R
40042 Formula total 3 H R
40043 Formula total 3 L R
40044 Formula total 4 H R
40045 Formula total 4 L R
40046 Formula total 5 H R
40047 Formula total 5 L R
40048 Formula total 6 H R
40049 Formula total 6 L R
40050 Formula total 7 H R
40051 Formula total 7 L R
40052 Formula total 8 H R
40053 Formula total 8 L R
40054 Formula total 9 H R
40055 Formula total 9 L R
40056 Formula total 10 H R
40057 Formula total 10 L R
40058 Formula total 11 H R
40059 Formula total 11 L R
40060 Formula total 12 H R
40061 Formula total 12 L R
40062 Decimal point total R
- 15 -
LIST OF BIT IN ADDRESS 40005 “Status Register”
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - - - - In 2 In 1 - - - - Out Out Out Out
4 3 2 1
For the coding used refer to the instrument
manual
Function command
0008 Semiautomatic zero
0011 Product zero-setting (if “0” is set all products will be reset)
0012 Reading batched net weights
0013 Batched net weight acquisition – communication received
0014 Start the batching
0015 Stop the batching
0016 ENTER key
0017 ESC key
- 16 -
0018 Start the batching after “tare” alarm
0021 Keyboard lock
0022 Keyboard unlock
Note:
Registers from 40022 to 40027 refers to the formula into the 40067 register.
Programming a formula: write the formula’s number that you want to program into the register
40067, then write the batching sets to the relevant registers.
Reading a formula: write the formula’s number into the register 40067, the relevant registers will
be updated.
The 40009 and 40064 registers are equal. The 40012 and 40065 registers are equal.
The batching start command takes into consideration the formula number and the number of
current cycles. If a formula analogue selector is connected, you can batch a different formula to
the one currently selected by writing all at once the registers 40064, 40065 and 40066.
The batched net weights are updated following receipt of the reading command (function 0012)
which must take place while the unloading phase is active.
- 17 -
CHARACTERS OF INSTRUMENT STATUS
( for WT60000 BATCHING – LOAD – UNLOAD )
- 18 -
RS 232 CONNECTION CABLE BETWEEN WT60 AND PC
WT60 (COM) PC
1 1
6 6
2 2
7 7
3 3
8 8
4 4
9 9
5 5
9 POLES MALE
9 POLES FEMALE
- 19 -
LAST CONNECTION FIRST CONNECTION
GND RX+ TX+ TX- RX- GND RX+ TX+ TX- RX- GND RX+ TX+ TX- RX-
5 9 4 6 7 9-PIN MALE 5 9 4 6 7 9-PIN MALE 5 9 4 6 7 9-PIN MALE
SOLDER SOLDER SOLDER
CONNECTOR CONNECTOR CONNECTOR
130 ohm
- 20 -
MAX LENGHT 500 METERS
Vin
RS 485 CONNECTION AMONG INSTRUMENTS WT60
0 TX +
5 CONVERTER TX -
2 TX CONVLAU RX +
3 RX RX -
DB9P female
CONNECTOR
On our website www.laumas.com you can find videos on the correct installation of weighing
systems and tutorials on the configuration of our weight transmitters and indicators.
Comprehensive user manuals for all LAUMAS products can be found online. They can be
downloaded in PDF format from either the Products section or the Download Area of the
website www.laumas.com. Registration is required.