Toho Electronics TTM-200 Series Operation Manual, Communications

Digital controller, toho protocol and modbca
Table of Contents

Advertisement

Quick Links

TOHO ELECTRONICS INC.
Operation Manual, Communications
(TOHO protocol and MODBUS)
Model:
TTM-200 Series
Designation: Digital Controller
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Toho Electronics TTM-200 Series

  • Page 1 TOHO ELECTRONICS INC. Operation Manual, Communications (TOHO protocol and MODBUS) Model: TTM-200 Series Designation: Digital Controller...
  • Page 2: Table Of Contents

    Thank you very much for purchasing a TTM-200 Series (with communications). Please read this operation manual carefully and use this product correctly. Contents 1. Before using the product ...................... 4 On this operation manual Conditions for communications What can be done with communications...
  • Page 3 6. MODBUS communications control ................... 17 Communications procedure Message types Composition of an RTU request message (transmitted from a high-level computer to this product) Composition of an RTU response message (transmitted from this product to a high-level computer) Description of RTU codes Precautions on RTU communications Example of CRC-16 calculations Composition of an ASCII request message (transmitted from a high-level...
  • Page 4: Before Using The Product

    1. Before using the product 1.1 On this operation manual This is an operation manual regarding communications with a TTM-200 Series (hereinafter referred to as "this product"). 1.2 Conditions for communications The communications function of this product incorporates loader communications as standard equipment.
  • Page 5: Settings Regarding Toho Communications

    2. Settings regarding TOHO communications 2.1 Overview Before communications is performed, initial settings must be made on this product. Enter such settings with the keys on the front panel. To switch to a series of setting screens, take the steps described below. For details, see the operation manual furnished with this product.
  • Page 6: Setting A Data Length

    2.2 Setting a data length 2.3 Setting a stop bit length 2.4 Setting a parity 2.5 Setting whether to conduct a BCC check While in the "Set a communications parameter" screen on the preceding page, operate the ▲ and ▼ keys to make the settings. The initial value is b8N2. Stop bit 1 Stop bit 2 No parity...
  • Page 7: Toho Communications Control

    3. TOHO communications control 3.1 Communications procedure This product returns a "response message" in response to a "request message" from a high-level computer. It therefore does not initiate a transmission. Transmitted by a high- Transmitted by this Transmitted by a high- Transmitted by this level computer product...
  • Page 8: Composition Of A Request Message (Transmitted From A High-Level Computer To This Product)

    3.3 Composition of a request message (transmitted from a high-level computer to this product)  For codes ① to ⑩, see "3.5 Description of codes."  For specific examples of request messages, see "4.1 Examples of communications to be read" and "4.2 Examples of communications to be written."...
  • Page 9: Composition Of A Response Message (Transmitted From This Product To A High-Level Computer)

    3.4 Composition of a response message (transmitted from this product to a high-level computer)  For codes ① to ⑩, see "3.5 Description of codes."  For specific examples of request messages, see "4.1 Examples of communications to be read" and "4.2 Examples of communications to be written."...
  • Page 10: Description Of Codes

    3.5 Description of codes  The codes from ① STX, ② address to ⑩ ERR type as indicated below are expressed in ASCII codes.  For the ASCII codes, see "11. Table of ASCII codes."  For conversion to ASCII codes, see "4. Examples of TOHO communications." ①...
  • Page 11 ⑥ ETX This code is needed for the receiver to detect the end of a message. It is affixed to the end of a character string to be sent (except for BCC). ⑦ BCC This is a check code for error detection and is the exclusive OR (EX-OR) of all characters from STX to ETX.
  • Page 12: Communications Precautions

    3.6 Communications precautions 3.6.1 Communications timing Set a sufficient response delay to make sure that this product is switched over from transmission to reception with regard to a high-level computer in using communications. See the figure in "3.1 Communications procedure" and "2.8 Setting a response delay." 3.6.2 Interval between requests In transmitting a series of "request messages"...
  • Page 13: Examples Of Toho Communications

    4. Examples of TOHO communications 4.1 Examples of communications to be read Example: Request message: This requests this product set at address 27 to read the PV. (High-level computer) In response to that, Response message: This returns PV data (00777). (This product) Read request message (transmitted from the high-level computer) S...
  • Page 14: Examples Of Communications To Be Written

    4.2 Examples of communications to be written Example: Request message: This requests this product set at address 03 to set "the E1F setting to (High-level computer) 011" (write 011). (This sets the function in event 1 to the deviation upper and lower limits + hold.) In response to that, Response message: This returns a notice that the request message has been received.
  • Page 15: Settings Regarding Modbus Communications

    5. Settings regarding MODBUS communications 5.1 Overview Before communications is performed, initial settings must be made on this product. Enter such settings with the keys on the front panel. To switch to a series of setting screens, take the steps described below. For details, see the operation manual furnished with this product.
  • Page 16: Setting A Data Length

    5.2 Setting a data length 5.3 Setting a stop bit length 5.4 Setting a parity 5.5 Setting a BCC check The BCC check is disabled. Communication parameter Stop bit 1 Stop bit 2 No parity Odd parity Even parity Data length, 7 bits Data length, 8 bits 5.6 Setting a communications speed While in the "Set a communications speed"...
  • Page 17: Modbus Communications Control

    6. MODBUS communications control 6.1 Communications procedure This product returns a "response message" in response to a "request message" from a high-level computer. It therefore does not initiate a transmission. Transmitted by a high- Transmitted by this Transmitted by a high- Transmitted by this level computer product...
  • Page 18: Composition Of An Rtu Request Message (Transmitted From A High-Level Computer To This Product)

    6.3 Composition of an RTU request message (transmitted from a high-level computer to this product)  For codes a) through i), see "6.5 Description of RTU codes." 6.3.1 Composition of a read request message a) Slave address b) Function code High level Register address First register address...
  • Page 19: Composition Of An Rtu Response Message (Transmitted From This Product To A High-Level Computer)

    6.4 Composition of an RTU response message (transmitted from this product to a high-level computer)  For codes a) through h), see "6.5 Description of RTU codes." 6.4.1 Response message for a read request message a) Slave address b) Function code Number of registers ...
  • Page 20: Description Of Rtu Codes

    6.5 Description of RTU codes  The codes from a) slave address to b) function code to h) error code shown below are expressed in 8-bit binary numbers. Slave address This is the address of the party (this product) with which the high-level computer communicates.
  • Page 21 h) Error code If a message from a high-level computer is error-ridden, it will be incorporated in the "response message" from this product and returned. If there are two or more errors occurring at the same time, the largest error number will be incorporated.
  • Page 22: Precautions On Rtu Communications

    6.6 Precautions on RTU communications 6.6.1 Communications timing Set a sufficient response delay to make sure that this product is switched over from transmission to reception with regard to a high-level computer in using an RS-485. See the figure in "6.1 Communications procedure" and "5.8 Setting a response delay." 6.6.2 Interval between requests In transmitting a series of "request messages"...
  • Page 23: Example Of Crc-16 Calculations

    6.7 Example of CRC-16 calculations Following is an example of calculating CRC-16 with VisualBasic6.0. Variables are declared as shown below. VisualBasic6.0 cannot use code-free variables. It therefore uses code-equipped 16-bit integer variables as data. Similarly, the CRC calculation results are entered into code-equipped 32-bit integer variables.
  • Page 24: Composition Of An Ascii Request Message (Transmitted From A High-Level Computer To This Product)

    6.8 Composition of an ASCII request message (transmitted from a high-level computer to this product)  For the codes a) through g), see "6.10 Description of ASCII codes." 6.8.1 Composition of a read request message “:” a) Start code “0” , “1” b) Slave address “0”...
  • Page 25: Composition Of Ascii Response Messages (Transmitted From This Product To A High-Level Computer)

    6.9 Composition of ASCII response messages (transmitted from this product to a high-level computer)  For the codes a) through g), see "6.10 Description of ASCII codes." 6.9.1 Response message for a read request message “:” a) Start code “1” , “1” b) Slave address “0”...
  • Page 26: Description Of Ascii Codes

    6.10 Description of ASCII codes  The codes from a) start code to b) slave address to j) error type described below are expressed in ASCII codes.  For ASCII codes, see "11. Table of ASCII codes."  For converting to ASCII codes, see 6.8 and 6.9 "Message composition." Start code The receiver side is the code required for detecting the top of the message.
  • Page 27 Error code If a message from a high-level computer is error-ridden, it will be incorporated in the "response message" from this product and returned. If there are two or more errors occurring at the same time, the largest error number will be incorporated.
  • Page 28: Precautions On Ascii Communications

    6.11 Precautions on ASCII communications 6.11.1 Communications timing Set a sufficient response delay to make sure that this product is switched over from transmission to reception with regard to a high-level computer in using an RS-485. See the figure in "6.1 Communications procedure" and "5.8 Setting a response delay." 6.11.2 Interval between requests In transmitting a series of "request messages"...
  • Page 29: Example Of Lrc Calculations

    6.12 Example of LRC calculations Following is an example of calculating LRC with VisualBasic6.0. Variables are declared as shown below. VisualBasic6.0 cannot use code-free variables. It therefore uses code-equipped 16-bit integer variables as data. Similarly, the LRC calculation results are entered into code-equipped 16-bit integer variables.
  • Page 30: Loader Communications

    7. Loader communications 7.1 Communication procedure This product receives “request messages” from a high-level computer and returns “response messages.” This product therefore does not start to transmit a message. The timing for communications and similar matters are the same as those of TOHO and MODBUS communications.
  • Page 31 3) A screen as follows will then pop up. Select “No, not this time.” and click “Next >.” 4) Next, a screen as follows will pop up. Select “Install from a list or specific location (Advanced)” and click “Next >.” 5) Next, a screen as follows will pop up.
  • Page 32 6) When a screen as follows pops up, click “Finish” 7) Next, a screen as follows will pop up. Select “No, not this time” and click “Next >.” 8) Next, a screen as follows will pop up. Select “Install from a list or specific location (Advanced)”...
  • Page 33 9) Next, a screen as follows will pop up. Select “Include this location in the search”. Click “Next >” 10) When a screen as follows pops up, click “Finish”. The installation is now complete.
  • Page 34 11) To know to which number communication port the loader cable has been allocated, refer to the port on the device manager.
  • Page 35: Specifications

    8. Specifications 8.1 Communications standard category Compliant with EIA standard RS-485 8.2 Communications specifications 8.2.1 Communications system Network: ........Multi-drop system (up to 1 pair, 31 stations) Direction of information: ....Half duplex Synchronization system: ....Asynchronous Transmission code: ......ASCII, 7 bit code, except for BBC data (highest-level bit = 0 in 8-bit code) 8.2.2 Interface system Signal line: ........
  • Page 36: Types Of Loader Communication Standards: Ttl

    8.3 Types of loader communication standards: TTL 8.4 Loader communications specifications 8.4.1 Communication system Network: ........Point-to-point system (1 to 1 station) Direction of information: ....Half duplex Synchronization system: ....Asynchronous Transmission code: ......ASCII, 7 bit code, except for BBC data (highest-level bit = 0 in 8-bit code) 8.4.2 Interface system Signal line: ........
  • Page 37: Connections

    9. Connections 9.1 RS-485 communications Host Computer Unit1 (Master Station) (Slave Station) Cable① A(+) A(+) terminating resistor ① B(-) B(-) Cable② Unit2 (Slave Station) A(+) B(-) Cable③ Unit3 (Slave Station) A(+) terminatin g resistor ② B(-) ○Above drawing shows example of connecting 1 to 3 slave stations to a master station. ◇...
  • Page 38: Table Of Identifiers (Codes)

    10. Table of identifiers (codes)  For the setting range, options, initial values, and similar parameters, see the operation manual for this system. Note: 1. The R/W to characters that do not meet the display conditions responds with "NAK2." 2. □in the identifier table indicates a space (ASCII code:20H). 3.
  • Page 39 Input 1 setting mode (set1) toho modbus Screen Name Command Remark Absolute Identifier Relative (hex) character (DEC) INP1 Set an input 1 input type 40257 0100 RWLB FSH1 Set an input 1 scaling upper limit 40259 0102 RWLB FSL1 Set an input 1 scaling lower limit 40261 0104 RWLB...
  • Page 40 Control setting mode (set4) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) bANK Switch to another bank 41025 0400 RWLB Pay attention to MODBUS bANKH Bank upper limit setting 41139 0472 RWLB address. 41027 0402 SV Control set RWLB 41029 0404...
  • Page 41 Control setting mode (set4) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) FAL2 Set an auxiliary control anomaly 41099 044A RWLB Set an auxiliary control loop anomaly PV Pay attention to MODBUS 41133 046C RWLB address. threshold Set an auxiliary control loop anomaly MV Pay attention to MODBUS...
  • Page 42 Out1 setting mode (set5) toho modbus Remark Screen Absolute Name Command character Identifier Relative (hex) (DEC) 41281 0500 o1F Set an out1 destination RWLB 41283 0502 E1F1 Set an out1 event function 1 RWLB 41285 0504 E1H Set an out1 event upper limit RWLB 41287 0506...
  • Page 43 Out4 setting mode (set8) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) o4F Set an out4 destination 42049 0800 RWLB 42051 0802 E4F1 Set an out4 event function 1 RWLB E4H Set an out4 event upper limit 42053 0804 RWLB...
  • Page 44 CT setting mode (set12) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) 43073 0C00 CI1 Set a CT1 detection destination RWLB 43075 0C02 CM1 Monitor the CT1 current HHHHH: Overscale 43077 0C04 Ct1 Set a CT1 abnormal current RWLB CI2 Set a CT2 detection destination 43079...
  • Page 45 Communication setting mode (set17) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) PRt Set a communication protocol 44353 1100 RWLB Read/write communication CoM Set a communication parameter 44355 1102 RWLB parameter settings Example: □B8N2 00024 : 2400bps 00048 : 4800bps 44357 1104...
  • Page 46 Priority screen setting mode (set19) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) Read/write priority screen 1 settings PRI01 44865 1300 Set a priority screen 1 RWLB Example: □INP1 (screen character) Read/write priority screen 2 settings PRI02 44867 1302...
  • Page 47 Bank setting mode (set20) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) Read/write bank selection 1 settings bNK01 Set bank selection 1 45121 1400 RWLB Example: □INP1 (screen character) Read/write bank selection 1 settings bNK02 Set bank selection 2 45123 1402 RWLB...
  • Page 48 Program function setting mode (set21) toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) C/P Operating type setting 45377 1500 RWLB 45379 1502 PGMd Program mode setting RWLB PoC Power failure compensation range setting 45381 1504 RWLB 45383 1506 H/MP Time unit setting...
  • Page 49 toho modbus Screen Name Command Remark Absolute character Identifier Relative (hex) (DEC) 00000: Stop 48193 2000 Start/stop timer 1 00001: Start 00000: Stop 48195 2002 Start/stop timer 2 00001: Start 00000: Stop 48197 2004 Start/stop timer 3 00001: Start 00000 |||| |||+--out1 48199...
  • Page 50: Table Of Ascii Codes

    11. Table of ASCII codes Upper Lower SPACE " & < ¥ > ※How to look at ASCII Code table (ASCII Code) = (Upper Level) + (Lower Level) Ex. 1) In case of “A”: (41h) = (40h) + (01h) Ex. 2) In case of “M”: (6Dh) = (60h) + (0Dh)
  • Page 51 TOHO ELECTRONICS INC. Head Office: 1-13-21 Tanashioda, Chuo-ku, Sagamihara-shi, Kanagawa 252-0245 Japan TEL: +81-42-777-3311 FAX: +81-42-777-3751 Tokyo Office: Chyuo No.7 Nishi-Shinjuku Bldg, 7-18-5 Nishi-Shinjuku, Shinjuku-ku, Tokyo 160-0023 Japan TEL: +81-3-3363-1331 FAX: +81-3-3363-3335 Osaka Office: Yachiyo Bldg East Wing 7F, 2-Kita1-21 Tenjinbashi, Kita-ku, Osaka-shi, Osaka...

Table of Contents