Connection example [iQ-F series]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Mitsubishi Electric > Open Protocol (RS-232C) > iQ-F Series FX5 >

Connection example [iQ-F series]

overview

This is an example of connecting the iQ-F series FX5 with RS-232C. The iQ-F series cannot be configured with GX-Developer, so GX-Works3 is used.

 

Model used

item

Model etc.

PLC

FX5UCPU

Communication Unit

FX5-232ADP

 

Configuration environment

item

environment

OS

Windows8 Professional 64Bit

tool

GX-Works3 Ver1.008J

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with tools

Communication protocol settings

MC Protocol (Format 1)

Communication speed settings

19200bps

Operational Settings

Independence

Data bits

7

Parity Bit

can be

Odd/Even Parity

Even

Stop bits

1

Sum Check Code

can be

RUN Writing

permission

Station number setting

0

PC settings

Unit Settings

COMPort

Communication port number to connect to

Transmission speed

19200bps

Byte Size

7bits

Stop bits

1bits

parity

Even

Sum Check

can be

protocol

Format 1

Folder and communication test settings

Area code

0

Network Number

0

PC Number

FF

Request unit I/O number

3FF

Request destination unit station number

0

Your number

0

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

 

PLC side settings

Set to "R08CPU". Settings are done using GX-Works3 etc.

 

1.Start GX- Works3 and create a new project.

 

2.Open the menu "Online" - "Connection Destination" and confirm that you can communicate with PLC.

 

3.Double-click "Parameter" - "Unit Information" - "Name of the unit to be connected (FX5-232ADP in this case)" - "Unit Parameters" in the navigation tree, and set the parameters as follows from the basic setting items.
c_plc_0074           c_plc_0075
 

setting

Setting contents

Protocol Format

MC Protocol

Data Length

7bit

parity

Even

Stop bits

1bit

baud rate

19200bps

Sum Check

Add

 

4.Configure the unique settings as follows:
c_plc_0076

 

setting

Setting contents

Station number setting

0

Message pattern

Pattern 1

Timeout period

10ms (set according to environment)

 

5.Write the parameters to the PLC by selecting "Online" - "Write to PLC" from the menu.
c_plc_0077

 

attention

After setting the parameters, you must turn off the power to the PLC once to reflect the settings. Although a remote reset may be possible from the tool, we recommend turning off the power once to ensure that the settings are reflected.

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.
 

2.Select the following units from the displayed driver list and add them:
c_plc_0078

 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0079
 

4.Set "Communication Settings" as follows:
c_plc_0064
 

setting

Setting contents

COMPort

Communication port number to connect to

Transmission speed

19200

Byte Size

7bits

Stop bits

1bits

parity

Even

 

5.Open "Other settings" and set it as follows:
c_plc_0065
 

setting

Setting contents

Sum Check

Check it

protocol

Format 1

 

6.USB-RS-If you are using a 232C conversion cable, the COM port may be locked in the event of a communication error, so check the reopen setting.
c_plc_0068
 

7.Perform a connection test to check the connection
c_plc_0067
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.