98
Operator Manual Manuel de l’opérateur MODBUS - MONEC 9100/9200 221=991=000 - Revision G - 27/11/2007

Operator Manual Manuel de l’opérateur

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Operator Manual Manuel de l’opérateur

Operator ManualManuel de l’opérateur

MODBUS - MONEC 9100/9200

221=991=000 - Revision G - 27/11/2007

Page 2: Operator Manual Manuel de l’opérateur
Page 3: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B

Warning! Any usage not complying with that described in this manual may be hazardous to the user. Furthermore, this latte cannot change any of the sensor or transmitter components. Only the staff of Polymetron, or that of its approved representative, may attempt to repair the system and only those components explicitly approved by the manufacturer may be used. Any attempt to repair the instrument in breach of these principles may lead to equipment damage or injury to the person performing the repair. It also cancels the guarantee and may jeopardise the instrument's safety, electrical integrity, or EC compliance.

COPYRIGHT

All rights reserved. No part of this publication may be reproduced, stored in an introduction and access system, transmitted, in any form or by any means, electronic, mechanical, photocopy, recording or other, without prior authorisation from Polymetron S.A.

Polymetron S.A. Polymetron S.A. denies all responsibility concerning the installation and/or use of this equipment if this latter is not performed in compliance with the appropriate publication and/or the amendment of the corresponding manual. Users of this manual must ensure that it is adapted, in all aspects, to the exact equipment to be installed and/or operated. If there is a doubt, the user must contact Polymetron S.A. for advice.

WARNING

In order to comply with safety standards, the regular maintenance, calibration and use of this equipment by qualified personnel are essential. Read and familiarise yourself fully with this instruction manual before using and maintaining the equipment. For further information not given in this manual, please contact Polymetron S.A., or its agent.

This instrument complies with the following

European directives::

89/336/CEE amended by directive 93/68/CEE 73/23/CEE amended by directive 93/68/CEE

Page 4: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 C

For the reader

The information contained in this manual is as complete and correct as possible at its time of publication. If, during operation, the behaviour of this product differs from that described in the documentation, it may be that your documentation is out of date. In this case, please contact your Polymetron dealer immediately to correct the problem. If the instrument is used in a manner not stated by the manufacturer, the protection provided by this instrument may be jeopardised. Polymetron withholds the right to make any improvements to the hardware and software described in this manual. Thank you.

a) Maintenance All of the system's electrical connections and safety devices must be periodically checked. All necessary steps must be taken to rectify any inadequate conditions. b) Servicing and repairs None of the instrument's components may be serviced by the user. Only the staff of Polymetron, or of its approved representative(s) is(are) authorised to attempt to repair the system and only those components explicitly approved by the manufacturer should be used. Any attempt to repair the instrument in breach of these principles may lead to equipment damage or injury to the person performing the repair. It also cancels the guarantee and may jeopardise the instrument's operation, electrical integrity, or EC compliance. If you experience instrument installation, start--up or operating problems, please contact the company that sold it to you. If this is not possible, of this approach did not give complete satisfaction, please contact the manufacturer's customer relations department.

Polymetron

33 rue du Ballon Noisy-Le-Grand

F-93165 Cedex France Tel. + 33 148 158 080 Fax + 33 148 158 000

Page 5: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 D

CONTENTS 1. General presentation of the MODBUS PROTOCOL ........................................................1 2. General properties ...........................................................................................................2 3. Physical properties...........................................................................................................2 4. RS 485 link.......................................................................................................................2 5. Practical installation recommendations ............................................................................3 6. Data properties.................................................................................................................4 7. Presentation of request and response frames..................................................................5 8. Functions..........................................................................................................................5 9. Programming the MONEC D 9100...................................................................................6 10. Available registers (4XXXX) ............................................................................................6 11. Using the various functions............................................................................................6

Reading the registers: FUNCTION 3.....................................................................................7 Writing to a single register: FUNCTION 6 .............................................................................7 Writing to several registers: FUNCTION 16 (10 in hexadecimal) ..........................................8 Diagnostics: FUNCTION 08 .................................................................................................8 Slave data feedback: FUNCTION 17 (11 in hexadecimal) ....................................................9 Reading files: FUNCTION 20 (0x14 in hexadecimal) ..........................................................10

12. Exception Responses ..................................................................................................10 13. Response Time-out .....................................................................................................11 14. File transfer (9200 series only) ....................................................................................12

Reading data log files (9200) ..............................................................................................12 Reading event log files (9200).............................................................................................14 Reading calibration log files (9200) .....................................................................................17

15. Error messages ...........................................................................................................18 16. Instrument installation and start-up..............................................................................19

Board installation.................................................................................................................19 Wiring instruments to the Bus .............................................................................................20

17. Transmitter programming ............................................................................................21 18. Appendix A: Data format............................................................................................ A-1 19. Appendix B: List of Polymetron instrument Inputs / Outputs...................................... B-1 20. Appendix C: File transfer ........................................................................................... C-1

Page 6: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 1

1. General presentation of the MODBUS PROTOCOL Field networks are serial communication tools used to exchange information between automation systems and decentralised field equipment. The major advantage of these applications resides in their reduced wiring, commissioning and maintenance costs compared with conventional architectures. Indeed, two wires are sufficient to carry all the information (inputs / outputs, parameters, diagnostics, power supply, etc.).

Figure 1 Linear topology

T: Termination The JBUS and MODBUS protocols are dialogue protocols that create a hierarchical structure (one master and several slaves). The MONEC 9100 or MONEC 9200 devices, using the JBUS/MODBUS protocols, communicate in RTU (Remote Terminal Unit) mode. This type of protocol is used to query one or more devices from the master. A multipoint link connects the master to its slaves. Two types of dialogue are possible between the master and the transmitters: The master talks to a transmitter and awaits its response, The master talks to all transmitters without waiting for a response (general broadcasting principle). The master controls the exchanges and reiterates the query in the event of an erroneous exchange. It decrees the slave absent after a given period of non-response (timeout). For MONEC 9100/9200 units, the Inter-Character Latency time (ICL) is dependent upon transmission speed. These times are given in the following table.

Transmission speed (bauds)

ICL min. (ms)

ICL max (ms)

Time-out (ms)

300

0

110

1000

600

0

60

1000

1200

0

30

1000

2400

0

20

1000

4800

0

10

1000

9600

0

10

1000

19200

0

10

1000

T T

Page 7: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 2

2. General properties

CONDITIONS OF USE Ambient temperature - 20°..+ 60°C Relative humidity 10..90% Supply voltage fluctuation

± 10%

Overvoltage category 2 Pollution level 2 (according to IEC 664) Altitude <2000 m IDENTIFICATION Item 485 board Bus access method master / slave Subscribers Max. 32 terminals Throughput 300 baud to 19.2 Kbaud Transmission type Digital, bit-oriented synchronous protocol Topology Linear bus (with termination resistance) ELECTRICAL CONNECTION Bus cable Shielded twisted pair Cable length Max. 1200m, depending on throughput Bus termination At each termination Physical layer RS485 MAN/MACHINE INTERFACE Local programming Via polymetron device keyboard PC programming Via operating software and RS485 interface board BUS address Programmable

3. Physical properties A field network's scope is mainly determined by the transmission technology used. To the general requirements (transmission security, long distances or high throughputs) may be added a number of simplicity and economic criteria that play a central role in the implementation of the network.

Main properties of RS 485 transmission Topology Linear, active bus termination at each end Medium Shielded twisted pair

Number of terminals

32 per segment without receiver

4. RS 485 link The RS 485 link is the MODBUS' preferred transmission technique. It is a differential transmission mode. Each data signal is carried over 2 wires and is not referenced with respect to the earth, but presented as a differential signal at the transmitter outlets and receiver inlets. The use of a termination device (RC resistance) is recommended to loop the line on its characteristic impedance. This assembly minimises noise and reflections, thus ensuring perfect transmission quality. This device is fitted onto the optional RS485 board.

Page 8: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 3

According to the model of microprocessor board (CPU) of the transmitter, here the models of possible RS 485 board:

RS 485 board (09125=A=1101). On this photo, switches 1 and 2 are in the ON position; termination position of the transmitter.

RS 485 board (09125=A=1100). On this photo, the jumper is in position 1; termination position of the transmitter.

The RS 485 link is very easy to use; installation of the twisted pair does not require any specific knowledge and the bus structure allows the addition or removal of terminals or stepwise system commissioning, with no impact on the other terminals. Future extensions will not prejudice any terminals in operation.

Cable properties

Impedance 135 to 165 Ω (3 to 20 MHz)

Capacitance per unit length < 30 pF /m

Resistance < 110 Ω / km

Diameter > 0.64 mm

Cross section > 0.34 mm²

The user can select throughput, within a range from 300 to 19,200 bauds. This choice, made on network start-up, applies to all bus subscribers. The bus' maximum length is determined by this throughput.

Line length according to transmission speed

Transmission speed (kbit/s) 9.6 19.2 93.75 187.5 500 1500 12000

Cable A (in mm) 1200 1200 1200 1000 400 200 100

5. Practical installation recommendations All piece of equipment are connected to a single bus network (linear topology). A given segment can interconnect 32 terminals, whether master or slave. The bus ends with an active termination at each end of the segment.

Page 9: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 4

Figure 5 Wiring overview

6. Data properties All exchanges between 2 instruments comprise 2 messages: a request issued by the master and a response provided by the slave. Each message, or frame, contains 4 types of information:

Address Function Message block Control word

1 byte 1 byte Variable number of bytes depending on the function.

2 bytes

• Address: (1 bytes) 0..32 This is the slave number; identifies the recipient transmitter. If the number is zero, the request applies to all slaves, there is no response message

• function (1 byte)

Used to select a function (read, write, bit, word) and to check that the response is correct.

• Message block (n bytes)

This data field contains the parameters associated with the function: bit address, word addresses, bit value, word value, number of bits, number of words. • the control word (2 bytes) Word used to detect any transmission errors.

NB: Shielded data lines must be used in order to guarantee optimum interference screening in high electromagnetic pollution environments. Indeed, shielding improves electromagnetic compatibility (EMC). This braid and, if necessary, sheet shielding must be mechanically earthed at each end, while ensuring good conductivity with shielding straps covering the broadest possible zone (see figure 5). Furthermore, we recommend dissociating the data lines from the high voltage cables.

Rx/Tx +

Rx/Tx -

Rx/Tx +

Rx/Tx -

Page 10: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 5

7. Presentation of request and response frames request frame

Address Function Message block Control word

1 byte 1 byte Variable number of bytes depending on the function.

2 bytes

• data: information required for the request, bit, word addresses, bit, word values, number of bits, words, etc.

• control word: When the message is received by the slave, this latter reads the control

word and either accepts or refuses the message. response frame:

Address Function Message block Control word

1 byte 1 byte Variable number of bytes depending on the function.

2 bytes

8. Functions The MODBUS protocol possesses a large number of functions. Only the major functions (to see the table above) are used in polymetron instruments.

Function Description

3 Read 1 or more registers

6 Write a register

8 Exchange diagnostics

16 Write 1 or more registers

17 Read slave data

20 Read files

21 Write files

Page 11: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 6

9. Programming the MONEC D 9100 Please see the instrument's reference manual for details concerning RS485 parameter programming.

10. Available registers (4XXXX) These registers are related to instrument operation and fall into several parameter families: • Measurement, with the following parameters: concentration, temperature, pH,

conductivity, etc. • Alarms, with threshold values, relay affectation, etc. • Outputs 4..20, • Diagnostics, with calibration parameters, etc. These parameters may be either read-only or read-write. The list of different parameters available through this function is given in Appendix B: List of Polymetron instrument Inputs/Outputs.

11. Using the various functions

NB: In the MODBUS protocol, registers start at 40001, but in practice, registers falling within the modbus frame start at 0. Example: to read the concentration, with register 40005, use number 40005 - 40001 = 04 in the frame.

NB : The data in the frame examples are expressed in hexadecimal format.

Page 12: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 7

Reading the registers: FUNCTION 3 Function 3 of the protocol is used to read one or more parameters.

request frame

Message block

Address Function Start Number of registers

Control word

01 03 00 05 00 01 ******

In this example, the instrument whose address is 01 must return the values of register 40001+05=40006

response frame:

Message block Address Function

Number of bytes Value of registers Control word

01 03 02 84 56 ******

In this example, the instrument returns value 33878 (0x8456) of register 40006.

Writing to a single register: FUNCTION 6

Function 6 of the protocol is used to modify a single parameter.

request frame

Message block Address Function

Register datum Control word

01 06 00 11 43 12 ******

In this example, the instrument whose address is 01 must write the value 17170 (0x4312) to register 40018 (40001+17(0x11)

response frame:

Message block Address Function

Register datum Control word

01 06 00 11 43 12 ******

The response is identical to the query.

Page 13: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 8

Writing to several registers: FUNCTION 16 (10 in hexadecimal)

Function 16 of the protocol is used to modify one or more parameters. request frame

Message block

Address Function start Number of

registers Number of

bytes data

Control word

01 10 00 98 00 02 04 43 12 02 11 ******

In this example, the instrument whose address is 01 must write the value 17170 (0x4312) to register 40153 (40001+152(0x98)) and value 529 (0x0211) to register 40154.

response frame:

Message block

Address Function Start Number of registers

Control word

01 10 00 98 00 02 ******

The response returns the start and number of registers.

Diagnostics: FUNCTION 08

Function 08 of the protocol is used to check communication between master and slave. It returns the same frame as the query.

request frame

Message block

Address Function Sub-function Additional datum

Control word

01 08 00 00 43 12 ******

response frame:

Message block

Address Function Sub-function Additional datum

Control word

01 08 00 00 43 12 ******

Page 14: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 9

Slave data feedback: FUNCTION 17 (11 in hexadecimal)

Function 17 of the protocol allows the master to request data from the slave. request frame

Address Function Control word

01 11 ******

response frame: The response is presented in the following table, with the 9210 as an example:

Byte Description Example (Hex)

0 Slave address 0x01

1 Function number 0x11

2 Number of bytes between the following byte and the checksum Set to 12 (0x0C) for this slave. 0x0C

3 Slave ID: (set to D5 for this interface) 0xD5

4 Instrument operating status flag (00 = off, FF = on) 0xFF

5 Slave ID format version number. 0x01

6

Manufacturer ID 0 – Hach 1 – Dr. Lange 2 – American Sigma 3 – Pacific Scientific 4 – Polymetron 5 – Astro 6 – Wireless Systems 7 – Acromag

0x04

7 Instrument ID (strong byte) 0x00

8 Instrument ID (weak byte) 0x20

9 Instrument software version number - (strong byte) e.g. version 1.15 is represented as 115 (0x0073). 0x00

10 Instrument software version number - (weak byte) e.g. version 1.15 is represented as 115 (0x0073). 0x73

11 Register organisation version. 0x01

12 Input buffer size, between 20 and 255 0xFF

13 Output buffer size, between 20 and 255 0xFF

14 Max response time informs the master of the maximum timeout (in seconds X100, e.g.:0.5 secs is equivalent to 50) for a response, with the exception of function 21 that has an extended timeout of 2 seconds. Between 0.1 and 1.0 secs (10 to 100)

0x32

15,16 CRC checksum ****

Page 15: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 10

Reading files: FUNCTION 20 (0x14 in hexadecimal)

Function 20 of the protocol is used to read data from a file. File handling is detailed in the File transfer paragraph.

request frame

Message block

Address Function Number of

bytes Ref type File no. Start address Number of

registers

Control word

01 14 07 06 0005 00 00 00 04 ******

In this example, the master requests that instrument 01 reads 0004 registers from address 0000, of file no. 0005. For further details concerning the file number, see the file transfer appendix. The "ref type" field is always set to 06. The number of bytes is the number of bytes in the frame between the "Ref type" and the control word; this latter is not included.

response frame:

Message block

Address Function Number of bytes + 2

Number of bytes + 1

Ref type Data Control word

01 14 0A 09 06 F3 54 23 00 00 24 A3 E0 ******

In the response, the "ref type" field is always set to 06. The number of bytes is 8 (2x4 registers). The data are the values of registers 0x0000 to 0x0003. 0x0000 0xF354 0x0001 0x2300 0x0002 0x0024 0x0003 0xA3E0

12. Exception Responses When a master sends a request to a slave, a response is expected. One of the following three possible events can occur to a master’s request. • The slave device receives the request without any communications error and can

process the request without any errors. In this case the slave will response normally.

• The slave device either does not receive the request or has a communications/CRC error. In this case the slave does not respond. The master device will time-out.

• The slave device receives a request without any communications/CRC errors, but cannot process the message (ex: requesting a nonexistent register). The slave returns an exception response.

When the slave receives a request (without any communication or CRC errors) which cannot be processed, the exception response is returned. The exception response consists of sending the same function code with the most significant bit set. Next the

Page 16: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 11

exception code is added to the message. An example of an invalid request followed by the exception response is shown below. Request: For this example writing an invalid value to a register

Data Address Function

Start Register

Number of Registers

Byte Count

Data

Checksum

01 10 00 98 00 02 04 43 12 02 11 ****

Exception Response: In the response the most significant bit of the function code is set, followed by the exception code.

Data Address Function

(with MSB set) Exception Code

Checksum

01 90 03 ****

The exception codes used in this implementation are listed in the following table.

Exception Code Name Description

01 Illegal Function The function code received in the request is not valid for this slave device.

02 Illegal Data Address The data (register) address received in the request is not valid for this slave device.

03 Illegal Data Value The data value received in the request is not valid for the slave.

13. Response Time-out When the master send a request to a slave, it needs to wait for a response before sending another request. If a communications/CRC error occurs, the slave will not send the response. In this case the master needs to time-out to be able to continue other requests. The length of this time-out is not fixed by the protocol and the master must be have the time-out setup for each slave device. This time-out needs to be set to the longest response time for a normal slave response. Since no other request can be made until either a response is receiver or the time-out is complete, setting the time-out on the master longer than needed will lower the efficiency of the network. For this implementation, the maximum response time is to be 1 sec.

Page 17: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 12

14. File transfer (9200 series only) The modbus protocol authorises the reading of files between addresses 0x0000 and 0xFFFF (65535). This represents a maximum size of 128 Kbytes. For more details concerning the format and type of files, along with the file reading procedure, see Appendix F: File transfer.

Reading data log files (9200) The unit of time used in the ATS and RTS is the minute. File reading takes place according to the following procedure:

Page 18: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 13

a) Transfer control register reset to 0

