Anda di halaman 1dari 7

Driver-Addendum

PLC-Driver
Schneider Modicon TSX Quantum / Momentum / Compact / M340
Modbus TCP/IP

PLC-ANALYZER pro 5
The logic analyzer for
programmable
www.autem.de logic controls
Driver Addendum
Schneider Modicon TSX Quantum / Momentum / Compact / M340
Modbus TCP/IP
 Copyright 1995 - 2017 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
eMail info@autem.de
http:// 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 2010


Content iii

Contents

1 INSTALLATION 1-1
1.1 Installation of PLC driver 1-1
1.1.1 Installing additional hardware 1-1
1.1.2 Installing additional software 1-1
1.2 Configuration of the PLC driver 1-2

2 DATA ACQUISITION 2-1


2.1 PLC Models and CPU’s supported 2-1
2.2 Recordable PLC addresses 2-1
2.3 Number of simultaneously recordable addresses 2-1
2.4 Timing behaviour and particularities 2-2

Illustrations

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


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:

 Schneider Modicon TSX Quantum /Momentum / Compact / M340 – Modbus TCP/IP


This driver acquires PLC signals via Ethernet (TCP/IP).
It is important, that you read through the driver addendum first, before you use a PLC driver.
Please pay attention to the WARNINGS that advise you on possible dangers when using PLC-
ANALYZER pro.

Warning

! Errors that may occur in the automated facility endangering humans or causing
large-scale material damage must be prevented by additional external precautions.
These precautions (e.g. independent limit monitors, mechanical interlocks) must
guarantee a safe operation even in the case of dangerous errors.

1.1 Installation of PLC driver


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 (s. user
manual PLC-ANALYZER pro 5 - chapter 2-2 Installation).
With PLC-ANALYZER pro you can load the same or different PLC drivers more than once to
acquire data from different PLCs.

1.1.1 Installing additional hardware


If you have already connected your programming unit (or your PC) for programming then you
normally don’t have to do anything else.
Otherwise make a connection for access via Modbus TCP/IP PLC.

1.1.2 Installing additional software


Aside from the PLC-ANALYZER pro base module and PLC driver there is no additional soft-
ware necessary.
Installation 1-2

1.2 Configuration of the PLC driver


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

Fig. 1-1 Configuration of the PLC driver

First enter a meaningful name. Then adjust under IP-Adresse the TCP/IP-address of the PLC.
Under Bridge MB+ Index insert the index which you use to organize datatransfer of the TCP/IP
host via the Modbus Plus-Routing path. If you are connected to the PLC directly, this value will
not be considered. In this case enter 0.
Use Timestamp 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.
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
is smaller.
Under Concept-Projekt you can assign a Concept project to the loaded driver. This makes pos-
sible the use of symbolic addresses during the address input (s. user manual PLC-ANALYZER
pro 5 - chapter 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.
In addition to located variables you could record unlocated variables, if you have loaded a Con-
cept project.
Data acquisition 2-1

2 Data acquisition

2.1 PLC Models and CPU’s supported


The models of the Schneider Modicon TSX Quantum, Momentum, Compact and M340
family are supported by the Modbus TCP/IP driver.
Other automation devices and CPUs from the Modicon family are generally compatible with
PLC-ANALYZER pro, but have not been explicitly tested.

2.2 Recordable PLC addresses


There are two kinds of address types in the Modbus TCP/IP driver:

 located variables
 unlocated variables
For the recording of unlocated variable is it necessary that you load the Concept project fitting
to the PLC (s. 1.2 Configuration of the PLC driver). All addresses, which are in the Concept-
project, are listed in the symbol list (s. user manual PLC-ANALYZER pro 5 - chapter 4.1 Adress
selection) and could select for the recording there.
The data acquisition of located variables is possible witout a Concept project, however no sym-
bolic addresses are then available.
The following table shows the addresses possible and the appropriate syntax:

Syntax Address type Example


0xxxxx Output or flag 000002
1xxxxx Input 100007
3xxxxx Input register 300144
4xxxxx Output- or flag register 400352

2.3 Number of simultaneously recordable addresses


Up to 255 addresses can be recorded simultaneously. An address can be a bit- or word address.
Data acquisition 2-2

2.4 Timing behaviour and particularities


One Scan is normally from one PLC-cycle. The intervals between scan transfers depend on the
items listed below:

 Cycle time of the PLC


 Number of addresses which should be record. There will be address-blocks created and each
block more needs more time
Two examples show typically scan intervals:

1. PC directly connected with TSX Quantum over Modbus TCP/IP, acquisition of one address
block (e. g. 3xxxx or 4xxxx):  Scan interval  10 ms
2. PC directly connected with TSX Quantum over Modbus TCP/IP, acquisition four address
blocks (e. g. 0xxxx, 1xxxx, 3xxxx and 4xxxx ):  Scan interval  40 ms
For a scan interval of e.g. 20 ms and a equal cycle time of the CPU there is one scan for each
cycle. If the cycle time of the PLC is longer, the scan interval 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. In normal acquisition mode this loss can be made up by repeated measure-
ment of the signals in question.