Record of Revisions Reference numbers are shown at the bottom left corner on the back cover of each manual. Printing Date Reference No. Revised Contents July, 2006 1046NE0 First edition...
Page 5
Notes: 1. This manual may not, in whole or in part, be printed or reproduced without the prior written consent of Hakko Electronics Co., Ltd. 2. The information in this manual is subject to change without prior notice. 3. Windows and Excel are registered trademarks of Microsoft Corporation in the United States and other countries.
Page 7
Notes on Safe Usage of MONITOUCH In this manual, you will find various notes categorized under the following levels with the signal words “DANGER,” and “CAUTION.” Indicates an imminently hazardous situation which, if not avoided, will result in death or DANGER serious injury.
Page 8
• Do not attempt to repair MONITOUCH at your site. Ask Hakko or the designated contractor for repair. • Do not disassemble or modify MONITOUCH. Otherwise, it may cause a malfunction. • Hakko Electronics Co., Ltd. is not responsible for any damages resulting from repair, overhaul or modification of MONITOUCH that was performed by an unauthorized person.
Page 9
[General Notes] • Never bundle control cables and input/output cables with high-voltage and large-current carrying cables such as power supply cables. Keep these cables at least 200 mm away from high-voltage and large-current carrying cables. Otherwise, malfunction may occur due to noise. •...
1. Outline Outline Modbus Protocol • The Modbus protocol, developed by Modicon, is a communication protocol widely adopted for PLCs or other devices. • Under the Modbus protocol, a master and its slaves always exist. Communications will be established in a manner that the master sends out requests to the slaves and they send back responses.
1. Outline Modbus Slave Communication • Under the Modbus protocol, the master can read from and write to the PLCs or temperature controllers connected to MONITOUCH as slaves. This form of communication through the mediation of MONITOUCH will eliminate the need for complicated settings and will allow varied devices to communicate without restraint via simple connections.
Page 15
1. Outline Example 2) Connecting between MONITOUCH Modbus RTU MJ1/MJ2 MJ1/MJ2 SYSTEM SYSTEM Modbus master Modbus slave POWER POWER RS-232C/RS-422 RS-232C/RS-422 PROGRAMMER MONITOUCH acts as both the Modbus master and the Modbus slave. The master gains access to the slave on the temperature control network (Modbus Free). The master accesses the Modbus addresses of the slave, and thereby can receive data from the slave-side PLC.
2. Connection Connection Applicable Devices • Slave side V7/V6/V706 series * When one single V706 series is used, the MJ2 is dedicated to PLC connection. Typical users use the MJ1 for Modbus slave communication; however, with an option unit DU-01 installed, the MJ1 can also be used for Modbus slave communication. •...
Page 18
Connection Cable Use Hakko Electronics’ V6-TMP (3 m) cable for connection with the Modbus master. The shielded cable (V6-TMP) is connected to the FG (frame ground) when the V7 series is used and to the SG (signal ground) when V706 is used.
Page 19
2. Connection Via RS-485 (with a maximum of 31 MONITOUCHs) Modbus RS-232C → RS485 Master conversion RS-485 Terminal Terminal Terminal block block block (b) V6-TMP MJ2/1 MJ2/1 MJ2/1 SYSTEM SYSTEM SYSTEM POWER POWER POWER RS-232C RS-422 PROGRAMMER * 0.5-m-long cable recommended (1.0 m maximum) Wiring example of above (a) and (b) Terminal Terminal...
Page 20
2. Connection Please use this page freely.
3. Modbus Slave Communication Modbus Slave Communication Outline of Communication • By means of Modbus slave communication, the Modbus master connected to MONITOUCH as a slave gains access to the device that is connected to MONITOUCH. • The addresses 400001 to 465536 of the holding register are available to Modbus slave communication.
3. Modbus Slave Communication Slave Setting Setting Procedure 1. Communication setting [System Setting] → [Modbus Slave Communication Setting] → [Communication Setting] → [Modbus slave communication setting] dialog 2. Memory table [System Setting] → [Modbus Slave Communication Setting] → [Memory Table] → [Modbus Slave Table] 3.
Page 23
3. Modbus Slave Communication Specify the desired table number in the range of 0 to 255, to which the master gains access. (MONITOUCH internal memory address $s800 is used. For more information, refer to page 3-8.) The master will access the MONITOUCH-side device addresses assigned to the holding register in the specified table.
Page 24
3. Modbus Slave Communication Clicking the [Next] button displays the following free areas. Free area 15 → Free area 16 → Free area 30 → Free area 31 → Checking the box of any free area allows you to specify a top memory address as desired. When an address is specified, the consecutive 1024 words starting from the top memory address will automatically be assigned.
Page 25
3. Modbus Slave Communication Memory table list (1 table) Holding Register Memory Table Modbus Slave Side 400001 - 416384 (16384 words) 0000 H - 3FFF H Internal memory area 0 $u0 - 16383 416385 - 417408 (1024 words) 4000 H - 43FF H Internal memory area 1 $s0 - 1023 432769 - 433792 (1024 words) 8000 H - 83FF H...
3. Modbus Slave Communication Master Setting The tasks below are required for master settings. • Specifying a slave memory table number (Note that internal memory ($u, $s) and free area 31 are accessible, irrespective of the memory tables. When accessing these areas, you do not need to specify a table number.) •...
Page 27
3. Modbus Slave Communication Access Example Modbus slave communication is executable in a configuration as the following example. Modbus master Modbus slave SYSTEM Modbus RTU disc RESET POWER Memory table Modbus slave No. 255 In Modbus slave memory table No. n 400001 - 0000 H - No.
Page 28
3. Modbus Slave Communication 2. Reading the holding register (MONITOUCH side) Read 5 words starting from address D2000 at free area 1 in table No. 1 from the master. Modbus master Modbus slave SYSTEM Modbus RTU disc RESET POWER Reading the values at PLC addresses D2000 to D2004 According to the definition of free area 1 (page 3-8), the accessing target is D2000 = holding register 434769 = hexadecimal No.
Page 29
3. Modbus Slave Communication The RTU format is defined as follows: ← MONITOUCH station number (01 or later) Slave address 01 H ← Writing to multiple words of the holding register Function code 10 H ← Top address D2000 = 434769 87 H Starting address (434769 −...
Page 30
3-10 3. Modbus Slave Communication System Memory ($s) The settings of the system memory depend on the type of memory to be defined. • MONITOUCH internal memory ($u, $s, $L/$LD (0 - 65535)) PLC memory (0 - 65535) Temperature control/PLC2Way memory (0 - 65535) Description System Memory (MSB)
Page 31
3. Modbus Slave Communication 3-11 • Memory card Description System Memory (MSB) (LSB) $s801 02 H File number $s802 Word address in the record $s803 Record number $s804 00 H $s805 00 H Memory Assignment Example In this example, memory addresses D100 and after of the Mitsubishi QnH-series PLC will be assigned to MONITOUCH free area 31 and then 50 words starting from D100 will be read.
Page 32
3-12 3. Modbus Slave Communication 2. Read 50 words starting from the assigned D100. The RTU format is defined as follows: Slave address 01 H ← MONITOUCH station number (01 or later) Function code 03 H ← Reading the holding register FC H ←...
4. Use of MONITOUCH as Modbus Master Use of MONITOUCH as Modbus Master Outline of Communication It is possible to establish a connection between a MONITOUCH as a master and another MONITOUCH as a slave. This form of connection will greatly help read from/write to the PLCs connected to individual MONITOUCH.
4. Use of MONITOUCH as Modbus Master • Creating screens Setting the [Memory Input Temp. Mem. Modbus Free] dialog is necessary to allow the master to gain access to slaves. In the dialog, select [Temp. Mem.] under [Type]. In the case of Modbus Free, select [4] in the dialog for the holding register. Modbus master Modbus slave Temperature control network...
4. Use of MONITOUCH as Modbus Master Connection with Multiple MONITOUCH as Slaves Be sure to make the time for [Send Delay Time] on the master side longer than the time for [Timeout] on the slave side. If the master sends a command to slave No. 2 (“A” in the figure), slave No. 2 will return a response to the master and slave No.
Page 36
4. Use of MONITOUCH as Modbus Master Please use this page freely.
5. Appendix Appendix System Memory ($s) Address Description Memory Type Modbus slave communication Reference table number Modbus slave communication Memory setting for free area 31 Modbus slave communication Memory setting for free area 31 ← V Modbus slave communication Memory setting for free area 31 Modbus slave communication Memory setting for free area 31 Modbus slave communication Memory setting for free area 31 Error...
Need help?
Do you have a question about the MONITOUCH V7 Series and is the answer not in the manual?
Questions and answers