This article how to set up CC-Link IE Field Basic connection between iQ-R PLC and FR-E800 inverter. It also presents ready to use function blocks to realize basic control, read inverter monitors as well as read and write FR-800 parameters through the network.
In case of FR-E800-_(SC)EPA/(SC)EPB CC-link
IE Field Basic Communication have to be defined in one of parameters 1434-1437.
CC-Link IE Field Basic can’t be used in the same time with CC-Link IE TSN so
recommended is to change value of parameter 1429 from 45238 (CC-Link IE TSN) to
61450 (CC-Link IE Filed Basic).
To assign expected IP address of the
inverter use parameters 1434 – 1437 or dedicated tool in FR Configurator2 (menu
Tool >> Ethernet parameter setting).
It is also necessary to define range of IP
addresses that will control inverter.
In case of CC-Link IE Field Basic it is
possible to define map of refreshed data through communication. Value
recommended for parameter 544 is 18.
Sample project with network configuration you can find in attachments to this article.
Setup communication parameters of built-in
Ethernet port as described below.
Address/Subnet Mask– set IP Address and Subnet Mask
of CPU module
IEF Basic Settings
Use or Not to Use CC-Link IEF Basic Setting –> Use
– activates CC-Link IEF Basic Communication
Configuration Settings – setup network
Add inverter from Module List on the right
site of the window. Set up IP Address of inverter and Subnet Mask.
Setting – Setup auto-refresh devices
Dedicated Function Blocks
Library files and sample project you can find in attachments to this article.
First of all user library have to be registered. Select Register User Library… from Library tap of Element Selection and browse library file.
Each FB in FR_E800_R_CLLIE_Lib library uses FR_E800_CCLink_data structure to pass data between FB and registers where data received from inverter are stored. It is necessary to define global variable related to each inverter that will be controlled and assign correct addresses to those variables based on refresh setting of CC-Link IE.
Details of each function block you can find in attached documentation.
FR_E800_R_CCLIE_Control - basic inverter control
This function block performs basic inverter control – start, set frequency, reset errors.
FR_E800_R_CCLIE_Status - reading inverter status
This function block reads current status of inverter like status of terminal, output frequency and output current.
FR_E800_R_CCLIE_Monitor - reading inverter monitors
This function block reads monitors of inverter defined you user.
FR_E800_R_CCLIE_ParameterRead - reading parameter value
This function block reads value of specified by user parameter.
FR_E800_R_CCLIE_ParameterWrite - writing parameter value
This function block writes specified by user value to the specified parameter.