PLC-Driver (V5) Selectron - Ethernet TCP-IP

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Driver-Addendum

PLC-Driver
Selectron
Ethernet TCP/IP

PLC-ANALYZER pro 5
The logic analyzer for
programmable
www.autem.de logic controls
Driver Addendum
Selectron - Ethernet TCP/IP
 Copyright 1995 - 2017 AUTEM GmbH. All rights reserved. No part of this handbook may be reproduced,
photocopied 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 GmbH
Dithmarscher Straße 29
D - 26723 Emden
Deutschland

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


Telefax (+49) (0)4921-9610-96
E-Mail [email protected]
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 2016


Contents 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 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.2.1 Types of address 2-1
2.2.2 Number of simultaneously recordable addresses 2-2
2.2.3 Use of name lists (symbols) 2-2
2.3 Timing behaviour and particularities 2-2
2.3.1 Data transfer speed 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 particu-
larities and provides important information for the use of the following driver:

∂ Selectron - Ethernet TCP/IP

This driver acquires PLC signals via Ethernet TCP/IP interface of the PLC.

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 under „Se-
lectron CAP1131“ via TCP/IP you normally must do nothing else.

Otherwise connect your programming unit (or PC) with Ethernet interface of the automation
device.

1.1.2 Installing additional software

Aside from the PLC-ANALYZER pro base module and PLC driver you must install either the
programming software „Selectron CAP1131“ or alternatively the Software „SysComPC
Standalone“. Please refer to the licensing terms of the respective software.
Installation 1-2

1.2 Configuration of PLC driver

After installing the driver select Properties. 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. Enter the IP-Adresse of the CPU. Click the button Test connec-
tion to check whether it is possible to establish a connection to the PLC with the configured IP-
Adresse.

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.

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. 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.
Data acquisition 2-1

2 Data acquisition

2.1 PLC Models and CPU’s supported

All Seletron PLCs with the operation system „MOS“ are supported by this driver:

CPU 831 TG, CPU 832 TG, CPU 833 TG, CPU 834 TG, CPU 835-T/SIL

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

2.2 Recordable PLC addresses

2.2.1 Types of address

You can record all variables, which are located in the loaded symbol file (s. Chapter 2.2.3 Use of
name lists (symbols)). In addition to the variables from the symbol file also fixed memory ad-
dresses of Selectron can be recorded. The following table shows the addresses possible and the
appropriate syntax:

Syntax Type of Address Example


%IX z.n.m.o Input bit o, Modul m, Node n, Net z %IX 1.2.1.0
%IB z.n.m.o Input byte o, Modul m, Node n, Net z %IB 2.20.8.4
%IW z.n.m.o Input word o, Modul m, Node n, Net z %IW 1.5.7.1
%ID z.n.m.o Input double word o, Modul m, Node n, Net z %ID 1.4.4.0
%QX z.n.m.o Output bit o, Modul m, Node n, Net z %QX 1.2.1.0
%QB z.n.m.o Output byte o, Modul m, Node n, Net z %QB 2.5.8.4
%QW z.n.m.o Output word o, Modul m, Node n, Net z %QW 1.1.7.1
%QD z.n.m.o Output double word o, Modul m, Node n, Net z %QD 1.6.3.0
%MX n.m.o Flag bit o, Modul m, Node n %MX 1.2.0
%MB n.m.o Flag byte o, Modul m, Node n %MB 1.8.4
%MW n.m.o Flag word o, Modul m, Node n %MW 0.7.1
%MD n.m.o Flag double word o, Modul m, Node n %MD 0.6.0
Table 1 Variables and syntax
Data acquisition 2-2

2.2.2 Number of simultaneously recordable addresses

Up to 1000 addresses can be recorded with the Selectron driver. An address means an bit-, byte-
word or double word address.

2.2.3 Use of name lists (symbols)

You can use variables created by “Selectron CAP1131“ as symbols in PLC-ANALYZER pro
(see user manual). Therefore you have to export the variables as CSV file. Select Export varia-
bles in the Extras menu in “Selectron CAP1131” to do this.

You can use this created symbole file in PLC-ANALYZER pro 5.

2.3 Timing behaviour and particularities

The following captures describe the time behaviour and some particularities during the data ac-
quisition.

2.3.1 Data transfer speed

The intervals between scan transfers from the Selectron PLC to the computer are dependent on
the cycle time of the PLC, the number of recorded signals and the traffic on the network.

You can record one byte with a scan interval of approximately 1 ms. Recording more data in-
crease the scanning distance only slightly.

For a scan interval of e.g. 3 ms and an equal cycle time of the CPU there is one scan for each
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
question.

The acquisition affects the cycle time of the controller. The more addresses are recorded, the
more increases the cycle time. This is a normal behavior and occurs in monitor mode of the pro-
gramming software "Selectron CPA1131", too.

You might also like