Connection example [AnU series]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Mitsubishi Electric > Open Protocol (RS-232C) > AnA/UExtended Address >

Connection example [AnU series]

overview

This is a setting example when connecting to the AnU series via RS-232C.

 

Model used

item

Model etc.

PLC

A2UCPU

Communication Unit

AJ71UC24

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with switch

Transmission speed

19200bps

Byte Size

7-bit

Stop bits

1 bit

Odd/Even Parity

Even

Sum Check Code

can be

protocol

MC Protocol (Format 1)

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

PC Number

FF

Station number

00

 

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

 

 

PLC side settings

Set the settings to "AJ71UC24". Settings are made using the front switch.

 

1.Set the switch as follows:

 

c_plc_0089

 

switch

explanation

Setting contents

MODE

Mode Setting

※Settings on the right are "Format 1"

1

STATION No

(x10)

Setting your own area code (10th place)

0

STATION No

(x1)

Setting your own area code (1st digit)

0

SW11

Main Channel Settings

※Settings on the right side: "RS-232C"

OFF

SW12

Data Bits Settings

*The setting on the right is "7 bit"

OFF

SW13

Transmission speed setting

*The setting on the right is "19200bps"

OFF

SW14

ON

SW15

ON

SW16

Parity bit presence/absence

*The setting on the right is "Yes"

ON

SW17

Even/Odd Parity Settings

※The setting on the right is "Even"

ON

SW18

Stop bit setting

*The setting on the right is "1 bit"

OFF

SW21

Sum check presence/absence

*The setting on the right is "Yes"

ON

SW22

RUN Write enable/disable setting

*The setting on the right is "Yes"

ON

SW23

Calculator/Multi-drop Link Selection

※The setting on the right is "Computer Link"

ON

SW24

Unused (fixed to OFF)

OFF

 

 

attention

When using the RS-232C cable, the "AJ71UC21" is set to "CD terminal check enabled" by default, so if you are wiring without checking the D terminal, you will need to add one line to the ladder program. For details, please refer to the "Calculator Link Unit" manual.

 

[Example] When there is a computer link in slot 0

c_plc_0090

 

hint

For details on the switch settings, etc., please refer to the Mitsubishi Electric "AJ71UC24 Computer Land/Multidrop Link Unit" User's Manual (Hardware Edition).

 

 

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_0091

 

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

 

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_0093
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.