TOHO TTM-000W Series Operation Manual Download Page 8

 

- 8 -

      3.3 Structure of Request Message (Data transmission from upper computer to this product)

 

              ■ See "3.5 Explanation about Codes" for codes from ① to ⑩.

 

              ■ See "4.1 Sample Communication for Reading" and "4.2 Sample Communication for Writing" for concrete 
                  samples of the request message.

 

 
                 

3.3.1 Structure of Read Request Message   

 

 

 
         3.3.2 Structure of Write Request Message  

 

 

 

 

         3.3.3 Structure of Save Request Message  

 

 

 

 
 

 

Summary of Contents for TTM-000W Series

Page 1: ...1 Operation Manual Communication Edition TOHO Protocol MODBUS Model TTM 000W Series Name Digital Controller...

Page 2: ...ng of Response Delay Time 2 9 Switching of Communication Mode 3 TOHO Communication Control Page 8 3 1 Communication Procedures 3 2 Kinds of Message 3 3 Structure of Request Message Data transmission f...

Page 3: ...ng RTU Communication 6 7 Sample Computation of CRC 16 6 8 Structure of ASCII Request Message Data transmission from upper computer to this product 6 9 Structure of ASCII Response Message Data transmis...

Page 4: ...aced by the previous data data that is saved in the EEPROM if the power is turned OFF and then turned ON To save the written data into the EEPROM of this product execute the save request message See 3...

Page 5: ...More than 2 seconds Setting Mode Selection Screen Key Communication Setting Mode MODE Key Setting of Communication Protocol TOHO Communication Protocol Initial alue MODE Key Setting of Communication...

Page 6: ...4800 BPS 9600 BPS 19200 BPS 2 7 Setting of Communication Address Set the value by pressing the keys on the Setting of Communication Address screen in a previous page The initial value is Setting Rang...

Page 7: ...returns the response message as a reply to the request message that will be sent by the upper computer Therefore the transmission will never be initiated by this product 3 2 Kinds of Message Kinds of...

Page 8: ...3 5 Explanation about Codes for codes from to See 4 1 Sample Communication for Reading and 4 2 Sample Communication for Writing for concrete samples of the request message 3 3 1 Structure of Read Req...

Page 9: ...anation about Codes for codes from to See 4 1 Sample Communication for Reading and 4 2 Sample Communication for Writing for concrete samples of the request message 3 4 1 Response Message for Read Requ...

Page 10: ...t If the blind setting is to be read from the product If the blind setting is to be written into the product Identifier It is a classification symbol identifier of the data to be read or written that...

Page 11: ...ttached next to NAK to the response message that will be returned by this product Since error number 0 indicates the breakdown of measuring equipment memory error or A D conversion error it will be in...

Page 12: ...n the reasonable time Once STX is received this product clears all codes that were received prior to the said STX 3 6 5 Number of Digits of Data and Position of Decimal Point See 3 5 Explanation about...

Page 13: ...the measured value P This product Read Request Message to be sent by the upper computer Code Symbol Data ASCII Code Note 2 Start Code STX 02H Address 27 32H 37H Contents of Request R Read 52H Identifi...

Page 14: ...received This product Read the data separately to check if the data is written correctly Write Request Message to be sent by the upper computer Code Symbol Data ASCII Code Note 2 Start Code STX 02H A...

Page 15: ...ation Setting Mode MODE Key MODE Key Setting of Communication Protocol MODBUS RTU Initial alue Setting of Communication Protocol MODBUS ASCII Initial MODE Key MODE Key Setting of Communication Paramet...

Page 16: ...a previous page The initial value is Setting Range 1 247 stations Setting of 0 is not allowed 5 8 Setting of Response Delay Time Set the time to take for the upper computer to complete the receiving...

Page 17: ...ter Therefore the transmission will never be initiated by this product 6 2 Kinds of Message Kinds of message can be briefly classified into the following Data is in binary during RTU mode In case of A...

Page 18: ...age Data transmission from upper computer to this product See 6 5 Explanation about RTU Codes for codes from a to i 6 3 1 Structure of Read Request Message 6 3 2 Structure of Write Request Message 6 3...

