Sei sulla pagina 1di 10

Driver Addendum

Mitsubishi

MELSEC Q / A / FX

Programming interface

DITHMARSCHER STRASSE 29
D - 26723 EMDEN
TELEFON (+49) 49 21 / 96 10-0
TELEFAX (+49) 49 21 / 96 10-96
E-MAIL
HTTP://
info@autem.de
www.autem.de
PLC-ANALYZER pro
Driver Addendum
MITSUBISHI MELSEC Q / A / FX - PG-Interface
© Copyright 1995 - 2006 AUTEM GmbH. All rights reserved. No part of this handbook may be reproduced, pho-
tocopied or electronically stored partially or completely without the express permission in writing of AUTEM.

The software described in this handbook is the subject of software licensing and may only be used according to the
rules of the agreement.

AUTEM Gesellschaft für Automatisierungssoftware mbH


Dithmarscher Straße 29
D - 26723 Emden
Deutschland

Telefon (+49) (0)4921-9610-0


Telefax (+49) (0)4921-9610-96
E-Mail info@autem.de
Internet www.autem.de

AUTEM gives neither a guaranty for this handbook nor a stated or implied guaranty of typical market quality or
suitability for a particular purpose. AUTEM accepts no liability for errors contained or damage resulting from the
equipment, performance or usage of this material.

Most of the software and hardware names in this book are trademarked and the subject of legal regulations.

Tips, suggestions and improvements gratefully received. Please write to AUTEM

1st Edition 2005


Contents iii

Contents

1 INSTALLATION 1-1
1.1 Installing additional hardware 1-1
1.2 Installing additional software 1-1
2 CONFIGURATION OF THE PLC DRIVER 2-1

3 ACQUIRING DATA 3-1


3.1 PLC Models and CPU’s supported 3-1
3.2 Possible PLC addresses 3-1
3.2.1 Types of address 3-1
3.2.2 Number of simultaneously accessible addresses 3-2
3.2.3 Use of name lists (symbols) 3-2
3.3 Timing behaviour and particularities during data acquisition 3-2
3.3.1 Data transfer speed 3-2

Illustrations

Illustr. 1-1 Configuration of the PLC driver 1-2


Chapter 1 Installation 1-1

1 Installation

This driver addendum is additional to the PLC-ANALYZER pro handbook and explains par-
ticularities and provides important information for the use of the following driver:

• MITSUBISHI MELSEC Q / A / FX - PG-Interface

This driver acquires PLC signals via PG interface of the PLC.

You can install the PLC driver when PLC-ANALYZER pro is running. Select PLC driver in the
menu Extras. In the window PLC driver click the button Add. If the desired driver is not in the
list, then you have to install a new driver by activation via the License-Key management (look
also manual PLC-ANALYZER pro content 2-2 Installation).

Warning

! In the places where mistakes could lead to damage of machinery or injury to per-
sons, additional measures must be met or equipment provided to ensure an accept-
able level of safety (e.g. limit switches, mechanical limiters and so on).

You can use more than one and also different PLC-driver at the same time. E.g., it is possible to
acquire signals from two MELSEC PLCs connected to two different COM-ports at the same
time.

1.1 Installing additional hardware

If you have already connected your programming unit (or your PC) for programming under Mit-
subishi GX Developer with the automation device, then you normally must do nothing else.
Otherwise connect a free COM port (serial connection) of your programming unit (or PC) with
the PG interface of the automation device.

1.2 Installing additional software

Aside from the PLC-ANALYZER pro Basic Module and PLC driver you must install the pro-
gramming software Mitsubishi GX Developer.
Chapter 2 Configuration of the PLC Driver 2-1

2 Configuration of the PLC driver

After installing the driver select Properties. If various drivers are installed, the parameters of
each can be adjusted individually.

Illustr. 2-1 Configuration of the PLC driver

First enter a meaningful Name. Choose under PLC whether you want to record signals from a
MELSEC Q-, A- or FX-control.

Under Port you select the COM port or the USB port from the PC, where the connection cable
is connected.
Adjust whether the connection cable is attached to the C24-Module or directly to the CPU.

If you choose MELSEC Q or MELSEC A set the parameters in Baudrate, Databits, Stopbits
und Parity.
Set under PLC-Address the address of MELSEC Q resp. of the MELSEC A. The PLC address is
a 2-digit hexadecimal value. The default value is “FF”. It means the station itself. In a
MELSECNET or MELSECNET/B it is possible to interfere a slave by indication of a station no.
Note, if you choose a master-station you can interfere to all slaves, but from one slave-station
only to the Master and the slaves between.

Use Time stamp to decide whether a time stamp is to be entered in the signal file at each moni-
toring point or only when the signal changes. In the first case the signal file resulting is bigger
because time stamping is continuous even if the signal does not alter.
Chapter 2 Configuration of the PLC Driver 2-2

Scan interval lays down the interval between reading data from the PLC. For time insensitive
applications e.g. temperatures a generous probe interval can be chosen. The signal files resulting
are smaller.

Under Symbolism you can assign a symbol file to the loaded driver. This makes possible the use
of symbolic addresses during the address input (s. Manual content 4.1 Address selection). In
addition to the absolute address the symbolic address and the comment of the address will be
displayed and saved in the project and in the signal file.
Click the button Connecting test to check whether the PLC-ANALYZER could establish a con-
nection to the PLC with the adjusted parameters.
Chapter 3 Acquiring Data 3-1

3 Acquiring data

