iQF-Series Modbus RTU Setup

Introduction

This Manual specifies the functionality and programming of the FX5U-PLC to connect with a CS80-VSD using Modbus-RTU.

At the end of this manual, you will be able to send and receive messages from the FX5U-PLC to a CS80-VSD. This manual can also be used as a guideline to connect to other Modbus-RTU devices.

Equipment Used

  • Freqrol-CS80 VSD
    • FR-CS82S-042-60
  • GX Works 3
    • Version information – 1.050C
  • Mitsubishi FX5U-32MR/ES
    • Firmware Version – 1.110
    • Serial Number – 17X0001 and higher

CS80-VSD Setup

These are parameters used on the VSD and their settings:

  • Parameter 0 (Torque) = 10.
  • Parameter 1 (Max Frequency) = 50.
  • Parameter 2 (Min Frequency) = 20.
  • Parameter 3 (Base Frequency) = 50.
  • Parameter 4 (High Speed Set point) = 50.
  • Parameter 5 (Middle Speed Set point) = 35.
  • Parameter 6 (Low Speed Set point) = 20.
  • Parameter 7 (Acceleration Time) = 5.
  • Parameter 8 (Deceleration Time) = 5.
  • Parameter 9 (OL Relay) = 4.20.
  • Parameter 19 (Motor Name Plate Voltage) = 220.
  • Parameter 75 (Reset selection/disconnected PU detection/PU stop selection) = 14.
  • Parameter 77 (Parameter Write Selection) = 2.
  • Parameter 79 (Operation Mode Set) = 2.
  • Parameter 117 (PU Communication Station Number) = 1.
  • Parameter 118 (PU Communication Speed) = 192.
  • Parameter 119 (PU Communication Stop Bit Length / Data Length) = 0.
  • Parameter 120 (PU Communication Parity Check) = 2.
  • Parameter 121 (PU Communication Retry Count) = 1.
  • Parameter 122 (PU Communication Check Time Interval) = 5.
  • Parameter 124 (PU Communication CR/LF Selection) = 2.
  • Parameter 338 (Communication Operation Command Source) = 0.
  • Parameter 339 (Communication Speed Command Source) = 0.
  • Parameter 340 (Communication Start-up Mode Selection) = 1.
  • Parameter 549 (Protocol Selection) = 1.
  • Parameter 551 (PU mode operation command source selection) = 4.

 

FX5U-Setup

For the MODBUS serial communication setting of the FX5, set parameters with GX Works3. Setting of parameter differs according to the module used. The procedure for each module is as follows.

Parameter Setup:

Step 1: Open GX Works 3 and start a new project:

Step 3: “Navigation window” -> [Parameter] -> [FX5UCPU] -> [Module Parameter] -> [485 Serial Port]:

Step 4: Select MODBUS_RTU Communication:

Step 5: Adjust Parity Bit = Even, Stop Bit = 1bit and Baudrate = 19,200bps:

Step 6: Click “Check” button, wait for message box – “no error found”:

Step 7: Click “Apply” button:

Monitoring Parameters from the CS80-VSD

Step 1: Create a Structured Data-Type for VSD Parameters, “Navigation window” -> [Structured Data Types] -> [Right Click] -> [Add New Data]:

Step 2: Edit the Structured Data Type by adding the Parameters to be monitored:

Step 3: Create a Global Label for VSD Parameters, “Navigation window” -> [Label] -> [Global Label] -> [Global]:

Step 4: Create a new Program, “Navigation window” -> [Program] -> [Scan] -> [MAIN] -> [Right Click] -> [Add New Data]:

Step 5: Create Local Labels for the new Program, “Navigation window” -> [Program] -> [Scan] -> [MAIN] -> [01_Read_and_Write_VSD] -> [Local Label]:

Step 6: Add Function Block ADPRW to the new Program, Open the Element Selection Screen

Step 7: Add Parameters to Function Block ADPRW

For a more detailed description of the procedure, please download the file below:

 

iQF-Modbus.pdf