TOHO TTM-000W Series Operation Manual

Digital controller, communication edition, protocol, modbus
Table of Contents

Advertisement

Quick Links

TOHO
ELECTRONICS
INC.
Operation Manual (Communication Edition)
(TOHO Protocol, MODBUS)
Model:
TTM-000W Series
Name:
Digital Controller
- 1 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TTM-000W Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for TOHO TTM-000W Series

  • Page 1 TOHO ELECTRONICS INC. Operation Manual (Communication Edition) (TOHO Protocol, MODBUS) Model: TTM-000W Series Name: Digital Controller - 1 -...
  • Page 2: Table Of Contents

    Thank you very much for purchasing the TTM-000W Series (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...
  • Page 3 MODBUS Communication Control. . . Page 19 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...
  • Page 4: About The Operation Manual

    1.5 Settings to Be Made Prior to the Communication Several settings need to be made to this product in order for it to perform a communication function. See "2. Setting about TOHO Communication" or "5. Setting about MODBUS Communication." - 4 -...
  • Page 5: Outline

     ↓ ▲▼ Key  Communication Setting Mode  ↓MODE Key  Setting of Communication Protocol  : TOHO Communication Protocol (Initial (alue:  ↓MODE Key  Setting of Communication Parameters  ↓MODE Key  Setting of Communication Speed ...
  • Page 6: Setting Of Data Length

    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: Switching Of Communication Mode

     Read/Write  Read Only TOHO Communication Control 3.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.
  • Page 8: Structure Of Request Message (Data Transmission From Upper Computer To This Product)

    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: Structure Of Response Message (Data Transmission From This Product To Upper Computer)

    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 ■ 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." ① STX It is a code that is necessary for the receiving side to detect the start of the message.
  • Page 11 This code shall not be included in the response message if BCC Check is turned OFF at the communication setting of this product. See "2. Setting about TOHO Communication." ⑧ ACK It is an acknowledge code that will be included in the "response message" to be replied by this product if no error is found in the received message.
  • Page 12: Things To Be Noted During The Communication

    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: Sample Communication For Reading

    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 (P(). (Upper computer) For the above request, Response Message: Returns the data (00777) of the measured value (P().
  • Page 14: Sample Communication For Writing

    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.
  • Page 15: Outline

    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.
  • Page 16: Setting Of Data Length

    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 (alue of MODBUS (RTU):  Initial (alue of MODBUS (ASCII):   ***  Stop Bit 1 ...
  • Page 17: Modbus Communication Control

    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 ■...
  • Page 18: Structure Of Rtu Request Message (Data Transmission From Upper Computer To This Product)

    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 -...
  • Page 19: Structure Of Rtu Response Message (Data Transmission From This Product To Upper Computer)

    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 -...
  • Page 20: Explanation About Rtu Codes (E.g., List Of Errors)

    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"...
  • Page 22: Things To Be Noted During Rtu Communication

    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"...
  • Page 23: Sample Computation Of Crc-16

    6.7 Sample Computation of CRC-16 Below is the sample computation of CRC-16 using (isual Basic 6.0. Declare the variable as shown below. Since the unsigned variable cannot be used in (isualBasic6.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.
  • Page 24: Structure Of Ascii Request Message (Data Transmission From Upper Computer To This Product)

    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 -...
  • Page 25: Structure Of Ascii Response Message (Data Transmission From This Product To Upper Computer)

    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 -...
  • Page 26: Explanation About Ascii Codes (E.g., List Of Errors)

    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.0P 000007D0H...
  • Page 28: Things To Be Noted During Ascii Communication

    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"...
  • Page 29: Sample Computation Of Lrc

    6.12 Sample Computation of LRC Below is the sample computation of LRC using (isualBasic6.0. Declare the variable as shown below. Since the unsigned variable cannot be used in (isualBasic6.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...
  • Page 30: Specifications

    However, the distance may vary depending on the surrounding environment, such as cable. 7.2.3 Character 1) TOHO Communication Protocol : Start Bit Length・・・・・・・1 bit fixed : Stop 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...
  • Page 31: Wiring

    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)

    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 Iden- Relative Absolute Charac- Name Description tifier Address Address 002Ah 40043  Setting of Control Type R/W R/W of the Setting of Control Type 002Ch 40045  Switching Direct R/W R/W of the Switching of Direct Ac- 002Eh 40047  Manipulated (ariable of R/W R/W of the Manipulated (ariable of 0030h 40049...
  • Page 34 Iden- Relative Absolute Charac- Name Description tifier Address Address 0070h 40113  P( Event Output 2 R/W of the Setting of P( Event Output Function 2 Function 0072h 40115  Maximum Limit of Event R/W of the Maximum Limit of Event Output Output 2 0074h 40117...
  • Page 35 Identi- Relative Absolute Charac- Name Description fier Address Address □AT 00AEh 40175 AT Start/Cancel R/W of AT Start/Cancel Start: 00001 Cancel: 00000 00B0h 40177 Save Data Save Data Identifier that will be used only at the blind setting Iden- Relative Absolute Charac- Name...
  • Page 36 List of ASCII Codes 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 -...
  • Page 37 TOHO ELECTRONICS INC. Main Office: 2-4-3 Nishi-Hashimoto, Midori-Ku, Sagamihara-Shi, Kanagawa-Ken 252-0131 Japan TEL: (042) 700-2100 (Representative Line) FAX: (042) 700-2112 Tokyo Office: 401 Palace Yoyogi Uehara, 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...

Table of Contents