3.1 PLC Models and CPU’s supported

The following models of the MELSEC Q series are supported by the driver:

Q02(H)CPU, Q06HCPU, Q12HCPU, Q25HCPU, Q02(H) A mode, Q06HCPU A mode,


Q12HCPU A mode, Q25HCPU A mode, Q2A(-S1)CPU, Q3A, Q4A, Q4AR

The following models of the MELSEC A series are supported by the driver:

A0J2HCPU, A1CPU, A1NCPU, A1SCPU, A2CPU(-S1), A2NCPU(-S1), A2ACPU(-S1),


A2CCPU, A3CPU, A3NCPU, A3ACPU, A3HCPU, A3MCPU, A3UCPU, A4UCPU

The following models of the MELSEC FX series are supported by the driver:

FX-x, FX0N-x, FX0-x

Other automation devices and CPUs from the MELSEC family are generally compatible with
PLC-ANALYZER pro, but have not been explicitly tested.

3.2 Possible PLC addresses

3.2.1 Types of address

The following table shows the addresses possible and the appropriate syntax:

Syntax Art der Adresse Beispiel


Xxxxx Input relay (Hex.) X 3F
Yxxxx Output relay (Hex.) Y 47
FXxxxx Argument input (Dez.) 1,2 FX 13
FYxxxx Argument output (Dez.)1,2 FY 74
DXxxxx Direct input (Hex.) 1,2 DX D3
DYxxxx Direct output (Hex.) 1,2 DY 1A
Mxxxx Internal relay (Dez.) M 113
Lxxxx Latch relay (Dez.) 2 L 13

1
Unusable with MELSEC A
2
Unusable with MELSEC FX
Chapter 3 Acquiring Data 3-2

Syntax Art der Adresse Beispiel


Sxxxx Step relay (Dez.) S 512
SMxxxx Special relay (Dez.) 1,2 SM 17
SDxxxx Special register (Dez.) 1,2 SD 112
Fxxxx Annunciator (Dez.) 2 F 12
TSxxxx Timer contact (Dez.) TS 5
TCxxxx Timer coil (Dez.) TC 6
TNxxxx Timer present value (Dez.) TN 5
SSxxxx Accumulative Timer contact (Dez.) 1,2 SS 5
SCxxxx Accumulative Timer coil (Dez.) 1,2 SC 6
SNxxxx Accumulative Timer present value (Dez.) 1,2 SN 5
CSxxxx Counter contact (Dez.) CS 5
CCxxxx Counter coil (Dez.) CC 2
CNxxxx Counter present value (Dez.) CN 2
SBxxxx Special linked relay (Hex.) 1,2 SB 1B6
SWxxxx Special linked register (Hex.) 1,2 SW 2C4
Dxxxx Data register (Dez.) D 113
FDxxxx Argument register (Dez.) 1,2 FD 432
Wxxxx Link register (Hex.) 2 W F1A
Bxxxx Link relay (Hex) 2 B 1CF
Rxxxx File register (Dez.) 2 R 432
Axxxx Accumulator (Dez.) 2 A 122
Zxxxx Index register (Dez.) Z 472

3.2.2 Number of simultaneously accessible addresses

You can monitor 512 addresses simultaneously with the Mitsubishi MELSEC driver. An ddress
means an word- or an bit address.

1
Unusable with MELSEC A
2
Unusable with MELSEC FX
Chapter 3 Acquiring Data 3-2

3.2.3 Use of name lists (symbols)

You can use variables which you have created with Mitsubishi GX Developer as symbols in
PLC-ANALYZER pro (see user manual). For this you must export the variables as CSV file.
Select Export variables in the Extras menu to do this.
This created symbol file you can use with PLC-ANALYZER pro as a symbol file.

3.3 Timing behaviour and particularities during data acquisition

The following captures describe the time behaviour and some particularities during the data
acquisition.

3.3.1 Data transfer speed

The intervals between scan transfers from the MELSEC PLC to the computer are dependent on
the cycle time of the PLC and the baudrate.

For a scan interval of e.g. 20 ms and an equal cycle time of the CPU there is one scan for each
cycle. If the cycle time of the PLC is longer, the scan intervals synchronize with the PLC cycle.
For a shorter cycle time the computer does not obtain a scan for each cycle, resulting in a partial
loss of information. This loss can be made up by repeated measurement of the signals in ques-
tion.
Note that bit values and word values use two separate calls. That’s why bit values and word
values don’t descend from the same PLC cycle. The offset between both is max. one scan nor-
mally.

The following table show some values of time behaviour during acquisition:

MELSEC Q:
Requested data 115.200 Baud 19.200 Baud
1 bit 10 ms 60 ms
1 register 15 ms 63 ms
50 bits 17 ms 78 ms
50 register 27 ms 120 ms
50 bits + 50 register 31 ms 124 ms
Chapter 3 Acquiring Data 3-3

MELSEC A:
Requested data 9.600 Baud
1 bit 40 ms
1 register 45 ms
50 bits 95 ms
50 register 170 ms
50 bits + 50 register 230 ms

MELSEC FX:
Requested data 9.600 Baud
1 bit 23 ms
1 register 20 ms
152 bits 64 ms
18 register 97 ms
152 bits + 18 register 164 ms

The acquisition influence the cycle time of the controller. The more addresses will be recorded,
the more prolong the cycle time. This is normal and occurs in Batch Monitor with the pro-
grammming software GX-Developer too.

Potrebbero piacerti anche