264_09_en_00 - modbus manual

68
ISOIL I M P I A N T I Isoil Impianti S.p.A. - Italy Sede e stabilimento Head office and factory 24061 Albano S.Alessandro (BG) 74, via Madonna delle Rose Tel. +39 035 4239.011 Fax +39 035 582078 E-mail : [email protected] Web : www.isoilmeter.com Uffici Commerciali Sales office 20092 Cinisello Balsamo (MI) 27, via F.lli Gracchi Tel. +39 02 66027.1 Fax +39 02 66012456 E-mail : [email protected] [email protected] Sede legale Registered office 20124 Milano 24, viale Vittorio Veneto Capitale soc. int. Sottoscritto 774.000 Euro Codice Fisc. e part. IVA 13066900153 C.C.I.A.A. MI - Reg. Impr. 86449/2000 R.E.A. Milano 1612783 VEGA II ELECTRONIC COUNTER MODBUS PROTOCOL VERSION “MB–01.01” FIRMWARE “M6.0 2M” – TWO METERS CODE : 264/09/EN/00 REVISION : 08/2007

Upload: humberto-santos

Post on 14-Oct-2014

528 views

Category:

Documents


68 download

TRANSCRIPT

Page 1: 264_09_EN_00 - MODBUS MANUAL

ISOIL

I M P I A N T I

Isoil Impianti S.p.A. - Italy

Sede e stabilimentoHead office and factory24061 Albano S.Alessandro (BG)74, via Madonna delle RoseTel. +39 035 4239.011Fax +39 035 582078E-mail : [email protected] : www.isoilmeter.com

Uffici CommercialiSales office20092 Cinisello Balsamo (MI)27, via F.lli GracchiTel. +39 02 66027.1Fax +39 02 66012456E-mail : [email protected]

[email protected]

Sede legaleRegistered office20124 Milano24, viale Vittorio VenetoCapitale soc. int. Sottoscritto 774.000 EuroCodice Fisc. e part. IVA 13066900153C.C.I.A.A. MI - Reg. Impr. 86449/2000R.E.A. Milano 1612783

VEGA IIELECTRONIC COUNTER

MODBUS PROTOCOL VERSION “MB–01.01”FIRMWARE “M6.0 2M” – TWO METERS

CODE : 264/09/EN/00REVISION : 08/2007

Page 2: 264_09_EN_00 - MODBUS MANUAL
Page 3: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°3 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01” (INDEX)Code 264/09/EN/00 dated 08/2007

INDEX

1 PROTOCOL CHARACTERISTICS........................................................................................................................................................................................ 52 GENERAL STRUCTURE OF A MESSAGE ............................................................................................................................................................................. 7

? Device Address .........................................................................................................................................................................................................................7? Function Code...........................................................................................................................................................................................................................7? Body of message.......................................................................................................................................................................................................................7? CRC..........................................................................................................................................................................................................................................8

3 FUNCTIONS CODES .......................................................................................................................................................................................................... 9? Function 01 “READ COIL STATUS” .............................................................................................................................................................................................9? Function 02 “READ INPUT STATUS” ......................................................................................................................................................................................... 10? Function 03 “READ HOLDING REGISTER” ................................................................................................................................................................................. 11? Function 04 “READ INPUT REGISTER”...................................................................................................................................................................................... 12? Function 16 (10 Hex) “WRITE MULTIPLE REGISTER” ................................................................................................................................................................ 13? Reply to a wrong message....................................................................................................................................................................................................... 14? Flow chart of a management of a loading in automatic mode for meter 1................................................................................................................................... 15

4 REGISTERS DEFINITION................................................................................................................................................................................................ 17? Type of register ...................................................................................................................................................................................................................... 17? Representation of a FLOAT register .......................................................................................................................................................................................... 17? Representation of a DOUBLE register ....................................................................................................................................................................................... 17? Map of address of “COILS STATUS REGISTERS”........................................................................................................................................................................ 18? Map of address of “INPUTS STATUS REGISTERS” ..................................................................................................................................................................... 20? Map of address of “INPUT REGISTERS” .................................................................................................................................................................................... 22? Map of address of “HOLDING REGISTERS” ............................................................................................................................................................................... 50

5 SUB-FUNCTIONS ............................................................................................................................................................................................................ 51? How use sub-functions ............................................................................................................................................................................................................ 51? Sub-function 01 “START TRANSACTION”.................................................................................................................................................................................. 52? Sub-function 02 “PRESET” ....................................................................................................................................................................................................... 55? Sub-function 03 “MODIFY PRESET” .......................................................................................................................................................................................... 56? Sub-function 04 “START DELIVERY”......................................................................................................................................................................................... 57? Sub-function 05 “STOP DELIVERY”........................................................................................................................................................................................... 58? Sub-function 06 “TERMINATE BATCH”...................................................................................................................................................................................... 59? Sub-function 07 “TRANSACTION CLOSING” .............................................................................................................................................................................. 60? Sub-function 11 (0B Hex) “BATCH DATA STORED”.................................................................................................................................................................... 61? Sub-function 12 (0C Hex) “TRANSACTION DATA STORED” ........................................................................................................................................................ 62? Sub-function 13 (0D Hex) “LEAK DATA STORED” ...................................................................................................................................................................... 63? Sub-function 14 (0E Hex) “ALARM RESET”................................................................................................................................................................................ 64? Sub-function 15 (0F Hex) “DISABLING METER”......................................................................................................................................................................... 65

6 APPENDIX TABLES ......................................................................................................................................................................................................... 67

Page 4: 264_09_EN_00 - MODBUS MANUAL

Page n°4 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01” INDEX)Reproduction of this document in any form is strictly prohibited by law

This page is left blank intentionally.

Page 5: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°5 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

1 PROTOCOL CHARACTERISTICSModBusTM protocol is a trademark of “MODICON, Inc.”. To build ModBus protocol in VEGAII these reference documents have been used:- Modicon ModBusTM Protocol Reference Guide PI-MBUS-300 Rev.B- Application Protocol Specification V1.1.

Type of protocol: HANDSHAKING (for each query from PC MASTER a reply is sent by VEGAII slave).

Master: A device connected with maximum 31 VEGAIIs on each serial line.

Slave: VEGAII (maximum 31 for each serial line).

Electrical connection:? RS 232? RS 485? RS 422

For electrical connection schemes refer to “INSTALLATION MANUAL”.

Communication characteristics:VEGAII can communicate from 1200 to 19200 baud.ModBusTM protocol implemented is RTU type where each character is so defined:

Coding System : 8 binary bit hexadecimal 0….9, A….FTwo hexadecimal char in each 8 bit field of message

Bits per Byte : 1 start bit8 data bits, first bit is least significant1 bit for odd/even parity, if no parity is used this bit become a stop bit1 stop bit

Error check : CRC16 (Cyclical Redundancy Check) 2 bytes

How to set protocol: refer to SETUP MANUAL.

Page 6: 264_09_EN_00 - MODBUS MANUAL

Page n°6 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

This page is left blank intentionally.

Page 7: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°7 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

2 GENERAL STRUCTURE OF A MESSAGEMessage starts with a silent interval on serial line of at least 3,5 times the time of transmission of a single character.Characters sent after this silent will be:- address of SLAVE device (1 byte);- function code (1byte);- body of message (n bytes that are different apiece of function);- CRC of message (2 byte);Message ends with a silent interval on serial line of at least 3,5 times the time of transmission of a single character (to be practical this interval has to be biggest than100milliseconds).Each character sent is in hexadecimal format (0…9,A…F).

START ADDRESS FUNCTION CODE BODY OFMESSAGE CRC-16 END

T1-T2-T3-T4 1 BYTE 1 BYTE N BYTES 2 BYTES T1-T2-T3-T4

? Device AddressSerial address of VEGAII can be setted from 01 to 99 decimal (0x01 to 0x63 hexadecimal) and is used by Master to communicate with an electronic counterSLAVE. Address 00 is reserved.

? Function CodeFunction Code specifies which command SLAVE device has to do. In VEGAII are implemented these ModBus function:

CODE FUNCTION DESCRIPTION01 Read Coil Status Allow to read status of 1 or more output02 Read Input Status Allow to read status of 1 or more input03 Read Holding Registers Allow to read if an automation sub function command is accepted or not.04 Read input Registers Allow to read information about status of VEGAII, delivered quantities, preset, type of loading ecc.16 Write Multiple Register Allow to send messages to control loading writing sub function in holding registers.

? Body of messageLength of this part of message and meaning of its bytes can vary apiece of “Function” that is used.

Page 8: 264_09_EN_00 - MODBUS MANUAL

Page n°8 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? CRCIt’s check sum of message and it’s 2 bytes; first byte contain low part of calculated value, second byte high part.Next flow-chart shows how to calculate CRC-16.

Start

CRC16 = 0xFFFF

DATUM = First character of message

CRCLO = CRCLO XOR DATUM

N°SHIFT = 0

Right shift of CRC16

(0->CRC16 ->Carry)

Carry == 1?

CRC16 = CRC16 XOR 0xA001

YES

NO

N°SHIFT = N°SHIFT + 1

N°SHIFT == 8?

DATUM = Next character of message

Stop

Last character ofmessage?

NO

YES

NO

YES

Page 9: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°9 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

3 FUNCTIONS CODESIn this chapter will be shown messages or function code manage by VEGAII.

? Function 01 “READ COIL STATUS”This function allows to read status of one or more outputs. Outputs are addressed from 0 so if you want know status of outputs from 1 to 16 of VEGAII withaddress 01 you must send:

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX) MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x01 2 ÷ 2 1 CHAR Function code. 0x013 ÷ 3 1 CHAR Address of start output (MSB). 0x00 3 ÷ 3 1 CHAR Number of bytes. 0x024 ÷ 4 1 CHAR Address of start output (LSB). 0x00 4 ÷ 4 1 CHAR Status of outputs from 8 to 1. 0xAA5 ÷ 5 1 CHAR Number of outputs (MSB). 0x00 5 ÷ 5 1 CHAR Status of outputs from 16 to 9. 0x556 ÷ 6 1 CHAR Number of outputs (LSB). 0x10 6 ÷ 6 1 CHAR CRC 16 of message (LO). 0x077 ÷ 7 1 CHAR CRC 16 of message (LO). 0x3D 7 ÷ 7 1 CHAR CRC 16 of message (HI). 0X638 ÷ 8 1 CHAR CRC 16 of message (HI). 0xC6

If value of a bit is 1 relative output is ON otherwise is OFF. In the example analyzing message sent by VEGAII value of outputs from 1 to 8 in hexadecimal is 0xAAand in binary is 10101010, value of outputs from 9 to 16 in hexadecimal is 0x55 and in binary is 01010101; that means that outputs 2, 4, 6, 8, 9, 11, 13, 15 areON and others are OFF.

Page 10: 264_09_EN_00 - MODBUS MANUAL