Address Function Hex register (Dec) Datum Control word

** 06 26 E4 (49957-40001) 00 00 ******

b) File number register set to 2: data file

Address Function Hex register (Dec) Datum Control word

** 06 26 E6 (49959-40001) 00 02 ******

c) Transfer control register reset to 1

Address Function Hex register (Dec) Datum Control word

** 06 26 E4 (49957-40001) 00 01 ******

Following this query, the 92XX calculates the file size. This information is available in register 49959.

d) File reading with function 20.

Address Function Number of

bytes Ref type File no. Start address Number of

registers Control word

** 14 07 06 0002 00 00 00 20 ******

In this example, reading is requested from the start (address=0000) of file 02 (data file) and for the 32 (0x20) first registers. The response is as follows:

Address Function Number of

bytes + 2 Number of bytes + 1

Ref type Data

** 14 48 47 06 07 00 AA AA 07 81 78 A4 73….etc ******

Data details are as follows:

Start 07 : file format 00 : no header

ATS AA AA : ATS ID 07 81 78 A4 : Time elapsed in seconds since 1/01/2000

(24/12/03 to 11h22mn00s=125925540s) 73 CC : ATS Checksum

RTS

4C 00 : IDD/Ch/RTS : : Idd = 01 32-bit floating point datum : Ch = 02 : measurement channel 02 : RTS = 00 3D CC CC CD : 0.1ppb datum in float format.

Page 19: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 14

4C 0A 3D CC CC CD : IDD=01 Ch= 02 RTS=10 Data=0.1ppb 4C 15 3D CC CC CD : IDD=01 Ch= 02 RTS=21 Data=0.1ppb 4C 1F 3D CC CC CD : IDD=01 Ch= 02 RTS=31 Data=0.1ppb 4C 2A 3D CC CC CD : IDD=01 Ch= 02 RTS=42 Data=0.1ppb 4C 35 3D CC CC CD : IDD=01 Ch= 02 RTS=53 Data=0.1ppb 4C 3F 3D CC CC CD : IDD=01 Ch= 02 RTS=63 Data=0.1ppb 4C 4A 3D CC CC CD : IDD=01 Ch= 02 RTS=74 Data=0.1ppb ATS

AA AA : ATS ID 07 91 31 90 : Time in seconds (05/01/04 to

09h32mn00s=126955920s) 45 00 : ATS Checksum

RTS

4C 00 3D CC CC CD : IDD=01 Ch= 02

RTS=00 Data=0.1ppb

CONTROL WORD 56 BF : Checksum of the whole frame

Reading event log files (9200) The unit of time used in the ATS and RTS is the minute. File reading takes place according to the following procedure:

a) Transfer control register reset to 0

Address Function Hex register (Dec) Datum Control word

** 06 26 E4 (49957-40001) 00 00 ******

b) File number register set to 3: event file

Address Function Hex register (Dec) Datum Control word

** 06 26 E6 (49959-40001) 00 03 ******

c) Transfer control register reset to 1

Address Function Hex register (Dec) Datum Control word

** 06 26 E4 (49957-40001) 00 01 ******

Following this query, the 92XX calculates the file size. This information is available in register 49959.

Page 20: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 15

d) File reading with function 20.

Address Function Number of bytes

Ref type File no. Start address Number of registers

Control word

** 14 07 06 0003 00 00 00 20 ******

In this example, reading is requested from the start (address=0000) of file 03 (event file) and for the 32 (0x20) first registers.

The response is as follows:

Address Function Number of

bytes + 2 Number of bytes + 1

Ref type Data Control word

** 14 48 47 06 07 00 AA AA 07 C9 EB AC 1E ..etc ******

Data details are as follows: Start 07 : file format 00 : no header ATS AA AA : ATS ID 07 81 69 2C : Time in seconds (24/12/03 at

10h13mn00s=125921580s) 7F 0C : ATS Checksum RTS C8 00 : IDD/Ch/RTS : : Idd = 03 32-bit integer datum : Ch = 02 : type of event, see table below : RTS = 00 00 02 00 00 : see events table according to type ATS AA AA : ATS ID 07 9A CE 80 : Time in seconds (12/01/04 at

16h32mn00s=127585920s) 35 47 : ATS Checksum RTS CC 00 : IDD/Ch/RTS : : Idd = 03 32-bit integer datum : Ch = 03 : type of event, see table below : RTS = 00 00 00 00 01 : see events table according to type ATS AA AA : ATS ID 07 BB 7E DC : Time in seconds (06/02/04 at

11h37mn00s=129728220s) D1 5E : ATS Checksum RTS CC 00 : IDD/Ch/RTS : : Idd = 03 32-bit integer datum : Ch = 03 : type of event, see table below : RTS = 00 00 00 00 04 : see events table according to type

Page 21: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 16

CC 01 00 00 00 01 : IDD=03 Ch= 03 RTS=01 event = 0000 0001 C4 C4 00 00 00 01 : IDD=03 Ch= 03 RTS=196(C4)

event =0000 0001 CC D9 00 00 00 80 : IDD=03 Ch= 03 RTS=217(D9)

event =0000 0080 CC F1 00 00 00 40 : IDD=03 Ch= 03 RTS=241(F1)

event =0000 0080 CONTROL WORD 3D CC : Checksum of the whole frame

Table of event types

Type of event description 3 System alarm 2 warning 1 Threshold alarm

Table of events

Value Type 3 Type 2 Type 1 0x00000001 No sample Error conc 1 Conc 1 0x00000002 Lack of reagent Error conc 2 0x00000004 Lack of calibration sol. Error conc 3 0x00000008 Zero calibration error Error conc 4 Conc 2 0x00000010 Slope calibration error Error conc 5 0x00000020 Communication error Error conc 6 0x00000040 Local controller error Lack of sample 1 Conc 3 0x00000080 Measurement mod error Lack of sample 2 0x00000100 Local controller error Lack of sample 3 0x00000200 Local controller error Lack of sample 4 Conc 4 0x00000400 Measurement mod error Lack of sample 5 0x00000800 Lack of sample 6 0x00001000 Low reagent Conc 5 0x00002000 Low cal. sol. 0x00004000 Zero cal. drift 0x00008000 Slope drift Conc 6 0x00010000 Measurement mod error 0x00020000 Measurement time >> 0x00040000 Calibration time >> 0x00080000 Calibration error 0x00100000 Local controller error 0x00200000 Err. Reference calculation

Page 22: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 17

Reading calibration log files (9200) The unit of time used in the ATS and RTS is the minute. File reading takes place according to the following procedure:

a) Transfer control register reset to 0

Address Function Register Datum Control word

** 06 26 E4 (49957-40001) 00 00 ******

b) Set file number register to 05: calibration log file

Address Function Register Datum Control word

** 06 26 E6 (49959-40001) 00 15 ******

c) Transfer control register reset to 1

Address Function Register Datum Control word

** 06 26 E4 (49957-40001) 00 01 ******

Following this query, the 92XX calculates the file size. This information is avaialble in register 49959.

d) File reading with function 20.

Address Function Number of

bytes Ref type File no. Start address Number of

registers Control word

** 14 07 06 0015 00 00 00 20 ******

In this example, reading is requested from the start (address=0000) of file 03 (calibration log file) and for the 32 (0x20) first registers. The response is as follows:

Address Function Number of bytes + 2

Number of bytes + 1

Ref type Data Control word

** 14 48 47 06 03 02 00 X1 X2… X11 ******

Data details are as follows:

Start 03 : file format 02 : number of data per line (number of bytes / 4) 00 : no header DATE and TIME X1 X2 : year 02 04 corresponds to 2004 X3 X4 X5 X6 : month day hour minute X6 X7 : seconds X7=0

Page 23: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 18

DATUM X8 : type of calibration

04: primary offset 05: primary slope 06: manual offset 07: manual slope 08: automatic offset 09: automatic slope

X9 : number of the channel used for calibration 00 for the slope X10 : calibration validity X11 : 00 X12,X13,X14,X15 : slope or offset value. The Date and data fields are repeated according to the required number of data. The file is terminated by a control word.

15. Error messages If a parity or CRC (Cyclic Redundancy Check) error occurs, the MONEC does not send a response and waits for the master to re-send its question. In the event of a data error, with no transmission error, the MONEC sends an error message. Example: Byte with incorrect address read

Request frame

Address Function Register Number of registers Control word

** 03 00 05 00 01 ******

Response frame:

Address Function Error code Control word

** 83 02 ******

In the response frame, the function code contains an "OR" function between the function code and the 0x80 hexadecimal value (0x80 "OR" 03 = 0x83) The Monec's error management functions are as follows:

Code 01 Illegal function The received function is not an authorised action for the Monec.

Code 02

Incorrect address

The referenced address is not authorised for the Monec.

Code 03

Erroneous data

The value referenced in the transmission domain is not authorised for the Monec.

Page 24: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 19

16. Instrument installation and start-up Installation requires that the following steps are followed in order.

Board installation 1. Turn the instrument off 2. Open the front panel 3. Position the optional RS485 board on the instrument's CPU board.

Figure 8 Optional board

RS 485 board (09125=A=1101). On this photo, switches 1 and 2 are in the ON position; termination position of the transmitter.

RS 485 board (09125=A=1100). On this photo, the jumper is in position 1; termination position of the transmitter.

Example of assembly of an RS485 board (09125=A=1101) on a microprocessor board of second generation for 91XX

(CPU-ph2).

Example of assembly of an RS485 board (09125=A=1100) on a microprocessor board for 92XX.

Page 25: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 20

Wiring instruments to the Bus 1. On the Master (Computer or PLC) connect the twisted cable pairwise. Locate

Rx/Tx+ and Rx/Tx- . 2. On each transmitter, repeat the following operations: • Open the transmitter's front panel • Pass the cable through the transmitter's cable seal • Connect the Rx/Tx+ and Rx/Tx- wires to the transmitter's corresponding

terminals. Each instrument in the middle of the Bus shall have two connected wires per terminal, 1 coming from the previous instrument, and 1 going to the next instrument.

• Connect the shieldings to the earth as often as possible (at least for each transmitter connection to the earthing terminal located on the shielding plate.

• For instruments located at the Bus ends (there may be several of these if the network possesses a non-linear configuration, star for example), perform the following tasks: For boards with reference 09125=A=1100, set the jumper to position 1 and for boards with reference 09125=A=1101, set jumpers 1 and 2 to the On position. (For information, see the photos in the following paragraph).

• For instruments that are not located at the Bus ends, perform the following tasks: For boards with reference 09125=A=1100, set the jumper to position 0 and for boards with reference 09125=A=1101, set jumpers 1 and 2 to the Off position (opposite to the On position)..

• Close the transmitter's front panel and switch the instrument on

NB: The shielding plates give the position of the Bus cable connection terminals.

Figure 9 Shielding plates

MONEC D 91XX MONEC E 92XX

Page 26: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 21

17. Transmitter programming 1. Set the communication parameters in the RS485 communication menu. 2. In particular, assign a number between 1 and 32. This number must be unique

amongst all instruments connected to the Bus. For further information, see the transmitter manual.

Page 27: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 A-1

18. Appendix A: Data format In this document, the terms "byte", "word" and "float" have the following meanings: Byte: Base made up of eight binary digits (8 bits). Word: Base made up of two bytes (16 bits). Float: Base made up of four bytes (32 bits). The format used is that of the IEEE-754 standard. Floating point numbers are stored in the following format:

Byte 1 Byte 2 Byte 3 Byte 4 seeeeeee emmmmmmm mmmmmmmm mmmmmmmm

Where: s represents the sign bit (0=positive; 1=negative)). e is the exponent (complement to 2 with an offset of 127). m represents the mantissa over 23 bits. The most significant bit is always 1, and furthermore not represented. Example: The following example demonstrates the conversion of the value -12.5 The floating point number -12.5 is stored as a hexadecimal value of type 0xC1480000. In memory, the format is as follows:

Address +0 +1 +2 +3 Content 0xC1 0x48 0x00 0x00

The representation of floating point number storage is not an intuitive format. When converting a floating point number, the bits must be separated ash shown in the following table: For example:

Address +0 +1 +2 +3 Format seeeeeee emmmmmmm mmmmmmmm mmmmmmmm Binary 11000001 01001000 00000000 00000000 Hex C1 48 00 00

From this example, you can infer the following information: The bit's sign is 1, meaning that it is a negative number. The value of the exponent is 10000010 in binary, or 130 in decimal format. The exponent is equal to 3 (130-127). The mantissa possesses the following binary format: 10010000000000000000000 The decimal point to the left of the mantissa is always preceded by a 1. This digit is not stored in the hexadecimal representation of a floating point number. The addition of the 1 and of the decimal point at the start of the mantissa gives the following format: 1.10010000000000000000000 Adjustment of the mantissa for the exponent. A negative exponent moves the decimal point to the right. A positive exponent moves the decimal point to the left. With an exponent of 3, the mantissa is adjusted as follows: 1100.10000000000000000000 The result represents a floating point number in binary format. The binary digits to the left of the decimal point represent a power of 2, corresponding to the following position: 1100 represents (1x23) + (1x22) + (0x21) + (0x20) which is equal to 12. The binary digits to the right of the decimal point also represent a power of 2 corresponding to their position. This power, however, is negative: .100... represents (1x2-1) + (0x2-2) + (0x2-3) + ... which is equal to .5. By adding the two values, we obtain 12.5, which must be negative as the bit's sign is negative. Thus, the hexadecimal value 0xC1480000 of the floating point is equal to -12.5.

Page 28: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-1

19. Appendix B: List of Polymetron instrument Inputs / Outputs Manufacture ID:4 Instrument ID : 1 Template ID : 1

Instrument Name : 9125conc

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40078 Measurements Conductivity 40005 Float 2 R R40077 Measurements Reserved 40007 Float 2 R Diagnostics Cal offset conductivity 40009 Float 2 R R40077 Diagnostics Cal slope conductivity 40011 Float 2 R R40077 Diagnostics Cal offset temperature 40013 Float 2 R R40078 Diagnostics Reserved 40015 Float 2 R Diagnostics Reserved 40017 Float 2 R Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation Alm1 40021 Integer 1 R/W A6/7/11/10 Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40026 Integer 1 R/W 10 Setup/Alarm Relay type Alm1 40027 Integer 1 R/W S7/8 Setup/Alarm Affectation Alm2 40028 Integer 1 R/W A6/7/11/10 Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40033 Integer 1 R/W 10 Setup/Alarm Relay type Alm2 40034 Integer 1 R/W S7/8 Setup/Alarm Relay Mode Alm3 40035 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40036 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40041 Integer 1 R/W 10 Setup/Alarm Relay type Alm3 40042 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relay Mode Alm4 40044 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40045 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm4 40050 Integer 1 R/W 10 Setup/Alarm Relay type Alm4 40051 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40052 Integer 1 R/W Setup/Recorders Range Iout 1 40053 Integer 1 R/W A6/7/11 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale Iout1 40055 Float 2 R/W Setup/Recorders Middle scale Iout1 40057 Float 2 R/W Setup/Recorders End scale Iout1 40059 Float 2 R/W

Page 29: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-2

Manufacture ID:4 Instrument ID : 1 Template ID : 1

Instrument Name : 9125conc

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Recorders Affectation Iout 2 40061 Integer 1 R/W Setup/Recorders Range Iout 2 40062 Integer 1 R/W A6/7/11 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale Iout2 40064 Float 2 R/W Setup/Recorders Middle scale Iout2 40066 Float 2 R/W Setup/Recorders End scale Iout2 40068 Float 2 R/W Setup/Com Swap word 40070 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Address 40074 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration unit 40076 Integer 1 R/W U1/10 Setup/System Conductivity unit 40077 Integer 1 R/W U32/33/34/3

5 Setup/System Temperature unit 40078 Integer 1 R/W U25/26 Setup/System Language 40079 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40080 String 5 R/W Setup/System Pass code prog 40085 Integer 1 W Setup/System Pass code service 40086 Integer 1 W Setup/System Pass code factory 40087 Integer 1 W

Page 30: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-3

Manufacture ID:4 Instrument ID : 0 Template ID : 1

Instrument Name : 9125

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Temperature 40003 Float 2 R R40085 Measurements TDS 40005 Float 2 R 31 Measurements Reserved 40007 Float 2 R Diagnostics Cal offset

conductivity 40009 Float 2 R R40084

Diagnostics Cal slope conductivity

40011 Float 2 R R40084

Diagnostics Cal offset temperature

40013 Float 2 R R40085

Diagnostics Cable capacity value

40015 Float 2 R

Diagnostics Polarisation cable value

40017 Float 2 R

Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Relay modeAlm1 40021 Integer 1 R/W A5/12/10 Setup/Alarm USP23 temp Alm1 40022 Float 2 R/W R40085 Setup/Alarm USP23 severity

Alm1 40024 Integer 1 R/W 10

Setup/Alarm Affectation Alm1 40025 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 1 40026 Float 2 R/W Setup/Alarm Relay type Alm1 40028 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40029 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40030 Integer 1 R/W 10 Setup/Alarm Relay type Alm1 40031 Integer 1 R/W S7/8 Setup/Alarm Relay modeAlm2 40032 Integer 1 R/W A5/12/10 Setup/Alarm USP23 temp Alm2 40033 Float 2 R/W R40085 Setup/Alarm USP23 severity

Alm2 40035 Integer 1 R/W 10

Setup/Alarm Affectation Alm2 40036 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 2 40037 Float 2 R/W Setup/Alarm Uplow Alm2 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40041 Integer 1 R/W 10 Setup/Alarm Relay type Alm2 40042 Integer 1 R/W S7/8 Setup/Alarm Relay Mode Alm3 40043 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40044 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 3 40045 Float 2 R/W Setup/Alarm Uplow Alm3 40047 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40048 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40049 Integer 1 R/W 10 Setup/Alarm Relay type Alm3 40050 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40051 Integer 1 R/W Setup/Alarm Relay Mode Alm4 40052 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40053 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 4 40054 Float 2 R/W Setup/Alarm Uplow Alm4 40056 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40057 Integer 1 R/W 15

Page 31: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-4

Manufacture ID:4 Instrument ID : 0 Template ID : 1

Instrument Name : 9125

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm Hysteresis Alm4 40058 Integer 1 R/W 10 Setup/Alarm Relay type Alm4 40059 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40060 Integer 1 R/W Setup/Recorders Range Iout 1 40061 Integer 1 R/W A11/7/13 Setup/Recorders Type Iout 1 40062 Integer 1 R/W Setup/Recorders Begin scale Iout1 40063 Float 2 R/W Setup/Recorders Middle scale Iout1 40065 Float 2 R/W Setup/Recorders End scale Iout1 40067 Float 2 R/W Setup/Recorders Affectation Iout 2 40069 Integer 1 R/W A11/7/13 Setup/Recorders Range Iout 2 40070 Integer 1 R/W Setup/Recorders Type Iout 2 40071 Integer 1 R/W Setup/Recorders Begin scale Iout2 40072 Float 2 R/W Setup/Recorders Middle scale Iout2 40074 Float 2 R/W Setup/Recorders End scale Iout2 40076 Float 2 R/W Setup/Com Swap word 40078 Integer 1 R/W Setup/Com Baud rate 40079 Integer 1 R/W Setup/Com Parity 40080 Integer 1 R/W Setup/Com Bit stop 40081 Integer 1 R/W Setup/Com Address 40082 Integer 1 R/W Setup/System Average 40083 Integer 1 R/W Setup/System Conductivity unit 40084 Integer 1 R/W U32/33/34/35 Setup/System Temperature unit 40085 Integer 1 R/W U25/26 Setup/System Language 40086 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40087 String 5 R/W Setup/System Pass code prog 40092 Integer 1 W Setup/System Pass code service 40093 Integer 1 W Setup/System Pass code factory 40094 Integer 1 W

Page 32: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-5

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9135

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements pH/ redox 40001 Float 2 R R0081 Measurements Temperature 40003 Float 2 R R0082 Measurements Glass

impedance 40005 Float 2 R U37

Measurements Reference impedance

40007 Float 2 R U36

Diagnostics Cal offset pH 40009 Float 2 R R0081 Diagnostics Cal slope pH 40011 Float 2 R 10 Diagnostics Cal offset

temperature 40013 Float 2 R R0082

Diagnostics Cal offset redox 40015 Float 2 R R0081 Diagnostics Cal slope redox 40017 Float 2 R 10 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation

Alm1 40021 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W Setup/Alarm Delay Alm1 40025 Integer 1 R/W Setup/Alarm Hysteresis

Alm1 40026 Integer 1 R/W

Setup/Alarm Relay type Alm1

40027 Integer 1 R/W S7/8

Setup/Alarm Affectation Alm2

40028 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W Setup/Alarm Delay Alm2 40031 Integer 1 R/W Setup/Alarm Hysteresis

Alm2 40033 Integer 1 R/W

Setup/Alarm Relay type Alm2

40034 Integer 1 R/W S7/8

Setup/Alarm Relay Mode Alm3

40035 Integer 1 R/W S5/3/10

Setup/Alarm Affectation Alm3

40036 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W Setup/Alarm Delay Alm3 40040 Integer 1 R/W Setup/Alarm Hysteresis

Alm3 40041 Integer 1 R/W

Setup/Alarm Relay type Alm3

40042 Integer 1 R/W S7/8

Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relay Mode

Alm4 40044 Integer 1 R/W S4/5/10

Setup/Alarm Affectation Alm4

40045 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W

Page 33: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-6

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9135

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm Uplow Alm4 40048 Integer 1 R/W Setup/Alarm Delay Alm4 40049 Integer 1 R/W Setup/Alarm Hysteresis

Alm4 40050 Integer 1 R/W

Setup/Alarm Relay type Alm4

40051 Integer 1 R/W S7/8

Setup/Imp Glass impedance

40052 Integer 1 R/W

Setup/Imp Glass low limit 40053 Float 2 R/W 37 Setup/Imp Glass high limit 40055 Float 2 R/W 37 Setup/Imp Reference

impedance 40057 Integer 1 R/W

Setup/Imp Ref low limit 40058 Float 2 R/W 36 Setup/Imp Ref high limit 40060 Float 2 R/W 36 Setup/Recorders Affectation Iout

1 40062 Integer 1 R/W A8/7

Setup/Recorders Range Iout 1 40063 Integer 1 R/W Setup/Recorders Begin scale

Iout1 40064 Float 2 R/W

Setup/Recorders End scale Iout1 40066 Float 2 R/W Setup/Recorders Affectation Iout

2 40068 Integer 1 R/W A8/7

Setup/Recorders Range Iout 2 40069 Integer 1 R/W Setup/Recorders Begin scale

Iout2 40070 Float 2 R/W

Setup/Recorders End scale Iout2 40072 Float 2 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/Com Baud rate 40075 Integer 1 R/W Setup/Com Parity 40076 Integer 1 R/W Setup/Com Bit stop 40077 Integer 1 R/W Setup/Com Address 40078 Integer 1 R/W Setup/System Average 40079 Integer 1 R/W Setup/System pH resolution 40080 Integer 1 R/W Setup/System pH unit 40081 Integer 1 R/W U19/27 Setup/System Temperature

unit 40082 Integer 1 R/W U25/26

Setup/System Language 40083 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40084 String 5 R/W Setup/System Pass code prog 40089 Integer 1 W Setup/System Pass code

service 40090 Integer 1 W

Setup/System Pass code factory

40091 Integer 1 W

Page 34: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-7

Manufacture ID:4 Instrument ID : 3 Template ID : 1

Instrument Name : 9181..9183

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40077 Measurements Intensity 40005 Float 2 R 29 Measurements Flow 40007 Float 2 R 30 Diagnostics Faraday current 40009 Float 2 R Diagnostics Cal offset

concentration 40011 Float 2 R R40076

Diagnostics Cal slope concentration

40013 Float 2 R R40077

Diagnostics Cal offset temperature

40015 Float 2 R

Diagnostics Cal slope flow 40017 Float 2 R 27 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation Alm1 40021 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40026 Integer 1 R/W 10 Setup/Alarm Relay type Alm1 40027 Integer 1 R/W S7/8 Setup/Alarm Affectation Alm2 40028 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40033 Integer 1 R/W 10 Setup/Alarm Relay type Alm2 40034 Integer 1 R/W S7/8 Setup/Alarm Relay Mode Alm3 40035 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40036 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40041 Integer 1 R/W 10 Setup/Alarm Relay type Alm3 40042 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relay Mode Alm4 40044 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40045 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm4 40050 Integer 1 R/W 10 Setup/Alarm Relay type Alm4 40051 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40052 Integer 1 R/W Setup/Recorders Range Iout 1 40053 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale Iout1 40055 Float 2 R/W Setup/Recorders Middle scale Iout1 40057 Float 2 R/W Setup/Recorders End scale Iout1 40059 Float 2 R/W

Page 35: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-8

Manufacture ID:4 Instrument ID : 3 Template ID : 1

Instrument Name : 9181..9183

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Recorders Affectation Iout 2 40061 Integer 1 R/W Setup/Recorders Range Iout 2 40062 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale Iout2 40064 Float 2 R/W Setup/Recorders Middle scale Iout2 40066 Float 2 R/W Setup/Recorders End scale Iout2 40068 Float 2 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Address 40070 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration unit 40076 Integer 1 R/W U38/39/40 Setup/System Temperature unit 40077 Integer 1 R/W U25/26 Setup/System Language 40078 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40079 String 5 R/W Setup/System Pass code prog 40084 Integer 1 W Setup/System Pass code service 40085 Integer 1 W Setup/System Pass code factory 40086 Integer 1 W

Page 36: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-9

Manufacture ID:4 Instrument ID : 4 Template ID : 1

Instrument Name : 9184..9187

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40077 Measurements Intensity 40005 Float 2 R 29 Measurements pH 40007 Float 2 R 27 Diagnostics Cal offset

concentration 40009 Float 2 R R40076

Diagnostics Cal slope concentration

40011 Float 2 R R40076

Diagnostics Cal offset temperature

40013 Float 2 R R40077

Diagnostics Cal offset pH 40015 Float 2 R 27 Diagnostics Cal slope pH 40017 Float 2 R 27 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC

status 40020 Integer 1 R S2/3/4/5/6

Setup/Alarm Affectation Alm1

40021 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm1 40026 Integer 1 R/W 10

Setup/Alarm Relay type Alm1

40027 Integer 1 R/W S7/8

Setup/Alarm Affectation Alm2

40028 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm2 40033 Integer 1 R/W 10

Setup/Alarm Relay type Alm2

40034 Integer 1 R/W S7/8

Setup/Alarm Relay Mode Alm3

40035 Integer 1 R/W A5/3/10

Setup/Alarm Affectation Alm3

40036 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm3 40041 Integer 1 R/W 10

Setup/Alarm Relay type Alm3

40042 Integer 1 R/W S7/8

Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relay Mode

Alm4 40044 Integer 1 R/W A5/4/10

Setup/Alarm Affectation Alm4

40045 Integer 1 R/W A6/7/8/10

Page 37: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-10

Manufacture ID:4 Instrument ID : 4 Template ID : 1

Instrument Name : 9184..9187

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm4 40050 Integer 1 R/W 10

Setup/Alarm Relay type Alm4

40051 Integer 1 R/W S7/8

Setup/Recorders Affectation Iout 1

40052 Integer 1 R/W

Setup/Recorders Range Iout 1 40053 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale

Iout1 40055 Float 2 R/W

Setup/Recorders Middle scale Iout1

40057 Float 2 R/W

Setup/Recorders End scale Iout1

40059 Float 2 R/W

Setup/Recorders Affectation Iout 2

40061 Integer 1 R/W

Setup/Recorders Range Iout 2 40062 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale

Iout2 40064 Float 2 R/W

Setup/Recorders Middle scale Iout2

40066 Float 2 R/W

Setup/Recorders End scale Iout2

40068 Float 2 R/W

Setup/Com Address 40070 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration

unit 40076 Integer 1 R/W U38/39

Setup/System Temperature unit

40077 Integer 1 R/W U25/26

Setup/System Language 40078 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial

Number 40079 String 5 R/W

Setup/System Pass code prog

40084 Integer 1 W

Setup/System Pass code service

40085 Integer 1 W

Setup/System Pass code factory

40086 Integer 1 W

Measurements pH/ redox 40001 Float 2 R R0081

Page 38: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-11

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Measurements Life Concentration 40001 Float 2 R R40076 Measurements Concentration Channel 1 40003 Float 2 R R40076 Measurements Concentration Channel 2 40005 Float 2 R R40076 Measurements Concentration Channel 3 40007 Float 2 R R40076 Measurements Concentration Channel 4 40009 Float 2 R R40076 Measurements Concentration Channel 5 40011 Float 3 R R40076 Measurements Concentration Channel 6 40013 Float 2 R R40076 Measurements photometer measure 40015 Float 2 R 19 Measurements Photometer reference 40017 Float 2 R 19 Measurements Photometer dark current 40019 Float 2 R 19 Diagnostics Photometer current value 40021 Float 2 R 24 Diagnostics last offset calibration 40023 Float 2 R Diagnostics last slope calibration 40025 Float 2 R Diagnostics primary offset calibration 40027 Float 2 R Diagnostics primary slope calibration 40029 Float 2 R Diagnostics warning Alarm status 40031 Float 2 R Diagnostics system Alarm status 40033 Float 2 R Diagnostics Limit Alarm status 40035 Float 2 R Diagnostics Analyser status 40037 Integer 1 R Setup/Alarm mode:limit/Active channel/level

sample Alm1 40038 Integer 1 R/W

Setup/Alarm Affectation Alm1 40039 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 1 40040 Float 2 R/W Setup/Alarm Uplow Alm1 40042 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40043 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm1 40044 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm1 40045 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm2 40046 Integer 1 R/W

Setup/Alarm Affectation Alm2 40047 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 2 40048 Float 2 R/W Setup/Alarm Uplow Alm2 40050 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40051 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm2 40052 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm2 40053 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm3 40054 Integer 1 R/W

Setup/Alarm Affectation Alm3 40055 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 3 40056 Float 2 R/W Setup/Alarm Uplow Alm3 40058 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40059 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm3 40060 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm3 40061 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm4 40062 Integer 1 R/W

Setup/Alarm Affectation Alm4 40063 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 4 40064 Float 2 R/W Setup/Alarm Uplow Alm4 40066 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40067 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm4 40068 Integer 1 R/W 10

Page 39: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-12

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Alarm NO/NC mode Alm4 40069 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm5 40070 Integer 1 R/W

Setup/Alarm Affectation Alm5, 40071 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 5 40072 Float 2 R/W Setup/Alarm Uplow Alm5 40074 Integer 1 R/W A1/0 Setup/Alarm Delay Alm5 40075 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm5 40076 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm5 40077 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm6 40078 Integer 1 R/W

Setup/Alarm Affectation Alm6 40079 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 6 40080 Float 2 R/W Setup/Alarm Uplow Alm6 40082 Integer 1 R/W A1/0 Setup/Alarm Delay Alm6 40083 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm6 40084 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm6 40085 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40086 Integer 1 R/W Setup/Recorders Range Iout 1 40087 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40088 Integer 1 R/W Setup/Recorders Begin scale Iout1 40089 Float 2 R/W Setup/Recorders Middle scale Iout1 40091 Float 2 R/W Setup/Recorders End scale Iout1 40093 Float 2 R/W Setup/Recorders Affectation Iout 2 40095 Integer 1 R/W Setup/Recorders Range Iout 2 40096 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40097 Integer 1 R/W Setup/Recorders Begin scale Iout2 40098 Float 2 R/W Setup/Recorders Middle scale Iout2 40100 Float 2 R/W Setup/Recorders End scale Iout2 40102 Float 2 R/W Setup/Recorders Affectation Iout 3 40104 Integer 1 R/W Setup/Recorders Range Iout 3 40105 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout3 40106 Integer 1 R/W Setup/Recorders Begin scale Iout3 40107 Float 2 R/W Setup/Recorders Middle scale Iout3 40109 Float 2 R/W Setup/Recorders End scale Iout3 40111 Float 2 R/W Setup/Recorders Affectation Iout 4 40113 Integer 1 R/W Setup/Recorders Range Iout 4 40114 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 4 40115 Integer 1 R/W Setup/Recorders Begin scale Iout4 40116 Float 2 R/W Setup/Recorders Middle scale Iout4 40118 Float 2 R/W Setup/Recorders End scale Iout4 40120 Float 2 R/W Setup/Recorders Affectation Iout5 40122 Integer 1 R/W Setup/Recorders Range Iout5 40123 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout5 40124 Integer 1 R/W Setup/Recorders Begin scale Iout5 40125 Float 2 R/W Setup/Recorders Middle scale Iout5 40127 Float 2 R/W Setup/Recorders End scale Iout5 40129 Float 2 R/W Setup/Recorders Affectation Iout 6 40131 Integer 1 R/W Setup/Recorders Range Iout6 40132 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout6 40133 Integer 1 R/W Setup/Recorders Begin scale Iout6 40134 Float 2 R/W

Page 40: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-13

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Recorders Middle scale Iout6 40136 Float 2 R/W Setup/Recorders End scale Iout6 40138 Float 2 R/W Status ANALYSER status 40140 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 1 40141 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 2 40142 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 3 40143 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 4 40144 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 5 40145 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 6 40146 Integer 1 R S2/3/4/5/6Diagnostics volume of reagent 1 40147 Float 2 R 27 Diagnostics volume of reagent 2 40149 Float 2 R 27 Diagnostics volume of reagent 3 40151 Float 2 R 27 Setup/Com Swap word 40153 Integer 1 R/W Setup/Com Baud rate 40154 Integer 1 R/W Setup/Com Parity 40155 Integer 1 R/W Setup/Com Bit stop 40156 Integer 1 R/W Setup/Com Address 40157 Integer 1 R/W Setup/System Language 40158 Integer 1 R/W L3/0/1/2/4/

5 Setup/System Serial Number 40159 String 5 R/W

Page 41: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-14

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Measurements Life Concentration 40001 Float 2 R R40076 Measurements Concentration Channel 1 40003 Float 2 R R40076 Measurements Concentration Channel 2 40005 Float 2 R R40076 Measurements Concentration Channel 3 40007 Float 2 R R40076 Measurements Concentration Channel 4 40009 Float 2 R R40076 Measurements Concentration Grab sample 40011 Float 3 R R40076 Measurements photometer potential 40013 Float 2 R 19 Measurements Photometer Temperature 40015 Float 2 R 19 Diagnostics last offset calibration 40017 Float 2 R Diagnostics last slope calibration 40019 Float 2 R Diagnostics primary offset calibration 40021 Float 2 R Diagnostics primary slope calibration 40023 Float 2 R Diagnostics warning Alarm status 40025 Float 2 R Diagnostics system Alarm status 40027 Float 2 R Diagnostics Limit Alarm status 40029 Float 2 R Diagnostics Analyser status 40031 Integer 1 R Setup/Alarm mode:limit/Active channel/level

sample Alm1 40032 Integer 1 R/W

Setup/Alarm Affectation Alm1 40033 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 1 40034 Float 2 R/W Setup/Alarm Uplow Alm1 40036 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40037 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm1 40038 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm1 40039 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm2 40040 Integer 1 R/W

Setup/Alarm Affectation Alm2 40041 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 2 40042 Float 2 R/W Setup/Alarm Uplow Alm2 40044 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40045 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm2 40046 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm2 40047 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm3 40048 Integer 1 R/W

Setup/Alarm Affectation Alm3 40049 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 3 40050 Float 2 R/W Setup/Alarm Uplow Alm3 40052 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40053 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm3 40054 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm3 40055 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm4 40056 Integer 1 R/W

Setup/Alarm Affectation Alm4 40057 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 4 40058 Float 2 R/W Setup/Alarm Uplow Alm4 40060 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40061 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm4 40062 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm4 40063 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40064 Integer 1 R/W Setup/Recorders Range Iout 1 40065 Integer 1 R/W A9/7/6

Page 42: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-15

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Recorders Type Iout 1 40066 Integer 1 R/W Setup/Recorders Begin scale Iout1 40067 Float 2 R/W Setup/Recorders Middle scale Iout1 40069 Float 2 R/W Setup/Recorders End scale Iout1 40071 Float 2 R/W Setup/Recorders Affectation Iout 2 40073 Integer 1 R/W Setup/Recorders Range Iout 2 40074 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40075 Integer 1 R/W Setup/Recorders Begin scale Iout2 40076 Float 2 R/W Setup/Recorders Middle scale Iout2 40178 Float 2 R/W Setup/Recorders End scale Iout2 40180 Float 2 R/W Setup/Recorders Affectation Iout 3 40182 Integer 1 R/W Setup/Recorders Range Iout 3 40183 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout3 40184 Integer 1 R/W Setup/Recorders Begin scale Iout3 40185 Float 2 R/W Setup/Recorders Middle scale Iout3 40187 Float 2 R/W Setup/Recorders End scale Iout3 40189 Float 2 R/W Setup/Recorders Affectation Iout 4 40191 Integer 1 R/W Setup/Recorders Range Iout 4 40192 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 4 40193 Integer 1 R/W Setup/Recorders Begin scale Iout4 40194 Float 2 R/W Setup/Recorders Middle scale Iout4 40196 Float 2 R/W Setup/Recorders End scale Iout4 40198 Float 2 R/W Setup/Recorders Affectation Iout5 40100 Integer 1 R/W Setup/Recorders Range Iout5 40101 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout5 40102 Integer 1 R/W Setup/Recorders Begin scale Iout5 40103 Float 2 R/W Setup/Recorders Middle scale Iout5 40105 Float 2 R/W Setup/Recorders End scale Iout5 40107 Float 2 R/W Setup/Recorders Affectation Iout 6 40109 Integer 1 R/W Setup/Recorders Range Iout6 40110 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout6 40111 Integer 1 R/W Setup/Recorders Begin scale Iout6 40112 Float 2 R/W Setup/Recorders Middle scale Iout6 40114 Float 2 R/W Setup/Recorders End scale Iout6 40116 Float 2 R/W Diagnostics mV average 1 40118 Float 2 R Diagnostics mV average 2 40120 Float 2 R Diagnostics mV temperature compensated 40122 Float 2 R Diagnostics Raw temperature 40124 Float 2 R Diagnostics Low detection value 40126 Float 2 R Diagnostics Cal point mV 1 40128 Float 2 R Diagnostics Cal point mV 2 40130 Float 2 R Diagnostics Cal point mV 3 40132 Float 2 R Diagnostics Cal calculated offset 40134 Float 2 R Diagnostics Cal calculated slope 40136 Float 2 R Diagnostics DIPA Ton 40138 Float 2 R Diagnostics DIPA Toff 40140 Float 2 R Diagnostics Flow rate 40142 Float 2 R Diagnostics volume of reagent 1 40144 Float 2 R 27 Diagnostics volume of reagent 2 40146 Float 2 R 27 Diagnostics volume of reagent 3 40148 Float 2 R 27

Page 43: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-16

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Diagnostics volume of reagent 4 40150 Float 2 R 27 Diagnostics Cell conductivity 40152 Float 2 R 27 Diagnostics Over flow conductivity 40154 Float 2 R 27 …. Diagnostics pH 40156 Float 2 R 27 ….. Diagnostics ANALYSER status 40164 Integer 1 R …. Diagnostics CPU SN 40185 long 2 R/W Diagnostics ANALYSER S/N 40187 long 2 R/W Diagnostics Crypt key 40189 long 2 R/W Setup/Com Swap word 40174 Integer 1 R/W Setup/Com Baud rate 40175 Integer 1 R/W Setup/Com Parity 40176 Integer 1 R/W Setup/Com Bit stop 40177 Integer 1 R/W Setup/Com Address 40178 Integer 1 R/W Setup/System Language 40179 Integer 1 R/W L3/0/1/2/4/

5 Setup/System Serial Number 40180 String 5 R/W

Page 44: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-17

List of different codes P : measurement type U : unit S : Status A : L : language Enumerated List Code

Value Name Description

P 0 TRB turbidity P 1 TS suspended solids P 2 NO3 nitrate P 3 NOx-N nitrogen, calc. from NO2 + NO3 P 4 SAK254 German standard uv abs. coefficient at 254 nm P 5 SAC254 standard uv abs. coefficient at 254 nm P 6 Ext254 uv absorption at 254 nm, depending on path length P 7 BSBuv German BOD P 8 CSBuv German COD P 9 TOCuv total organic carbon, calc. from uv abs. P 10 DOCuv dissolved oxygen demand, calc. from uv abs. P 11 BODuv biological oxygen demand, calc. from uv abs. P 12 CODuv chemical oxygen demand, calc. from uv abs. P 13 P total phosphorus P 14 PO4 ortho phosphate P 15 PO4-P ortho phosphate, calc. in P P 16 P2O5 ortho phosphate, calc. in P2O5 P 17 PRD product (customer parameter) P 18 P - PO4P difference of ortho P to P, phosphorus in organic part P 19 NH4-N ammonia, calc. in nitrogen P 20 TC total carbon P 21 TOC total organic carbon P 22 TIC total inorganic carbon P 23 SL sludge level P 24 SH sludge height U 0 mg/l milligrams per litre U 1 g/l grams per litre U 2 ppm parts per million U 3 mE milli extinction U 4 E extinction U 5 m-1 per metre U 6 FNU Formazin nephelon unit U 7 NTU nephelometric turb. unit U 8 TE/F German Formazin neph. unit U 9 EBC European brewery congress U 10 % percent U 11 Nm nanometre U 12 Mm millimetre U 13 M metre U 14 Ms millisecond U 15 S second U 16 Min minutes U 17 H hours U 18 MA milliampere U 19 MV millivolt U 20 MNTU milli-NTU U 21 MFTU milli-FTU U 22 mTE/F milli-TE/F U 23 m% milli-percent U 24 Counts counts

Page 45: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 B-18

List of different codes P : measurement type U : unit S : Status A : L : language Enumerated List Code

Value Name Description

U 25 C degree C U 26 F degree F U 27 PH pH U 28 mV/pH millivolts per pH unit U 29 UA microampere U 30 I/h flow rate U 31 Ppt parts per thousand U 32 S/cm Siemen per cm U 33 Ohm/cm Ohm per cm U 34 S/m Siemen per m U 35 Ohm/m Ohm per m U 36 KOhm kilo-ohm U 37 Mohm mega-ohm U 38 Ppb parts per billion U 39 µg/l micrograms per litre U 40 %sat saturation percentage S 0 Off off state S 1 On on state S 2 NORMAL normal mode S 3 MAINT maintenance mode S 4 CALIB calibration mode S 5 ERRORS error mode S 6 CLEANING cleaning mode S 7 N.O. Normally open S 8 N.C. Normally closed A 0 High high setpoint alarm A 1 Low low setpoint alarm A 2 Rate rate of change alarm A 3 System system alarm A 4 Timer timer function A 5 Limit limit alarm A 6 Concentration concentration setpoint alarm A 7 Temperature temperature setpoint alarm A 8 PH pH setpoint alarm A 9 UA uA setpoint alarm A 10 No No alarm A 11 Conductivity conductivity setpoint alarm A 12 USP23 USP23 function A 13 TDS TDS function L 0 English system language L 1 German system language L 2 Spanish system language L 3 French system language L 4 Italian system language L 5 Netherlands system language

Page 46: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 C-1

20. Appendix C: File transfer The modbus protocol authorises the writing and reading of files between addresses 0x0000 and 0xFFFF (65535). This represents a maximum size of 128 Kbytes. The following reserved registers are used: 49957: File transfer control: its value is dependent upon transfer status 0 : inactive 1 : preparing to read 2 : preparing to write 3 : ready for transfer 4 : deactivate transfer 49958: File size (in number of words (16 bits)) 49959: No. of file to transfer File reading procedure Commonly read files are log, event or diagnostic files. The reading procedure is as follows: the master checks the 49957 transfer control register and sets it to passive state (0). The master selects the file number by programming register 49959. the master sets the 49957 transfer control register to "1". This may be performed by the slave. If, for whatever reason, the slave cannot transfer the file, it sets this register to "4". The master can read the size of the "49959 register" in order file to obtain the size of the file to read, using function 21. the master sets the 49957 transfer control register to "0". The different file types In order to maintain a communication standard amongst the various instruments, different file types have been defined. The following table summarises those file types that concern the user.

File no. Description 2 Data log 3 Event log 21 Calibration log (only for the 9200)

The different file formats In order to maintain a communication standard amongst the various instruments, different file formats have been defined. We shall only cover the formats of files that can be used by Polymetron instruments.

N° File format 3 Specific data format 7 Binary data format

The "specific data" format This format is used to transfer calibration logs for the 9200 instruments. 1st Register : 1st byte : Format no. = 03 2nd byte : number of data per row 2nd Register : Number of words for the ASCII header. 3rd + : header text, terminated by 0x00

Page 47: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 C-2

The data comply with the following format: Date/time (4 registers) datum 1 (2 registers)... Datum n (2 registers) Example: 20 02 04 02 05 31 00 15 : 02 April 2002 at 5h31min. and 15s 0A 3D 3F 17 : 0.59 …. Binary data format This format is used to transfer data and event logs for the 9200 instruments. 1st Register : 1st byte : Format no. = 07 2nd byte : = 0x00 no header = 0x01 with header the header is made up of 6 registers:

Register no.

Descriptions

0..2 Instrument serial number 3 Instrument ID 4 Manufacturer ID 5 Time unit (Tick time) 6 Control word

The data follow either 0x07 or 0x00 if there is no header with the following format:

ATS Data ATS Data ATS Data ATS Data

The data are a succession of absolute time frames (ATS) and of data with relative times (Data). Absolute time (ATS):

Word 0 1 .. 2 3 Bit 15 .. 0 31 .. 0 15 .. 0

IDAT Seconds Checksum

IDAT : ID for the absolute time frame, set to (0xAAAA) Seconds 32 bits : the date and time converted to seconds elapsed since (01/01/2000) Checksum :control word

Data block start

Data with relative time base

New absolute time base

Page 48: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 – Rev.G Polymetron S.A. 11/2007 C-3

Datum with relative time (RTS) :

Word 0 1 Bit 15 .. 14 13 .. 10 9 .. 0 15 .. 0

IDD Ch RTS Datum 16-bit

Word 0 1 .. 2 Bit 15 .. 14 13 .. 10 9 .. 0 31 .. 0

IDD Ch RTS Datum 32-bit

IDD: Data type ID 16 bit integer 32 bit float 11 32 bit long integer Ch: channel number (16 channels available) (Example: Chan1 concentration Chan2 temperature Chan3 ph Chan4 signal mV . . . ) RTS: number of time units (ticks) since the last ATS.

Page 49: Operator Manual Manuel de l’opérateur

11/2007 221=991=000 Rév. G

MODBUSManuel d'utilisation

Page 50: Operator Manual Manuel de l’opérateur
Page 51: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B

Avertissement ! Toute utilisation non conforme à celle décrite dans ce manuel peut entraîner des risques pour l'utilisateur. D'autre part, celui-ci ne peut changer aucun des composants du capteur ou du transmetteur. Seul le personnel de Polymetron ou son représentant agréé est habilité à tenter de réparer le système et seuls doivent être utilisés des composants expressément approuvés par le fabriquant. Toute tentative de réparation de l'instrument contrevenant à ces principes peut occasionner des dommages à l'appareil ou à la personne effectuant la réparation. Elle annule aussi la garantie et peut compromettre la sécurité, l'intégrité électrique ou la conformité CE de l'instrument.

COPYRIGHT

Tous droits réservés. Aucune partie de cette publication ne peut être reproduite, stockée dans un système d'introduction et d'accès, ni transmise, sous toute forme ou par tout moyen, électronique, mécanique, photocopie, enregistrement ou autrement, sans l'autorisation préalable de Polymetron S.A.

Polymetron S.A. Polymetron S.A. refuse toute responsabilité quant à l'installation et/ou l'utilisation de cet équipement si ceci n'est pas effectué conformément à la publication appropriée et/ou à l'amendement du manuel correspondant. L'utilisateur de ce manuel doit s'assurer que celui-ci soit approprié, dans tous les détails, à l'équipement exact à installer et/ou à exploiter. En cas de doute, l'utilisateur doit contacter Polymetron S.A., afin d'obtenir leurs conseils.

ATTENTION

Afin de respecter les normes de sécurité, la maintenance régulière, l'étalonnage et l'exploitation de cet équipement par un personnel qualifié sont essentiels. Lire attentivement ce manuel d'instructions et le posséder pleinement avant l'exploitation et l'entretien de cet équipement. Pour de plus amples informations ne figurant pas dans ce manuel, veuillez contacter Polymetron S.A. ou leur agent.

Cet appareil est conforme aux directives

Européennes :

89/336/CEE amendée par la directive 93/68/CEE 73/23/CEE amendée par la directive 93/68/CEE

Page 52: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 C

Au lecteur

Les informations contenues dans ce manuel étaient aussi complètes et exactes que possible au moment de leur impression. Si le comportement de ce produit pendant son utilisation est différente de ce que la documentation décrit, il se peut que votre documentation soit périmée. Dans ce cas, contacter immédiatement votre agent Polymetron pour remédier au problème. Si l'appareil est utilisé d'une façon qui n'est pas spécifiée par le constructeur, la protection assurée par l'appareil peut être compromise. Polymetron se réserve le droit de faire des améliorations et des changements dans le matériel et le logiciel composant le produit décrit dans ce manuel. Merci.

a) Maintenance L'intégrité des connexions électriques et des dispositifs de protection du système doit être vérifiée périodiquement. Les mesures nécessaires doivent être prises pour remédier à toute condition inadéquate. b) Service et réparation Aucun des composants de l'appareil ne peut être révisé par l'utilisateur. Seul le personnel de Polymetron ou son(ses) représentant(s) agréé(s) est(sont) habilité(s) à tenter de réparer le système et seuls doivent être utilisés des composants expressément approuvés par le fabriquant. Toute tentative de réparation de l'instrument contrevenant à ces principes peut occasionner des dommages à l'appareil et des dommages corporels à la personne effectuant la réparation. Elle annule aussi la garantie et peut compromettre le bon fonctionnement, l'intégrité électrique ou la conformité CE de l'instrument. Si vous avez des problèmes d'installation, de mise en route ou d'utilisation de l'instrument, contactez la société qui vous l'a vendu. Si ce n'est pas possible, ou si les résultats de la démarche ne sont pas satisfaisants, contactez le Service de la clientèle du fabricant.

Polymetron

33 rue du Ballon Noisy-Le-Grand

F-93165 Cedex France Tél.+ 33 148 158 080 Fax+ 33 148 158 000

Page 53: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 D

SOMMAIRE 1. Présentation générale du PROTOCOLE MODBUS ........................................................1 2. Caractéristiques générales...............................................................................................2 3. Caractéristiques physiques ..............................................................................................2 4. Liaison RS 485.................................................................................................................2 5. Conseils pratiques d’installation .......................................................................................3 6. Caractéristiques des données..........................................................................................4 7. Présentation des trames de demande et de réponse.......................................................5 8. Fonctions..........................................................................................................................5 9. Programmation du MONEC D 9100.................................................................................6 10. Registres accessibles (4XXXX) ....................................................................................6 11. Utilisation des différentes fonctions ...............................................................................6

Lecture des registres : FONCTION 3 ...................................................................................7 Ecriture d'un seul registre : FONCTION 6 ..........................................................................7 Ecriture de plusieurs registres : FONCTION 16 (10 en hexadécimal) .................................8 Diagnostics : FONCTION 08 ...............................................................................................8 Retour des informations de l'esclave : FONCTION 17 (11 en hexadécimal)........................9 Lecture de fichiers : FONCTION 20 ( 0x14 en hexadécimal) .............................................10

12. Réponse en exception .................................................................................................10 13. Réponse de Time-out ..................................................................................................11 14. Transfert de fichiers (série 9200 uniquement) .............................................................12

Lecture des fichiers historiques des données (9200) ..........................................................12 Lecture des fichiers historiques des événements (9200) ....................................................14 Lecture des fichiers historiques des étalonnages (9200) ....................................................17

15. Messages d’erreurs .....................................................................................................18 16. Installation et démarrage de l’appareil .........................................................................19

Installation de la carte .........................................................................................................19 Câblage des appareils sur le Bus........................................................................................20

17. Programmation du transmetteur ..................................................................................21 18. Annexe A : Format des données ............................................................................... A-1 19. Annexe B : Liste des Entrées / Sorties des appareils polymetron ............................. B-1 20. Annexe C : Transfert de fichiers ................................................................................ C-1

Page 54: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 1

1. Présentation générale du PROTOCOLE MODBUS Les réseaux de terrain sont des outils de communication série assurant l’échange d’informations entre automatismes et équipements de terrain décentralisés. L’atout majeur de ces applications réside dans la réduction des coûts câblage, de mise en service et de maintenance par rapport aux architectures classiques. Deux fils peuvent, en effet, suffire à véhiculer toute l’information (entrées / sorties, paramètres, diagnostiques, alimentation…).

