Top Banner
7

PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

Apr 14, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.
Page 2: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Driver Addendum

Siemens LOGO! - Ethernet TCP/IP / programming interface

Copyright © 1993 - 2019 AUTEM GmbH. All rights reserved. No part of this user manual, including excerpts, maybe reproduced, photocopied or electronically stored without the expressive written permission of AUTEM.

The software described in this manual is subject of a software license agreement and may only be usedaccording to the terms of this agreement.

AUTEM GmbHDithmarscher Straße 29D-26723 EmdenDeutschland

Telephone +49 (0)4921 / 9610-0Telefax +49 (0)4921 / 9610-96E-Mail [email protected] Web www.autem.de

AUTEM does not give any warranty for this manual as well as no express or tacit warranties on commercialquality and suitability for a particular use. AUTEM does not take over adhesion for errors contained in it or fordamages that may occur as a result of using or applying this material.

The soft and hardware designations mentioned in this book are in most cases also registered trademarks andare subject to the legal regulations as such.

For references, suggestions and improvement suggestions we are always grateful. Please send these to AUTEM.

1st Edition 2019

Page 3: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Siemens LOGO!

2 / 6

Table of Contents

Signal source ................................................................................................................................................. 3Siemens LOGO! .......................................................................................................................................... 3

Installation ............................................................................................................................................. 3Installing additional hardware .............................................................................................................. 3Installing additional software ............................................................................................................... 3

Configuration .......................................................................................................................................... 4Data acquistion ....................................................................................................................................... 5

Supported PLC models and CPUs .......................................................................................................... 5Recordable PLC addresses .................................................................................................................... 5Number of recordable addresses ......................................................................................................... 6Time behaviour and particularities ....................................................................................................... 6

Page 4: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Siemens LOGO!

3 / 6

Signal source

Siemens LOGO!This driver addendum describes the particularities of the following PLC drivers and gives you hints on usingthem.

· Siemens LOGO! – Ethernet TCP/IP / programming interface

With the PLC driver Siemens LOGO! – Ethernet TCP/IP / programming interface PLC signals can be acquired viaIndustrial Ethernet (TCP/IP) or through the serial communication port of the PLC.

It is important that you read through the driver addendum before using a PLC driver. Please pay attention tothe WARNINGS that advise you on possible dangers when using PLC-ANALYZER pro.

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

InstallationThe PLC driver can be added to the project as a new signal source. If the driver you want is not yet in the list ofavailable signal sources, you must first activate the license for the PLC-driver with the AUTEM LicenseManageron your computer.

Installing additional hardwareIf you have already connected your PC with the LOGO! using LOGO! (USB) PC cable or an Ethernet TCP/IPconnection, usually nothing else must be done. Otherwise establish this connection.

Installing additional softwareNo software is required in addition to the PLC-ANALYZER pro basic module and the PLC driver.

Page 5: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Siemens LOGO!

4 / 6

ConfigurationOpen driver settings to set important parameters for data recording. If you have added the driver to the projectseveral times, you can set the properties individually for each individual driver.

Fig. 1-1 Settings Siemens LOGO!

Choose a meaningful Name for the driver first, than specify under Destination, if you want to establish aconnection via the PG interface or via an Ethernet TCP/IP connection. For a serial connection select the comport(serial interface) of the PC, which is connected by a cable to the PLC. If you want to use an Ethernet TCP/IPconnection, enter the IP-Address of the CPU. Press Connection test to check, whether a connection to the PLCcan be established.

Under Scan interval you specify the time interval at which measured values are read out from the PLC. A longersampling interval can be selected for signal paths that are not time-critical, e. g. temperature. As a result, thegenerated signal files become smaller.

After setting the communication properties, add the PLC signals to be recorded.

Page 6: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Siemens LOGO!

5 / 6

Data acquistion

Supported PLC models and CPUsAll Siemens LOGO! PLCs in version “0BA4” and higher are supported. LOGO! PLCs with version “0BA7” andhigher supports data acquisition via Ethernet TCP/IP.

Recordable PLC addressesThe following table shows the recordable addresses and the corresponding address syntax:

Syntax Address type Example

I x Input bit x I 4

Q x Output bit x Q 5

M x Flag bit x M 12

C x Cursor key x C 3

F x Function key1 x F 4

S x Shift register bit1 x S 7

V x.y Variable memory bit y from byte x V 3.2

VB x Variable memory byte x VB 421

VW x Variable memory word x VW 12

VD x Variable memory double word x VD 32

AI x Analog input x AI 6

AQ x Analog output x AQ 4

AM x Analog flag x AM 5

B x;TEV Timer: On-Delay1 x B 4;TEV

B x;TAV Timer: Off-Delay1 x B 23;TAV

B x;TEAV Timer: On-/Off-Delay1 x B 11;TEAV

B x;TSEV Timer: Retentive On-Delay1 x B 21;TSEV

B x;TWI Timer: Wiping relay/pulse output1 x B 7;TWI

B x;TWF Timer: Edge triggered wiping relay1 x B 8;TWF

B x;TIG Timer: Asynchronous pulse generator1 x B 1;TIG

B x;TZG Timer: Random generator1 x B 5;TZG

B x;TTS Timer: Stairway lighting switch1 x B 22;TTS

B x;TKS Timer: Multiple function switch1 x B 1;TKS

B x;ZVR Counter: Up/Down counter1 x B 5;ZVR

B x;ZBS Counter: Hours counter1 x B 17;ZBS

B x;AK Analog comparator1 x B 19;AK

B x;AMUX Analog multiplexer1 x B 5;AMUX

B x;AR Analog ramp1 x B 11;AR

B x;API PI controller1 x B 2;APITable 1-1 Address-Syntax Siemens LOGO!1 These addresses couldnʼt recorded via Ethernet TCP/IP directly. Use the programming softare LOL!Sof to map these addresses to the variaale memoryarea (VM)

Page 7: PLC-Driver Siemens LOGO! - AUTEM GmbH · 2019. 6. 4. · PLC-ANALYZER pro 6 - Siemens LOGO! 4 / 6 Configuration Open driver settings to set important parameters for data recording.

PLC-ANALYZER pro 6 - Siemens LOGO!

6 / 6

Number of recordable addressesA maximum of 16 million addresses can be acquired from up to 250 signal sources.

Time behaviour and particularities

+NOTEAcquiring data with PLC-ANALYZER pro results in a small increase in cycle time in the PLC tothe same manner as it happens with programming software in the online-mode.

The intervals between scan transfers from LOGO! PLC to the PC are depending on the following items:

· CPU type· cycle time of PLC· number of recorded addresses· Type of connection

If you use a serial connection, then the data of the inputs and outputs and words, cursor and functions keys areread from the PLC as a block. The scan interval for this block is approximately 190 ms, i.e. for a cycle time of 190ms there is one scan for each cycle. A longer PLC cycle time results in more than one scan for each cycle. For ashorter cycle time the computer does not obtain a scan for each cycle, resulting in a partial loss of information.This loss can be compensated by repeated measurements of the interesting signals.

If you record data via Ethernet TCP/IP, the scan interval for one recorded byte is approximately 1 ms andincrease only slightly, if more data will be recorded.