Page n°10 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Function 02 “READ INPUT STATUS”This function allows to read status of one or more inputs. Inputs are addressed from 0 so if you want know status of inputs from 11 to 20 of VEGAII with address01 you must send:

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX) MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x02 2 ÷ 2 1 CHAR Function code. 0x023 ÷ 3 1 CHAR Address of start input (MSB). 0x00 3 ÷ 3 1 CHAR Number of bytes. 0x024 ÷ 4 1 CHAR Address of start input (LSB). 0x0A 4 ÷ 4 1 CHAR Status of inputs from 18 to 11. 0xAA5 ÷ 5 1 CHAR Number of inputs (MSB). 0x00 5 ÷ 5 1 CHAR Status of inputs from 20 to 19. 0x026 ÷ 6 1 CHAR Number of inputs (LSB). 0x0A 6 ÷ 6 1 CHAR CRC 16 of message (LO). 0x467 ÷ 7 1 CHAR CRC 16 of message (LO). 0xD8 7 ÷ 7 1 CHAR CRC 16 of message (HI). 0xD98 ÷ 8 1 CHAR CRC 16 of message (HI). 0x0F

If value of a bit is 1 relative input is CLOSED otherwise is OPENED. In the example analyzing message sent by VEGAII value of inputs from 11 to 18 inhexadecimal is 0xAA and in binary is 10101010, value of inputs from 19 to 20 in hexadecimal is 0x02 and in binary is 00000010; that means that inputs 12, 14, 16,18, 20 are CLOSED and others are OPENED.

Page 11: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°11 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Function 03 “READ HOLDING REGISTER”This function allows to read values of holding registers (read/write registers). In VEGAII this message is used to verify if an automation sub function is accepted ornot. As before registers are addressed from 0 so to read register 40065 where is contained value of automation command you must send:

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX) MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x03 2 ÷ 2 1 CHAR Function code. 0x033 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 3 ÷ 3 1 CHAR Number of bytes. 0x024 ÷ 4 1 CHAR Address of starting register (LSB). 0x40 4 ÷ 4 1 CHAR Value of register (MSB) 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 5 ÷ 5 1 CHAR Value of register (LSB) 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x01 6 ÷ 6 1 CHAR CRC 16 of message (LO). 0xB87 ÷ 7 1 CHAR CRC 16 of message (LO). 0x85 7 ÷ 7 1 CHAR CRC 16 of message (HI). 0x448 ÷ 8 1 CHAR CRC 16 of message (HI). 0xDE

Value of register required is 0x0000 that means that automation command sent by sub-function has been accepted (se “SUB-FUNCTION ANSWER CODE TABLE”).

Page 12: 264_09_EN_00 - MODBUS MANUAL

Page n°12 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Function 04 “READ INPUT REGISTER”This function allows to read values of input registers (read registers) where are contained information about status of VEGAII, delivery, loading, preset, ecc.Registers are addressed from 0. Suppose to acquire value of gross volume of product 1 during a delivery (register 30243). Message that you must send is:

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX) MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x04 2 ÷ 2 1 CHAR Function code. 0x04

3 ÷ 3 1 CHAR Address of starting register(MSB). 0x00 3 ÷ 3 1 CHAR Number of bytes. 0x08

4 ÷ 4 1 CHAR Address of starting register(LSB). 0xF2 4 ÷ 4 1 CHAR Value of register (MSB) 0x40

5 ÷ 5 1 CHAR Number of registers (MSB). 0x00 5 ÷ 5 1 CHAR Value of register 0x8F6 ÷ 6 1 CHAR Number of registers (LSB). 0x04 6 ÷ 6 1 CHAR Value of register 0x407 ÷ 7 1 CHAR CRC 16 of message (LO). 0x50 7 ÷ 7 1 CHAR Value of register 0x008 ÷ 8 1 CHAR CRC 16 of message (HI). 0x3A 8 ÷ 8 1 CHAR Value of register 0x00

9 ÷ 9 1 CHAR Value of register 0x0010 ÷ 10 1 CHAR Value of register 0x0011 ÷ 11 1 CHAR Value of register (LSB) 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0x5013 ÷ 13 1 CHAR CRC 16 of message (HI). 0x35

Value of double register is 0x408F400000000000 this is equal to 1000.

Page 13: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°13 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Function 16 (10 Hex) “WRITE MULTIPLE REGISTER”By this function is possible to write more holding register with the same message. It must be used to send command that allow to control a loading in remotemode.Suppose to send a Stop command to VEGAII during a delivery:

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMAT DESCRIPTION EXAMPLE(HEX) MSB ÷ LSB

BYTENUMBER

FIELDFORMAT DESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x10 2 ÷ 2 1 CHAR Function code. 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 3 ÷ 3 1 CHAR Address of starting register (MSB). 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 4 ÷ 4 1 CHAR Address of starting register (LSB). 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 5 ÷ 5 1 CHAR Number of registers (MSB). 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 6 ÷ 6 1 CHAR Number of registers (LSB). 0x027 ÷ 7 1 CHAR Number of bytes 0x04 7 ÷ 7 1 CHAR CRC 16 of message (LO). 0x418 ÷ 8 1 CHAR Meter selected 0x31 8 ÷ 8 1 CHAR CRC 16 of message (HI). 0xC89 ÷ 9 1 CHAR Product selected 0x30

10 ÷ 10 1 CHAR Sub-function code 0x0511 ÷ 11 1 CHAR Stop delivery 0x3112 ÷ 12 1 CHAR CRC 16 of message (LO). 0x3F13 ÷ 13 1 CHAR CRC 16 of message (HI). 0xD8

Page 14: 264_09_EN_00 - MODBUS MANUAL

Page n°14 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Reply to a wrong messageAt the end of message VEGAII does this type of controls:Address: verifies if message is addressed to it or to another VEGAII, if it isn’t, no answer will send.Chksum of message: check of CRC calculated with CRC received.Code of function: verifies that function exists.Address of register: verifies that address or register exists.Value of register: check if value that you want write in register is valid.Specific control: when it’s received massage of “WRITE MULTIPLE REGISTER” for automation command VEGAII checks that command can be done in

that moment.

If something of received message is wrong VEGAII send a message with specified type of error.In the next example PC MASTER requires status of 16 outputs starting from output 0x32 (50) that doesn’t exist (VEGAII manages only 32 outputs).

PC MASTER MESSAGE VEGAII SLAVE MESSAGEPOSITION POSITION

MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX) MSB ÷ LSBBYTE

NUMBERFIELD

FORMATDESCRIPTION EXAMPLE

(HEX)1 ÷ 1 1 CHAR VEGAII serial address. 0x01 1 ÷ 1 1 CHAR VEGAII serial address. 0x012 ÷ 2 1 CHAR Function code. 0x01 2 ÷ 2 1 CHAR Function code. 0x813 ÷ 3 1 CHAR Address of start output (MSB). 0x00 3 ÷ 3 1 CHAR Exception code. 0x024 ÷ 4 1 CHAR Address of start output (LSB). 0x32 4 ÷ 4 1 CHAR CRC 16 of message (LO). 0xC15 ÷ 5 1 CHAR Number of outputs (MSB). 0x00 5 ÷ 5 1 CHAR CRC 16 of message (HI). 0x916 ÷ 6 1 CHAR Number of outputs (LSB). 0x107 ÷ 7 1 CHAR CRC 16 of message (LO). 0x9C8 ÷ 8 1 CHAR CRC 16 of message (HI). 0x09

When there is an error on message received VEGAII answers adding 0x80 at the value of field “function code” and then put in the field “Exception code” whymessage is not valid. Here you can find exception code:

CODE NAME DESCRIPTION01 ILLEGAL FUNCTION The function code received in the query doesn’t exist or is not managed by VEGAII.02 ILLEGAL DATA ADDRESS Address of register is not valid.03 ILLEGAL DATA VALUE A value contained in the query data field is not valid.

When you send command of automation by function 16 (WRITE MULTIPLE REGISTER) if message is right but is not compatible with status of VEGAII, electroniccounter answers as message is valid but inserts in the register 40065 (Result of sub-function) why command is not accepted. (see “SUB-FUNCTION REPLY CODETABLE”).

Page 15: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°15 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Flow chart of a management of a loading in automatic mode for meter 1

START

DO YOU WANTSTART A NEW

TRANSACTION?

FUNCTION 16SUB-FUNCTION 01 "START TRANSACTION"

NO

5

YES

1 2

FUNCTION 01"READ COILS STATUS"

TO UPGRADE SYNOPTIC

FUNCTION 02"READ INPUTS STATUS"TO UPGRADE SYNOPTIC

FUNCTION 04"READ INPUT REGISTERS"TO UPGRADE SYNOPTIC

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

1NO YES

FUNCTION 16SUB-FUNCTION 04 "START DELIVERY"

FUNCTION 16SUB-FUNCTION 02 PRESET

REQUEST OFSTART=1?

NO

YES

3

FUNCTION 04"READ INPUT REGISTER" 30201

"REQUEST OF START"

2

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

YES

NO

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

NO YES

STATUS OF BATCH =3?(DATA AVAILABLE TO BE

STORED)

NO

YES

FUNCTION 04"READ INPUT REGISTER" 30203

"STATUS OF BATCH"

FUNCTION 04"READ INPUT REGISTERS" FROM 30750

"DATA OF LAST BATCH"

FUNCTION 16SUB-FUNCTION 11

"BATCH DATA STORED"

NEWPRESET?

3 4YES

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

NO

YES

NO

FUNCTION 16SUB-FUNCTION 07 "TRANSACTION CLOSING"

4

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

NO

NO

YES

FUNCTION 04READ INPUT REGISTER 30189"STATUS OF TRANSACTION"

STATUS OFTRANSACTION=3?

(DATA AVAILABLE TOBE STORED)

FUNCTION 04"READ INPUT REGISTERS" FROM 31151

"DATA OF LAST TRANSACTION"

FUNCTION 16SUB-FUNCTION 12

"TRANSACTION DATA STORED"

FUNCTION 03"READ HOLDING REGISTERS" 40065

"RESULT OF SUB-FUNCTION"

REGISTER40065=0?

NO YES

YES

5

Page 16: 264_09_EN_00 - MODBUS MANUAL

Page n°16 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

This page is left blank intentionally.

Page 17: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°17 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

4 REGISTERS DEFINITION

? Type of registerIn the following table are shown type of data used in the registers tables.

FORMAT OF DATA LENGTH in BIT NUMBER OF REGISTER NEEDEDBIT 1 1

CHAR 8 1SHORT 16 1

INTEGER 32 2FLOAT 32 2

DOUBLE 64 4STRING 8 * (N° characters) VARIABLE

? Representation of a FLOAT registerA float number is 4 bytes (32 bits). Its representation is:

Byte 4 Byte 3 Byte 2 Byte 131 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SIGN EXPONENT MANTISSAWhere:- bit 31 is SIGN of number (0 = positive (+1), 1 = negative (-1))- bits from 30 to 23 are EXPONENT and must be considered as an unique number of 8 bits ( ex. 01111111 = 127)- bits from 23 to 0 are MANTISSA and must be use in this mode MANTISSA = 1 + (Bit22*2-1) + (Bit21*2-2) + (Bit20*(2-3))……… + (Bit0*(2-23)Value of datum has to be calculated in this mode:Number = SIGN * 2(EXPONENT – 127) * MANTISSA

? Representation of a DOUBLE registerA float number is 8 bytes (64 bits). Its representation is:

Byte 8 Byte 7 Byte 6 Byte 5 Byte 4 Byte 3 Byte 2 Byte 163 62 ….. 56 55 ….. 52 ….. 48 47 ….. 40 39 ………… 32 31 ………….. 24 23 …………… 16 15 ………….. 8 7 …………… 0

SIGN EXPONENT MANTISSAWhere:- bit 63 is SIGN of number (0 = positive (+1), 1 = negative (-1))- bits from 62 to 52 are EXPONENT and must be considered as an unique number of 11 bits ( ex. 01001101101 = 621)- bits from 51 to 0 are MANTISSA and must be use in this mode MANTISSA = 1 + (Bit51*2-1) + (Bit50*2-2) + (Bit49*(2-3))……… + (Bit0*(2-53)Value of datum has to be calculated in this mode:Number = SIGN * 2(EXPONENT – 1023) * MANTISSA

Page 18: 264_09_EN_00 - MODBUS MANUAL

Page n°18 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Map of address of “COILS STATUS REGISTERS”

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0000 00001 BIT Status of output 1 0 = OFF1 = ON

0001 00002 BIT Status of output 2 0 = OFF1 = ON

0002 00003 BIT Status of output 3 0 = OFF1 = ON

0003 00004 BIT Status of output 4 0 = OFF1 = ON

0004 00005 BIT Status of output 5 0 = OFF1 = ON

0005 00006 BIT Status of output 6 0 = OFF1 = ON

0006 00007 BIT Status of output 7 0 = OFF1 = ON

0007 00008 BIT Status of output 8 0 = OFF1 = ON

0008 00009 BIT Status of output 9 0 = OFF1 = ON

0009 00010 BIT Status of output 10 0 = OFF1 = ON

000A 00011 BIT Status of output 11 0 = OFF1 = ON

000B 00012 BIT Status of output 12 0 = OFF1 = ON

000C 00013 BIT Status of output 13 0 = OFF1 = ON

000D 00014 BIT Status of output 14 0 = OFF1 = ON

000E 00015 BIT Status of output 15 0 = OFF1 = ON

000F 00016 BIT Status of output 16 0 = OFF1 = ON

Page 19: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°19 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0010 00017 BIT Status of output 17 0 = OFF1 = ON

0011 00018 BIT Status of output 18 0 = OFF1 = ON

0012 00019 BIT Status of output 19 0 = OFF1 = ON

0013 00020 BIT Status of output 20 0 = OFF1 = ON

0014 00021 BIT Status of output 21 0 = OFF1 = ON

0015 00022 BIT Status of output 22 0 = OFF1 = ON

0016 00023 BIT Status of output 23 0 = OFF1 = ON

0017 00024 BIT Status of output 24 0 = OFF1 = ON

0018 00025 BIT Status of output 25 0 = OFF1 = ON

0019 00026 BIT Status of output 26 0 = OFF1 = ON

001A 00027 BIT Status of output 27 0 = OFF1 = ON

001B 00028 BIT Status of output 28 0 = OFF1 = ON

001C 00029 BIT Status of output 29 0 = OFF1 = ON

001D 00030 BIT Status of output 30 0 = OFF1 = ON

001E 00031 BIT Status of output 31 0 = OFF1 = ON

001F 00032 BIT Status of output 32 0 = OFF1 = ON

Page 20: 264_09_EN_00 - MODBUS MANUAL

Page n°20 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Map of address of “INPUTS STATUS REGISTERS”

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0000 10001 BIT Status of input 1 0 = OPENED1 = CLOSED

0001 10002 BIT Status of input 2 0 = OPENED1 = CLOSED

0002 10003 BIT Status of input 3 0 = OPENED1 = CLOSED

0003 10004 BIT Status of input 4 0 = OPENED1 = CLOSED

0004 10005 BIT Status of input 5 0 = OPENED1 = CLOSED

0005 10006 BIT Status of input 6 0 = OPENED1 = CLOSED

0006 10007 BIT Status of input 7 0 = OPENED1 = CLOSED

0007 10008 BIT Status of input 8 0 = OPENED1 = CLOSED

0008 10009 BIT Status of input 9 0 = OPENED1 = CLOSED

0009 10010 BIT Status of input 10 0 = OPENED1 = CLOSED

000A 10011 BIT Status of input 11 0 = OPENED1 = CLOSED

000B 10012 BIT Status of input 12 0 = OPENED1 = CLOSED

000C 10013 BIT Status of input 13 0 = OPENED1 = CLOSED

000D 10014 BIT Status of input 14 0 = OPENED1 = CLOSED

000E 10015 BIT Status of input 15 0 = OPENED1 = CLOSED

000F 10016 BIT Status of input 16 0 = OPENED1 = CLOSED

Page 21: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°21 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0010 10017 BIT Status of input 17 0 = OPENED1 = CLOSED

0011 10018 BIT Status of input 18 0 = OPENED1 = CLOSED

0012 10019 BIT Status of input 19 0 = OPENED1 = CLOSED

0013 10020 BIT Status of input 20 0 = OPENED1 = CLOSED

0014 10021 BIT Status of input 21 0 = OPENED1 = CLOSED

0015 10022 BIT Status of input 22 0 = OPENED1 = CLOSED

0016 10023 BIT Status of input 23 0 = OPENED1 = CLOSED

0017 10024 BIT Status of input 24 0 = OPENED1 = CLOSED

0018 10025 BIT Status of input 25 0 = OPENED1 = CLOSED

0019 10026 BIT Status of input 26 0 = OPENED1 = CLOSED

001A 10027 BIT Status of input 27 0 = OPENED1 = CLOSED

001B 10028 BIT Status of input 28 0 = OPENED1 = CLOSED

001C 10029 BIT Status of input 29 0 = OPENED1 = CLOSED

001D 10030 BIT Status of input 30 0 = OPENED1 = CLOSED

001E 10031 BIT Status of input 31 0 = OPENED1 = CLOSED

001F 10032 BIT Status of input 32 0 = OPENED1 = CLOSED

Page 22: 264_09_EN_00 - MODBUS MANUAL

Page n°22 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Map of address of “INPUT REGISTERS”

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0000 30001 STRING(6 Registers)

Firmware version. Alphanumerical code.

0006 30007 STRING(4 Registers) ModBus protocol version. Alphanumerical code.

000A 30011 CHAR(1 Register) Status of Weight and Measure switch. 0 = Weight and Measure switch not present

1 = Weight and Measure switch present

000B 30012 CHAR(1 Register) Status of power supply 0 = Power supply not present

1 = Power supply present

000C 30013CHAR

(1 Register) Status of battery

0 = Not present1 = On charge2 = Present3 = Not charge

000D 30014 CHAR(1 Register) Local / Remote mode. 0 = Local

1 = Remote

000E 30015CHAR

(1 Register) Operative mode0= Working mode1= Request programming entry2= Programming mode

000F 30016 CHAR(1 Register) Status of Logs parameters. 0 = No new parameter’s log.

1 = New parameter’s log.

0010 30017 INT(2 Registers) Total transactions of system. 0 ÷ 999999

0012 30019 INT(2 Registers) Total batches of system. 0 ÷ 9999999

0014 30021 CHAR(1 Register) Status of local printing.

0 = Printer ON LINE1 = No paper2 = Printer OFF LINE3 = Printer BUSY4 = Printing in progress

Page 23: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°23 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0015 30022 CHAR(1 Register) Type of input 1

0 = Non used1 = Permissive2 = Signal

0016 30023 (1 Register) Meter owner of input 1.0= Meter 1 & 21= Meter 12= Meter 2

0017 30024 CHAR(1 Register)

Code of name of input 1 See PROGRAMMING PARAMETERS MANUAL.

0018 30025 CHAR(1 Register)

Logic of input 1.This register is important only if input is a permissive.

0 = Ok if opened1 = Ok if closed

(124 Registers) 4 previous registers will be the same for inputs from 2 to 32 of VEGAII.If I/O digital board will be not present for inputs from 17 to 32 will be inserted blank (0x20).

0095 30150 CHAR(1 Register) Code of output 1 See PROGRAMMING PARAMETERS MANUAL.

(31 Registers) Previous register will be the same for outputs from 2 to 32 of VEGAII.If I/O digital board will be not present for outputs from 17 to 32 will be inserted blank (0x20).

00B5 30182 CHAR(1 Register) Code of system alarm.

00B6 30183 CHAR(1 Register) Code of alarm of meter 1.

00B7 30184 CHAR(1 Register)

Code of alarm of meter 2.

See PROGRAMMING PARAMETERS MANUAL.

00B8 30185 STRING(5 Registers) R.C.E. code of meter 1. ( Code sent by PC MASTER to VEGAII in order to detect a transaction). Alphanumerical code.

00BD 30190CHAR

(1 Register) Status of Transaction of meter 1.

0 = No transaction in progress1 = Transaction in progress2 = Meter not used for transaction in progress3 = Data available to be stored

00BE 30191 CHAR(1 Register) Type of loading in use of meter 1. 0 = Bottom loading

1 = Top loading

00BF 30192 CHAR(1 Register)

Type of preset in use of meter 1. 0 = ATB1 = ATK

00C0 30193 CHAR(1 Register)

Code of method of compensation of meter 1. It depends on method of compensation.

00C1 30194 DOUBLE(4 Registers)

Temperature of compensation of meter 1.This register is important only for method of compensation ALFA TbX°C.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

Page 24: 264_09_EN_00 - MODBUS MANUAL

Page n°24 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

00C5 30198 INTEGER(2 Registers) Number of transaction of meter 1. 0 ÷ 99999

00C7 30200 INTEGER(2 Registers)

Number of batch of meter 1. 0 ÷ 999999

00C9 30202 CHAR(1 Register)

Request of start delivery of meter 1. 0 = No request1 = Request present

00CA 30203 CHAR(1 Register) Remote stop of meter 1. 0 = Not active

1 = Active

00CB 30204CHAR

(1 Register) Status of batch of meter 1.

0 = No batch in progress1 = Batch in progress2 = Batch stopped3 = Data available to be stored

00CC 30205 CHAR(1 Register) Flow of product of meter 1. 0 = No flow

1 = Flow in progress

00CD 30206 CHAR(1 Register) Stop of batch of meter 1.

0 = No stop1 = Stop by operator2 = Stop for faulting of power supply4 = Stop by permissive absence5 = Stop by system alarm6 = Stop by meter alarm7 = Stop by weight & measure switch absence

00CE 30207 CHAR(1 Register)

Code of alarm or permissive that generates stop of meter 1.

This register will contain:- Code of alarm that caused stop if value of

register 30206 is 5 or 6;- Number of input setted as permissive that

caused stop if value of register 30206 is 4.See PROGRAMMING PARAMETERS MANUAL to knowlist of alarm or permissives.

Page 25: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°25 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

00CF 30208 STRING(4 Registers) Unit of measurement of volume of meter 1.

00D3 30212 STRING(1 Register)

Unit of measurement of weight of meter 1.

00D4 30213 STRING(1 Register) Unit of measurement of temperature of meter 1.

00D5 30214 STRING(2 Registers)

Unit of measurement of flow rate of meter 1.

00D7 30216 STRING(3 Registers) Unit of measurement of density used to calculate net volume of meter 1.

00DA 30219 STRING(3 Registers)

Unit of measurement of density used to calculate weight of meter 1.

Alphanumerical code.

00DD 30222CHAR

(1 Register) Number of product delivered of meter 1.1 = Product 12 = Product 23 = Product 3

00DE 30223 STRING(4 Registers)

Name of product delivered of meter 1. Alphanumerical code.

00E2 30227 DOUBLE(4 Registers)

Preset of meter 1. 0 ÷ 999999

Page 26: 264_09_EN_00 - MODBUS MANUAL

Page n°26 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

00E6 30231 DOUBLE(4 Registers) Total of Gross Volume of Product 1 of meter 1.

00EA 30235 DOUBLE(4 Registers)

Total of Net Volume of Product 1 of meter 1.

00EE 30239 DOUBLE(4 Registers) Total of Weight of Product 1 of meter 1.

0 ÷ 99999999

00F2 30243 DOUBLE(4 Registers)

Gross Volume of Product 1 delivered of meter 1.

00F6 30247 DOUBLE(4 Registers)

Net Volume of Product 1 delivered of meter 1.

00FA 30251 DOUBLE(4 Registers) Weight of Product 1 delivered of meter 1.

0 ÷ 999999999

00FE 30255 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of Product 1 of meter 1.

0102 30259 DOUBLE(4 Registers)

Density used to calculate Weight of Product 1 of meter 1.It depends on method of compensation.

0106 30263 DOUBLE(4 Registers) Total of Gross Volume of Product 2 of meter 1.

010A 30267 DOUBLE(4 Registers) Total of Net Volume of Product 2 of meter 1.

010E 30271 DOUBLE(4 Registers)

Total of Weight of Product 2 of meter 1.

0 ÷ 99999999

0112 30275 DOUBLE(4 Registers) Gross Volume of Product 2 delivered of meter 1.

0116 30279 DOUBLE(4 Registers) Net Volume of Product 2 delivered of meter 1.

011A 30283 DOUBLE(4 Registers)

Weight of Product 2 delivered of meter 1.

0 ÷ 999999999

011E 30287 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of Product 2 of meter 1.

0122 30291 DOUBLE(4 Registers) Density used to calculate Weight of Product 2 of meter 1.

It depends on method of compensation.

Page 27: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°27 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0126 30295 DOUBLE(4 Registers) Total of Gross Volume of Product 3 of meter 1.

012A 30299 DOUBLE(4 Registers)

Total of Net Volume of Product 3 of meter 1.

012E 30303 DOUBLE(4 Registers) Total of Weight of Product 3 of meter 1.

0 ÷ 99999999

0132 30307 DOUBLE(4 Registers)

Gross Volume of Product 3 delivered of meter 1.

0136 30311 DOUBLE(4 Registers)

Net Volume of Product 3 delivered of meter 1.

013A 30315 DOUBLE(4 Registers) Weight of Product 3 delivered of meter 1.

0 ÷ 999999999

013E 30319 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of Product 3 of meter 1.

0142 30323 DOUBLE(4 Registers)

Density used to calculate Weight of Product 3 of meter 1.It depends on method of compensation.

0146 30327 DOUBLE(4 Registers) Flow rate of meter 1.

014A 30331 FLOAT(2 Registers) Average flow rate of batch of meter 1.

014C 30333 FLOAT(2 Registers)

Average flow rate of transaction of meter 1.

0 ÷ 999999

014E 30335 DOUBLE(4 Registers) Temperature of selected product of meter 1.

0152 30339 FLOAT(2 Registers) Average temperature of batch of meter 1.

0154 30341 FLOAT(2 Registers)

Average temperature of transaction of meter 1.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0156 30343 CHAR(1 Register) Request to store data of a leak of meter 1. 0 = No leak to store

1 = Data available to be stored.

0157 30344 STRING(6 Registers)

PIN-CODE of meter 1.If management of PIN CODE is not enable this register is not important. Alphanumerical code.

Page 28: 264_09_EN_00 - MODBUS MANUAL

Page n°28 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

015D 30350 CHAR(1 Register)

Meter disablement situation of meter 1. 0 = Meter enable1 = Meter disable

015E 30351 CHAR(1 Register) Preset valve situation of bottom loading of meter 1.

015F 30352 CHAR(1 Register) Preset valve situation of top loading of meter 1.

0 = Valve closed1 = Low Flow2 = High flow3 = Closing4 = Final adjustment

0160 30353 CHAR(1 Register)

Selected recipe of meter 1.

0= No one1= Recipe 12= Recipe 23= Recipe 34= Recipe 4

0161 30354 STRING(5 Registers) Name of selected Recipe of meter 1. Alphanumerical code.

0166 30359 CHAR(1 Register) Preset closed for max weight reached of meter 1. 0= Preset closed normally

1= Preset closed for max weight reaching.

0167 30360 CHAR(1 Register) Meter ready for a new preset of meter 1. 0= Meter not ready

1= Meter ready0168 30361 (140 Registers) RESERVED

Page 29: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°29 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

01F4 30501 STRING(5 Registers) R.C.E. code of meter 2. ( Code sent by PC MASTER to VEGAII in order to detect a transaction). Alphanumerical code.

01F9 30506CHAR

(1 Register) Status of Transaction of meter 2.

0 = No transaction in progress1 = Transaction in progress2 = Meter not used for transaction in progress3 = Data available to be stored

01FA 30507 CHAR(1 Register)

Type of loading in use of meter 2. 0 = Bottom loading1 = Top loading

01FB 30508 CHAR(1 Register)

Type of preset in use of meter 2. 0 = ATB1 = ATK

01FC 30509 CHAR(1 Register) Code of method of compensation of meter 2. See PROGRAMMING PARAMETERS MANUAL.

01FD 30510 DOUBLE(4 Registers)

Temperature of compensation of meter 2.This register is important only for method of compensation ALFA TbX°C.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0201 30514 INTEGER(2 Registers) Number of transaction of meter 2. 0 ÷ 99999

0203 30516 INTEGER(2 Registers) Number of batch of meter 2. 0 ÷ 999999

0205 30518 CHAR(1 Register) Request of start delivery of meter 2. 0 = No request

1 = Request present

0206 30519 CHAR(1 Register)

Remote stop of meter 2. 0 = Not active1 = Active

0207 30520CHAR

(1 Register) Status of batch of meter 2.

0 = No batch in progress1 = Batch in progress2 = Batch stopped3 = Data available to be stored

0208 30521 CHAR(1 Register)

Flow of product of meter 2. 0 = No flow1 = Flow in progress

0209 30522CHAR

(1 Register) Stop of batch of meter 2.

0 = No stop1 = Stop by operator2 = Stop for faulting of power supply4 = Stop by permissive absence5 = Stop by system alarm6 = Stop by meter alarm7 = Stop by weight & measure switch absence8 = Remote to local commutation

Page 30: 264_09_EN_00 - MODBUS MANUAL

Page n°30 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

020A 30523 CHAR(1 Register)

Code of alarm or permissive that generates stop of meter 2.

This register will contain:- Code of alarm that caused stop if value of

register 30522 is 5 or 6;- Number of input setted as permissive that

caused stop if value of register 30522 is 4.See PROGRAMMING PARAMETERS MANUAL to knowlist of alarm or permissives.

020B 30524 STRING(4 Registers) Unit of measurement of volume of meter 2.

020F 30528 STRING(1 Register) Unit of measurement of weight of meter 2.

0210 30529 STRING(1 Register)

Unit of measurement of temperature of meter 2.

0211 30530 STRING(2 Registers) Unit of measurement of flow rate of meter 2.

0213 30532 STRING(3 Registers)

Unit of measurement of density used to calculate net volume of meter 2.

0216 30535 STRING(3 Registers) Unit of measurement of density used to calculate weight of meter 2.

Alphanumerical code.

0219 30538CHAR

(1 Register) Number of product delivered of meter 2.1 = Product 12 = Product 23 = Product 3

021A 30539 STRING(4 Registers) Name of product delivered of meter 2. Alphanumerical code.

021E 30543 DOUBLE(4 Registers) Preset of meter 2. 0 ÷ 999999

Page 31: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°31 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0222 30547 DOUBLE(4 Registers) Total of Gross Volume of Product 1 of meter 2.

0226 30551 DOUBLE(4 Registers)

Total of Net Volume of Product 1 of meter 2.

022A 30555 DOUBLE(4 Registers) Total of Weight of Product 1 of meter 2.

0 ÷ 99999999

022E 30559 DOUBLE(4 Registers)

Gross Volume of Product 1 delivered of meter 2.

0232 30563 DOUBLE(4 Registers)

Net Volume of Product 1 delivered of meter 2.

0236 30567 DOUBLE(4 Registers) Weight of Product 1 delivered of meter 2.

0 ÷ 999999999

023A 30571 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of Product 1 of meter 2.

023E 30575 DOUBLE(4 Registers)

Density used to calculate Weight of Product 1 of meter 2.It depends on method of compensation.

0242 30579 DOUBLE(4 Registers) Total of Gross Volume of Product 2 of meter 2.

0246 30583 DOUBLE(4 Registers) Total of Net Volume of Product 2 of meter 2.

024A 30587 DOUBLE(4 Registers)

Total of Weight of Product 2 of meter 2.

0 ÷ 99999999

024E 30591 DOUBLE(4 Registers) Gross Volume of Product 2 delivered of meter 2.

0252 30595 DOUBLE(4 Registers) Net Volume of Product 2 delivered of meter 2.

0256 30599 DOUBLE(4 Registers)

Weight of Product 2 delivered of meter 2.

0 ÷ 999999999

025A 30603 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of Product 2 of meter 2.

025E 30607 DOUBLE(4 Registers) Density used to calculate Weight of Product 2 of meter 2.

It depends on method of compensation.

Page 32: 264_09_EN_00 - MODBUS MANUAL

Page n°32 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0262 30611 DOUBLE(4 Registers) Total of Gross Volume of Product 3 of meter 2.

0266 30615 DOUBLE(4 Registers)

Total of Net Volume of Product 3 of meter 2.

026A 30619 DOUBLE(4 Registers) Total of Weight of Product 3 of meter 2.

0 ÷ 99999999

026E 30623 DOUBLE(4 Registers)

Gross Volume of Product 3 delivered of meter 2.

0272 30627 DOUBLE(4 Registers)

Net Volume of Product 3 delivered of meter 2.

0276 30631 DOUBLE(4 Registers) Weight of Product 3 delivered of meter 2.

0 ÷ 999999999

027A 30635 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of Product 3 of meter 2.

027E 30639 DOUBLE(4 Registers)

Density used to calculate Weight of Product 3 of meter 2.It depends on method of compensation.

0282 30643 DOUBLE(4 Registers) Flow rate of meter 2.

0286 30647 FLOAT(2 Registers) Average flow rate of batch of meter 2.

0288 30649 FLOAT(2 Registers)

Average flow rate of transaction of meter 2.

0 ÷ 999999

028A 30651 DOUBLE(4 Registers) Temperature of selected product of meter 2.

028E 30655 FLOAT(2 Registers) Average temperature of batch of meter 2.

0290 30657 FLOAT(2 Registers)

Average temperature of transaction of meter 2.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0292 30659 CHAR(1 Register) Request to store data of a leak of meter 2. 0 = No leak to store

1 = Data available to be stored.

0293 30660 STRING(6 Registers)

PIN-CODE of meter 2.If management of PIN CODE is not enable this register is not important. Alphanumerical code.

Page 33: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°33 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

ADDRESS(HEX)

REGISTER(DECIMAL)

DATA FORMAT DESCRIPTION VALUES

0299 30666 CHAR(1 Register) Meter disablement situation of meter 2. 0 = Meter enable

1 = Meter disable

029A 30667 CHAR(1 Register)

Preset valve situation of bottom loading of meter 2.

029B 30668 CHAR(1 Register)

Preset valve situation of top loading of meter 2.

0 = Valve closed1 = Low Flow2 = High flow3 = Closing4 = Final adjustment

029C 30669 CHAR(1 Register) Selected recipe of meter 2.

5= No one6= Recipe 17= Recipe 28= Recipe 39= Recipe 4

029D 30670 STRING(5 Registers)

Name of selected Recipe of meter 2. Alphanumerical code.

02A2 30675 CHAR(1 Register)

Preset closed for max weight reached of meter 2. 0= Preset closed normally1= Preset closed for max weight reaching.

02A3 30676 CHAR(1 Register) Meter ready for a new preset of meter 2. 0= Meter not ready

1= Meter ready02A4 30677 (140 Registers) RESERVED

Page 34: 264_09_EN_00 - MODBUS MANUAL

Page n°34 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST BATCH OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

02EE 30751 INTEGER(2 Registers) Number of batch of meter 1. 0 ÷ 999999

02F0 30753 STRING(4 Registers)

Date of start of batch of meter 1. DD/MM/YY

02F4 30757 STRING(4 Registers) Hour of start of batch of meter 1. HH:MM:SS

02F8 30761 STRING(4 Registers) Date of end of batch of meter 1. DD/MM/YY

02FC 30765 STRING(4 Registers) Hour of end of batch of meter 1. HH:MM:SS

0300 30769 STRING(4 Registers) Unit of measurement of Volume of meter 1.

0304 30773 STRING(1 Register) Unit of measurement of Weight of meter 1.

0305 30774 STRING(1 Register)

Unit of measurement of Temperature of meter 1.

0306 30775 STRING(2 Registers) Unit of measurement of Flow Rate of meter 1.

0308 30777 STRING(3 Registers)

Unit of measurement of density used to calculate Net Volume of meter 1.

030B 30780 STRING(3 Registers) Unit of measurement of density used to calculate Weight of meter 1.

Alphanumerical code.

030E 30783 CHAR(1 Register)

Method of compensation of meter 1. It depends on method of compensation.

030F 30784CHAR

(1 Register) Delivered product of meter 1.1 = Product12 = Product 23 = Product 3

0310 30785 STRING(4 Registers) Name of delivered product of meter 1. Alphanumerical code.

0314 30789 DOUBLE(4 Registers) Presetted quantity of delivered product of meter 1.

0318 30793 FLOAT(2 Registers) Flow rate of delivered product of meter 1.

0 ÷ 999999

Page 35: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°35 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST BATCH OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

031A 30795 DOUBLE(4 Registers)

Average temperature of delivered product of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

031C 30797 DOUBLE(4 Registers)

Totals of Gross Volume of delivered product at the start of batch of meter 1.

0320 30801 DOUBLE(4 Registers) Totals of Net Volume of delivered product at the start of batch of meter 1.

0324 30805 DOUBLE(4 Registers) Totals of Weight of delivered product at the start of batch of meter 1.

0328 30809 DOUBLE(4 Registers)

Totals of Gross Volume of delivered product at the end of batch of meter 1.

032C 30813 DOUBLE(4 Registers) Totals of Net Volume of delivered product at the end of batch of meter 1.

0330 30817 DOUBLE(4 Registers)

Totals of Weight of delivered product at the end of batch of meter 1.

0 ÷ 99999999

0334 30821 DOUBLE(4 Registers) Gross volume delivered of meter 1.

0338 30825 DOUBLE(4 Registers) Net volume delivered of meter 1.

033C 30829 DOUBLE(4 Registers)

Weight delivered of meter 1.

0 ÷ 999999999

0340 30833 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of meter 1.

0344 30837 CHAR(1 Register) Density used to calculate Weight of meter 1.

It depends on method of compensation.

0348 30841 STRING(5 Registers)

Recipe selected of meter 1.If additivation is not managed or MBS is managed by serial line communication these byte will beblanks. (0x20)

0 = Additivation deisabled1 = Recipe 12 = Recipe 23 = Recipe 34 = Recipe 4

0349 30842 STRING(5 Registers) Name of selected recipe of meter 1. Alphanumerical code.

034E 30847 (104 Registers) RESERVED

Page 36: 264_09_EN_00 - MODBUS MANUAL

Page n°36 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST BATCH OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

03B6 30951 INTEGER(2 Registers)

Number of batch of meter 2. 0 ÷ 999999

03B8 30953 STRING(4 Registers) Date of start of batch of meter 2. DD/MM/YY

03BC 30957 STRING(4 Registers) Hour of start of batch of meter 2. HH:MM:SS

03C0 30961 STRING(4 Registers) Date of end of batch of meter 2. DD/MM/YY

03C4 30965 STRING(4 Registers) Hour of end of batch of meter 2. HH:MM:SS

03C8 30969 STRING(4 Registers)

Unit of measurement of Volume of meter 2.

03CC 30973 STRING(1 Register)

Unit of measurement of Weight of meter 2.

03CD 30974 STRING(1 Register) Unit of measurement of Temperature of meter 2.

03CE 30975 STRING(2 Registers)

Unit of measurement of Flow Rate of meter 2.

03D0 30977 STRING(3 Registers)

Unit of measurement of density used to calculate Net Volume of meter 2.

03D3 30980 STRING(3 Registers) Unit of measurement of density used to calculate Weight of meter 2.

Alphanumerical code.

03D6 30983 CHAR(1 Register)

Method of compensation of meter 2. It depends on method of compensation.

03D7 30984CHAR

(1 Register) Delivered product of meter 2.1 = Product12 = Product 23 = Product 3

03D8 30985 STRING(4 Registers) Name of delivered product of meter 2. Alphanumerical code.

03DC 30989 DOUBLE(4 Registers)

Presetted quantity of delivered product of meter 2.

03E0 30993 FLOAT(2 Registers)

Flow rate of delivered product of meter 2.0 ÷ 999999

Page 37: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°37 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST BATCH OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

03E2 30995 DOUBLE(4 Registers)

Average temperature of delivered product of meter 2.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0-40.0 ÷ 392.0

03E4 30997 DOUBLE(4 Registers) Totals of Gross Volume of delivered product at the start of batch of meter 2.

03E8 31001 DOUBLE(4 Registers) Totals of Net Volume of delivered product at the start of batch of meter 2.

03EC 31005 DOUBLE(4 Registers)

Totals of Weight of delivered product at the start of batch of meter 2.

03F0 31009 DOUBLE(4 Registers) Totals of Gross Volume of delivered product at the end of batch of meter 2.

03F4 31013 DOUBLE(4 Registers)

Totals of Net Volume of delivered product at the end of batch of meter 2.

03F8 31017 DOUBLE(4 Registers)

Totals of Weight of delivered product at the end of batch of meter 2.

0 ÷ 99999999

03FC 31021 DOUBLE(4 Registers) Gross volume delivered of meter 2.

0400 31025 DOUBLE(4 Registers)

Net volume delivered of meter 2.

0404 31029 DOUBLE(4 Registers)

Weight delivered of meter 2.

0 ÷ 999999999

0408 31033 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of meter 2.

040C 31037 CHAR(1 Register) Density used to calculate Weight of meter 2.

It depends on method of compensation.

0410 31041 STRING(5 Registers)

Recipe selected of meter 2.If additivation is not managed or MBS is managed by serial line communication these byte will beblanks. (0x20)

0 = Additivation deisabled1 = Recipe 12 = Recipe 23 = Recipe 34 = Recipe 4

0411 31042 STRING(5 Registers) Name of selected recipe of meter 2. Alphanumerical code.

0416 31047 (104 Registers) RESERVED

Page 38: 264_09_EN_00 - MODBUS MANUAL

Page n°38 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST TRANSACTION OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

047E 31151 INTEGER(2 Registers)

Number of transaction of meter 1. 0 ÷ 99999

0480 31153 STRING(4 Registers) Date of start of transaction of meter 1. DD/MM/YY

0484 31157 STRING(4 Registers) Hour of start of transaction of meter 1. HH:MM:SS

0488 31161 STRING(4 Registers) Date of end of transaction of meter 1. DD/MM/YY

048C 31165 STRING(4 Registers) Hour of end of transaction of meter 1. HH:MM:SS

0490 31169 STRING(4 Registers)

Unit of measurement of Volume of meter 1.

0494 31173 STRING(1 Register)

Unit of measurement of Weight of meter 1.

0495 31174 STRING(1 Register) Unit of measurement of Temperature of meter 1.

0496 31175 STRING(2 Registers)

Unit of measurement of Flow Rate of meter 1.

0498 31177 STRING(3 Registers)

Unit of measurement of density used to calculate Net Volume of meter 1.

049B 31180 STRING(3 Registers) Unit of measurement of density used to calculate Weight of meter 1.

Alphanumerical code.

049E 31183 CHAR(1 Register)

Method of compensation of meter 1. It depends on method of compensation.

049F 31184 STRING(4 Registers)

Name of product 1 of meter 1. Alphanumerical code.

04A3 31188 CHAR(1 Register) Enabling of product 1 of meter 1. 0 = Product not enabled

1 = Product enabled

04A4 31189 DOUBLE(4 Registers) Presetted quantity of product 1 of meter 1. 0 ÷ 999999

Page 39: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°39 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST TRANSACTION OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

04A8 31193 FLOAT(2 Registers) Average flow rate of product 1 of meter 1. 0 ÷ 999999

04AA 31195 FLOAT(2 Registers)

Average temperature of product 1 of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

04AC 31197 DOUBLE(4 Registers) Totals of Gross Volume of product 1 at the start of batch of meter 1.

04B0 31201 DOUBLE(4 Registers) Totals of Net Volume of product 1 at the start of batch of meter 1.

04B4 31205 DOUBLE(4 Registers)

Totals of Weight of product 1 at the start of batch of meter 1.

04B8 31209 DOUBLE(4 Registers)

Totals of Gross Volume of product 1 at the end of batch of meter 1.

04BC 31213 DOUBLE(4 Registers) Totals of Net Volume of product 1 at the end of batch of meter 1.

04C0 31217 DOUBLE(4 Registers)

Totals of Weight of product 1 at the end of batch of meter 1.

0 ÷ 99999999

04C4 31221 DOUBLE(4 Registers) Gross volume of product 1 delivered of meter 1.

04C8 31225 DOUBLE(4 Registers) Net volume of product 1 delivered of meter 1.

04CC 31229 DOUBLE(4 Registers)

Weight of product 1 delivered of meter 1.

0 ÷ 999999999

04D0 31233 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of product 1 of meter 1.

04D4 31237 DOUBLE(4 Registers) Density used to calculate Weight of product 1 of meter 1.

It depends on method of compensation.

04D8 31241 (60 Registers) RESERVED

Page 40: 264_09_EN_00 - MODBUS MANUAL

Page n°40 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST TRANSACTION OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0514 31301 STRING(4 Registers) Name of product 2 of meter 1. Alphanumerical code.

0518 31305 CHAR(1 Register)

Enabling of product 2 of meter 1. 0 = Product not enabled1 = Product enabled

0519 31306 DOUBLE(4 Registers) Presetted quantity of product 2 of meter 1.

051D 31310 FLOAT(2 Registers) Average flow rate of product 2 of meter 1.

0 ÷ 999999

051F 31312 FLOAT(2 Registers)

Average temperature of product 2 of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0521 31314 DOUBLE(4 Registers)

Totals of Gross Volume of product 2 at the start of batch of meter 1.

0525 31318 DOUBLE(4 Registers)

Totals of Net Volume of product 2 at the start of batch of meter 1.

0529 31322 DOUBLE(4 Registers) Totals of Weight of product 2 at the start of batch of meter 1.

052D 31326 DOUBLE(4 Registers)

Totals of Gross Volume of product 2 at the end of batch of meter 1.

0531 31330 DOUBLE(4 Registers) Totals of Net Volume of product 2 at the end of batch of meter 1.

0535 31334 DOUBLE(4 Registers) Totals of Weight of product 2 at the end of batch of meter 1.

0 ÷ 99999999

0539 31338 DOUBLE(4 Registers)

Gross volume of product 2 delivered of meter 1.

053D 31342 DOUBLE(4 Registers) Net volume of product 2 delivered of meter 1.

0541 31346 DOUBLE(4 Registers) Weight of product 2 delivered of meter 1.

0 ÷ 999999999

0545 31350 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of product 2 of meter 1.

0549 31354 DOUBLE(4 Registers)

Density used to calculate Weight of product 2 of meter 1.It depends on method of compensation.

054D 31358 (43 Registers) RESERVED

Page 41: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°41 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST TRANSACTION OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0578 31401 STRING(4 Registers) Name of product 3 of meter 1. Alphanumerical code.

057C 31405 CHAR(1 Register)

Enabling of product 3 of meter 1. 0 = Product not enabled1 = Product enabled

057D 31406 DOUBLE(4 Registers) Presetted quantity of product 3 of meter 1. 0 ÷ 999999

0581 31410 FLOAT(2 Registers) Average flow rate of product 3 of meter 1. 0 ÷ 999999

0583 31412 FLOAT(2 Registers)

Average temperature of product 3 of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0585 31414 DOUBLE(4 Registers) Totals of Gross Volume of product 3 at the start of batch of meter 1.

0589 31418 DOUBLE(4 Registers) Totals of Net Volume of product 3 at the start of batch of meter 1.

058D 31422 DOUBLE(4 Registers)

Totals of Weight of product 3 at the start of batch of meter 1.

0591 31426 DOUBLE(4 Registers) Totals of Gross Volume of product 3 at the end of batch of meter 1.

0595 31430 DOUBLE(4 Registers)

Totals of Net Volume of product 3 at the end of batch of meter 1.

0599 31434 DOUBLE(4 Registers) Totals of Weight of product 3 at the end of batch of meter 1.

0 ÷ 99999999

059D 31438 DOUBLE(4 Registers)

Gross volume of product 3 delivered of meter 1.

05A1 31442 DOUBLE(4 Registers)

Net volume of product 3 delivered of meter 1.

05A5 31446 DOUBLE(4 Registers) Weight of product 3 delivered of meter 1.

0 ÷ 999999999

05A9 31450 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of product 3 of meter 1.

05AD 31454 DOUBLE(4 Registers)

Density used to calculate Weight of product 3 of meter 1.It depends on method of compensation.

05B1 31458 (93 Registers) RESERVED

Page 42: 264_09_EN_00 - MODBUS MANUAL

Page n°42 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST TRANSACTION OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

060E 31551 INTEGER(2 Registers)

Number of transaction of meter 2. 0 ÷ 99999

0610 31553 STRING(4 Registers) Date of start of transaction of meter 2. DD/MM/YY

0614 31557 STRING(4 Registers) Hour of start of transaction of meter 2. HH:MM:SS

0618 31561 STRING(4 Registers) Date of end of transaction of meter 2. DD/MM/YY

061C 31565 STRING(4 Registers) Hour of end of transaction of meter 2. HH:MM:SS

0620 31569 STRING(4 Registers)

Unit of measurement of Volume of meter 2.

0624 31573 STRING(1 Register)

Unit of measurement of Weight of meter 2.

0625 31574 STRING(1 Register) Unit of measurement of Temperature of meter 2.

0626 31575 STRING(2 Registers)

Unit of measurement of Flow Rate of meter 2.

0628 31577 STRING(3 Registers)

Unit of measurement of density used to calculate Net Volume of meter 2.

062B 31580 STRING(3 Registers) Unit of measurement of density used to calculate Weight of meter 2.

Alphanumerical code.

062E 31583 CHAR(1 Register)

Method of compensation of meter 2. It depends on method of compensation.

062F 31584 STRING(4 Registers)

Name of product 1 of meter 2. Alphanumerical code.

0633 31588 CHAR(1 Register) Enabling of product 1 of meter 2. 0 = Product not enabled

1 = Product enabled

0634 31589 DOUBLE(4 Registers) Presetted quantity of product 1 of meter 2. 0 ÷ 999999

Page 43: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°43 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST TRANSACTION OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

063A 31595 FLOAT(2 Registers) Average flow rate of product 1 of meter 2. 0 ÷ 999999

063C 31597 FLOAT(2 Registers)

Average temperature of product 1 of meter 2.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0640 31601 DOUBLE(4 Registers) Totals of Gross Volume of product 1 at the start of batch of meter 2.

0644 31605 DOUBLE(4 Registers) Totals of Net Volume of product 1 at the start of batch of meter 2.

0648 31609 DOUBLE(4 Registers)

Totals of Weight of product 1 at the start of batch of meter 2.

064C 31613 DOUBLE(4 Registers)

Totals of Gross Volume of product 1 at the end of batch of meter 2.

0650 31617 DOUBLE(4 Registers) Totals of Net Volume of product 1 at the end of batch of meter 2.

0654 31621 DOUBLE(4 Registers)

Totals of Weight of product 1 at the end of batch of meter 2.

0 ÷ 99999999

0658 31625 DOUBLE(4 Registers) Gross volume of product 1 delivered of meter 2.

065C 31629 DOUBLE(4 Registers) Net volume of product 1 delivered of meter 2.

0660 31633 DOUBLE(4 Registers)

Weight of product 1 delivered of meter 2.

0 ÷ 999999999

0664 31637 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of product 1 of meter 2.

0668 31641 DOUBLE(4 Registers) Density used to calculate Weight of product 1 of meter 2.

It depends on method of compensation.

063A 31595 (60 Registers) RESERVED

Page 44: 264_09_EN_00 - MODBUS MANUAL

Page n°44 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST TRANSACTION OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

06A4 31701 STRING(4 Registers) Name of product 2 of meter 2. Alphanumerical code.

06A8 31705 CHAR(1 Register)

Enabling of product 2 of meter 2. 0 = Product not enabled1 = Product enabled

06A9 31706 DOUBLE(4 Registers) Presetted quantity of product 2 of meter 2.

06AD 31710 FLOAT(2 Registers) Average flow rate of product 2 of meter 2.

0 ÷ 999999

06AF 31712 FLOAT(2 Registers)

Average temperature of product 2 of meter 2.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

06B1 31714 DOUBLE(4 Registers)

Totals of Gross Volume of product 2 at the start of batch of meter 2.

06B5 31718 DOUBLE(4 Registers)

Totals of Net Volume of product 2 at the start of batch of meter 2.

06B9 31722 DOUBLE(4 Registers) Totals of Weight of product 2 at the start of batch of meter 2.

06BD 31726 DOUBLE(4 Registers)

Totals of Gross Volume of product 2 at the end of batch of meter 2.

06C1 31730 DOUBLE(4 Registers) Totals of Net Volume of product 2 at the end of batch of meter 2.

06C5 31734 DOUBLE(4 Registers) Totals of Weight of product 2 at the end of batch of meter 2.

0 ÷ 99999999

06C9 31738 DOUBLE(4 Registers)

Gross volume of product 2 delivered of meter 2.

06CD 31742 DOUBLE(4 Registers) Net volume of product 2 delivered of meter 2.

06D1 31746 DOUBLE(4 Registers) Weight of product 2 delivered of meter 2.

0 ÷ 999999999

06D5 31750 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of product 2 of meter 2.

06D9 31754 DOUBLE(4 Registers)

Density used to calculate Weight of product 2 of meter 2.It depends on method of compensation.

06DD 31758 (43 Registers) RESERVED

Page 45: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°45 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST TRANSACTION OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0708 31801 STRING(4 Registers) Name of product 3 of meter 2. Alphanumerical code.

070C 31805 CHAR(1 Register)

Enabling of product 3 of meter 2. 0 = Product not enabled1 = Product enabled

070D 31806 DOUBLE(4 Registers) Presetted quantity of product 3 of meter 2.

0711 31810 FLOAT(2 Registers) Average flow rate of product 3 of meter 2.

0 ÷ 999999

0713 31812 FLOAT(2 Registers)

Average temperature of product 3 of meter 2.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

0715 31814 DOUBLE(4 Registers)

Totals of Gross Volume of product 3 at the start of batch of meter 2.

0719 31818 DOUBLE(4 Registers)

Totals of Net Volume of product 3 at the start of batch of meter 2.

071D 31822 DOUBLE(4 Registers) Totals of Weight of product 3 at the start of batch of meter 2.

0721 31826 DOUBLE(4 Registers)

Totals of Gross Volume of product 3 at the end of batch of meter 2.

0725 31830 DOUBLE(4 Registers) Totals of Net Volume of product 3 at the end of batch of meter 2.

0729 31834 DOUBLE(4 Registers) Totals of Weight of product 3 at the end of batch of meter 2.

0 ÷ 99999999

072D 31838 DOUBLE(4 Registers)

Gross volume of product 3 delivered of meter 2.

0731 31842 DOUBLE(4 Registers) Net volume of product 3 delivered of meter 2.

0735 31846 DOUBLE(4 Registers) Weight of product 3 delivered of meter 2.

0 ÷ 999999999

0739 31850 DOUBLE(4 Registers)

Density or alpha used to calculate Net Volume of product 3 of meter 2.

073D 31854 DOUBLE(4 Registers)

Density used to calculate Weight of product 3 of meter 2.It depends on method of compensation.

0741 31858 (85 Registers) RESERVED

Page 46: 264_09_EN_00 - MODBUS MANUAL

Page n°46 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST LEAK OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

079E 31951 STRING(4 Registers) Date of end of leak of meter 1. DD/MM/YY

07A2 31955 STRING(4 Registers)

Hour of end of leak of meter 1. HH:MM:SS

07A6 31959 STRING(4 Registers) Unit of measurement of Volume of meter 1.

07AA 31963 STRING(1 Register) Unit of measurement of Weight of meter 1.

07AB 31964 STRING(1 Register)

Unit of measurement of Temperature of meter 1.

07AC 31965 STRING(2 Registers)

Unit of measurement of Flow Rate of meter 1.

07AE 31967 STRING(3 Registers) Unit of measurement of density used to calculate Net Volume of meter 1.

07B1 31970 STRING(3 Registers)

Unit of measurement of density used to calculate Weight of meter 1.

Alphanumerical code.

07B4 31973 CHAR(1 Register) Method of compensation of meter 1. It depends on method of compensation.

07B5 31974CHAR

(1 Register) Number of Selected product of meter 1.1 = Product 12 = Product 23 = Product 3

07B6 31975 STRING(4 Registers)

Name of product of meter 1. Alphanumerical code.

07BA 31979 FLOAT(2 Registers) Average flow rate of product of meter 1. 000000 ÷ 999999

07BC 31981 FLOAT(2 Registers)

Average temperature of product of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

Page 47: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°47 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST LEAK OF METER 1

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

07BE 31983 DOUBLE(4 Registers) Totals of Gross Volume of delivered product at the start of leak of meter 1.

07C2 31987 DOUBLE(4 Registers)

Totals of Net Volume of delivered product at the start of leak of meter 1.

07C6 31991 DOUBLE(4 Registers) Totals of Weight of delivered product at the start of leak of meter 1.

07CA 31995 DOUBLE(4 Registers)

Totals of Gross Volume of delivered product at the end of leak of meter 1.

07CE 31999 DOUBLE(4 Registers) Totals of Net Volume of delivered product at the end of leak of meter 1.

07D2 32003 DOUBLE(4 Registers)

Totals of Weight of delivered product at the end of leak of meter 1.

00000000 ÷ 99999999

07D6 32007 DOUBLE(4 Registers) Gross volume delivered of meter 1.

07DA 32011 DOUBLE(4 Registers) Net volume delivered of meter 1.

07DE 32015 DOUBLE(4 Registers)

Weight delivered of meter 1.

0 ÷ 999999999

07E2 32019 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of meter 1.

07E6 32023 DOUBLE(4 Registers) Density used to calculate Weight of meter 1.

It depends on method of compensation.

07EA 32027 (74 Registers) RESERVED

Page 48: 264_09_EN_00 - MODBUS MANUAL

Page n°48 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

DATA OF LAST LEAK OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0834 32101 STRING(4 Registers)

Date of end of leak of meter 1. DD/MM/YY

0838 32105 STRING(4 Registers) Hour of end of leak of meter 1. HH:MM:SS

083C 32109 STRING(4 Registers) Unit of measurement of Volume of meter 1.

0840 32113 STRING(1 Register) Unit of measurement of Weight of meter 1.

0841 32114 STRING(1 Register)

Unit of measurement of Temperature of meter 1.

0842 32115 STRING(2 Registers) Unit of measurement of Flow Rate of meter 1.

0844 32117 STRING(3 Registers)

Unit of measurement of density used to calculate Net Volume of meter 1.

0847 32120 STRING(3 Registers) Unit of measurement of density used to calculate Weight of meter 1.

Alphanumerical code.

084A 32123 CHAR(1 Register) Method of compensation of meter 1. It depends on method of compensation.

084B 32124CHAR

(1 Register) Number of Selected product of meter 1.1 = Product 12 = Product 23 = Product 3

084C 32125 STRING(4 Registers) Name of product of meter 1. Alphanumerical code.

0850 32129 FLOAT(2 Registers) Average flow rate of product of meter 1. 000000 ÷ 999999

0852 32131 FLOAT(2 Registers)

Average temperature of product of meter 1.N.B. Value of this register will be –100 until average temperature is not calculated.

-40.0 ÷ 200.0 °C-40.0 ÷ 392.0 °F

Page 49: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°49 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

DATA OF LAST LEAK OF METER 2

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0854 32133 DOUBLE(4 Registers) Totals of Gross Volume of delivered product at the start of leak of meter 1.

0858 32137 DOUBLE(4 Registers)

Totals of Net Volume of delivered product at the start of leak of meter 1.

085C 32141 DOUBLE(4 Registers) Totals of Weight of delivered product at the start of leak of meter 1.

0860 32145 DOUBLE(4 Registers)

Totals of Gross Volume of delivered product at the end of leak of meter 1.

0864 32149 DOUBLE(4 Registers) Totals of Net Volume of delivered product at the end of leak of meter 1.

0868 32153 DOUBLE(4 Registers)

Totals of Weight of delivered product at the end of leak of meter 1.

00000000 ÷ 99999999

086C 32157 DOUBLE(4 Registers) Gross volume delivered of meter 1.

0870 32161 DOUBLE(4 Registers) Net volume delivered of meter 1.

0874 32165 DOUBLE(4 Registers)

Weight delivered of meter 1.

0 ÷ 999999999

0878 32169 DOUBLE(4 Registers) Density or alpha used to calculate Net Volume of meter 1.

087C 32173 DOUBLE(4 Registers) Density used to calculate Weight of meter 1.

It depends on method of compensation.

0880 32177 (74 Registers) RESERVED

Page 50: 264_09_EN_00 - MODBUS MANUAL

Page n°50 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Map of address of “HOLDING REGISTERS”

ADDRESS(HEX)

REGISTER(DECIMAL) DATA FORMAT DESCRIPTION VALUES

0000 40001 (64 registers) Register reserved for sub-function. Values are different for each sub-function.

0040 40065CHAR

(1 register)

Result of an execution of a sub-function.Value of this register normally is 0xFF. It changes when a sub-function is executed. Code of resultwill be present until first reading of register.

Values are written in “SUB-FUNCTION REPLY CODETABLE”.************* READ ONLY ************

Page 51: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°51 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

5 SUB-FUNCTIONSIn this section will be described structure of sub-functions.This messages, not standard in ModBus protocol, must be used to manage remote automation of a loading.

? How use sub-functionsTo use sub-function you must follow these steps:- Send a message of write of “HOLDING REGISTER” (function code 16: WRITE MULTIPLE REGISTERS) starting from address 0000 with different values of

registers for each sub-function.- Verify result of execution of sub-function reading register 40064. If value is different of 0xFF you have code of reply.

Page 52: 264_09_EN_00 - MODBUS MANUAL

Page n°52 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 01 “START TRANSACTION”

Used for : enabling a meter for a new transaction specifying characteristics loading.Reset displayed quantities.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x23 0x237 ÷ 7 1 CHAR Number of bytes. 0x46 0x46

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x01 0x01

11 ÷ 20 10 STRING R.C.E. code ( Code sent by PC MASTER to VEGAII in order to detect a transaction). Alphanumerical code.

“CARICO1234 “0x43 0x410x52 0x490x43 0x4F0x31 0x320x33 0x34

21 ÷ 21 1 CHAR Enabling Product 1. 0x30 = Disabling0x31 = Enabling 0x31

22 ÷ 29 8 DOUBLE Density or alpha used to calculate Net Volume of Product 1. It depends on method of compensation.

0,0010000x3F 0x500x62 0x4D0xD2 0xF10xA9 0xFC

30 ÷ 37 8 DOUBLE Density used to calculate Weight of Product 1. It depends on method of compensation.

820.10x40 0x890xA0 0xCC0xCC 0xCC0xCC 0xCD

Page 53: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°53 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

38 ÷ 38 1 CHAR Enabling Product 2. 0x30 = Disabling0x31 = Enabling 0x31

39 ÷ 46 8 DOUBLE Density or alpha used to calculate Net Volume of Product 2. It depends on method of compensation.

0,0010000x3F 0x500x62 0x4D0xD2 0xF10xA9 0xFC

47 ÷ 54 8 DOUBLE Density used to calculate Weight of Product 2. It depends on method of compensation.

820,10x40 0x890xA0 0xCC0xCC 0xCC0xCC 0xCD

55 ÷ 55 1 CHAR Enabling Product 3. 0x30 = Disabling0x31 = Enabling

0x31

56 ÷ 63 8 DOUBLE Density or alpha used to calculate Net Volume of Product 3. It depends on method of compensation.

0,0010000x3F 0x500x62 0x4D0xD2 0xF10xA9 0xFC

64 ÷ 71 8 DOUBLE Density used to calculate Weight of Product 3. It depends on method of compensation.

820.10x40 0x890xA0 0xCC0xCC 0xCC0xCC 0xCD

Page 54: 264_09_EN_00 - MODBUS MANUAL

Page n°54 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

72 ÷ 72 1 CHAROperation mode.In semiautomatic mode you mustn’t send message 02 or 03 because product and preset aresetted by operator on VEGAII.

0x30 = Semiautomatic0x31 = Automatic0x32 = Not used

0x31

73 ÷ 73 1 CHAR Loading selection0x30 = Bottom loading0x31 = Top loading0x32 = By loading selector

0x30

74 ÷ 74 1 CHAR Preset selection.0x30 = ATB0x31 = ATK0x32 = By preset selector

0x30

75 ÷ 75 1 CHAR Bypass overfilling. 0x30 = Overfilling managed0x31 = Overfilling bypassed

0x30

76 ÷ 76 1 CHAR Control of PIN CODE.If management of pin code is not enabled this field is not important.

0x30 = PIN CODE not valid0x31 = PIN CODE valid

0x31

77 ÷ 77 1 CHAR

Management of start requestIf this byte is setted to 0x31 sub-function 04 “START DELIVERY” has to be sent after arequest of start by operator on VEGAII.If position 73 (LOADING SELECTION) is setted to 2 and the loading type will set to TOP thiswill not considered.

0x30 = Disabled0x31 = Enabled

0x31

78 ÷ 78 1 CHAR CRC 16 of message (LO). 0x1179 ÷ 79 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0xFD

Page 55: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°55 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 02 “PRESET”

Used for : set a new preset for batch.This message can be sent after a sub-function 01 valid.After this message VEGAII goes in “wait start phase”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x06 0x0A7 ÷ 7 1 CHAR Number of bytes. 0x0B 0x14

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2

0x31

9 ÷ 9 1 CHAR Product addressed.0x31 = Product 10x32 = Product 20x33 = Product 3

0x31

10 ÷ 10 1 CHAR Sub-function code. 0x02 0x02

11 ÷ 18 8 DOUBLE Preset. 000000 ÷ 999999

20000x40 0x9F0x40 0x000x00 0x000x00 0x00

19 ÷ 26 8 DOUBLE

Max weight.This field ha sto be filled if VEGAII has to close the batch at reaching:- the volume setted in the last field.- The weight setted in this field.This field has processed if the unit of measurement of preset is a volume.To no use this feature fill the field with 0x20 (blanks).

000000 ÷ 999999

15000x40 0x970x70 0x000x00 0x000x00 0x00

27 ÷ 27 1 CHAR Reserved 0x00 0x0028 ÷ 28 1 CHAR CRC 16 of message (LO). Value calculated as shown at page 9. 0x8B29 ÷ 29 1 CHAR CRC 16 of message (HI). 0x69

Page 56: 264_09_EN_00 - MODBUS MANUAL

Page n°56 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 03 “MODIFY PRESET”

Used for : modify of preset during a batch.This message can be sent during a batch with delivery stopped for set a new preset major or equal than quantity delivered.After this message VEGAII is in “stop delivery phase”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x06 0x0A7 ÷ 7 1 CHAR Number of bytes. 0x0B 0x14

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2

0x31

9 ÷ 9 1 CHAR Product addressed.0x31 = Product 10x32 = Product 20x33 = Product 3

0x31

10 ÷ 10 1 CHAR Sub-function code. 0x03 0x03

11 ÷ 18 8 DOUBLE Preset. 000000 ÷ 999999

20000x40 0x9F0x40 0x000x00 0x000x00 0x00

19 ÷ 26 8 DOUBLE

Max weight.This field ha sto be filled if VEGAII has to close the batch at reaching:- the volume setted in the last field.- The weight setted in this field.This field has processed if the unit of measurement of preset is a volume.To no use this feature fill the field with 0x20 (blanks).

000000 ÷ 999999

15000x40 0x970x70 0x000x00 0x000x00 0x00

27 ÷ 27 1 CHAR Reserved 0x00 0x0028 ÷ 28 1 CHAR CRC 16 of message (LO). 0xDA29 ÷ 29 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x95

Page 57: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°57 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 04 “START DELIVERY”

Used for : starting delivery of product.This message has to be sent when meter is in “wait start delivery”.If byte 77 of sub-function 01 is setted to 0x31 this message has to be sent after a request of start by operator (register 30201).

POSIZIONE

MSB ÷ LSBNUMERO

BYTEFORMATO

CAMPO DESCRIZIONE CAMPO VALORI ASSOCIABILI ESEMPIO(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x07 0x077 ÷ 7 1 CHAR Number of bytes. 0x1E 0x0E

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2

0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x04 0x04

11 ÷ 20 10 STRING R.C.E. code ( Code sent by PC MASTER to VEGAII in order to detect a transaction). Alphanumerical code.

“CARICO1234 “0x43 0x410x52 0x490x43 0x4F0x31 0x320x33 0x34

21 ÷ 21 1 CHAR

Enabling additivation.If additivation is not managed or MBS is managed by serial line communication this byte willnot considered.

0x30 = Additivation not enabled0x31 = Recipe 10x32 = Recipe 20x33 = Recipe 30x34 = Recipe 4

0x30

22 ÷ 22 1 CHAR CRC 16 of message (LO). 0x4423 ÷ 23 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x50

Page 58: 264_09_EN_00 - MODBUS MANUAL

Page n°58 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 05 “STOP DELIVERY”

Used for : - go out from a remote stop condition;- go in remote stop condition;- clear a request of start.This message can be sent during a delivery or in “wait start phase”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x05 0x05

11 ÷ 11 1 CHAR Remote stop.0x30 = go out from remote stop mode0x31 = go in remote stop mode0x32 = Reset request of start

0x31

12 ÷ 12 1 CHAR CRC 16 of message (LO). 0x3F13 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0xD8

Page 59: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°59 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 06 “TERMINATE BATCH”

Used for : terminate batch before reach presetted quantity.This message can be sent during a stop delivery.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x06 0x0611 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xFE13 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0xFC

Page 60: 264_09_EN_00 - MODBUS MANUAL

Page n°60 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 07 “TRANSACTION CLOSING”

Used for : close transaction in progress.This message can be sent during a transaction with no batch in progress.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x07 0x0711 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xFF13 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x6C

Page 61: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°61 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 11 (0B Hex) “BATCH DATA STORED”

Used for : confirm that data of last batch are stored by PC MASTER.Reset register 30203 “Status of batch”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2

0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x0B 0x0B11 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xFA13 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x6C

Page 62: 264_09_EN_00 - MODBUS MANUAL

Page n°62 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 12 (0C Hex) “TRANSACTION DATA STORED”

Used for : confirm that data of last transaction are stored by PC MASTER.Reset register 30189 “Status of transaction”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x0C 0x0C11 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xF813 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x5C

Page 63: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°63 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 13 (0D Hex) “LEAK DATA STORED”

Used for : confirm that data of last leak are stored by PC MASTER.Reset register 30342 “Request to store data of a leak”.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x0D 0x0D11 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xF913 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0xCC

Page 64: 264_09_EN_00 - MODBUS MANUAL

Page n°64 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

? Sub-function 14 (0E Hex) “ALARM RESET”

Used for : reset an alarm.This message can be sent when an alarm is present.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed.0x30 = System alarm reset0x31 = Meter 1 alarm reset0x32 = Meter 2 alarm reset

0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x0E 0x0E11 ÷ 11 1 CHAR Reserved. 0x00 0x0012 ÷ 12 1 CHAR CRC 16 of message (LO). 0xF913 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0x3C

Page 65: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°65 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

? Sub-function 15 (0F Hex) “DISABLING METER”

Used for : disabling meter addressed.This message can be sent when no transaction, or batch are in progress.

POSITION

MSB ÷ LSBBYTE

NUMBERDATA

FORMAT DESCRIPTION VALUES EXAMPLE(HEX)

1 ÷ 1 1 CHAR VEGAII serial address. Parameter 2.7.3 ( 01 ÷ FF ) 0x012 ÷ 2 1 CHAR Function code (WRITE MULTIPLE REGISTER) 0x10 0x103 ÷ 3 1 CHAR Address of starting register (MSB). 0x00 0x004 ÷ 4 1 CHAR Address of starting register (LSB). 0x00 0x005 ÷ 5 1 CHAR Number of registers (MSB). 0x00 0x006 ÷ 6 1 CHAR Number of registers (LSB). 0x02 0x027 ÷ 7 1 CHAR Number of bytes. 0x04 0x04

8 ÷ 8 1 CHAR Meter addressed. 0x31 = Meter 10x32 = Meter 2 0x31

9 ÷ 9 1 CHAR Product addressed. 0x30 0x3010 ÷ 10 1 CHAR Sub-function code. 0x0F 0x0F

11 ÷ 11 1 CHAR Enabling meter. 0x30 = Disable meter0x31 = Enable meter 0x30

12 ÷ 12 1 CHAR CRC 16 of message (LO). 0xF813 ÷ 13 1 CHAR CRC 16 of message (HI).

Value calculated as shown at page 9.0xB8

Page 66: 264_09_EN_00 - MODBUS MANUAL

Page n°66 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

This page is left blank intentionally.

Page 67: 264_09_EN_00 - MODBUS MANUAL

COPYRIGHT: ISOIL IMPIANTI S.p.A. Page n°67 of 68Reproduction of this document in any form is strictly prohibited by law

MODBUS PROTOCOL VERSION “MB 01.01”Code 264/09/EN/00 dated 08/2007

6 APPENDIX TABLES

SUB-FUNCTION REPLY CODE TABLE

USED BY MESSAGESCODE DESCRIPTION

01 02 03 04 05 06 07 11 12 13 14 1500 Command accepted. ? ? ? ? ? ? ? ? ? ? ? ?01 Sub-function not present.02 Wrong length of sub-function. ? ? ? ? ? ? ? ? ? ? ? ?03 Wrong checksum of message. ? ? ? ? ? ? ? ? ? ? ? ?04 Message not valid for system. ? ? ? ? ? ? ? ? ? ?05 Message not valid for meter. ? ? ?06 Message not valid for product. ? ? ? ? ? ? ? ? ? ?07 Wrong number of Meter. ? ? ? ? ? ? ? ? ? ? ? ?08 Wrong number of Product. ? ? ? ? ? ? ? ? ? ? ? ?09 Impossible to send a message for product without specify Meter. ? ? ? ? ? ? ? ? ? ? ? ?10 VEGAII in local mode. ? ? ? ? ? ? ? ? ? ? ? ?11 Meter disabled. ? ? ? ? ? ?12 Meter non used for transaction in progress. ? ? ?13 VEGAII in access mode. ? ? ? ? ? ? ? ? ? ? ? ?14 Transaction in progress ? ?15 No transaction in progress. ?16 Batch in progress. ? ? ? ?17 No batch in progress. ?18 Delivery in progress for the Meter. ? ? ? ?19 Flow in progress. ? ? ? ? ? ? ?20 Meter in remote stop. ? ? ? ? ?21 Meter enabled only for bottom loading. ?22 Meter enabled only for top loading. ?23 Meter enabled only for ATK preset. ?24 Meter enabled only for ATB preset. ?25 Preset management not enabled. ? ? ? ? ? ? ? ? ? ? ? ?26 VEGAII in PINCODE entering state ?27 Leak in progress ? ? ?

Page 68: 264_09_EN_00 - MODBUS MANUAL

Page n°68 of 68 COPYRIGHT: ISOIL IMPIANTI S.p.A.Code 264/09/EN/00 dated 08/2007

MODBUS PROTOCOL VERSION “MB 01.01”Reproduction of this document in any form is strictly prohibited by law

SUB-FUNCTION REPLY CODE TABLE

USED BY MESSAGESCODE DESCRIPTION

01 02 03 04 05 06 07 11 12 13 14 1530 Request of start present. ? ?31 No request of start present. ? ?32 Request of store data of batch present. ? ? ? ? ?33 Request of store data of transaction present. ? ? ?34 No request of store data of batch present. ?35 No request of store data of transaction present. ?36 No request of store data of leak present ?37 Data not available.40 System alarm present. ?41 Meter alarm present. ?42 No system alarm present ?43 No meter alarm present. ?44 System permissive not present. ?45 Meter permissive not present. ?50 No preset quantity. ?51 Preset out of range. ? ?52 New preset minus or equal to delivered quantity. ?53 Wrong product for new preset. ?54 Product not enabled for transaction in progress. ? ?55 Density or alpha out of range. ?56 Density to calculate weight out of range. ?57 Transaction is enabled for semiautomatic mode. ? ?70 Wrong Number of recipe. ?72 Unauthorized to change selected recipe during a batch ?90 Command not authorized for the management of the automation. ? ? ? ? ? ? ? ? ? ? ? ?92 Message not accepted because power supply voltage not enough. ? ? ?