Figure 1 Topologie linéaire

T : Terminaison Les protocoles JBUS et MODBUS sont des protocoles de dialogues créant une structure hiérarchisée (un maître et plusieurs esclaves). Les équipements MONEC D 9100 ou MONEC E 9200 , sous les protocoles JBUS/ MODBUS dialoguent en mode RTU (Remote Terminal Unit). Ce type de protocole permet d'interroger depuis le maître, un ou plusieurs équipements. Une liaison multipoints relie entre eux un maître et des esclaves. Deux types de dialogue sont possibles entre le maître et les transmetteurs : Le maître parle à un transmetteur et attend sa réponse, Le maître parle à l'ensemble des transmetteurs sans attendre de réponse (principe de la diffusion générale). Le maître gère les échanges et réitère la question lors d'échange erroné. Il décrète l'esclave absent après une non-réponse dans un temps donné (timeout). Pour les appareils MONEC 9100/9200, le Temps d'attente Inter Caractères (T.I.C) dépend de la vitesse de transmission. Ces temps sont consignés dans le tableau ci-dessous.

Vitesse de transmission (bauds)

T.I.C mini. (ms)

T.I.C maxi. (ms)

Time-out (ms)

300

0

110

1000

600

0

60

1000

1200

0

30

1000

2400

0

20

1000

4800

0

10

1000

9600

0

10

1000

19200

0

10

1000

T T

Page 55: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 2

2. Caractéristiques générales

CONDITIONS D’UTILISATION Température ambiante - 20°..+ 60°C Humidité relative 10..90% Fluctuation de la tension d’alimentation

± 10%

Catégorie de surtension 2 Degré de pollution 2 (suivant CEI 664) Altitude <2000 m IDENTIFICATION Désignation Carte 485 Méthode d’accès bus maître/ esclave Abonnés 32 stations max. Débit 300 baud à 19.2 Kbaud Type de transmission Numérique, protocole synchrone orienté bit Topologie Bus linéaire (avec résistance de terminaison) CONNEXION ELECTRIQUE Câble bus Paire torsadée blindée Longueur de câble 1200 m max. dépendant du débit Terminaison bus A chaque terminaison Couche physique RS485 INTERFACE HOMME/ MACHINE Programmation locale Via clavier appareil polymetron Programmation PC Via logiciel d’exploitation et carte interface RS485 Adresse BUS Programmable

3. Caractéristiques physiques Le domaine d’application d’un réseau de terrain est en grande partie conditionné par la technique de transmission adoptée. Aux exigences générales (sécurité de transmission, longues distances ou débit élevés), s’ajoutent des critères de simplicité et d’économie qui jouent un rôle décisif dans la mise en œuvre du réseau.

Principales caractéristiques de la transmission RS 485 Topologie Linéaire, terminaison de bus active à chaque extrémité Support Paire torsadée blindée

Nombre de stations

32 par segment sans récepteur

4. Liaison RS 485 La liaison RS 485 est la technique de transmission privilégiée de MODBUS. C’est un mode de transmission différentiel. Chaque signal de données est véhiculé sur 2 fils et n’est pas référencé par rapport à la masse, mais présenté comme un signal différentiel aux sorties du transmetteur et aux entrées du récepteur. L’emploi d’un dispositif de terminaison (résistance RC) est préconisé afin de boucler la ligne sur son impédance caractéristique. Ce montage permet de minimiser les bruits et les réflexions assurant une parfaite qualité de la transmission. Ce dispositif est implanté sur la carte optionnelle RS485

Page 56: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 3

Selon la version de carte micro-processeur (CPU) du transmetteur, voici les modèles de carte RS485 possible:

Carte RS 485 (09125=A=1101) . Sur cette photo, les Interrupteurs 1 et 2 sont en position ON ; Position du transmetteurs en terminaison.

Carte RS 485 (09125=A=1100) Sur cette photo, le cavalier est en position 1 ; Position du transmetteurs en terminaison.

La mise en œuvre de la liaison RS 485 est d’une grande facilité ; l’installation de la paire torsadée ne requiert pas de connaissance particulière et la structure du bus permet l’ajout ou le retrait de stations ou la mise en service par étapes du système sans répercussion sur les autres stations. Les extensions futures ne pénalisent pas les stations en exploitations.

Caractéristiques des câbles

Impédance 135 à 165 Ω (3 à 20 MHz)

Capacité linéique < 30 pF /m

Résistance < 110 Ω / km

Diamètre > 0,64 mm

Section > 0,34 mm²

L’utilisateur a le choix du débit, dans une plage allant de 300 bauds à 19200 bauds. Ce choix, effectué au démarrage du réseau, vaut pour tous les abonnés du bus. La longueur maximale du bus dépend de ce débit.

Longueur des lignes en fonction de la vitesse de transmission

Vitesse de transmission kbit/s

9,6 19,2 93,75 187,5 500 1500 12000

Câble A (en m) 1200 1200 1200 1000 400 200 100

5. Conseils pratiques d’installation Tous les équipements sont raccordés sur un réseau en bus (topologie linéaire). Un segment peut interconnecter 32 stations, maîtres ou esclaves. Le bus s’achève par une terminaison active à chaque extrémité de segment

Page 57: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 4

Figure 5 Rappel du câblage

6. Caractéristiques des données Tout échange entre 2 appareils comporte 2 messages : une demande du maître et une réponse de l'esclave. Chaque message ou trame contient 4 types d'informations :

Adresse Fonction Bloc message Mot de contrôle

1 octet 1 octet Nombre variable de octet selon la fonction

2 octets

• Adresse : (1 octet) 0..32 C'est le numéro de l'esclave ; spécifie le transmetteur destinataire. Si le numéro est zéro, la demande concerne tous les esclaves, il n'y a pas de message de réponse

• fonction (1 octet)

Permet de sélectionner une fonction (lecture, écriture, bit, mot) et de vérifier si la réponse est correcte.

• Bloc message (n octets)

Ce champs d'information contient les paramètres liés à la fonction : adresse bit, adresses mot, valeur bit, valeur mot, nombre de bits, nombre de mots. • le mot de contrôle (2 octets) Mot utilisé pour détecter les erreurs de transmission.

Note : Il est impératif d’utiliser des lignes de données blindées pour garantir un antiparasitage optimal en ambiance à forte pollution électromagnétique. Le blindage améliore en effet la compatibilité électromagnétique (CEM). Ce blindage par tresse et, éventuellement, par feuille doit être relié à la masse mécanique à chaque extrémité, tout en assurant une bonne conductivité avec des colliers de blindage couvrant la zone la plus large possible (voir figure 5). Il est en outre recommandé de dissocier les lignes de données des câbles haute tension.

Rx/Tx +

Rx/Tx -

Rx/Tx +

Rx/Tx -

Page 58: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 5

7. Présentation des trames de demande et de réponse trame de demande :

Adresse Fonction Bloc message Mot de contrôle

1 octet 1 octet Nombre variable de octet selon la fonction

2 octets

• informations : information nécessaire à la demande adresse bits, mots, valeur bits mots, nombre de bits, mots...

• mot de contrôle : Lorsque le message est reçu par l'esclave, ce dernier lit le mot de

contrôle et accepte ou refuse le message. trame de réponse :

Adresse Fonction Bloc message Mot de contrôle

1 octet 1 octet Nombre variable de octet selon la fonction

2 octets

8. Fonctions Le protocole MODBUS possède une multitude de fonctions. Seules les plus importantes (voir le tableau ci-dessous) sont utilisées par les appareils polymetron

Fonction Description

3 Lecture de 1 ou plusieurs registres

6 Ecriture d'un registre

8 Diagnostic des échanges

16 Ecriture de 1 ou plusieurs registres

17 Lecture des informations de l'esclave

20 Lecture de fichiers

21 Ecriture de fichiers

Page 59: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 6

9. Programmation du MONEC D 9100 Veuillez vous reporter au manuel de référence de l’appareil pour programmer les paramètres de la RS485.

10. Registres accessibles (4XXXX) Ces registres concernent le fonctionnement de l'instrument et se divisent en plusieurs familles de paramètres : • La mesure avec les paramètres suivants ; la concentration , la température, le pH,

la conductivité, … • Les alarmes avec les valeurs de seuils, affectation des relais, etc... • Les sorties 4...20, • Le diagnostic avec les paramètres d'étalonnage…. Ces paramètres peuvent être en lecture seule ou en lecture écriture. La liste des différents paramètres accessibles par cette fonction se trouve en Annexe B : Liste des Entrées / Sorties des appareils polymetron.

11. Utilisation des différentes fonctions

Note : Dans le protocole Modbus, les registres commencent à 40001, mais en pratique le numéro du registre se trouvant dans la trame modbus commence à 0. Exemple: pour lire la concentration avec comme registre 40005, il faut utiliser le numéro 40005-40001=04 dans la trame.

Note : Les données dans les exemples de trame sont exprimées en hexadécimale

Page 60: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 7

Lecture des registres : FONCTION 3 La fonction 3 du protocole permet de lire un ou plusieurs paramètres.

trame de demande :

Bloc message

Adresse Fonction Début Nombre de registre

Mot de contrôle

01 03 00 05 00 01 ******

Dans cet exemple l'instrument dont l'adresse est 01, doit retourner les valeurs du registre (40001+05=40006)

trame de réponse :

Bloc message Adresse Fonction

Nombre de byte Valeur des registres Mot de contrôle

01 03 02 84 56 ******

Dans cet exemple, l'instrument renvoie la valeur 33878 (0x8456) du registre 40006 .

Ecriture d'un seul registre : FONCTION 6

La fonction 6 du protocole permet de modifier un seul paramètre.

trame de demande :

Bloc message Adresse Fonction

Registre donnée Mot de contrôle

01 06 00 11 43 12 ******

Dans cet exemple l'instrument dont l'adresse est 01, doit écrire la valeur 17170 (0x4312) dans le registre (40001+17(0x11)=40018)

trame de réponse :

Bloc message Adresse Fonction

Registre donnée Mot de contrôle

01 06 00 11 43 12 ******

La réponse est identique à la requête.

Page 61: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 8

Ecriture de plusieurs registres : FONCTION 16 (10 en hexadécimal)

La fonction 16 du protocole permet de modifier un ou plusieurs paramètres. trame de demande :

Bloc message

Adresse Fonction début Nombre de

registre Nombre d'octets

données Mot de contrôle

01 10 00 98 00 02 04 43 12 02 11 ******

Dans cet exemple l'instrument dont l'adresse est 01, doit écrire la valeur 17170(0x4312) dans le registre (40001+152(0x98)=40153) et la valeur 529(0x0211) dans le 40154

trame de réponse :

Bloc message

Adresse Fonction Début Nombre de registres

Mot de contrôle

01 10 00 98 00 02 ******

La réponse retourne le début et le nombre de registres .

Diagnostics : FONCTION 08

La fonction 08 du protocole permet de vérifier la communication entre le maître et l'esclave. Elle retourne exactement la même trame que la requête.

trame de demande :

Bloc message

Adresse Fonction Sous fonction Donnée additionnelle

Mot de contrôle

01 08 00 00 43 12 ******

trame de réponse :

Bloc message

Adresse Fonction Sous fonction Donnée additionnelle

Mot de contrôle

01 08 00 00 43 12 ******

Page 62: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 9

Retour des informations de l'esclave : FONCTION 17 (11 en hexadécimal)

La fonction 17 du protocole permet au maître de demander les information de l'esclave

trame de demande :

Adresse Fonction Mot de contrôle

01 11 ******

trame de réponse : La réponse est présentée dans le tableau suivant et avec le 9210 comme exemple:

Byte Description Exemple (Hex)

0 Adresse de l'esclave 0x01

1 Numéro de la fonction 0x11

2 Nombre d'octet, entre l'octet suivant et le checksum. Fixé à 12 (0x0C) pour cet esclave. 0x0C

3 Identificateur de l'esclave : (fixé à D5 pour cette interface) 0xD5

4 Indicateur de l'état d'exécution de l'instrument (00 = off; FF = on) 0xFF

5 Numero de version du format de l'Identificateur de l'esclave. 0x01

6

Identificateur du fabricant 0 – Hach 1 – Dr. Lange 2 – American Sigma 3 – Pacific Scientific 4 – Polymetron 5 – Astro 6 – Wireless Systems 7 – Acromag

0x04

7 Identificateur de l'instrument (octet poids fort) 0x00

8 Identificateur de l'instrument (octet poids faible) 0x20

9 Numéro de version du logiciel de l'Instrument – (octet poids fort) exemple version 1.15 est représenté comme 115 (0x0073) 0x00

10 Numéro de version du logiciel de l'Instrument – (octet poids faible) exemple version 1.15 est représenté comme 115 (0x0073) 0x73

11 Version de l'organisation des registres. 0x01

12 Taille du buffer d'entrées entre 20 to 255 0xFF

13 Taille du buffer de sortie entre 20 to 255 0xFF

14 Temps de réponse max. indique au maître le timeout maximum (en secondes X100; ex: 0.5 sec équivalent à 50) pour avoir une réponse à l'exception de la fonction 21 qui un timeout étendu de 2 sec. Entre 0.1 to 1.0 secs (10 to 100)

0x32

15,16 CRC checksum ****

Page 63: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 10

Lecture de fichiers : FONCTION 20 ( 0x14 en hexadécimal)

La fonction 20 du protocole permet de lire des données à partir de fichier. La manipulation des fichiers est détaillée dans le paragraphe Transfert de fichier.

trame de demande :

Bloc message

Adresse Fonction Nombre d'octets

Ref type N° du fichier Adresse début

Nombre de registre

Mot de contrôle

01 14 07 06 0005 00 00 00 04 ******

Dans cet exemple, le maître demande à l'instrument 01 de lire 0004 registres à partir de l'adresse 0000, du fichier N° 0005. Pour plus de détail sur le numéro de fichier voir annexe transfert de fichier Le champ "ref type" est toujours fixé à 06. Le nombre d'octets est le nombre d'octet dans la trame entre le "Ref type " et le mot de contrôle; ce dernier n'est pas inclus.

trame de réponse :

Bloc message

Adresse Fonction Nombre

d'octets +2 Nombre

d'octets+1 Ref type Données

Mot de contrôle

01 14 0A 09 06 F3 54 23 00 00 24 A3 E0 ******

Dans la réponse, le champ "ref type" est toujours fixé à 06. Le nombre d'octets est 8. (2x4 registres). Les données sont les valeurs des registres 0x0000 à 0x0003 0x0000 0xF354 0x0001 0x2300 0x0002 0x0024 0x0003 0xA3E0

12. Réponse en exception Lorsque le maître envoie une demande à un esclave, un des trois événements suivants peut arriver : • L’esclave reçoit la requête sans aucune erreur de communication et peut procéder

à la réponse sans erreurs. Dans ce cas, l’esclave répondra normalement. • L’esclave ne reçoit pas la requête ou une communication avec une erreur de

CRC. Dans ce cas, l’esclave ne répond pas. Le maître détectera une erreur de time-out.

• L’esclave reçoit une requête sans erreur de CRC, mais ne peut y répondre (par exemple à la demande d’un registre qui n’existe pas). Dans ce cas, l’esclave renvoie une réponse d’exception.

Lorsque l’esclave reçoit une requête sans erreur de CRC à laquelle il ne peut répondre, une réponse d’exception est retournée. Elle consiste à renvoyer le même code de fonction que la requête avec le bit le plus significatif (MSB) mis à 1. Le code d’exception est ensuite ajouté au message. Un exemple de réponse d’exception est montré ci-dessous.

Page 64: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 11

Requête : un exemple d’écriture d’un registre non valide.

Data Address Function Start Register

Number of Registers

Byte Count

Data Checksum

01 10 00 98 00 02 04 43 12 02 11 ****

Réponse d’exception : Dans la réponse le bit le plus significatif de la fonction est mis à 1 ,suivi du code d’exception.

Data Address Function (with MSB set) Exception Code

Checksum

01 90 03 ****

Les codes d’exception utiliséés dans cette implémentation sont les suivants :

Code d’exception

Nom Déscription

01 Fonction illégale Le code de fonction reçu dans la demande n’est pas valide pour l’esclave.

02 Adresse de données illégale

L’adresse de la donnée (Registre) reçue dans la demande n’est pas valide pour l’esclave.

03 Valeur de la donnée illégale

La valeur de la donnée reçue dans la requête n’est pas valide pour l’esclave.

13. Réponse de Time-out Lorsque le maître envoie une requête à un esclave, il a besoin d’attendre sa réponse avant d’envoyer une autre requête. Si une erreur de CRC arrive, l’esclave ne doit pas envoyer de réponse. Dans ce cas, le maître doit détecter un « time-out » pour pouvoir continuer d’autres requêtes. La longueur de ce « time-out » n’est pas fixé par le protocole et le maître doit avoir des valeurs de « time-out » pour chaque esclave connecté sur le bus. Ce « time-out » doit être configurer à la valeur du temps de réponse maximale pour une réponse normale. Il est de 1 seconde pour les transmetteurs de la gamme MONEC 91XX.

Page 65: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 12

14. Transfert de fichiers (série 9200 uniquement) Le protocole modbus autorise la lecture de fichier entre l'adresse 0x0000 et 0xFFFF(65535). Ce qui fait une taille maximum de 128Koctets. Pour plus de détails concernant le format et le type de fichier ainsi que la procédure de lecture de fichier voir annexe F : Transfert de fichiers

Lecture des fichiers historiques des données (9200) L'unité des temps utilisée dans l'ATS et RTS est d'une minute. La lecture de fichier se déroule selon la procédure suivante :

Page 66: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 13

a) Remise du registre du contrôle de transfert à 0

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 00 ******

b) Programmation le registre du numéro de fichier à 2 : fichier de données

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E6 (49959-40001) 00 02 ******

c) Remise du registre du contrôle de transfert à 1

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 01 ******