Page 19: ...transmission from this product to upper computer See 6 5 Explanation about RTU Codes for codes from a to h 6 4 1 Response Message for Read Request Message 6 4 2 Response Message for Write Save Reques...

Page 20: ...to 0002H e CRC 16 It is an error checking code for the detection of the possible error in the message It sends CRC 16 Cyclic Redundancy Code Generating polynomial of CRC 16 that is used in this produc...

Page 21: ...whether or not there is an error in the request message For multiple errors the largest error number will be included Contents and classification of error are the following Error Number Description o...

Page 22: ...Therefore the upper computer should resend the necessary request message if the response message is not returned within the reasonable time 6 6 5 Number of Digits of Data and Position of Decimal Point...

Page 23: ...count As Integer Dim c_next c_carry As LongDim crc_arry 64 As Integer Next data to be computed will be placed in crc_arry while the quantity of data will be placed in arry_count After that the computa...

Page 24: ...age Data transmission from upper computer to this product See 6 1 Explanation about ASCII Codes for codes from a to g 6 8 1 Structure of Read Request Message 6 8 2 Structure of Write Request Message 6...

Page 25: ...transmission from this product to upper computer See 6 1 Explanation about ASCII Codes for codes from a to g 6 9 1 Response Message for Read Request Message 6 9 2 Response Message for Write Save Requ...

Page 26: ...ince the number of registers of this product is fixed to 2 set it to 0002H e Register Address It specifies the position of data to be read or written with two bytes See 10 List of Identifiers Codes fo...

Page 27: ...he error number will be included in the response message of this product for the reply Since error number 04 indicates the breakdown of measuring equipment memory error A D conversion error or AT erro...

Page 28: ...ssary request message if the response message is not returned within the reasonable time 6 11 5 Number of Digits of Data and Position of Decimal Point See 6 10 Explanation about Codes h Numerical Data...

Page 29: ...be placed in the signed 16 bit integer variable Dim LRC As Integer Dim i arry_count As Integer Dim lrc_arry 128 As Integer Next data to be computed will be placed in lrc_arry while the quantity of dat...

Page 30: ...p Bit Length Select and set from 1 bit and 2 bits Data Length Select and set from 7 bits and 8 bits Parity Select and set from none odd and even BCC Checking Select and set from Yes with and No withou...

Page 31: ...wn in the figure Use the cable with the same characteristic impedance for the connection between secondary stations as well Attach the terminator to both the primary station and the farthest secondary...

Page 32: ...Priority Screen Function Setting 4 PR5 000Ch 40013 Priority Screen Func tion Setting 5 R W R W of Priority Screen Function Setting 5 PR6 000Eh 40015 Priority Screen Func tion Setting 6 R W R W of Pri...

Page 33: ...ng of the Proportional T2 004Ch 40077 Setting of the Propor R W R W of the Setting of the Proportional MH2 004Eh 40079 Maximum Limit of M Limiter R W R W of the Maximum Limit of M Limiter ML2 0050h 40...

Page 34: ...the Setting of Communication Parameters BPS 008Ch 40141 Setting of Communica tion Speed R W R W of the Setting of Communication Speed ADR 008Eh 40143 Communication Address R W R W of Communication Add...

Page 35: ...ier Relative Address Absolute Address Charac ter Name L B Description 000 SET0 L B Blind 00000 Do not blind 00001 001 SET1 L B Blind 00000 Do not blind 00001 002 SET2 L B Blind 00000 Do not blind 0000...

Page 36: ...DC3 3 C S c s 04h EOT DC4 4 D T d t 05h ENQ NAK 5 E U e u 06h ACK SYN 6 F V f v 07h BEL ETB 7 G W g w 08h BS CAN 8 H X h x 09h HT EM 9 I Y i y 0Ah LF SUB J Z j z 0Bh VT ESC K k 0Ch FF FS L l 0Dh CR GS...

Page 37: ...a 3 1 8 Nishihara Shibuya Ku Tokyo 151 0066 Japan TEL 03 5452 4010 Representative Line FAX 03 5452 4017 Osaka Office 7F East Hall Yachiyo Bldg 2 1 21 Tenjinbashi Kita Ku Osaka Shi Osaka 530 0041 Japan...

Reviews: