Home
MODBUS - Fuji Electric
Contents
1. Arrangement of read out word data MSB LSB Upper byte of contents of the first word data Lower byte of contents of the first word data Upper byte of contents of the next word data Lower byte of contents of the next word data Upper byte of contents of the last word data Lower byte of contents of the last word data 2 Explanation of Function Word data of continuous word numbers from the read out start No can be read Read out word data are transmitted from the slave station in the order of upper and lower bytes INZ TN5A0506 E 15 6 2 Reading Read Only Word Data Function Code 044 Function code Max number of words to read in one message Relative address Register No Contents 0000 to 0081 30001 to 30079 Internal data 044 64 words 1000 to 1049 31001 to 31044 Error data 2000 to 2049 32001 to 32044 Alarm history data 3000 to 3049 33001 to 33044 Operation history data 1 Command message composition byte Composition of message Response message composition byte Station No Station No Function code Function code Readout start number Upper Readout byte number Readout word number 2 Relative address Lower Contents of the first Upper U word data L Readout Word number 1 to 60 ad Lower Contents of the next Upper word dat
2. All instruments this instrument connected on a line are set to Station No which are different from each other Any Station No is not shared by more than one instrument 4 1 Setting item The parameters to be set are shown in the following table Set them by operating keys on the screen Factory shipment default Baud rate 38400 bps Fixed can not be changed Data length 8 bits Fixed can not be changed Stop bit 1 bits Fixed can not be changed Item Settable range Remarks Set the same communication condition to the master station and all slave stations Parity setting None Fixed can not be changed 0 to 31 Set a different value to each Station No 0 Communication function stops station 4 2 Setting operation Set the station No on the parameter screen Refer to the instruction manual 6 INZ TN5A0506 E 5 MODBUS COMMUNICATION PROTOCOL 5 1 Outline The communication system by the MODBUS protocol is that the communication is always started from the master station and a slave station responds to the received message Transmission procedures are as shown below 1 2 3 4 b The master station sends a command message to a slave station The slave station checks that the station No in the received message matches with the own station No or not If matched the slave station executes the command and sends back the response message If mism
3. FC Service Manual ZIRCONIA OXYGEN ANALYZER CONVERTER transmission specification MODBUS TYPE ZKM ss Fuji Electric Co Ltd INZ TN5A0506a E CONTENTS L COMMUNICATION FUNCTION tha deg aia 1 Del d oo gne n e era eo de P Ete 1 De SPECIFICATIONS eri aa Sa a ue f 2 2 1 Communication 1 2 3 CONNEC LION Daten von tad ved 3 31 Setting OF uu rer erede ome u Da S ER T RA 3 3 2 T rmmal allocation TM2 x err eene e PERSE veces ERE S Hee 3 3 3 Connections ie ettet ptit Da u eR 4 4 SETTING OF COMMUNICATION CONDITION esee enne enne enne entier 6 4T Set ngatem ag l S Sac cine 6 4 2 Operationo uec rte e De eri rette n ree ete r aes 6 5 MODBUS COMMUNICATION PROTOCOL a 7 SEO 7 5 2 Composition Of l u na e cet tete epe iere utis deter a aa ee EU detecte 8 5 3 Response of Slave Statio aaa 9 5 4 Function
4. 1 Active INZ TN5A0506 E 27 Relative address 24 Register number H 30025 Data type WORD Memory contents Event parameter Lower Readout data 0 bit Write calibration factor to EEPROM 1 bit Span valve switching 1 Open 0 Close 2 bits Zero valve switching 1 Open 0 Close 4 bits Calculation reset 5 bits Monitoring flag for backlight off time 6 bits Keylock status 7 bits Inhibitation of calibration status 0 None 1 Active 25 30026 WORD Event parameter Upper 0 bit Heater control 1 bit Hold signal 2 bits Warm up operation HOLD 4 bits Key input for backlight off 5 bits Restored sonsor to wait high temperature 6 bits Auto blow start 7 bits Manual batch calibration 0 None 1 Active Event parameter Lower 0 bit During remote heater OFF 1 bit Holding remote analog output 2 bits Excute sensor dignausis during manual ZERO calibration 3 bits Excute sensor dignausis during auto calibration 4 bits Number of execution of restored sensor during auto calibration 5 bits Low temperature warm up opereation 6 bits Remote calibration 7 bits Remote blow 0 None 1 Active 28 INZ TN5A0506 E Relative address 26 Register number H 30027 Data type WORD Memory contents Parameter for alarm control Upper Readout data 0 bit Disconnection of sensor 1 bit Disconnection of therm
5. recommend creating a master side program that keeps margins two to three times as large Concretely it is advised to arrange the program for 38400 bps with 5ms or more for vacant statues 1 1 and within 1ms for byte interval 1 2 and changeover from sending to receiving 1 3 INZ TN5A0506 E 13 2 1 2 Explanation Frame detection The status on the line of the communication system is one of the 2 below a Vacant status no data on line b Communication status data is existing The units connected on the circuit start in receiving state and monitor the circuit When a blank state appears on the circuit for at least 24 bit time the unit detects the end of the previous frame and within the next 24 bit time enters receiving standby When data appears on the circuit the unit begins receiving data and once another blank state of at least 24 bit time is detected that frame is ended In other words the data on the circuit from the first time that a 24 bit time blank state appears to the second time one appears is loaded as one frame a bundle of data Therefore one frame command message must be sent while following the rules below 1 1 The command message must be sent after an empty space of at least 48 bit time 1 2 Interval between bytes of 1 command message is smaller than 24 bits time Response of this instrument After the PUM detects the frame detects blank states at least 24 bit times long that frame is use
6. 30047 Sensor temperature counter value Lower mV conversion value of heater 47 pure temperature Upper 0 to OXFFFFFFFF DWORD mV conversion value of heater 1 digit 0 001 mv 48 30049 temperature Lower mV conversion value of heater 49 30050 0 to OXFFFFFFFF DWORD temperature Upper 000159 50 30051 Average heater temperature mV Lower Heater temperature C After 51 30052 WORD temperature compensation after na dA Linearization 1 digit 1 30 INZ TN5A0506 E b 4 de Memory contents Readout data 52 30053 mV conversion value of auxiliary input DWORD temperature Upper 0 to OXFFFFFFFF 53 30054 mV conversion value of auxiliary input digit 0 001 mv temperature Lower Average of mV combustion control 4 39085 DWORD Upper 0 to OXFFFFFFFF 55 30056 Average of mV combustion control 1 digit 0 001 mv Lower 0 to OXFFFF 56 30057 WORD Combustion efficiency temperature 1 digit 0 1 57 30058 Thermocouple RCJ AD value Upper 58 30059 DWORD Thermocouple RCJ AD value 0 to OXFFFFFFFF Lower 59 30060 Average value of thermocouple RCJ Dworp UPPer 0 to OXFFFFFFFF 60 30061 Average value of thermocouple RCJ Lower 1 2 1 6 3006 DWORD Heater temperature zero Upper 0 to 62 30063 Heater temperature
7. Second of data storage position 0 at operation 01099 0 generation date Lower Year of data storage position 11 at operation generation date Upper ana 3041 33042 WORD Month of data storage position 11 at operation 1to 12 1 generation date Lower Day of data storage position 11 at operation 1 to31 1 3042 33043 WORD date Upper u Time of data storage position 11 at operation 0 to 23 0 generation date Lower P Minute of data storage position 11 at operation 0 to 59 0 3043 33044 WORD generation date Upper u Second of data storage position 11 at operation 0 to 99 0 generation date Lower 34 INZ TN5A0506 E Fuji Electric Co Ltd International Sales Div Sales Group Gate City Ohsaki East Tower 11 2 Osaki 1 chome Shinagawa ku Tokyo 141 0032 Japan http www fujielectric com Phone 81 3 5435 7280 7281 Fax 81 3 5435 7425 http www fujielectric com products instruments
8. composed of a master and slave relationship Up to 31 of slave station present instrument can be connected per master station host computer programmable controller graphic display panel etc through RS485 interface One slave station this instrument can be connected to one master station Because the master station can communicate with only one slave station at a time the destination can be identified by the Station No set for each slave station n order that the master station and slave station can communicate the format of the transmit receive data must coincide For the PXR the format of the communication data is determined by the MODBUS protocol 2 5 0506 1 2 SPECIFICATIONS 2 1 Communication specifications a RS 232C Interface Item SPECIFICATIONS Electrical specification Communication standard RS 232C Communication method 2 wire semi duplicate Synchronizing method Start stop synchronous system Connection format 1 1 Number connectable units 1 unit Baud rate 38400 bps Data Format Data length 8 bits Stop bit 1 bits Parity None X flow control None Transmission code HEX value MODBUS RTU mode Error detection CRC 16 Isolation b RS 485 interface Item Not isolated against communication part and other parts SPECIFICATIONS Electrical specification Based on EIA RS 485 Communication meth
9. corresponding value of Oxygen 1digit 0 001 mV 3 30004 Lower 0 to 4 30005 WORD Heater temperature C 1digit 0 1 C Combustion efficiency display function 0 to OxFFFF 5 30006 WORD 1digit 0 1 6 30007 Maximum value of Oxygen concentration Upper 0 to OXFFFFFFFF DWORD 3 Ai a Maximum value of Oxygen concentration digit 0 0001 vol 7 30008 Lower g 30009 Minimum value of Oxygen concentration Upper 0 to OXFFFFFFFF DWORD T Minimum value of Oxygen digit 0 0001 1 9 30010 concentration Lower 10 30011 WORD pene of corrent date Upper 0 to 59 Minute of corrent date Lower 0 to 59 Time of corrent date Upper 0 to 23 11 30012 WORD 1 Sun 2 Mon 4 Tue 8 Wed Day of corrent date Lower 16 Thu 32 Fri 64 Sat 12 30013 WORD Date of corrent date Upper 1 to 31 Month of corrent date Lower 1 to 12 30014 WORD Year of corrent date Upper 00 to 99 Unused 0 2 Am for next time auto 00 to 99 14 30015 WORD i Month of starting date for next time auto ae 1 to 12 calibration Lower Date of starting date for next time auto calibration Upper Id 15 30016 WORD a Time of starting date for next time auto DER 0 to 23 calibration Lower Minute of starting date for next time auto 0 to 59 16 30017 WORD calibration Upper Unused 0 i 2 for next time auto 00 to 99 17 30018 WORD Month of starting date for next time auto 1 to 12 blowdown Lower 26
10. 10 to 50000 DWORD am 5 206000 15 40016 Calibration span gas 1 digit 0 001 1 concentration Lower Range 2 16 40017 Calibration zero gas concentration Upper Range 2 00010 to 25000 DWORD aU t 20000 7 40018 Calibration zero gas 1 digit 0 001 vol concentration Lower Range 2 3 blow back start 00 to 99 99 18 40019 WORD Month of automatic blow back 1 to 12 1 start Lower Date of automatic blow back start Upper 1 to 31 1 19 40000 WORD PP Time of automatic blow back 0 to 23 0 start Lower Minute of automatic blow back 0 to 59 0 20 40021 WORD start Upper Unused 0 0 Gee blow cycle time 0 to 99 24 21 40022 WORD F ppers m utomatic blow cycle minute 0 to 99 0 Lower 22 40023 WORD Blow time second 0 to 999 30 DAN 1 Validated 0 Invalidated 0 during calibration Upper 23 40024 WORD restored sensor execution processing flag during calibration 1 validated 0 Invalidated 0 Lower 24 40025 WORD Restored sensor type 0 AC Impressed current 0 25 40026 worp Unused j Unused 0 0 0 Unused 1 Blow down 2 Heater off 3 Inhabitation of calibration dus Su Digital input 1 Setting value A nemotsc libratok 0 5 Remote AO hold 6 Maximum amp Minimum calculation reset 7 Range selection Same as digital input 1 Digital input 2 Setting value 0 Same as digital input 1 27 40028 WORD Digital in
11. 2 value Low DWORD F S 0 to 4294967295 7700 70 40071 D1 adjustment value Low Lower 71 40072 Am value High DWORD TET zg 0 to 4294967295 25000 72 40073 adjustment value High Lower 73 40074 value Low DWORD ADD 0 to 4294967295 2000 74 40075 adjustment value Low Lower 75 40076 wa ee value High DWORD 010 4294967295 32000 76 40077 adjustment value High Lower 77 40078 rra R value Low DWORD ADS 0 to 4294967295 2000 78 40079 adjustment value Low Lower 79 40080 rie value High DWORD 0 to 4294967295 32000 80 40081 adjustment value High Lower 81 40082 o E value Low DWORD ror 2 GR 0 to 4294967295 2000 82 40083 adjustment value Low Lower 83 40084 Te S value High aOR 2 La 0 to 4294967295 32000 84 40085 adjustment value ig Lower 85 40086 WORD Brightness value 0 to 65535 150 24 INZ TN5A0506 E eve Dale Memory contents Read out weite in data Dou adderess number type value 0 bit Zero valve contact DO 1 bit Span valve contact DO 2 bits Blow down contact DO Contact AB setting Upper 3 bit Output contact during 0 maintenance DO 86 40087 WORD 4 bits Error contact FAULT DO 5 bits Alarm contact ALARM DO 0 1 B 0 bit contact DI 1 bit DI2 contact DI Contact AB setting Lower 2 bits DI3 contact 0 A 1 B 87 40088 WO
12. 500 m One master and up to thirty one micro controllers slaves can be connected per circuit Both ends of the cable should be terminate with terminating resistors 1000 1 2W or more Ground the shielded cable once towards the master side Terminating resistor Masta 1000 1 2W Slave ZKM Twisted pair cable with shield RTxD i Terminating resistor 1000 1 2W 4 INZ TN5A0506 E SG does not have to be connected but it can be used as an effective countermeasure against communication errors due to noise When using the micro controller in an area where the imposed noise level is expected to exceed 500V we recommend using a noise filter on the master side as seen in the figure below Noise filter Recommended ZRAC2203 11 made by TDK Corporation Master Noise Iter PS 485 Main unit A ee If there are problems with EMC during communication the noise level can be reduced by using communication cable with a ferrite core Ferrite core recommended ZCAT series made by TDK Corporation MSFC series made by Morimiya Electric Co Ltd INZ TN5A0506 E 5 4 SETTING OF COMMUNICATION CONDITION In order that the master station and instrument this instrument can correctly communicate following settings are required All communication condition settings of the master station are the same as those of instruments this instrument
13. Gode unte tih ente u m E eee Eee t DEC e HO 10 5 5 Calculation of Error Check Code CRC 16 esses 11 5 6 Transmission Control enne 13 Gy DET ATES OPMESSAGE aoa o t mio imei iE 15 6 1 Word data readout Function code 0341 100200000000 00000000000000000000000000000 15 62 Reading Read Only Word Data Function Code 04 22 2 20224 2 22 00000000 00000000000000000000000000000000004 16 6 3 Writing Word Data unit of lword function code 06 2 11 1000000000000000000000000000000000 17 6 4 Writing Continuous Word Data Function code 10g 18 T ADDRESS MAP AND DATA FORMAT au asennad canal bee 19 Jb Datasfofmat 25i ipti m eret RR EGER 19 Tl Transmission data format q eere nene qi RB ees 19 7 1 2 Handling of decimal point position and measurement unit J a 19 7 1 3 Handling at measurement data over range ssssssssssseessseeeeee nennen enne nennen 19 72 Address maps er ei aaa E EEE 20 2 5 0506 i 1 COMMUNICATION FUNCTION 1 1 Outline This instrument provides a communication function through RS232 C and RS 485 which allows data transmit to or receive from the host computer and other devices e The communication system is
14. INZ TN5A0506 E Relative address 18 Register number H 30019 Data type WORD Memory contents Day of starting date for next time auto blowdown Upper Readout data 1 to 31 Time of starting date for next time auto blowdown Lower 0 to 23 30020 WORD Minute of starting date for next time auto blowdown Upper 0 to 59 Unused 0 20 30021 WORD Unused 21 30022 WORD Unused 22 30023 WORD Unused 23 30024 WORD Event parameter Upper 0 bit Zero input adjustment 1 bit Span input adjustment 2 bits input adjustment of zero temperature 3 bits input adjustment of temperature span 4 bits input adjustment auxiliary zero 5 bits input adjustment of auxiliary span 6 bits 4 mA adjustment flag 7 bits 20 mA adjustment flag 0 None 1 Active Event parameter Lower 0 bit Manual span calibration 1 bit Auto span calibration 2 bits Auto zero calibration 3 bits Auto zero calibration 4 bits Manual batch calibration 5 bits Auto calibration start 6 bits Auto blowdown 7 bits Manual blowdown 0 None 1 Active 24 30025 WORD Event parameter Upper 0 bit Manual sensor diagnosis 1 bit Sensor diagnosis during calibration 3 bits Manual reactivated sensor 4 bits Activated sensor during calibration 6 bits Applied AC 7 bits High temperature sensor 0 None
15. RD Waiting time of calibration 0 to 60 10 Seconds 88 40089 WORD PID control parameter 0 to 65535 20 89 40090 WORD PID control parameter I 0 to 65535 3000 90 40091 WORD PID control parameter D 0 to 65535 600 91 40092 WORD voltage applied time Minute 0 to 65535 20 92 40093 WORD Unused 93 40094 WORD Unused 94 40006 WORD Pp dance value OF sensor 0 to 999 diagnostics Q 95 40096 WORD Sensor impedance 0 to 65535 96 40097 ORD oon number Upper 01099 Lower is Unused ae 0 RS232C 97 40098 WORD Communication configuration 1 85485 0 98 40099 WORD Combustion efficiency display 0 to 199 70 function 99 40100 WORD secure judgment time Second 0 to 600 420 Monitoring time of calibration 100 VORR factor determination Second ot 200 22 101 40102 WORD flag 0 1 Range 1 Rnage2 0 102 40103 WORD Calibration range of interlock 0 1 Interlock range range 0 flag display INZ TN5A0506 E 25 Read Only Word Data Function code 044 Relative Register Data address number type Memory contents Readout data 0 30001 Oxygen concentration after moving avarage Upper 0 to OXFFFFFFFF DWORD Oxygen concentration 96 after moving digit 0 0001 vol 1 30002 avarage Lower 2 30003 mV corresponding value of Oxygen Upper 0 to OXFFFFFFFF DWORD I s mV
16. Register Data address number type Memory contents Readout data 0 Unexecute remote Digital contact input Blow down blowdown Upper 1 Execute remote blow 29 30030 WORD down E 0 Unexecute calculation Digital contact input Calculation reset Lower 1 Execute calcuration reset Digital contact input 1 Status Upper x ae ane 30 30031 WORD UNS or f Digital input 2 is Digital contact input 2 Status Lower 1 Digital input 2 is OFF 0 Digital input 3 is 31 30032 WORD Distal contactinput 3 Status Upper 1 Digital input 3 is OFF Spare 0 32 30033 DWORD 110 of Input value of AO Upper 0 to OXFFFFFFFF 33 30034 110 of Input value of AO Lower 34 30035 DWORD ADI Upper 0 to OXFFFFFFFF 35 30036 ADI concentration Lower 36 30037 ra nd temperature control DWORD PP 0 to OXFFFFFFFF 37 30038 AD2 Heater temperature control Lower 38 30039 DWORD AD3 control Upper 0 to OXFEFFFFFF 39 30040 AD3 combustion control Lower nS DWORD 20 BR 0 to 0 41 30042 AD4 Thermocouple ambient temperature Lower 42 30043 Oxygen concentration mv gt after conversion Upper 0 to OXFFFFFFFF DWORD kiss Oxygen concentration mv gt after 1 digit 0 0001 vol 43 30044 conversion Lower 44 30045 WORD Oxygen concentration for analog out 0 to OxFFFF 45 30046 o re counter value DWORD PP 0 to OXFFFFFFFF 46
17. a CRC data Upper Lower Lower T Contents of the last Upper word data Lower CRC data S DET Lower Arrangement of read out word data MSB LSB Upper byte of contents of the first word data Lower byte of contents of the first word data Upper byte of contents of the next word data Lower byte of contents of the next word data Upper byte of contents of the last word data Lower byte of contents of the last word data Description of functions Word data of continuous word numbers from the read out start No can be read Read out word data are transmitted from the slave station in the order of upper and lower bytes 16 INZ TN5A0506 E 6 3 Writing Word Data unit of 1word function code 06 1 Function code or words Relative address Register No Contents to read in one message 065 1 words 0000 to 0081 40001 to 40082 Setting data 1 Composition of message Command message composition byte Response message composition byte Station No Station No Function code Function code Write in designation Upper Write in designation Upper No Relative address Lower No Relative address Lower Write in word data Upper Write in word data Lower Lower CRC data CRC data Lower Lower 2 Description of function Designated word data is written in write in design
18. ansmit message and CRC register contents to an exclusive logical summation XOR and store the result into the CRC register Shift the CRC register contents 1 bit to the right Store 0 at MSB If LSB before shifting is 0 do nothing If LSB before shifting is 1 subject it and A001H to XOR and store the result into the CRC register Repeat the steps c and d 8 times shift by 8 bits Execute steps b to e for the next byte of the transmit message Likewise successively repeat the steps to each byte of the transmit message The CRC code that is retained is the value of CRC register that stands when the processing has ended for latest byte latest data except error code of the transmit message As error check code of the transmit message store this CRC value in the order of lower 8 bits and upper 8 bits Transmit message ex Calculate the date between these numbers in order figure out CRC In this case CRC 75 994 Attach the error check code to message upon interchanging the upper CRC and lower orders Fig 5 3 Shows the flow of the CRC 16 calculation system 2 5 0506 11 Explanation of variables CR CRC error check data 2 bytes 1 Digits of calculation characters in command message J Check on the number of times of CR calculation Set hexadecimal number CR Set 1 to Exclusive OR XOR runs on each character of J one byte for CR and the specified messa
19. atched the slave station leaves the message and wait for the next command message In case when the station No in the received command message matches with the own slave station No Master Gave message Dataon line Master Save Fesponse message In case when the station No in the received command message matches with the own slave station No Master Gave message Dataon line Master Save No response The master is connected to the same line by specifying the station No in the command message For multiple slaves it is possible to communicate individually INZ TN5A0506 E 7 5 2 Composition of Message Command message and response message consist of 4 fields Station No Function code Data and Error check code And these are sent in this order Station No 1 Byte Function Code 1 Byte Data Part 2 to 133 Bytes Error check code CRC 16 2 Bytes Fig 5 1 Composition of message In the following each field is explained 1 Station No Station No is the number specifying a slave station Only a slave station that corresponds to a value to which Station No is set on the analyzer maintenance mode display executes a command 2 Function code This is a code to designate the function executed at a slave station For details refer to section 5 4 3 Data part Data are the data required for executing function co
20. ate No The master sends the data to be written from the upper number of bytes to the lower number INZ TN5A0506 E 17 6 4 Writing Continuous Word Data Function code 104 Function code Max Evo Relative address Register No Contents to read in one message 104 64 words 0000 to 0081 40001 to 40082 Setting data 1 Composition of message Command message composition byte Response message composition byte Station No Station No Function code Function code Write in start No Upper Write in start number Upper Relative address Lower Relative address Lower Write in word Upper Write in word Upper 1 to 60 number Lower number Lower Write in byte number Write in word number x 2 CRC data Upper Lower First write in word Upper data Lower Next write in word Upper data Lower Last write in word Upper data Lower CRC data Lower Arrangement of write in word data MSB LSB Upper byte of contents of the first word data Lower byte of contents of the first word data Upper byte of contents of the next word data Lower byte of contents of the next word data Upper byte of contents of the last word data Lower byte of contents of the last word data 2 Description of functions Word data of continuous word number is written from write in start add
21. d to send a command message If the command message is destined to the own station a response message is returned Its processing time is to 30 ms The time may change depending on the contents of the command message Therefore one frame command message must be sent while following the rules below 1 3 After sending a command message for less than 24 bit time the master will enter receiving standby Space time of longer than 25 ms is needed Sms or more is recommendable Main unit POL1 POL2 1 to 30msec Control f Mai it f Station uni lt b POL1 Response data POL1 POL1 Response data POL2 14 INZ TN5A0506 E 6 DETAILS OF MESSAGE 6 1 Word data readout Function code 03 Function code number Relative address Register No Contents to read in one message 034 64 words 0000 to 0081 40001 to 40082 Setting data 1 Composition of Message Command message composition byte Response message composition byte Station No Station No Function code Function code Readout start number Upper Readout byte number Readout word number x 2 Relative address Lower Contents of the first Upper word data Readout Word number EDGE 1 to 60 SE Lower Contents of the next Upper word data CRC data Upper Lower Lower T T Contents of the last Upper word data Lower CRC data uus Lower
22. des The composition of the data part is different depending on the function code For details refer to chapter 6 A register number is assigned to each data in the analyzer For reading writing the data by communication designate the register number Relative address Coil number or register number of last 4 sas 1 For example the register number specified by certain function code in case of 4003 Relative address Lower 4 digits of 40003 1 0002 The message above will be used 4 Error check code This is the code to detect message errors change in bit in the signal transmission MODBUS protocol RTU mode uses CRC16 Cyclic Redundancy Check For CRC calculation method refer to section 5 5 8 INZ TN5A0506 E 5 3 Response of Slave Station 1 Response for normal command To a relevant message the slave station creates and sends back a response message which corresponds to the command message The composition of message in this case is the same as in Section 5 2 Contents of the data field depend on the function code For details refer to chapter 6 2 Response for abnormal command If there are problems such as specification of a nonexistent function code with the contents of the command message other than transmission error the slave creates and replies with an error response message without following the command The composition of response message at error detection is as shown in Fig 5 2 the value
23. e position 11 at alarm 0 to 23 0 generation date Lower Minute of data storage position 11 at alarm 0 to 59 0 2043 32044 WORD generation date Upper _ Second of data storage position 11 at alarm 0 to 99 0 generation date Lower INZ TN5A0506 E 33 Read Only Word Data Function Code 044 Information of operation history Relative Register Data Memory contents Readout Default address number type data value 3000 33001 WORD Stored number of operation history Upper 0 to 12 0 Next storage pointer Lower 0 to 11 0 3001 33002 WORD Data storaged head Latest Upper 0 to 11 0 Data storaged end pointer Oldest Lower 0 to 11 0 3002 33003 WORD Error code of data storage position 0 Upper 0 to 255 0 Error code of data storage position 1 Lower 0 to 255 0 3007 33008 WORD Error code of data storage positon 10 Upper 0 to 255 0 Error code of data storage position 11 Lower 0 to 255 0 Year of data storage position 0 at operation 00 to 99 0 3008 33009 WORD generation date Upper Month of data storage position 0 at operation 1 to 12 1 generation date Lower Day of data storage position 0 at operation 11031 1 3009 33010 WORD date Upper Time of data storage position 0 at operation 0 to 23 0 generation date Upper Minute of data storage position 0 at operation 0 to 59 0 generation date Upper 3010 33011 WORD
24. econd 51 40052 WORD Factory default setting flag SOUS Rey ee aval 0 1 Valid LCD Automatic OFF time of the 52 40053 WORD backlight Minute 0 to 99 10 53 40054 VOR Dei a up operation montong 45 time Minute 54 40055 WORD Average time of movement Oto 60 2 Seconds 55 40056 WORD Heater control system setting 700 to 900 800 Controlled temperature 56 40057 WORD Heater control system setting 0 to 300 200 cryogenic thermometry 57 40058 WORD Heater control system setting 0 to 60 0 cryogenic temperature 58 40059 WORD Unused 59 40060 MORD Aemustment value ns 66535 5250 Analog output 60 40061 woRp 20mA V Adjustment value 9 49 65535 27000 Analog output Zero coefficient Upper Range gt 1 0 to 4294967295 POR IL Range 1digit 0 001 1909 62 40063 e coefficient Lower Range 63 40064 coefficient Upper Range DWORD E ia 0 to 4294967295 0 64 40065 ta coefficient Lower Range 65 40066 Zero coefficient Upper Range 1000 2 0 to 4294967295 DNO E IL Ranse 1digit 0 001 66 40067 ero coefficient Lower Range 2 INZ TN5A0506 E 23 2 7 Memory contents Read out weite in data EL adderess number type 67 40068 coefficient Upper Range ned T 0 to 4294967295 0 68 40069 coefficient Lower Range 69 40070 fae 22
25. ge and sets that result to CR Set 1 to J Bit at right end of CR is 1 After CR has been adjusted one Shift CR to right by 1 bit bit to the right A001H run and set that result to CR Add 1 to J Calculation 8 times is finished J gt 8 Add 1 to Calculation is executed in the order of command message station No function code and data CR calculation result shall be added to the last command message in the order of LOW byte and HIGH byte Calculation of all characters is completed I gt All characters Close Fig 5 4 Flow of CRC 16 calculation 12 INZ TN5A0506 E 5 6 Transmission Control Procedure 1 Transmission procedure of master station The master station must proceed to a communication upon conforming to the following items 1 1 The command message must be sent after an empty space of at least 48 bit time 1 2 Interval between bytes of 1 command message is smaller than 24 bits time 1 3 After sending a command message for less than 24 bit time the master will enter receiving standby 1 4 After receiving the response message the next command message must be sent after at least 48 bit time Same as in 1 1 1 5 For safety reasons create a framework where the master checks the response message and if there is no response or an error occurs retry at least three times Note The definitions written above are for the minimum required value For safety reasons we
26. input zero Lower n 63 3006 DWORD Heater temperature input span Upper 0 to OXFFFFFFFF 64 30065 Heater temperature input span Lower 65 30066 WORD PWM oncounter 0 to 50 66 30067 DWORD Deviation of heater temperature Upper 0 to OXFFFFFFFF 67 30068 Deviation of heater temperature Lower digit 0 0001 C Previous deviation of heater temperature 68 DWORD Upper 0 to OXFFFFFFFF 69 30070 Previous deviation of heater temperature 1 digit 0 0001 C Lower Last deviation but one of heater 1 uud DWORD temperature Upper 0 to OXFFFFFFFF 71 30072 Last deviation but one of heater 1 digit 0 0001 C temperature Lower 8 72 30073 DWORD Manipulating value Upper 0 to 10000 73 30074 Manipulating value Lower 74 30075 MAX MIN calculated time countdown DWORD 9 0 to OXFFFFFFFF 75 30076 MAX MIN calculated time countdown Lower 76 30077 WORD Impedance 0 to OXFFFF 77 30078 WORD Impedance 0 to OXFFFF 78 30079 WORD Impedance Offset 0 to OXFFFF INZ TN5A0506 E 31 Read Only Word Data Function Code 044 Information of error history generation date Lower Relative Register Data Readout Default address number type Memon contents data value 1000 31001 WORD Stored number ot error history Upper 0 to 12 0 Next storage pointer Lower 0 to 11 0 1001 31002 WORD Data storaged
27. ion of alarm history Relative Register Data Merorvreontant Readout Default address number type ry data value 2000 32001 WORD Stored number 2 alarm history Upper 0 to 12 0 Next storage pointer Lower 0 to 11 0 2001 32002 WORD Data storaged of end poter Latest Upper 0 to 11 0 Data storaged of head pointer Oldest Lower 0 to 11 0 2002 32003 WORD Error code of data storage 0 Upper 0 to 255 0 Error code of data storage position 1 Lower 0 to 255 0 2007 32008 WORD Error code of data storage panion 10 Upper 0 to 255 0 Error code of data storage position 11 Lower 0 to 255 0 Year of data storage position 0 at alarm 00 to 99 0 2008 32009 WORD generation date Upper Month of data storage position 0 at alarm l to 12 1 generation date Lower Dayof data storage position 0 at alarm generation 1 to 31 date Upper 2009 32010 WORD Time of data storage position 0 at alarm 0 to 23 0 generation date Lower F Minute of data storage position 0 at alarm 0 to 59 0 generation date Upper 2010 32011 WORD Second of data storage position 0 at alarm 0 to 99 0 generation date Lower Year of data storage position 11 at alarm generation date Upper i Ee 2 2041 32042 WORD Month of data storage position 11 at alarm 14012 1 generation date Lower Day of data storage position 11 at alarm 11031 1 generation date Upper 2042 32043 WORD Time of data storag
28. ocouple line for temperature control 2 bits Disconnection of thermocouple for combustion management 3 bits Impedance setting error 4 bits Sensor abnormal 5 bits scale over 0 Normal 1 Abnormal Parameter for alarm control Lower 0 bit Secured error of span gas calibration 1 bit Span calibration error 2 bits Secured error of zero gas calibration 3 bits Zero calibration error 4 bits Calibration error 6 bits Timeout of high temperature setting of heater 0 Normal 1 Abnormal 27 30028 WORD Parameter for alarm control Upper 0 bit Warm up operation error 1 bit Heater temperature error 2 bits A D saturated error 5 bits error 0 Normal 1 Abnormal Parameter for alarm control Lower 0 bit upper2 limit value alarm 1 bit O upper limit value alarm 2 bits lower limit value alarm 3 bits lower2 limit value alarm 4 bits Alarm information 5 bits Fault imformation 7 bits Rich mode 0 Normal 1 Abnormal 28 30029 WORD Digital contact input Remote calibration start Upper 0 Unexecute remote calibration 1 Execute remote calibration Digital contact input Inhabitation of calibration Lower 0 Calivration valid 1 Inhibitation of calibration INZ TN5A0506 E 29 Relative
29. od 2 wire semi duplicate Synchronizing method Start stop synchronous system Connection format 1 N Number connectable units 31 units Communication distance Maximum 500m total extansion Baud rate 38400 bps Data Format Data length 8 bits Stop bit 1 bits None Parity X flow control None Transmission code HEX value MODBUS RTU mode Error detection CRC 16 Isolation Isolation from internal circuit Functional isolation between signal line and ground 2 INZ TN5A0506 E 3 CONNECTION NWARNING Do not turn on the power supply until all wiring have been completed to avoid electric shock and malfunctions 3 1 Setting of jumper pin Depending on the kind of communication switch the jumper pin Communication RS 232C RS 485 3 2 Terminal allocation TM2 a RS 232C Interface Terminal number Signal name Pin connection Transmission data TXD Receive Data RXD Signal ground Signal name RTxD RTxD Singnal ground INZ TN5A0506 E 3 3 3 Connection a RS 232C Interface Master Twisted pair cable Slave ZKM i with shield nS b RS 485 interface Please use a shielded twist pair cable Recommended cable KPEV SB made by The Furukawa Electric Co Ltd The total extension length of the cable is up to
30. of head popiet Latest Upper 0 to 11 0 Data storaged of end pointer Oldest Lower 0 to 11 0 t iti to 2 1002 31003 WORD Error code of data strorage post ion 0 Upper 0 to 255 0 Error code of data strorage position 1 Lower 0 to 255 0 ta st ition 1 to 2 1007 31008 WORD Error code of data strorage post on 0 Upper 0 to 255 0 Error code of data strorage position 11 Lower 0 to 255 0 Bae xis as position 0 at error generation 00 to 99 0 1008 31009 WORD PE Month of data storage position 0 at error 1 to 12 1 generation date Lower Day of data storage position 0 at error generation date Upper 11091 1009 31010 WORD SS CES EP Time of data storage position 0 at error generation 0 to 23 0 date Lower Minute of data storage position 0 at error eneration date Upper i 1010 3100 WORD PPS U Second of data storage position 0 at error 0 to 99 0 generation date Lower 2 grs 11 at error 00 to 99 0 1041 31042 WORD Month of data storage position 11 at error 1 to 12 1 generation date Lower Day of data storage position 11 at error eneration date Upper 1042 31043 WORD AM Year of data storage position 11 at error 0 0 23 0 generation date Lower Minute of data storage position 11 at error eneration date Upper dd i 1043 31044 WORD Second of data storage position 11 at error 0 to 99 0 32 INZ TN5A0506 E Read Only Word Data Function Code 044 Informat
31. pper 0 vol 0 2 40003 WORD Decimal position of range 0 lt 0 000 gt 1 Lower 1 lt 00 00 gt 0 to 9999 When the decimal point 3 40004 WORD Range position 00 00 is 0200 to 2500 5000 when 0 000 15 2000 to 9999 4 40005 WORD Max value Mini value calculation 0 to 240 24 time time 2 bits Inhabitation of all 5 40006 WORD Setting flag calibration 0 enable 1 0 unenable Hos x calibration star 00 to 99 99 6 40007 Worp e Month of automatic calibration lto 12 1 start Lower Date of automatic calibration start Upper poe 7 40008 WORD Tea Time of automatic calibration 0 to 23 0 start Lower Minute of automatic calibration 0 to 59 0 8 40009 WORD start Upper Unused 0 0 an cycle Date 0 to 99 7 9 40010 WORD TETTE ET uto calibration cycle Time 0 to 99 0 Lower 10 40011 Calibration span gas concentration Upper Range 1 00010 to 50000 DWORD quu 5 206000 11 40012 Calibration span gas 1 digit 0 001 vol concentration Lower Range 1 12 40013 Calibration span gas concentration Upper Range 1 00010 to 25000 DWORD 20000 3 40014 Calibration zero gas 1 digit 0 001 vol 20 INZ TN5A0506 E Data Memory contents Read out weite in data Ppraul adderess number type value 14 40015 Calibration span gas concentration Upper Range 2 000
32. put 3 Setting value Seine value 0 Unused 0 0 INZ TN5A0506 E 21 mele Redstation Data Memory contents Read out weite in data adderess number type value 0 Unused 1 Upper limit alarm 2 Lower limit alarm 28 40029 WORD Alarm contact output setting 3 Upper2 limit alarm 0 value 4 Lower2 limit alarm 5 Upper Lower limit alarm 6 Upper2 Lower2 limit alarm Error conditions of heater temperature C Upper 29 40030 WORD Hysteresis width of heater temperature error condition Vo 0 to 20 1 Lower 30 40031 concentration alarm upper limit vol Upper Range 1 1 to 550000 DWORD fag 550000 31 40032 O gt concentration alarm upper 1digit 0 0001 vol limit vol Lower Range 1 32 40033 O concentration alarm lower limit vol Upper Range 1 1 to 550000 DWORD 3 500000 33 40034 concentration alarm lower 1digit 0 0001 vol limit vol Lower Range 1 34 40035 concentration alarm upper2 limit vol Upper Range 1 1 to 550000 200 DWORD ORA 5 35 40036 concentration alarm upper2 digit 0 0001 vol limit vol Lower Range 1 36 40037 O concentration alarm lower2 limit vol Upper Range 1 1 to 550000 DWORD APO 3 100 37 40038 O concentration alarm lower2 1digit 0 0001 vol limit vol o Lower Range 1 hysteresis
33. ress The master sends the data to be written from the upper number of bytes to the lower number 18 INZ TN5A0506 E 7 ADDRESS MAP AND DATA FORMAT 7 1 Data format 7 1 1 Transmission data format The MODBUS protocol used in this instrument is RTU Remote Terminal Unit mode Transmitted data is numeric value and not ASCII code 7 1 2 Handling of decimal point position and measurement unit When transmitted the calibration concentration setting alarm s high and low limits and measurement concentration data have no decimal point nor measurement unit Calculate exact values of data upon point positioning as shown below Refer to the contents of each read out write in data 7 1 3 Handling at measurement data over range Even if the measurement data is at over range with 47777 displayed on the screen the measurement value at the time is transmitted INZ TN5A0506 E 19 7 2 Address map Word data read out write in Function code 03y 06 104 concentration Lower Range 1 Regie Memory contents Read out weite in data PErau adderess number type value Unit Upper 0 vol 0 0 40001 WORD Decimal point position of range 0 lt 0 000 gt Lower 1 lt 00 00 gt 0 to 9999 When the decimal point 1 40002 WORD position 00 00 is 0200 to 2500 5000 when 0 000 is 2000 to 9999 Unit U
34. used for function code field is function code of command message plus 80 Table 5 1 gives error codes Station No 1 byte Function code 80g 1 byte Error code 1 byte Error check code CRC 16 2 bytes Fig 5 2 Response message at error detection Table 5 1 Error Code Error code Contents Explanation Oly Illegal function code Non actual function code is designated Check for the function code 024 Faulty address for coil or register A relative address of a coil number or resister number to which the designated function code can not be used Illegal data value Because the designation of number is too much the area where resister numbers do not exist is designated 3 response Under any of the following items the slave station takes no action of the command message and sends back no response A station number transmitted in the command message differs from the station number specified to the slave station Anerror check code is not matched or a transmission error parity error etc is detected The time interval between the composition data of the message becomes longer than the time corresponding to 24 bits Refer to Section 5 6 Transmission Control Procedure INZ TN5A0506 E 9 5 4 Function Code According to MODBUS protocol register numbers are assigned by function codes Each function code acts on specific register number This correspondence is sho
35. width of 38 40039 WORD concentration alarm condition 0 to 20 10 96 Range 1 concentration alarm upper 39 40040 limit value vol Upper Range 2 1 to 550000 DWORD i 550000 concentration alarm upper 1digit 0 0001 vol 40 40041 limit value vol Lower Range 2 41 40042 0 concentration alarm lower limit vol Upper Range 2 1 to 550000 DWORD oe 5 500000 m 40043 concentration alarm lower 1digit 0 0001 vol limit vol o Lower Range 2 concentration alarm upper2 43 40044 limit value vol Upper Range 2 1 to 550000 DWORD 8 200 concentration alarm upper2 digit 0 0001 vol 44 40045 limit value vol Lower Range 2 22 INZ TN5A0506 E ped e pede Memory contents Read out weite in data cea adderess number type value concentration alarm lower2 45 40046 limit value vol Upper Range 2 1 to 550000 DWORD A 100 O concentration alarm lower 1digit 0 0001 1 46 40047 limit alarm value vol Lower Range 2 Hysteresis width of O 47 40048 WORD concentration alarm condition 0 to 20 10 Range 2 AO Hold setting type Upper 1 Valid 0 Invalid 0 0 0 48 40049 WORD AO Hold selection value 1 100 0 Lower 2 last time calculated value 3 User specified 49 40050 WORD Hold setting value 0 to 100 0 50 40051 WORD Measurement return time 0 to 300 10 S
36. wn in Table 5 2 and the message length by function is shown in Table 5 3 Table 5 2 Correspondence between function codes and objective address Function Code 6 Register No No Contents 4xxxx Reading writing Word data 3xxxx Reading Word data No Function Remedy 03 reading continuance Holding register 044 reading continuance Input register Writing Holding register 10y Writing continuance Holding register 4xxxx Reading writing Word data 4 Reading writing Word data Table 5 3 Function code and message length Function Code Contents Read word data Designated data 64 words UNIT byte Command Response message message Mini Max Mini Max Read word Read only 64 words Write word data 1 word Write continuous word data 64 words 10 INZ TN5A0506 E 5 5 Calculation of Error Check Code CRC 16 CRC 16 is the 2 byte 16 bits error check code From the top of the message station No to the end of the data field are calculated The slave calculates the CRC of the received message and ignores the message if this value is not the same as the received CRC code The following shows the calculation procedure for CRC 16 a b c d e f g h Store FFFFH into 16 bits register CRC register Subject the 1st byte 8 bits of tr
Download Pdf Manuals
Related Search
Related Contents
Projekt Leiser Flugverkehr Honda HRM195PA User's Manual American Standard T010.730 User's Manual カタログ La vie offre bien plus qu`une volvo. le soleil, la mer December 1979 - American Bonanza Society PDFデータ Copyright © All rights reserved.
Failed to retrieve file