A la suite de cette requête, le 92XX calcule la taille du fichier. Cette information est disponible dans le registre 49959.

d) Lecture de fichier avec la fonction 20

Adresse Fonction Nombre

d'octets Ref type N° du fichier Adresse

début Nombre de

registre Mot de contrôle

** 14 07 06 0002 00 00 00 20 ******

Dans cet exemple, on demande la lecture à partir du début (adresse =0000) des 32(0x20) premiers registres du fichier 02 ( fichier de données) La réponse est:

Adresse Fonction Nombre

d'octets +2 Nombre

d'octets+1 Ref type Données

** 14 48 47 06 07 00 AA AA 07 81 78 A4 73….etc ******

Le détail des données est comme suit :

Début 07 : format de fichier 00 : sans entête

ATS AA AA : identificateur de l'ATS 07 81 78 A4 :Temps en secondes écoulé depuis le 1/01/2000

(24/12/03 à 11h22mn00s=125925540s) 73 CC : Checksum de l'ATS

RTS

4C 00 : IDD/Ch/RTS : : Idd = 01 donnée 32bits réelle : Ch = 02 : voie de mesure 02 : RTS = 00 3D CC CC CD : donnée 0.1ppb au format réel.

Page 67: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 14

4C 0A 3D CC CC CD : IDD=01 Ch= 02 RTS=10 Data=0.1ppb 4C 15 3D CC CC CD : IDD=01 Ch= 02 RTS=21 Data=0.1ppb 4C 1F 3D CC CC CD : IDD=01 Ch= 02 RTS=31 Data=0.1ppb 4C 2A 3D CC CC CD : IDD=01 Ch= 02 RTS=42 Data=0.1ppb 4C 35 3D CC CC CD : IDD=01 Ch= 02 RTS=53 Data=0.1ppb 4C 3F 3D CC CC CD : IDD=01 Ch= 02 RTS=63 Data=0.1ppb 4C 4A 3D CC CC CD : IDD=01 Ch= 02 RTS=74 Data=0.1ppb ATS

AA AA : identificateur de l'ATS 07 91 31 90 : Temps en secondes (05/01/04 à

09h32mn00s=126955920s) 45 00 : Checksum de l'ATS

RTS

4C 00 3D CC CC CD : IDD=01 Ch= 02

RTS=00 Data=0.1ppb

MOT DE CONTROLE 56 BF : Checksum de l'ensemble de la trame

Lecture des fichiers historiques des événements (9200) L'unité des temps utilisée dans l'ATS et RTS est d'une minute. La lecture de fichier se déroule selon la procédure suivante :

a) Remise du registre du contrôle de transfert à 0

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 00 ******

b) Programmation le registre du numéro de fichier à 3 : fichier des

évènements

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E6 (49959-40001) 00 03 ******

c) Remise du registre du contrôle de transfert à 1

Adresse Fonction Registre Hexa (Dec) Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 01 ******

A la suite de cette requête, le 92XX calcule la taille du fichier. Cette information est disponible dans le registre 49959.

Page 68: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 15

d) Lecture de fichier avec la fonction 20

Adresse Fonction Nombre d'octets

Ref type N° du fichier Adresse début

Nombre de registre

Mot de contrôle

** 14 07 06 0003 00 00 00 20 ******

Dans cet exemple, on demande la lecture à partir du début (adresse =0000) des 32(0x20) premiers registres du fichier 03 ( fichier des évènements)

La réponse est:

Adresse Fonction Nombre

d'octets +2 Nombre

d'octets+1 Ref type Données Mot de

contrôle

** 14 48 47 06 07 00 AA AA 07 C9 EB AC 1E ..etc ******

Le détail des données est comme suit : Début 07 : format de fichier 00 : sans entête ATS AA AA : identificateur de l'ATS 07 81 69 2C : Temps en secondes (24/12/03 à

10h13mn00s=125921580s) 7F 0C : Checksum de l'ATS RTS C8 00 : IDD/Ch/RTS : : Idd = 03 donnée entier 32bits : Ch = 02 : type d'évènement voir tableau dessous : RTS = 00 00 02 00 00 : voir tableau des évènement selon son type ATS AA AA : identificateur de l'ATS 07 9A CE 80 : Temps en secondes (12/01/04 à

16h32mn00s=127585920s) 35 47 : Checksum de l'ATS RTS CC 00 : IDD/Ch/RTS : : Idd = 03 donnée entier 32bits : Ch = 03 : type d'évènement voir tableau dessous : RTS = 00 00 00 00 01 : voir tableau des évènement selon son type ATS AA AA : identificateur de l'ATS 07 BB 7E DC : Temps en secondes (06/02/04 à

11h37mn00s=129728220s) D1 5E : Checksum de l'ATS RTS CC 00 : IDD/Ch/RTS : : Idd = 03 donnée entier 32bits : Ch = 03 : type d'évènement voir tableau dessous : RTS = 00 00 00 00 04 : voir tableau des évènement selon son type

Page 69: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 16

CC 01 00 00 00 01 : IDD=03 Ch= 03 RTS=01 évènement = 0000 0001 C4 C4 00 00 00 01 : IDD=03 Ch= 03 RTS=196(C4)

évènement =0000 0001 CC D9 00 00 00 80 : IDD=03 Ch= 03 RTS=217(D9)

évènement =0000 0080 CC F1 00 00 00 40 : IDD=03 Ch= 03 RTS=241(F1)

évènement =0000 0080 MOT DE CONTROLE 3D CC : Checksum de l'ensemble de la trame

Tableau des type d'évènements

Type d'évènement description 3 Alarme système 2 warning 1 Alarme de seuil

Tableau des évènements

Valeur Type 3 Type 2 Type 1 0x00000001 Pas d'échantillon Erreur conc 1 Conc 1 0x00000002 Manque de réactif Erreur conc 2 0x00000004 Manque de sol d'étalonnage Erreur conc 3 0x00000008 Erreur étalonnage zéro Erreur conc 4 Conc 2 0x00000010 Erreur étalonnage pente Erreur conc 5 0x00000020 Erreur de communication Erreur conc 6 0x00000040 Erreur Local contrôleur Manque échantillon 1 Conc 3 0x00000080 Erreur mod mesure Manque échantillon 2 0x00000100 Erreur Local contrôleur Manque échantillon 3 0x00000200 Erreur Local contrôleur Manque échantillon 4 Conc 4 0x00000400 Erreur mod mesure Manque échantillon 5 0x00000800 Manque échantillon 6 0x00001000 Quantité réactif faible Conc 5 0x00002000 Quantité cal sol faible 0x00004000 Derive cal zero 0x00008000 Dérive pente Conc 6 0x00010000 Erreur mod mesure 0x00020000 Temps de mesure >> 0x00040000 Temps étalonnage >> 0x00080000 Erreur étalonnage 0x00100000 Erreur Local contrôleur 0x00200000 Err. Calcul réference

Page 70: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 17

Lecture des fichiers historiques des étalonnages (9200) L'unité des temps utilisée dans l'ATS et RTS est d'une minute. La lecture de fichier se déroule selon la procédure suivante :

a) Remise du registre du contrôle de transfert à 0

Adresse Fonction Registre Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 00 ******

b) Programmation le registre du numéro de fichier à 15 : fichier historique des

étalonnages

Adresse Fonction Registre Donnée Mot de contrôle

** 06 26 E6 (49959-40001) 00 15 ******

c) Remise du registre du contrôle de transfert à 1

Adresse Fonction Registre Donnée Mot de contrôle

** 06 26 E4 (49957-40001) 00 01 ******

A la suite de cette requête, le 92XX calcule la taille du fichier. Cette information est disponible dans le registre 49959.

d) Lecture de fichier avec la fonction 20

Adresse Fonction Nombre

d'octets Ref type N° du fichier Adresse

début Nombre de

registre Mot de contrôle

** 14 07 06 0015 00 00 00 20 ******

Dans cet exemple, on demande la lecture à partir du début (adresse =0000) des 32(0x20) premiers registres du fichier 03 (fichier historique des étalonnages) La réponse est :

Adresse Fonction Nombre d'octets +2

Nombre d'octets+1

Ref type Données Mot de contrôle

** 14 48 47 06 03 02 00 X1 X2… X11 ******

Le détail des données est comme suit :

