Quick Start Guide Interfacing ModularIO
Quick Start Guide Interfacing ModularIO
________________________________________________________________________
1 Scope of Document
This is a Quick Start Guide to interface Mitsubishi Electric India make Modular IO with Mitsubishi PLCs
(iQ-R, iQ-F, Q and L) on CC-Link IE Field Basic network.
Prerequisites
1. Engineering Tool [GX Works3/GX Works2]
Following updated firmware versions/serial numbers (first five digits) of the CPU module and
software versions of GX Works3/GX Works2.
• MELSEC iQ-R
Function CPU module Firmware Version GX Works3 software version
CC Link IE Field Network Basic “25” or Later “1.030G”or later
• MELSEC iQ-F
Function CPU module Firmware Version GX Works3 software version
CC Link IE Field Network Basic “1.040” or Later “1.030G”or later
• MELSEC –Q/L
CPU module serial number
Function GX Works2 software version
(first five digits)
CC Link IE Field Network Basic “18112” or Later “1.555D”or later
2. Modular IO setup
a. Modular IO Configurator Tool V1.2.0.0 or Onwards.
b. Modular IO Profile file “0x2071_M-CCB-H_0x0001_en.CSPP.zip”.
Download above files from Mitsubishi Electric India website.
References
a. Modular IO User Manual [Manual Number : N16001AAMH]
b. CC-Link IE Field Network Basic [Manual Number: SH (NA)-081684ENG-D] and onwards.
_________________________________________________________________________
2 Hardware Setup
Setup diagram below shows setup with iQ-R PLC as a Master and Modular IO as a Slave device.
IQ-R PLC
Mini USB B
PC with Engineering Tool type cable Upto 63 I/O modules
________________________________________________________________________
This section explains how to register Modular IO profile in Engineering Tool so that Modular IO
(M-CCB-H) appears in the Module List of Network Configuration Setting CC-Link IEF Basic
Configuration
1. Start GX Works3 and execute command “Tool” “Profile Management” “Register”.
This will invoke “Register Profile” dialogue. Browse Modular IO profile file “0x2071_M-CCB-
H_0x0001_en.CSPP.zip” and click on “Register” button. You will get message “Registration of the
profile is completed “on successful completion.
2. After registration, M-CCB-H can be seen in the Module List of “CC-Link IEF Basic Configuration”
as shown below.
To view the CC-Link IEF Basic Configuration window,
[Navigation window] [Parameter] [CPU module model name] [Module Parameter] [Basic Settings] [CC
Link IEF Basic Setting] [Network Configuration Setting] and then click on<Detailed Setting>
NOTE:
Follow the same procedure to register Modular IO profile in GX Works 2.
________________________________________________________________________
You should have following installer files stored at the same location.
a. ModularIOConfiguratorSetupx.x.x.x.exe
b. ModularIOCommunicationComponentx.x.x.x.exe
x.x.x.x is a version of the software.
Software setup requirement:
________________________________________________________________________
This section explains configuration and special features of Modular IO Configurator Tool.
_________________________________________________________________________
Following steps explain how to configure modular IO station in a Modular IO Configurator Tool.
1. Open Modular IO Configurator Tool and
view screen layout as beside
________________________________________________________________________
4. Select Header module from Project Organiser window and click on “Parameters” tab to set Header
configuration parameters. User can modify Project Values for individual parameter.
NOTE:
1. SB memory is shared with network master if “Share SB to RWr” parmeter is set as ‘Enable’.
2. IW memory is mapped to RWr memory and then SB memory is mapped to RWr memory consecutively
_________________________________________________________________________
Follow the same procedure to Add M-UAD2 and M-DA2. Then configure analog IO channels as
per the application requirement. User can configure IO type and engineering scaling.
Added IO modules are displayed in tree view and in System tab in working area as shown as
below.
________________________________________________________________________
6. User should attach Bus End module (M-BE) at the last slot position if there are 16 or more IO
modules.
7. Connect Header module to your machine via standard USB cable.
Click on to download the configuration to connected Header module. This pop ups progress
window as shown below. After successful downloading, click Ok.
Click here to
start scanning
NOTE:
System modules are passive modules. Hence, Header module cannot detect presence of System
modules in a modular IO station. So System modules do not appear in the list after scan.
________________________________________________________________________
________________________________________________________________________
Click on function . Icon changes color to red . This enables output test feature and allows
forcing of individual output as shown.
After selection of either Force to TRUE or Force to FALSE, online changed force value for output
turns red as shown above.
Clicking on function writes online changed force value to actual value and force value
changes colour as blue as below.
NOTE
Output test is possible only if modular IO station is healthy. Confirm status of modular IO station
using LED indications on Header module
Forcing of output continues as long as modular IO station is powered on and in ONLINE
monitoring mode. When user tries to go OFFLINE, tool prompt user to clear forced values.
_________________________________________________________________________
Settings for the master station in MELSEC iQ-R/ MELSEC iQ-F are set in GX Works 3.
CC-Link IEF Basic Setting
This section describes how to configure the basic settings such as whether to use CC-Link IE Field
Network Basic.
• MELSEC iQ-R
[Navigation window] [Parameter] [CPU module model name] [Module Parameter] [Basic Settings]
• MELSEC iQ-F
[Navigation window] [Parameter] [CPU module model name] [Module Parameter] [Ethernet Port]
[Basic Settings]
Set "IP Address", "Subnet Mask Pattern", and "Default Router IP Address" in the "IP Address Setting" window.
After the IP address setting above, then set “CC-Link IEF Basic Setting “
Window
Displayed items
Item Description Setting Range Default
To Use or Not to Use Set whether to use CC-Link IE Field • Enable Disable
CC-Link IEF Basic Setting Network Basic. • Disable
Network Configuration Set the information of the slave station to --- ---
Settings the master station.
Moreover, configure link scan settings
(timeout time and number of retries for
slave station disconnection detection).
Refresh Settings Configure the settings to automatically link --- ---
refresh RX/RY/ RWr/ RWw data to the
devices.
________________________________________________________________________
Refresh Settings
Set refresh parameters.
Window
Displayed items
Item Description Setting Range Default
Link Side The number of points for the link devices
(RX/RY, RWr/RWw) for the number of occupied
stations and start/end device number set in the
network configuration settings are displayed.
CPU Target The target destination to be link refreshed is Specify Device (Empty)
Side displayed.
Device Name Set the device of the link refresh target. X, Y, M, L, B, D, W, R (Empty)
Points The number of device points for the link refresh
target is displayed. (The same value as the
number of points on the link side is displayed.)
Start Set the start device number within the link Follow the device
refresh range. settings of the CPU
parameters
End The end device number within the link refresh
range is displayed.
_________________________________________________________________________
The below screen shot shows Device Names and Start and end addresses for an example.
The following table shows mapping of Header module memory to link devices.
CPU Side Header Side
Link Side IO Modules
Address Address
RX : 64bits X00100 - X0010F IX0-IX1 M-16D
X00110-X0013F Unused
RY : 64 bits Y00100 - Y0010F QX0-QX1 M-16TE
Y00110-Y0013F Unused
RWr : 32 Words D0- D1 IW0-IW1 M-UAD2
D2-D31 Unused
RWw : 32 words D32-D33 QW0-QW1 M-DA2
D34-D63 Unused
The number of link points per slave station is 64 points for RX/RY and 32 points for RWr/RWw.
However, by changing the number of occupied stations, RX/RY can be set to a maximum of 256 points
in increments of 64 points and RWr/RWw can be set to a maximum of 128 points in increments of 32
points.
Number of occupied stations configured decides size of memory to be shared with master during cyclic
transmission as shown below
No. of occupied RX RY RWr RWw
stations
1 64 bit 64 bit 32 word 32 word
________________________________________________________________________
If the number of link points for the slave station is changed, the assignment range and station number
are changed
Ex.
Master Station
NOTE:
Setting the number of link points for a slave station to 2 stations occupied means that two slave stations
are connected. Thus, if the number of link points is increased, the number of connectable slave stations
per network is decreased.
_________________________________________________________________________
After the setting above, the "CC-Link IEF Basic Setting window" displays when [CC-Link IEF Basic
Setting] button is pressed.
Window
Displayed items
Item Description Setting Range Default
Use the CC-Link IEF Basic Set whether to use CC-Link IE Field Checked Unchecked
Network Basic. Unchecked
Network [Network Set the information of the slave station
Configuration Configuration to the master station.
Settings Settings] button
Refresh Setting Link Side The number of points for the link devices
(RX/RY, RWr/ RWw) for the number of
occupied stations and start/end device
number set in the network configuration
settings are displayed.
________________________________________________________________________
_________________________________________________________________________
After Network Configuration Setting, develop application program as per application requirement and
download to MELSEC PLC.
Monitor individual Modular IO station status and diagnostics locally using Modular IO Configurator Tool
as explained in section 7.1.
Monitor CC-Link IE Field Network Basic diagnostics using Engineering Tool as explained in section 7.2.
Following steps explain how to monitor IO data and diagnostics of a modular IO station in online
mode,
1. Click on function to connect to Header module. Icon changes to and Status bar is updated
as ONLINE.
2. Select Header module in Project Organiser window and click on tab “IO data” to monitor
diagnostics (SB memory) of Header module.
________________________________________________________________________
Select IO module in Project Organiser window and click on tab “IO data” to monitor IX of selected M-
16D module.
3. Select IO module in Project Organiser window and click on tab “IO data” to monitor QX of selected
M-16TE module.
_________________________________________________________________________
4. Header diagnostic information covers modular IO station specific as well as Header module
specific diagnostic information.
Click on diagnostic function “Header Diagnostics” , for monitoring diagnostic information of
connected Header module.
This pops up following window of “HEADER DIAGNOSTIC INFORMATION”.
Header diagnostics are categorized for easy monitoring. User can monitor individual parameter by
expanding individual diagnostic.as shown below
Station
Diagnostics
summary
Slotwise Status
of IO modules
CC-Link IE Field
Basic Diagnostics
________________________________________________________________________
5. Slot diagnostic information provides configured modules and present modules, hardware versions
and firmware versions of present modules, slot level error code, etc.
Similarly, click on function “Slot diagnostics” to monitor slot diagnostics.
This pops up following window of “SLOT DIAGNOSTIC INFORMATION”.
_________________________________________________________________________
Window
The network status including slave stations is checked in "Network Status".
Displayed items
The status of the master station is checked in "Master Station Status".
Item Description
Total Slave Stations The total number of slave stations set in parameter is displayed.
(Parameter)
IP Address The IP address of the master station is displayed. The display can be switched
between decimals and hexadecimals in "Change IP Address Display".
[Error Details] Button The description of the error and the actions to be taken are displayed.
________________________________________________________________________
Item Description
Link Scan Time/Error Link scan time (present, maximum, minimum) and number of error
Stations stations/unfixed stations of each group is displayed.
Error stations (Error Stns) and unfixed stations (Unfixed Stns) refer the following
state.
・ Error Stns: Stations where an error has been occurred
・ Unfixed Stns: Stations (not including reserved stations) where the transmission
status has not been fixed
Diagnostics Target Group Select a group to display its diagnostic information list.
The Latest Error The latest error code is displayed an error on the transmission status between the
master station and slave stations detected by the master station or an error which
has occurred in a slave station. When the slave station is disconnected, an error
occurs. After that, even when the disconnected slave station returns to the system,
the error is held. When another error occurs, the latest error will be updated
(overwritten).
When both errors occur, the priority of errors to be displayed is as follows.
(1) An error which has occurred in a slave station
(2) An error on the transmission status between the master station and slave
stations detected by the master station
Error Details... The description of the error and the actions to be taken are displayed.
[Clear Latest Error Code] The error code is cleared. The button can be clicked only during monitoring.
button
_________________________________________________________________________
CFE9H The slave station of the same IP address has existed in the same network
address.
CFF0H Slave station error The error occurred in slave station.
________________________________________________________________________
Interfacing Modular IO Header M-CCB-H with Mitsubishi PLCs on CC-Link IE Field Basic network
________________________________________________________________________