Thank you very much for purchasing the TTM-00BW (with a communication function). Kindly read this operation manual for proper usage. Table of Contents Before Using the Product .......Page 4 1.1 About the Operation Manual 1.2 Requirements for Communication 1.3 Things the Communication Function Can Do 1.4 Position (Priority) of Communication...
Page 3
MODBUS Communication Control .....Page 17 6.1 Communication Procedures 6.2 Kinds of Message 6.3 Structure of RTU Request Message (Data transmission from upper computer to this product) 6.4 Structure of RTU Response Message (Data transmission from this product to upper computer) 6.5 Explanation about RTU Codes (e.g., List of Errors) 6.6 Things to Be Noted during RTU Communication 6.7 Sample Computation of CRC-16...
Before Using the Product 1.1 About the Operation Manual This manual explains the communication function of TTM-00BW (hereinafter referred to as "Product"). 1.2 Requirements for Communication The communication function of the product is optional. Therefore, you need to specify the communication option (RS-485) upon purchase.
Setting about TOHO Communication 2.1 Outline Initial settings need to be made to the product in order for it to perform a communication function. The setting shall be done by keys at the front side. Follow the procedure shown below to navigate between setting screens. See the User's Manual of this product for details.
2.2 Setting of Data Length 2.3 Setting of Stop Bit 2.4 Setting of Parity 2.5 Setting of BCC Checking Set the value by pressing the ▲▼ keys on the "Setting of Communication Parameters" screen in a previous page. The initial value is ****...
Page 7
2.9 Switching of Communication Mode Set the value by pressing the ▲▼ keys on the "Setting of the Switching of Communication Mode" screen in a previous page. The initial value is Read/Write Read Only TOHO Communication Control 3.1 Communication Procedures This product returns the "response message"...
Page 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.
Page 9
3.4 Structure of Response Message (Data transmission from this product to upper computer) ■ 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.
Page 10
3.5 Explanation about Codes ■ The following codes from ① STX, ② Address, up to ⑩ Error Type will be expressed in ASCII code: ■ See "10. List of ASCII Codes" for the details about ASCII codes. ■ To convert into ASCII code, see "4. Sample TOHO Communications." ①...
Page 11
⑥ ETX It is a code that is necessary for the receiving side to detect the end of the message. It shall be attached to the end of the character string to be sent (except for BCC). ⑦ BCC Get the Ex-OR of all characters from STX to ETX with the check code for the detection of error.
Page 12
3.6 Things to Be Noted during the Communication 3.6.1 Timing of Transmission Upon using RS-485, set enough response delay time to ensure the communication (sending/receiving) with the host computer. See Figure of "3.1 Communication Procedures" and "2.8 Setting of Response Delay Time." 3.6.2 Request Interval If the "request message"...
Page 13
Example of TOHO Communication 4.1 Sample Communication for Reading Example: Request Message: Request this product, which address is set as "27," to read the measured value (PV). (Upper computer) For the above request, Response Message: Returns the data (00777) of the measured value (PV). (This product) Read Request Message (to be sent by the upper computer) Code...
Page 14
4.2 Sample Communication for Writing Example: Request Message: Request this product, which address is set as "03," to "set 011" (write 011) to E1F (upper computer). (Set the function of Event 1 to Minimum Deviation + Retain) For the above request, Response Message: Return the message to tell that the request message has been received.
Setting about MODBUS Communication 5.1 Outline Initial settings need to be made to the product in order for it to perform a communication function. The setting shall be done by keys at the front side. Follow the procedure shown below to navigate between setting screens. See the User's Manual of the product for details.
5.2 Setting of Data Length 5.3 Setting of Stop Bit 5.4 Setting of Parity 5.5 Setting of BCC Checking BCC checking will be disabled. Initial Value of MODBUS (RTU): Initial Value of MODBUS (ASCII): *** Stop Bit 1 Stop Bit 2 Without Parity Odd Parity Even Parity...
MODBUS Communication Control 6.1 Communication Procedures This product 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. 6.2 Kinds of Message ■...
6.3 Structure of RTU Request Message (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.3 Structure of Save Request Message - 18 -...
6.4 Structure of RTU Response Message (Data 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 Request Message 6.4.3 Response Message for the Error - 19 -...
6.5 Explanation about RTU Codes ■ The following codes from (a) Slave Address, (b) Function Code, up to (h) Error Code will be expressed in 8-bit binary: a) Slave Address It is an address of the device that will be communicated by the upper computer (this product). The address in the response message from this product indicates the source of the response message.
Page 21
h) Type of ERR If there is an error in the message that was sent by the upper computer, the 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 error), it will be included in the "response message"...
6.6 Things to be Noted during RTU Communication 6.6.1 Timing of Transmission Upon using RS-485, set enough response delay time to ensure the communication (sending/receiving) with the host computer. See Figure of "6.1 Communication Procedures" and "5.8 Setting of Response Delay Time." 6.6.2 Request Interval If the "request message"...
6.7 Sample Computation of CRC-16 Below is the sample computation of CRC-16 using Visual Basic 6.0. Declare the variable as shown below. Since the unsigned variable cannot be used in VisualBasic6.0, a signed 16-bit integer variable is used for the data. Likewise, the computation result of CRC will be placed in the signed 32-bit integer variable.
6.8 Structure of ASCII Request Message (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.8.3 Structure of Save Request Message - 24 -...
6.9 Structure of ASCII Response Message (Data 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 Request Message 6.9.3 Response Message for the Error - 25 -...
6.10 Explanation about ASCII Codes ■ The following codes from (a) Start Code, (b) Slave Address, up to (j) Error Type will be expressed in ASCII code: ■ See "10. List of ASCII Codes" for the details about ASCII codes. ■...
Page 27
i) Data Section It specifies the data to be written into the register. Data is 4 bytes (fixed). Data without decimal point will be written. Example: In case of numerical data Contents of Communication HEX Data Proportional Band (P) = 1. 0% 0000000AH PV = 200.0℃...
6.11 Things to Be Noted during ASCII Communication 6.11.1 Timing of Transmission Upon using RS-485, set enough response delay time to ensure the communication (sending/receiving) with the host computer. See Figure of "6.1 Communication Procedures" and "5.8 Setting of Response Delay Time." 6.11.2 Request Interval If the "request message"...
6.12 Sample Computation of LRC Below is the sample computation of LRC using VisualBasic6.0. Declare the variable as shown below. Since the unsigned variable cannot be used in VisualBasic6.0, a signed 16-bit integer variable is used for the data. Likewise, the computation result of LRC will 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...
Specifications 7.1 Type of Communication Standard: EIA Standard Based on RS-485 7.2 Communication Specifications 7.2.1 Communication Method : Network・・・・・Multidrop System (1 to 31 stations) : Direction of Information・・・・・・・Half-Duplex : Synchronization System・・・・・・・Start-Stop Synchronization : Transmission Code・・・・・・・ASCII 7-bit Code (except for BCC data) (For 8-bit code, top bit = 0) 7.2.2 Interface System : Signal Wire・・・・・・・・・・・Two wires for sending and receiving...
Page 31
Wiring ○ The figure below shows the example of the case where secondary stations 1–3 (3 stations) will be connected to the primary station. ◇ For cables ①-③, use the cable with the same characteristic impedance. ・Connect secondary stations 1-3 as slave, as shown in the figure. Use the cable with the same characteristic impedance for the connection between secondary stations as well.
Page 32
List of Identifiers (Codes) ■ See the User's Manual of this product for setting range, selection items, initial value, and other related information. a) Identifier: Symbol that expresses the item. Place this symbol in the identifier within the message. Furthermore, "□" inside the frame indicates SP (ASCII code: 20H). b) Character: Character to be displayed on the display of the product c) Name: Name of the item d) R/W: Describe whether read or write is possible.
Page 33
Relative Absolute Iden- Charac- Name Description Address Address tifier 0028h 40041 □MD Setting of Control Mode R/W R/W of the Setting of Control Mode Execution of Control: 00000 Manual Control: 00001 Stop the Control: 00002 Auto Tuning is in Progress: 00003 002Ah 40043 Setting of Control Type R/W...
Page 34
Relative Absolute Iden- Charac- Name Description Address Address tifier 0064h 40101 Event Output 1 Sensi- R/W of the Setting of Event Output 1 Sen- tivity sitivity 0066h 40103 Event Output 1 Delay Settings R/W of the Setting of Event Output 1 Delay Timer Setting Timer 0068h...
Page 35
Relative Absolute Identi- Charac- Name Description Address Address fier 009Eh 40159 Timer Remaining Time R of Timer Remaining Time Monitor Monitor 00A0h 40161 Setting of Transmission R/W of the Setting of Transmission Output Output Function Function 00A2h 40163 Setting of Direct Ac- R/W of the Setting of Direct Action/Reverse tion/Reverse Action of Action of Transmission Output...
Page 36
List of ASCII Codes Upper Lower Space " & < > ※How to Use the ASCII Code Table: (ASCII Code) = (Upper) + (Lower) Example 1: If "A": (41h) = (40h) + (01h) Example 2: If "m": (6Dh) = (60h) + (0Dh) - 36 -...
Need help?
Do you have a question about the TTM-00BW and is the answer not in the manual?
Questions and answers