PLC Guides Sensor Guides

Mitsubishi QJ71C24N “Modbus RTU” Autonics TK4S Tutorial

Written by plc247.com

Hello everyone, in the previous post plc247.com guided you to use the Mitsubishi QJ71C24N Module to connect and control Omron E5CC Controller through the Modbus-RTU communication protocol, today I continue to guide you to connect to another controller is Autonics TK4S Controller.

We need to choose Model TK4S that supports RS485 communication (In the project use Model TK4S-T4SN).

QJ71C24N & Autonics TK4S “Wiring Diagram”

Note: Only QJ71C24N Modules with “Product Information 101220000000 or higher” support Modbus RTU Communication.

+ Use Terminal Resistor 120Ω if communication distance is long

Autonics TK4S “Modbus RTU” Parameters Setting

Below are the communication parameters that need to be installed for Autonics TK4S Controller so that we can control and monitor it through the Modbus-RTU protocol.

Autonics TK4S Modbus Registers Address

>>> Set Value (SV) Address = 0000 (hex) / Func-06

>>> Present Value (PV) Address = 03E8 (hex) / Func-04

Mitsubishi QJ71C24N “Modbus RTU” Configuration

Below are the steps to install the communication parameters for the Mitsubishi QJ71C24N module:

+ Step 1: Create New Project

+ Step 2: I/0 Configuration

+ Step 3: QJ71C24N Modbus Parameters Setting

+ Step 5: Disable Echoback

>>> Set G450 = 1 (Disable Echoback) / = 0 (Enable Echoback)

QJ71C24N & Autonics TK4S “Registers Address Mapping”

+ Go to Tool > Prodefined… > “Serial Communication Module”

+ Add Protocol & Sent/Read Protocol

Registers Address Mapping

+ Protocol No.1: Read Interger Registers

  • Slave Address: D100
  • Starting Address: D101
  • Quantity of Registers: D102
  • Registers Value Response: D110 “From D110…D235 depending on the number of Registers (D102) to read”
  • “Error Code” Save: D300

+ Protocol No.2: Write Single Registers

  • Slave Address: D200
  • Register Adress: D201
  • Register Value: D202
  • “Error Code” Save: D300

Important: Need to set “Receive Wait Time”, if Set = 0, then when Modbus Command gives error, Module will wait for infinity time and need to Reset PLC

QJ71C24N “PLC Programming”

+ QJ71C24N “Disable Echoback” & “Error Clear”

+ Communication Distribution

+ Read Data Response

+ Temperature Setting Write

+ HMI Control Panel

Project Video Tutorial

======

Related Software and Documents

+ Download Mitsubishi GX-Works 2 Software
+ “Weintek HMI” connect to “Mitsubishi Q03UDV” Tutorial
+ Download Autonics TK4S Manual PDF

Password Extract: plc247.com

If in the process of using the Q-Series PLC to control Autonics TK4S Controller you need any support, please comment below the article, plc247.com will reply to you as soon as I read the comments.

Thanks and Best Regards!

About the author

plc247.com

Leave a Comment

DMCA.com Protection Status