Début 03 : format de fichier 02 : nombre de données par ligne (nombre d'octets /4) 00 : sans entête DATE et HEURE X1 X2 : année 02 04 signifie 2004 X3 X4 X5 X6 : mois jours heure minute X6 X7 : secondes X7=0

Page 71: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 18

DONNEE X8 : type d'étalonnage

04 : offset primaire 05 : pente primaire 06 : offset manuel 07 : pente manuel 08 : offset automatique 09 : pente automatique

X9 : numéro de la voie utilisé pour l'étalonnage 00 pour la pente X10 : validité de l'étalonnage X11 : 00 X12,X13,X14,X15 : valeur de la pente ou de l'offset. Les champs Date et données sont répétés selon le nombre de données souhaitées. Le fichier est terminé par un mot de contrôle.

15. Messages d’erreurs Dans le cas d'une erreur de parité ou d'un mauvais CRC (Cyclic Redundancy Check) le MONEC ne renvoie pas de réponse et attend que le maître renvoie sa question. Dans le cas d'une erreur sur les données sans erreur de transmission, le MONEC envoie un message d'erreur. Exemple: Lecture d'un octet avec une mauvaise adresse

Trame de demande:

Adresse Fonction Registre Nombre de registres Mot de contrôle

** 03 00 05 00 01 ******

Trame de réponse :

Adresse Fonction Code de l'erreur Mot de contrôle

** 83 02 ******

Dans la trame de réponse, le code fonction est composé par une fonction «OU» entre le code de la fonction et la valeur 0x80 en hexadécimal (0x80 «OU» 03 = 0x83) Les fonctions de gestion d'erreur du Monec sont :

Code 01 Fonction illégale La fonction reçue n'est pas une action permise pour le Monec.

Code 02

Adresse incorrecte

L'adresse référencée n'est pas une adresse permise pour le Monec.

Code 03

Données erronées

La valeur référencée dans le domaine de transmission n'est pas permise pour le Monec.

Page 72: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 19

16. Installation et démarrage de l’appareil L’installation nécessite le respect des étapes suivantes dans l’ordre présenté.

Installation de la carte 1. Mettre l’appareil hors tension 2. Ouvrir la façade avant 3. Positionner la carte optionnelle RS485 sur la carte CPU de l’appareil.

Figure 8 Carte optionnelle

Carte RS 485 (09125=A=1101) . Sur cette photo, les Interrupteurs 1 et 2 sont en position ON ; Position du transmetteurs en terminaison.

Carte RS 485 (09125=A=1100) Sur cette photo, le cavalier est en position 1 ; Position du transmetteurs en terminaison.

Exemple de montage d'une carte RS485 (09125=A=1101) sur une carte micro-processeur 2ème génération pour 91XX

(dite CPU-ph2).

Exemple de montage d'une carte RS485 (09125=A=1100) sur une carte micro-processeur pour 92XX.

Page 73: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 20

Câblage des appareils sur le Bus 1. A partir du Maître (Ordinateur ou Automate) connecter le câble torsadé par paire.

Repérer Rx/Tx+ et Rx/Tx- . 2. Sur chaque transmetteur répéter les opérations suivantes : • Ouvrir la façade avant du transmetteur • Passer le câble au travers du presse-étoupe du transmetteur • Connecter les fils Rx/Tx+ et Rx/Tx- aux bornes correspondantes du

transmetteur. Chaque appareil qui se situe en milieu de Bus aura 2 fils connectés par borne, 1 fil provenant de l’appareil qui le précède, et 1 fil qui part vers l’appareil suivant.

• Connecter les blindages à la terre aussi souvent que possible (au moins à chaque connexion de transmetteur sur la borne de terre qui se situe sur la plaque de blindage).

• Sur les appareils qui se trouvent aux extrémités du Bus (Il peut en exister plusieurs si le réseau n’est pas linéaire mais en étoile par exemple) réaliser les tâches suivantes: Pour les cartes référence 09125=A=1100 mettre le cavalier sur la position 1 et pour les cartes référence 09125=A=1101 mettre les interrupteurs 1 et 2 sur la position On. (Voir pour exemple les photographies du paragraphe ci-dessus)

• Sur les appareils qui ne sont pas aux extrémités de Bus, réaliser les tâches suivantes: Pour les cartes référence 09125=A=1100 mettre le cavalier sur la position 0 et pour les cartes référence 09125=A=1101 mettre les interrupteurs 1 et 2 sur la position Off (Opposée à la position On) .

• Refermer le façade avant du transmetteur, Remettre l’appareil sous tension

Note : Les plaques de blindage indiquent la position des bornes de connexion des câbles du Bus.

Figure 9 Plaques de blindage

MONEC D 91XX MONEC E 92XX

Page 74: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 21

17. Programmation du transmetteur 1. Configurer les paramètres de la communication dans le menu relatif à la

communication RS485 2. Allouer notamment un numéro compris entre 1 et 32. Ce numéro doit être unique

parmi tous les appareils connectés sur le Bus. Pour plus de détails se référer au manuel du transmetteur.

Page 75: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 A-1

18. Annexe A : Format des données Dans cette documentation, les termes « octet », « mot » et « flottant » ont les significations suivantes : Octet : Base composée de huit caractères binaires (8 bits). Mot : Base composée de deux octets (16 bits). Flottant : Base composée de quatre octets (32 bits). Le format utilisé est celui du standard IEEE-754. Le nombre flottant est mémorisé selon le format suivant :

Octet 1 Octet 2 Octet 3 Octet 4 seeeeeee emmmmmmm mmmmmmmm mmmmmmmm

Où : s représente le bit de signe (0 positif ; 1 négatif). e est l’exposant (complément à 2 avec offset de 127). m représente la mantisse sur 23 bits. Le bit le plus significatif est toujours 1, et de plus non représenté. Exemple : L’exemple ci-dessous montre la conversion de la valeur –12.5. Le nombre flottant –12.5 est mémorisé comme une valeur hexadécimale de type 0xC1480000. En mémoire le format est le suivant :

Adresse +0 +1 +2 +3 Contenu 0xC1 0x48 0x00 0x00

La représentation de la mémorisation du nombre flottant n ‘est pas un format intuitif. Pour la conversion d’un nombre flottant, les bits doivent être séparés comme indiqué dans le tableau ci-dessous. Par exemple :

Adresse +0 +1 +2 +3 Format seeeeeee emmmmmmm mmmmmmmm mmmmmmmm Binaire 11000001 01001000 00000000 00000000 Hex C1 48 00 00

A partir de cet exemple, vous pouvez en déduire les informations suivantes : Le signe du bit est 1, ce qui indique un nombre négatif. La valeur exposant est 10000010 binaire ou 130 décimale. L’exposant est égal à 3 (130-127). La mantisse a le format binaire suivant : 10010000000000000000000 Le point décimal à gauche de la mantisse est toujours précédé par un 1. Ce digit n’est pas mémorisé en représentation hexadécimale d’un nombre flottant. L’ajout du 1 et du point décimal au début de la mantisse donne le format suivant : 1.10010000000000000000000 A présent ajustement de la mantisse pour l’exposant. Un exposant négatif déplace le point décimal vers la gauche. Un exposant positif le déplace vers la droite. Avec un exposant 3, la mantisse est ajustée comme suit : 1100.10000000000000000000 Le résultat représente un nombre flottant binaire. Les digits binaires à gauche du point décimal représentent une puissance de 2 qui correspond à la position : 1100 représente (1x23) + (1x22) + (0x21) + (0x20) ce qui équivaut à 12. Les digits binaires à droite du point décimal représentent aussi une puissance de 2 correspondant à leur position. Cependant la puissance est négative : .100... représente (1x2-1) + (0x2-2) + (0x2-3) + ... ce qui équivaut à .5. En ajoutant les deux valeurs on obtient 12.5 qui doit être rendu négatif car le signe du bit est négatif. Ainsi, la valeur hexadécimale 0xC1480000du point flottant est - 12,5.

Page 76: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-1

19. Annexe B : Liste des Entrées / Sorties des appareils polymetron Manufacture ID:4 Instrument ID : 1 Template ID : 1

Instrument Name : 9125conc

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40078 Measurements Conductivity 40005 Float 2 R R40077 Measurements Reserved 40007 Float 2 R Diagnostics Cal offset conductivity 40009 Float 2 R R40077 Diagnostics Cal slope conductivity 40011 Float 2 R R40077 Diagnostics Cal offset temperature 40013 Float 2 R R40078 Diagnostics Reserved 40015 Float 2 R Diagnostics Reserved 40017 Float 2 R Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation Alm1 40021 Integer 1 R/W A6/7/11/10 Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40026 Integer 1 R/W 10 Setup/Alarm Relais type Alm1 40027 Integer 1 R/W S7/8 Setup/Alarm Affectation Alm2 40028 Integer 1 R/W A6/7/11/10 Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40033 Integer 1 R/W 10 Setup/Alarm Relais type Alm2 40034 Integer 1 R/W S7/8 Setup/Alarm Relais Mode Alm3 40035 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40036 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40041 Integer 1 R/W 10 Setup/Alarm Relais type Alm3 40042 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relais Mode Alm4 40044 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40045 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm4 40050 Integer 1 R/W 10 Setup/Alarm Relais type Alm4 40051 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40052 Integer 1 R/W Setup/Recorders Range Iout 1 40053 Integer 1 R/W A6/7/11 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale Iout1 40055 Float 2 R/W Setup/Recorders Middle scale Iout1 40057 Float 2 R/W Setup/Recorders End scale Iout1 40059 Float 2 R/W

Page 77: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-2

Manufacture ID:4 Instrument ID : 1 Template ID : 1

Instrument Name : 9125conc

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Recorders Affectation Iout 2 40061 Integer 1 R/W Setup/Recorders Range Iout 2 40062 Integer 1 R/W A6/7/11 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale Iout2 40064 Float 2 R/W Setup/Recorders Middle scale Iout2 40066 Float 2 R/W Setup/Recorders End scale Iout2 40068 Float 2 R/W Setup/Com Swap word 40070 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Address 40074 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration unit 40076 Integer 1 R/W U1/10 Setup/System Conductivity unit 40077 Integer 1 R/W U32/33/34/3

5 Setup/System Temperature unit 40078 Integer 1 R/W U25/26 Setup/System Language 40079 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40080 String 5 R/W Setup/System Pass code prog 40085 Integer 1 W Setup/System Pass code service 40086 Integer 1 W Setup/System Pass code factory 40087 Integer 1 W

Page 78: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-3

Manufacture ID:4 Instrument ID : 0 Template ID : 1

Instrument Name : 9125

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Temperature 40003 Float 2 R R40085 Measurements TDS 40005 Float 2 R 31 Measurements Reserved 40007 Float 2 R Diagnostics Cal offset

conductivity 40009 Float 2 R R40084

Diagnostics Cal slope conductivity

40011 Float 2 R R40084

Diagnostics Cal offset temperature

40013 Float 2 R R40085

Diagnostics Cable capacity value

40015 Float 2 R

Diagnostics Polarisation cable value

40017 Float 2 R

Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Relay modeAlm1 40021 Integer 1 R/W A5/12/10 Setup/Alarm USP23 temp Alm1 40022 Float 2 R/W R40085 Setup/Alarm USP23 severity

Alm1 40024 Integer 1 R/W 10

Setup/Alarm Affectation Alm1 40025 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 1 40026 Float 2 R/W Setup/Alarm Relais type Alm1 40028 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40029 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40030 Integer 1 R/W 10 Setup/Alarm Relay type Alm1 40031 Integer 1 R/W S7/8 Setup/Alarm Relay modeAlm2 40032 Integer 1 R/W A5/12/10 Setup/Alarm USP23 temp Alm2 40033 Float 2 R/W R40085 Setup/Alarm USP23 severity

Alm2 40035 Integer 1 R/W 10

Setup/Alarm Affectation Alm2 40036 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 2 40037 Float 2 R/W Setup/Alarm Uplow Alm2 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40041 Integer 1 R/W 10 Setup/Alarm Relay type Alm2 40042 Integer 1 R/W S7/8 Setup/Alarm Relay Mode Alm3 40043 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40044 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 3 40045 Float 2 R/W Setup/Alarm Uplow Alm3 40047 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40048 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40049 Integer 1 R/W 10 Setup/Alarm Relay type Alm3 40050 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40051 Integer 1 R/W Setup/Alarm Relay Mode Alm4 40052 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40053 Integer 1 R/W A11/7/10/13 Setup/Alarm AlmSetpoint 4 40054 Float 2 R/W Setup/Alarm Uplow Alm4 40056 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40057 Integer 1 R/W 15

Page 79: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-4

Manufacture ID:4 Instrument ID : 0 Template ID : 1

Instrument Name : 9125

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm Hysteresis Alm4 40058 Integer 1 R/W 10 Setup/Alarm Relais type Alm4 40059 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40060 Integer 1 R/W Setup/Recorders Range Iout 1 40061 Integer 1 R/W A11/7/13 Setup/Recorders Type Iout 1 40062 Integer 1 R/W Setup/Recorders Begin scale Iout1 40063 Float 2 R/W Setup/Recorders Middle scale Iout1 40065 Float 2 R/W Setup/Recorders End scale Iout1 40067 Float 2 R/W Setup/Recorders Affectation Iout 2 40069 Integer 1 R/W A11/7/13 Setup/Recorders Range Iout 2 40070 Integer 1 R/W Setup/Recorders Type Iout 2 40071 Integer 1 R/W Setup/Recorders Begin scale Iout2 40072 Float 2 R/W Setup/Recorders Middle scale Iout2 40074 Float 2 R/W Setup/Recorders End scale Iout2 40076 Float 2 R/W Setup/Com Swap word 40078 Integer 1 R/W Setup/Com Baud rate 40079 Integer 1 R/W Setup/Com Parity 40080 Integer 1 R/W Setup/Com Bit stop 40081 Integer 1 R/W Setup/Com Address 40082 Integer 1 R/W Setup/System Average 40083 Integer 1 R/W Setup/System Conductivity unit 40084 Integer 1 R/W U32/33/34/3

5 Setup/System Temperature unit 40085 Integer 1 R/W U25/26 Setup/System Language 40086 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40087 String 5 R/W Setup/System Pass code prog 40092 Integer 1 W Setup/System Pass code service 40093 Integer 1 W Setup/System Pass code factory 40094 Integer 1 W

Page 80: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-5

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9135

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements pH/ redox 40001 Float 2 R R0081 Measurements Temperature 40003 Float 2 R R0082 Measurements Impedance

verre 40005 Float 2 R U37

Measurements Impedance reference

40007 Float 2 R U36

Diagnostics Cal offset pH 40009 Float 2 R R0081 Diagnostics Cal slope pH 40011 Float 2 R 10 Diagnostics Cal offset

temperature 40013 Float 2 R R0082

Diagnostics Cal offset redox 40015 Float 2 R R0081 Diagnostics Cal slope redox 40017 Float 2 R 10 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation

Alm1 40021 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W Setup/Alarm Delay Alm1 40025 Integer 1 R/W Setup/Alarm Hysteresis

Alm1 40026 Integer 1 R/W

Setup/Alarm Relais type Alm1

40027 Integer 1 R/W S7/8

Setup/Alarm Affectation Alm2

40028 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W Setup/Alarm Delay Alm2 40031 Integer 1 R/W Setup/Alarm Hysteresis

Alm2 40033 Integer 1 R/W

Setup/Alarm Relais type Alm2

40034 Integer 1 R/W S7/8

Setup/Alarm Relais Mode Alm3

40035 Integer 1 R/W S5/3/10

Setup/Alarm Affectation Alm3

40036 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W Setup/Alarm Delay Alm3 40040 Integer 1 R/W Setup/Alarm Hysteresis

Alm3 40041 Integer 1 R/W

Setup/Alarm Relais type Alm3

40042 Integer 1 R/W S7/8

Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relais Mode

Alm4 40044 Integer 1 R/W S4/5/10

Setup/Alarm Affectation Alm4

40045 Integer 1 R/W S8/7/10

Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W

Page 81: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-6

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9135

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm Uplow Alm4 40048 Integer 1 R/W Setup/Alarm Delay Alm4 40049 Integer 1 R/W Setup/Alarm Hysteresis

Alm4 40050 Integer 1 R/W

Setup/Alarm Relais type Alm4

40051 Integer 1 R/W S7/8

Setup/Imp Glass impedance

40052 Integer 1 R/W

Setup/Imp Glass low limit 40053 Float 2 R/W 37 Setup/Imp Glass high limit 40055 Float 2 R/W 37 Setup/Imp Reference

impedance 40057 Integer 1 R/W

Setup/Imp Ref low limit 40058 Float 2 R/W 36 Setup/Imp Ref high limit 40060 Float 2 R/W 36 Setup/Recorders Affectation Iout

1 40062 Integer 1 R/W A8/7

Setup/Recorders Range Iout 1 40063 Integer 1 R/W Setup/Recorders Begin scale

Iout1 40064 Float 2 R/W

Setup/Recorders End scale Iout1 40066 Float 2 R/W Setup/Recorders Affectation Iout

2 40068 Integer 1 R/W A8/7

Setup/Recorders Range Iout 2 40069 Integer 1 R/W Setup/Recorders Begin scale

Iout2 40070 Float 2 R/W

Setup/Recorders End scale Iout2 40072 Float 2 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/Com Baud rate 40075 Integer 1 R/W Setup/Com Parity 40076 Integer 1 R/W Setup/Com Bit stop 40077 Integer 1 R/W Setup/Com Address 40078 Integer 1 R/W Setup/System Average 40079 Integer 1 R/W Setup/System pH resolution 40080 Integer 1 R/W Setup/System pH unit 40081 Integer 1 R/W U19/27 Setup/System Temperature

unit 40082 Integer 1 R/W U25/26

Setup/System Language 40083 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40084 String 5 R/W Setup/System Pass code prog 40089 Integer 1 W Setup/System Pass code

service 40090 Integer 1 W

Setup/System Pass code factory

40091 Integer 1 W

Page 82: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-7

Manufacture ID:4 Instrument ID : 3 Template ID : 1

Instrument Name : 9181..9183

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40077 Measurements Intensity 40005 Float 2 R 29 Measurements Flow 40007 Float 2 R 30 Diagnostics Faraday current 40009 Float 2 R Diagnostics Cal offset

concentration 40011 Float 2 R R40076

Diagnostics Cal slope concentration

40013 Float 2 R R40077

Diagnostics Cal offset temperature

40015 Float 2 R

Diagnostics Cal slope flow 40017 Float 2 R 27 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC status 40020 Integer 1 R S2/3/4/5/6 Setup/Alarm Affectation Alm1 40021 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm1 40026 Integer 1 R/W 10 Setup/Alarm Relais type Alm1 40027 Integer 1 R/W S7/8 Setup/Alarm Affectation Alm2 40028 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm2 40033 Integer 1 R/W 10 Setup/Alarm Relais type Alm2 40034 Integer 1 R/W S7/8 Setup/Alarm Relais Mode Alm3 40035 Integer 1 R/W A5/3/10 Setup/Alarm Affectation Alm3 40036 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm3 40041 Integer 1 R/W 10 Setup/Alarm Relais type Alm3 40042 Integer 1 R/W S7/8 Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relais Mode Alm4 40044 Integer 1 R/W A5/4/10 Setup/Alarm Affectation Alm4 40045 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis Alm4 40050 Integer 1 R/W 10 Setup/Alarm Relais type Alm4 40051 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40052 Integer 1 R/W Setup/Recorders Range Iout 1 40053 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale Iout1 40055 Float 2 R/W Setup/Recorders Middle scale Iout1 40057 Float 2 R/W Setup/Recorders End scale Iout1 40059 Float 2 R/W

Page 83: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-8

Manufacture ID:4 Instrument ID : 3 Template ID : 1

Instrument Name : 9181..9183

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Recorders Affectation Iout 2 40061 Integer 1 R/W Setup/Recorders Range Iout 2 40062 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale Iout2 40064 Float 2 R/W Setup/Recorders Middle scale Iout2 40066 Float 2 R/W Setup/Recorders End scale Iout2 40068 Float 2 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Address 40070 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration unit 40076 Integer 1 R/W U38/39/40 Setup/System Temperature unit 40077 Integer 1 R/W U25/26 Setup/System Language 40078 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial Number 40079 String 5 R/W Setup/System Pass code prog 40084 Integer 1 W Setup/System Pass code service 40085 Integer 1 W Setup/System Pass code factory 40086 Integer 1 W

Page 84: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-9

Manufacture ID:4 Instrument ID : 4 Template ID : 1

Instrument Name : 9184..9187

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Measurements Concentration 40001 Float 2 R R40076 Measurements Temperature 40003 Float 2 R R40077 Measurements Intensity 40005 Float 2 R 29 Measurements pH 40007 Float 2 R 27 Diagnostics Cal offset

concentration 40009 Float 2 R R40076

Diagnostics Cal slope concentration

40011 Float 2 R R40076

Diagnostics Cal offset temperature

40013 Float 2 R R40077

Diagnostics Cal offset pH 40015 Float 2 R 27 Diagnostics Cal slope pH 40017 Float 2 R 27 Alarms Alarm 1 40019,1 Bit 1 R Alarms Alarm 2 40019,2 Bit 1 R Alarms Alarm 3 40019,3 Bit 1 R Alarms Alarm 4 40019,4 Bit 1 R Status MONEC

status 40020 Integer 1 R S2/3/4/5/6

Setup/Alarm Affectation Alm1

40021 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 1 40022 Float 2 R/W Setup/Alarm Uplow Alm1 40024 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40025 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm1 40026 Integer 1 R/W 10

Setup/Alarm Relais type Alm1

40027 Integer 1 R/W S7/8

Setup/Alarm Affectation Alm2

40028 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 2 40029 Float 2 R/W Setup/Alarm Uplow Alm2 40031 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40032 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm2 40033 Integer 1 R/W 10

Setup/Alarm Relais type Alm2

40034 Integer 1 R/W S7/8

Setup/Alarm Relais Mode Alm3

40035 Integer 1 R/W A5/3/10

Setup/Alarm Affectation Alm3

40036 Integer 1 R/W A6/7/8/10

Setup/Alarm AlmSetpoint 3 40037 Float 2 R/W Setup/Alarm Uplow Alm3 40039 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40040 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm3 40041 Integer 1 R/W 10

Setup/Alarm Relais type Alm3

40042 Integer 1 R/W S7/8

Setup/Alarm Acquit Alm3 40043 Integer 1 R/W Setup/Alarm Relais Mode

Alm4 40044 Integer 1 R/W A5/4/10

Setup/Alarm Affectation Alm4

40045 Integer 1 R/W A6/7/8/10

Page 85: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-10

Manufacture ID:4 Instrument ID : 4 Template ID : 1

Instrument Name : 9184..9187

Group Name Tag Name Register #

Data Type Length R/W Units(U) Discrete Range

Setup/Alarm AlmSetpoint 4 40046 Float 2 R/W Setup/Alarm Uplow Alm4 40048 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40049 Integer 1 R/W 15 Setup/Alarm Hysteresis

Alm4 40050 Integer 1 R/W 10

Setup/Alarm Relais type Alm4

40051 Integer 1 R/W S7/8

Setup/Recorders Affectation Iout 1

40052 Integer 1 R/W

Setup/Recorders Range Iout 1 40053 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40054 Integer 1 R/W Setup/Recorders Begin scale

Iout1 40055 Float 2 R/W

Setup/Recorders Middle scale Iout1

40057 Float 2 R/W

Setup/Recorders End scale Iout1

40059 Float 2 R/W

Setup/Recorders Affectation Iout 2

40061 Integer 1 R/W

Setup/Recorders Range Iout 2 40062 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40063 Integer 1 R/W Setup/Recorders Begin scale

Iout2 40064 Float 2 R/W

Setup/Recorders Middle scale Iout2

40066 Float 2 R/W

Setup/Recorders End scale Iout2

40068 Float 2 R/W

Setup/Com Address 40070 Integer 1 R/W Setup/Com Baud rate 40071 Integer 1 R/W Setup/Com Parity 40072 Integer 1 R/W Setup/Com Bit stop 40073 Integer 1 R/W Setup/Com Swap word 40074 Integer 1 R/W Setup/System Average 40075 Integer 1 R/W Setup/System Concentration

unit 40076 Integer 1 R/W U38/39

Setup/System Temperature unit

40077 Integer 1 R/W U25/26

Setup/System Language 40078 Integer 1 R/W L3/0/1/2/4/5 Setup/System Serial

Number 40079 String 5 R/W

Setup/System Pass code prog

40084 Integer 1 W

Setup/System Pass code service

40085 Integer 1 W

Setup/System Pass code factory

40086 Integer 1 W

Measurements pH/ redox 40001 Float 2 R R0081

Page 86: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-11

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Measurements Life Concentration 40001 Float 2 R R40076 Measurements Concentration Channel 1 40003 Float 2 R R40076 Measurements Concentration Channel 2 40005 Float 2 R R40076 Measurements Concentration Channel 3 40007 Float 2 R R40076 Measurements Concentration Channel 4 40009 Float 2 R R40076 Measurements Concentration Channel 5 40011 Float 3 R R40076 Measurements Concentration Channel 6 40013 Float 2 R R40076 Measurements photometer measure 40015 Float 2 R 19 Measurements Photometer reference 40017 Float 2 R 19 Measurements Photometer dark current 40019 Float 2 R 19 Diagnostics Photometer current value 40021 Float 2 R 24 Diagnostics last offset calibration 40023 Float 2 R Diagnostics last slope calibration 40025 Float 2 R Diagnostics primary offset calibration 40027 Float 2 R Diagnostics primary slope calibration 40029 Float 2 R Diagnostics warning Alarm status 40031 Float 2 R Diagnostics system Alarm status 40033 Float 2 R Diagnostics Limit Alarm status 40035 Float 2 R Diagnostics Analyser status 40037 Integer 1 R Setup/Alarm mode:limit/Active channel/level

sample Alm1 40038 Integer 1 R/W

Setup/Alarm Affectation Alm1 40039 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 1 40040 Float 2 R/W Setup/Alarm Uplow Alm1 40042 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40043 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm1 40044 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm1 40045 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm2 40046 Integer 1 R/W

Setup/Alarm Affectation Alm2 40047 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 2 40048 Float 2 R/W Setup/Alarm Uplow Alm2 40050 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40051 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm2 40052 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm2 40053 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm3 40054 Integer 1 R/W

Setup/Alarm Affectation Alm3 40055 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 3 40056 Float 2 R/W Setup/Alarm Uplow Alm3 40058 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40059 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm3 40060 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm3 40061 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm4 40062 Integer 1 R/W

Setup/Alarm Affectation Alm4 40063 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 4 40064 Float 2 R/W Setup/Alarm Uplow Alm4 40066 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40067 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm4 40068 Integer 1 R/W 10

Page 87: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-12

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Alarm NO/NC mode Alm4 40069 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm5 40070 Integer 1 R/W

Setup/Alarm Affectation Alm5, 40071 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 5 40072 Float 2 R/W Setup/Alarm Uplow Alm5 40074 Integer 1 R/W A1/0 Setup/Alarm Delay Alm5 40075 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm5 40076 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm5 40077 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm6 40078 Integer 1 R/W

Setup/Alarm Affectation Alm6 40079 Integer 1 R/W A6/7/8/10 Setup/Alarm AlmSetpoint 6 40080 Float 2 R/W Setup/Alarm Uplow Alm6 40082 Integer 1 R/W A1/0 Setup/Alarm Delay Alm6 40083 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm6 40084 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm6 40085 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40086 Integer 1 R/W Setup/Recorders Range Iout 1 40087 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 1 40088 Integer 1 R/W Setup/Recorders Begin scale Iout1 40089 Float 2 R/W Setup/Recorders Middle scale Iout1 40091 Float 2 R/W Setup/Recorders End scale Iout1 40093 Float 2 R/W Setup/Recorders Affectation Iout 2 40095 Integer 1 R/W Setup/Recorders Range Iout 2 40096 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40097 Integer 1 R/W Setup/Recorders Begin scale Iout2 40098 Float 2 R/W Setup/Recorders Middle scale Iout2 40100 Float 2 R/W Setup/Recorders End scale Iout2 40102 Float 2 R/W Setup/Recorders Affectation Iout 3 40104 Integer 1 R/W Setup/Recorders Range Iout 3 40105 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout3 40106 Integer 1 R/W Setup/Recorders Begin scale Iout3 40107 Float 2 R/W Setup/Recorders Middle scale Iout3 40109 Float 2 R/W Setup/Recorders End scale Iout3 40111 Float 2 R/W Setup/Recorders Affectation Iout 4 40113 Integer 1 R/W Setup/Recorders Range Iout 4 40114 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 4 40115 Integer 1 R/W Setup/Recorders Begin scale Iout4 40116 Float 2 R/W Setup/Recorders Middle scale Iout4 40118 Float 2 R/W Setup/Recorders End scale Iout4 40120 Float 2 R/W Setup/Recorders Affectation Iout5 40122 Integer 1 R/W Setup/Recorders Range Iout5 40123 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout5 40124 Integer 1 R/W Setup/Recorders Begin scale Iout5 40125 Float 2 R/W Setup/Recorders Middle scale Iout5 40127 Float 2 R/W Setup/Recorders End scale Iout5 40129 Float 2 R/W Setup/Recorders Affectation Iout 6 40131 Integer 1 R/W Setup/Recorders Range Iout6 40132 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout6 40133 Integer 1 R/W Setup/Recorders Begin scale Iout6 40134 Float 2 R/W

Page 88: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-13

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9210/9211

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Recorders Middle scale Iout6 40136 Float 2 R/W Setup/Recorders End scale Iout6 40138 Float 2 R/W Status ANALYSER status 40140 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 1 40141 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 2 40142 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 3 40143 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 4 40144 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 5 40145 Integer 1 R S2/3/4/5/6Status Channel status (active/inactive) 6 40146 Integer 1 R S2/3/4/5/6Diagnostics volume of reagent 1 40147 Float 2 R 27 Diagnostics volume of reagent 2 40149 Float 2 R 27 Diagnostics volume of reagent 3 40151 Float 2 R 27 Setup/Com Swap word 40153 Integer 1 R/W Setup/Com Baud rate 40154 Integer 1 R/W Setup/Com Parity 40155 Integer 1 R/W Setup/Com Bit stop 40156 Integer 1 R/W Setup/Com Address 40157 Integer 1 R/W Setup/System Language 40158 Integer 1 R/W L3/0/1/2/4/

5 Setup/System Serial Number 40159 String 5 R/W

Page 89: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-14

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Measurements Life Concentration 40001 Float 2 R R40076 Measurements Concentration Channel 1 40003 Float 2 R R40076 Measurements Concentration Channel 2 40005 Float 2 R R40076 Measurements Concentration Channel 3 40007 Float 2 R R40076 Measurements Concentration Channel 4 40009 Float 2 R R40076 Measurements Concentration Grab sample 40011 Float 3 R R40076 Measurements photometer potential 40013 Float 2 R 19 Measurements Photometer Temperature 40015 Float 2 R 19 Diagnostics last offset calibration 40017 Float 2 R Diagnostics last slope calibration 40019 Float 2 R Diagnostics primary offset calibration 40021 Float 2 R Diagnostics primary slope calibration 40023 Float 2 R Diagnostics warning Alarm status 40025 Float 2 R Diagnostics system Alarm status 40027 Float 2 R Diagnostics Limit Alarm status 40029 Float 2 R Diagnostics Analyser status 40031 Integer 1 R Setup/Alarm mode:limit/Active channel/level

sample Alm1 40032 Integer 1 R/W

Setup/Alarm Affectation Alm1 40033 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 1 40034 Float 2 R/W Setup/Alarm Uplow Alm1 40036 Integer 1 R/W A1/0 Setup/Alarm Delay Alm1 40037 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm1 40038 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm1 40039 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm2 40040 Integer 1 R/W

Setup/Alarm Affectation Alm2 40041 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 2 40042 Float 2 R/W Setup/Alarm Uplow Alm2 40044 Integer 1 R/W A1/0 Setup/Alarm Delay Alm2 40045 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm2 40046 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm2 40047 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm3 40048 Integer 1 R/W

Setup/Alarm Affectation Alm3 40049 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 3 40050 Float 2 R/W Setup/Alarm Uplow Alm3 40052 Integer 1 R/W A1/0 Setup/Alarm Delay Alm3 40053 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm3 40054 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm3 40055 Integer 1 R/W S7/8 Setup/Alarm mode:limit/Active channel/level

sample Alm4 40056 Integer 1 R/W

Setup/Alarm Affectation Alm4 40057 Integer 1 R/W A6/7/8/10Setup/Alarm AlmSetpoint 4 40058 Float 2 R/W Setup/Alarm Uplow Alm4 40060 Integer 1 R/W A1/0 Setup/Alarm Delay Alm4 40061 Integer 1 R/W A1/0 Setup/Alarm Hysteresis Alm4 40062 Integer 1 R/W 10 Setup/Alarm NO/NC mode Alm4 40063 Integer 1 R/W S7/8 Setup/Recorders Affectation Iout 1 40064 Integer 1 R/W Setup/Recorders Range Iout 1 40065 Integer 1 R/W A9/7/6

Page 90: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-15

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Setup/Recorders Type Iout 1 40066 Integer 1 R/W Setup/Recorders Begin scale Iout1 40067 Float 2 R/W Setup/Recorders Middle scale Iout1 40069 Float 2 R/W Setup/Recorders End scale Iout1 40071 Float 2 R/W Setup/Recorders Affectation Iout 2 40073 Integer 1 R/W Setup/Recorders Range Iout 2 40074 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 2 40075 Integer 1 R/W Setup/Recorders Begin scale Iout2 40076 Float 2 R/W Setup/Recorders Middle scale Iout2 40178 Float 2 R/W Setup/Recorders End scale Iout2 40180 Float 2 R/W Setup/Recorders Affectation Iout 3 40182 Integer 1 R/W Setup/Recorders Range Iout 3 40183 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout3 40184 Integer 1 R/W Setup/Recorders Begin scale Iout3 40185 Float 2 R/W Setup/Recorders Middle scale Iout3 40187 Float 2 R/W Setup/Recorders End scale Iout3 40189 Float 2 R/W Setup/Recorders Affectation Iout 4 40191 Integer 1 R/W Setup/Recorders Range Iout 4 40192 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout 4 40193 Integer 1 R/W Setup/Recorders Begin scale Iout4 40194 Float 2 R/W Setup/Recorders Middle scale Iout4 40196 Float 2 R/W Setup/Recorders End scale Iout4 40198 Float 2 R/W Setup/Recorders Affectation Iout5 40100 Integer 1 R/W Setup/Recorders Range Iout5 40101 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout5 40102 Integer 1 R/W Setup/Recorders Begin scale Iout5 40103 Float 2 R/W Setup/Recorders Middle scale Iout5 40105 Float 2 R/W Setup/Recorders End scale Iout5 40107 Float 2 R/W Setup/Recorders Affectation Iout 6 40109 Integer 1 R/W Setup/Recorders Range Iout6 40110 Integer 1 R/W A9/7/6 Setup/Recorders Type Iout6 40111 Integer 1 R/W Setup/Recorders Begin scale Iout6 40112 Float 2 R/W Setup/Recorders Middle scale Iout6 40114 Float 2 R/W Setup/Recorders End scale Iout6 40116 Float 2 R/W Diagnostics mV average 1 40118 Float 2 R Diagnostics mV average 2 40120 Float 2 R Diagnostics mV temperature compensated 40122 Float 2 R Diagnostics Raw temperature 40124 Float 2 R Diagnostics Low detection value 40126 Float 2 R Diagnostics Cal point mV 1 40128 Float 2 R Diagnostics Cal point mV 2 40130 Float 2 R Diagnostics Cal point mV 3 40132 Float 2 R Diagnostics Cal calculated offset 40134 Float 2 R Diagnostics Cal calculated slope 40136 Float 2 R Diagnostics DIPA Ton 40138 Float 2 R Diagnostics DIPA Toff 40140 Float 2 R Diagnostics Flow rate 40142 Float 2 R Diagnostics volume of reagent 1 40144 Float 2 R 27 Diagnostics volume of reagent 2 40146 Float 2 R 27 Diagnostics volume of reagent 3 40148 Float 2 R 27

Page 91: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-16

Manufacture ID:4 Instrument ID : 2 Template ID : 1

Instrument Name : 9240/9245

Group Name Tag Name Register #

Data Type

Length R/W Units(U) Discrete Range

Diagnostics volume of reagent 4 40150 Float 2 R 27 Diagnostics Cell conductivity 40152 Float 2 R 27 Diagnostics Over flow conductivity 40154 Float 2 R 27 …. Diagnostics pH 40156 Float 2 R 27 ….. Diagnostics ANALYSER status 40164 Integer 1 R …. Diagnostics CPU SN 40185 long 2 R/W Diagnostics ANALYSER S/N 40187 long 2 R/W Diagnostics Crypt key 40189 long 2 R/W Setup/Com Swap word 40174 Integer 1 R/W Setup/Com Baud rate 40175 Integer 1 R/W Setup/Com Parity 40176 Integer 1 R/W Setup/Com Bit stop 40177 Integer 1 R/W Setup/Com Address 40178 Integer 1 R/W Setup/System Language 40179 Integer 1 R/W L3/0/1/2/4/

5 Setup/System Serial Number 40180 String 5 R/W

Page 92: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-17

Liste des différents codes P : type de mesure U : unité S : Etat A : L : langue Enumerated List Code

Value Name Description

P 0 TRB turbidity P 1 TS suspended solids P 2 NO3 nitrate P 3 NOx-N nitrogen, calc. from NO2 + NO3 P 4 SAK254 German standard uv abs. coefficient at 254 nm P 5 SAC254 standard uv abs. coefficient at 254 nm P 6 Ext254 uv absorbtion at 254 nm, depending on path length P 7 BSBuv German BOD P 8 CSBuv German COD P 9 TOCuv total organic carbon, calc. from uv abs. P 10 DOCuv dissolved oxigen demand, calc. from uv abs. P 11 BODuv biological oxygen demand, calc. from uv abs. P 12 CODuv chemical oxygen demand, calc. from uv abs. P 13 P total phosphorus P 14 PO4 ortho phosphate P 15 PO4-P ortho phosphate, calc. in P P 16 P2O5 ortho phosphate, calc. in P2O5 P 17 PRD product (customer parameter) P 18 P - PO4P difference of ortho P to P, phosphorus in organic part P 19 NH4-N ammonia, calc. in nitrogen P 20 TC total carbon P 21 TOC total organic carbon P 22 TIC total in organic carbon P 23 SL sluge level P 24 SH sluge height U 0 mg/l milligrams per liter U 1 g/l grams per liter U 2 ppm parts per million U 3 mE milli extinction U 4 E extinction U 5 m-1 per meter U 6 FNU Formazin nephelon unit U 7 NTU nephelometric turb. unit U 8 TE/F German Formazin neph. unit U 9 EBC european brewery congress U 10 % percent U 11 Nm nano meter U 12 Mm milli meter U 13 M meter U 14 Ms milli second U 15 S second U 16 Min minutes U 17 H hours U 18 MA milli ampere U 19 MV milli volt U 20 MNTU milli-NTU U 21 MFTU milli-FTU U 22 mTE/F milli-TE/F U 23 m% milli-percent U 24 Counts counts

Page 93: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 B-18

Liste des différents codes P : type de mesure U : unité S : Etat A : L : langue Enumerated List Code

Value Name Description

U 25 C degree C U 26 F degree F U 27 PH pH U 28 mV/pH milli volts per pH unit U 29 UA micro ampere U 30 I/h flow rate U 31 Ppt parts per thousand U 32 S/cm Siemen par cm U 33 Ohm/cm Ohm per cm U 34 S/m Siemen par m U 35 Ohm/m Ohm per m U 36 KOhm kilo ohm U 37 Mohm mega ohm U 38 Ppb parts per billion U 39 µg/l micrograms per liter U 40 %sat pourcentage of saturation S 0 Off off state S 1 On on state S 2 NORMAL normal mode S 3 MAINT maintenance mode S 4 CALIB calibration mode S 5 ERRORS error mode S 6 CLEANING cleaning mode S 7 N.O. Normally open S 8 N.C. Normally closed A 0 High high setpoint alarm A 1 Low low setpoint alarm A 2 Rate rate of change alarm A 3 System system alarm A 4 Timer timer function A 5 Limit limit alarm A 6 Concentration concentration setpoint alarm A 7 Temperature temperature setpoint alarm A 8 PH pH setpoint alarm A 9 UA uA setpoint alarm A 10 No No alarm A 11 Conductivity conductivity setpoint alarm A 12 USP23 USP23 function A 13 TDS TDS function L 0 English system language L 1 German system language L 2 Spanish system language L 3 French system language L 4 Italian system language L 5 Netherland system language

Page 94: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 C-1

20. Annexe C : Transfert de fichiers Le protocole modbus autorise l'écriture et lecture de fichier entre l'adresse 0x0000 et 0xFFFF(65535). Ce qui fait une taille maximum de 128Koctets. Les registres réservés suivants sont utilisés : 49957 : Contrôle de transfert des fichier: sa valeur dépend de l'état du transfert 0 : inactif 1 : préparation pour lecture 2 : préparation pour écriture 3 : prêt pour le transfert 4 : désactiver le transfert 49958 : taille du fichier ( en nombre de mot (16bits) 49959 : N° de fichier à transférer. La procédure de lecture de fichier Les fichiers couramment lus sont des fichiers d'historique, d'évènements ou de diagnostic. La procédure de lecture est la suivante: le maître vérifie et met le registre de contrôle de transfert 49957 à l'état passif (0). Le maître choisit le numéro de fichier en programmant le registre 49959. le maître met le registre de contrôle de transfert 49957 à "1". Ceci peut être fait par l'esclave. Si pour des raisons quelconques l'esclave ne peut pas transférer le fichier, il met ce registre à "4". le maître peut lire la taille du fichier "registre 49959" pour savoir la taille de fichier à lire avec la fonction 21 le maître met le registre de contrôle de transfert 49957 à "0". Les différents types de fichiers Afin de garder un standard de communication entre les différents instruments, différents types ont été défini. Le tableau suivant résume seulement ceux qui concernent l'utilisateur.

N° Fichier Description 2 Historique des données 3 Historique des évènements 21 Historique des étalonnages ( utilisable uniquement par 9200)

Les différents formats de fichiers Afin de garder un standard de communication entre les différents instruments, différents formats de fichiers ont été défini. Nous détaillons seulement les formats de fichier utilisable par les instruments Polymetron.

N° Format du fichier 3 Format données spécifiques 7 Format binaire des données

Le format « données spécifiques » Ce format est utilisé pour transférer les historiques de l'étalonnage pour les instrument 9200 . 1er Registre : 1er octet : N° format = 03 2eme octet : nombre de données par ligne 2eme Registre : Nombre de mot pour l'entête en ASCII. 3eme + : texte de l'entête terminé par 0x00

Page 95: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 C-2

Les données suivent avec le format suivant: Date/heure (4 registres) donnee 1 ( 2 registres)….. Donnée n (2 registres) Exemple : 20 02 04 02 05 31 00 15 : le 2 avril 2002 à 5h31mnet 15s 0A 3D 3F 17 : 0.59 …. Le format binaire des données Ce format est utilisé pour transférer les historiques des données et des évènements pour les instrument 9200 . 1er Registre : 1er octet : N° format = 07 2eme octet : = 0x00 sans entête = 0x01 avec entête l'entête est composée de 6 registres:

N° registre Descriptions 0..2 Numéro de série de l'instrument 3 Identificateur de l'instrument 4 Identificateur du fabricant 5 Unité de temps ( Tick time) 6 Mot de contrôle

Les données suivent soit 0x07 0x00 an cas d'absence d'entête avec le format suivant:

ATS Data ATS Data ATS Data ATS Data

Les données sont une succession de trame de temps absolue (ATS) et de données avec temps relatif (Data). temps absolu ( ATS ):

Mot 0 1 .. 2 3 Bit 15 .. 0 31 .. 0 15 .. 0

IDAT Secondes Checksum

IDAT :Identificateur pour la trame de temps absolue fixé à (0xAAAA) Secondes 32 bit : la datevet l'heure converties en secondes depuis (01/01/2000) Checksum :mot de contrôle

Début bloc données

Données avec base de temps relative

Nouvelle base de temps absolue

Page 96: Operator Manual Manuel de l’opérateur

MODBUS / MONEC 9100/9200

221=991=000 - Rév. G Polymetron S.A. 11/2007 C-3

Donnée avec temps relatif (RTS) :

Mot 0 1 Bit 15 .. 14 13 .. 10 9 .. 0 15 .. 0

IDD Ch RTS Donnée 16-bit

Mot 0 1 .. 2 Bit 15 .. 14 13 .. 10 9 .. 0 31 .. 0

IDD Ch RTS Donnée 32-bit

IDD: ID pour le type de données 16bit entier 32bit réel 11 32bit entier long Ch: numéro du canal (16 canaux disponible) (Exemple: Chan1 concentration Chan2 température Chan3 ph Chan4 signal mV . . . ) RTS: nombre d'unités de temps ( tick) depuis la dernière ATS

Page 97: Operator Manual Manuel de l’opérateur
Page 98: Operator Manual Manuel de l’opérateur