background image

11.     (AMG)MG900 Series MODUS Communication Protocol

1.Protocol Introduction

1.1 Scope of selection: pan-globe M2000 series communication instrument 
1.2 Work realization: data exchange between instrument and host computer (instrument can only be used as slave to receive interrogation and reply) 
1.3 Serial transmission mode: RTU  
1.4 Transmission interface: RS485   
1.5 Communication medium: shielded twisted pair 
1.6 Communication stack number: 1~255. The upper limit of the number of connecting meters is related to the load capacity of the host 
1.7 Function code implementation: read hold register (03), write single register (06), write multiple registers (10) 
1.8 Data length: 1) when writing data to the machine, a maximum of 16 consecutive menus (32 bytes) can be written at one time. 
      2) when reading the menu data inside the machine, the non-programmed menu can read 16 consecutive menus at a time (the unrealized address 
      outside the parameter address table is 0), while the programmed menu can only read 16 consecutive menus at a time 
1.9 Numerical format: signed 16-bit binary complement;The data read is 10.0 times larger;Before writing the data, enlarge the data 10.0 times 
      before sending it; Notice the transition 
1.10 serial port parameters: 1), baud rate :4800, 9600, 19200, 38400, 76800, 153600  2) start position: 1   3) data bit: 8 
       4) check bit: E(even check), N(no check)  5) stop bits: 1, 2 
1.11 Frame check method: cyclic redundancy check (CRC16) 
1.12 Message format (N=2 here)

      

Address

Function code

Data

CRC check

8 bits

8 bits

N*8 bits

16 bits

Note: 
1

、 

read AM and AM1(cold control manual) menus,0 represents manual state,1 represents automatic state. 

2

、 

RAP is the program control menu, read, return 0X0000 represents the program control close, return 0X0001 represents the 

        program control start: write 0X0000 to close the program control, write 0X0001 to start the program control, write 0X0002 to stop the program control, 
        write 0X0002 to end the suspension, continue to run the program control. 
3

、 

Before writing the program-controlled menu, please write 0x0000 to RAP to close the program-controlled menu. 

4

、 

Before writing MV/MV1 threshold, please first write 0x0000 to AM/AM1 to make the system switch to manual control. 

5

、 

When the multiplier is 10, the returned data is magnified 10 times. 

6

PV1 and PV2 are read-only parameters. 

7

There should be a time interval between write parameter instructions, no matter the same address or not, which may cause instrument failure, and the time 

interval should be no less than 150 milliseconds.

2.Example

1. Function code 03(read  value SV=100.0)

2. Function code 06(write  value SV=100.0)

3. Function code 10(write  constant  SV=100.0)

Request

Reply

Request

Request

Reply

Reply

Segment Number

Segment Number

Segment Number

Hexadecimal

Machine Number
Function code

Initiate Address Hi

Initiate Address Lo

Register Number Hi

Register Number Lo

Byte Count

Segment Number Hexadecimal

Hexadecimal

Hexadecimal

Hexadecimal

Hexadecimal

Segment Number

Segment Number

Machine Number

Function code

Register Number Hi

Register Number Lo

Register Number Lo

Register Number Hi

Register Number Lo

Register Number Hi

Register Number Hi

Register Number Hi

Register Number Lo

Register Number Lo

Register Number Lo

Register Number Hi

Machine Number

Machine Number

Function code

Function code

Initiate Address Hi

Initiate Address Hi

Initiate Address Hi

Initiate Address Hi

Initiate Address Lo

Initiate Address Lo

Machine Number

Machine Number

Function code

Function code

Initiate Address Lo

Initiate Address Lo

Byte Count

3. Parameter Address Distribution Table(”NC” represent blank address)

Parameter
 Name

Address

Hexadecimal

Decimal

Read write 
Status

Ratio

Scale (No override)

Summary of Contents for MG900 Series

Page 1: ...changes dramatically places where humidity is too high and water is produced a place where the vibration or impact is very strong Where corrosive gases or dust are present splash of water oil and chemicals 6 Wiring should be kept away from high voltage high current power lines to avoid interference 7 Please note that the outer shell of the body is eroded by organic solutions strong acids strong al...

Page 2: ...icator Alarm1perform Alarm2 perform Output1indicator Output2 indicator When lit the Output1 it indicates output1 running Manual indicator When Manual indicator on it indicates manual controlrunning AT indicator When lit AT indicator it indicates Auto tuning Run indicator When lit Run indicator it indicates meter running Alarm2 indicator When lit the Output2 it indicates output2 running 5 Input Typ...

Page 3: ...the temperature compensation diode is junction Please check if the thermal couple or the compensation conductor is disconnected Screen Display Instructions Elimination method 7 Connecting Screws functions are subject to the label on the back of the controller Unit minute AL value is the segment of program External start 4 Connecting Instruction Attention Power must be off before wiring or else ele...

Page 4: ...lue is needed to act as the starting or ending alarm 1 Basic Operation Press enter lever2 In the INP option press SV monitor will flash Press or to choose the input signal refer to 5 Input Type table Press to confirm amend Press enter lever2 Under Ad1 option press SV monitor will flash Press or to choose the needed mode mode refer to 5 Alarm mode table Press to confirm amend Press for a few time t...

Page 5: ... when power off and then power on return to 0 when running set 1 2 Run Not return to 0 when power off and then power on still as 2 Auto Tuning 1 ON 2 None Alarm 1 setting Alarm 2 setting Input signal range display Lower limit Upper limit 5s 5s PV SV value refer to Example1 Cold controlled proportional band Cold control output cycle s Control Program setup level Engineer operation level Data lock L...

Page 6: ... baud rate 0 Master slave communication between controllers communication address Master slave communication ADD 1 master control send out PV SV MV ADD 2 SV 3 PV 4 MV siave controller receive 0 Manual Open 1 Manual prohibit communication Output HC BI MODE output H Reverse output Porportional band Integral time second I set to 0 is the integration close Differential time second D set to 0 is the di...

Page 7: ...tegral timeI2 differential timeD2 working peridCTY2 Heating side Heating side Heating side Cooling side Cooling side Cooling side working mode working mode working mode Heating PID control Cooling PID control Example 2 Output soft starting When your system require output soft starting please go with the following process second target output current output output Under LEVEL2 press SET to find DLY...

Page 8: ...he relation between surface temperature and T C measure temperature are following T C measure temperature Surface temperature Relation Temperature is higher than the actual 5 Temperature is6 higher than the actual Temperature is 7 higher than the actual 2 Using the PVOS three point complement function set TM 100 TS 5 TM2 150 TS 6 TM3 200 TS 7 T C measure temperature Surface temperature Relation T ...

Page 9: ...presents the program control start write 0X0000 to close the program control write 0X0001 to start the program control write 0X0002 to stop the program control write 0X0002 to end the suspension continue to run the program control 3 Before writing the program controlled menu please write 0x0000 to RAP to close the program controlled menu 4 Before writing MV MV1 threshold please first write 0x0000 ...

Page 10: ...Status Program menu address CX X 1 4 200 X is segment number C60 X 60 Input Range LSP USP TX X 1 4 201 Input Range 0 3600 OUX X 1 4 202 Input Range 0 100 The override of CX is 10 the override of TX OUX is 1 INP INP2 Input reference Table ...

Reviews: