EDB9300UE Manual. Oscilloscope function

Similar documents
Global Drive Control. Inverter operation, parameterisation and diagnostics

Chapter 14 Inserting Bitmapped Images

User s Manual Software Edition 1.7

Getting Started. with Easy Blue Print

IVI STEP TYPES. Contents

in the list below are available in the Pro version of Scan2CAD

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

ImagesPlus Basic Interface Operation

Chlorophyll Fluorescence Imaging System

Touch Probe Cycles itnc 530

Touch Probe Cycles TNC 426 TNC 430

Editing and Digitizing in EDS III

BIM - ARCHITECTUAL IMPORTING A SCANNED PLAN

Release Highlights for BluePrint-PCB Product Version 2.0.1

FastSCANTMStylus. User Manual. printed March Revision 1.0

SensorTrace BASIC 3.0 user manual

Importing and processing gel images

IMPAX 6 DISPLAY TOOL LIST

USER GUIDE EDIT OBJECTS

Digital Portable Overhead Document Camera LV-1010

CREATING A COMPOSITE

User Manual Veterinary

Universal Scale 4.0 Instruction Manual

The operation manual of spotlight 300 IR microscope

MYGRAPHICSLAB: ADOBE ILLUSTRATOR CS6

Ä.7nEä vector 0, kw. System Manual. (Extension) EVF EVF9333, EVF EVF9338, EVF EVF9383. Frequency inverter

Wound Analyzer TiVi103 User Manual. User Manual 1.1 Version 1.1 October 2012 PIONEERS IN TISSUE VIABILITY IMAGING

Magnettech GmbH Louis-Bleriot-Straße 5 D Berlin Germany

Tool Shortcut Tool Description

3DExplorer Quickstart. Introduction Requirements Getting Started... 4

Quick Start for Autodesk Inventor

PSF-520 Instruction Manual

Unit. Drawing Accurately OVERVIEW OBJECTIVES INTRODUCTION 8-1

Editing and Digitizing in EDS III

The version 2.0 of Solve Elec allow you to study circuits in direct current.

4. GAMBIT MENU COMMANDS

inphoto ID PS Automatic ID photography With Canon PowerShot camera User Guide

Universal Controller

LAB 2: Sampling & aliasing; quantization & false contouring

1. What is SENSE Batch

Signal Generators for Anritsu RF and Microwave Handheld Instruments

Introduction to NFC Tester RWC5010A

Experiment 9 The Oscilloscope and Function Generator

Minolta Scanner Plugin

DOCUMENT SCANNER INSTRUCTIONS. Space. Backup. Count Only. New File. Scanner. Feeding Option Manual Auto Semi-Auto

Beginner s Guide to SolidWorks Alejandro Reyes, MSME Certified SolidWorks Professional and Instructor SDC PUBLICATIONS

Version 6. User Manual OBJECT

USB Line Camera 8M. Coptonix GmbH

BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box

Tester 5 provide new unique features that make stand-alone operation even more powerful:

CONTENT INTRODUCTION BASIC CONCEPTS Creating an element of a black-and white line drawing DRAWING STROKES...

Color and More. Color basics

IX Feb Operation Guide. Sequence Creation and Control Software SD011-PCR-LE. Wavy for PCR-LE. Ver. 5.5x

ID Photo Processor. Batch photo processing. User Guide

AutoCAD 2D. Table of Contents. Lesson 1 Getting Started

Introduction to Simulink Assignment Companion Document

inphoto ID Canon camera control software Automatic ID photography User Guide

ILLUSTRATOR BASICS FOR SCULPTURE STUDENTS. Vector Drawing for Planning, Patterns, CNC Milling, Laser Cutting, etc.

Geometry Controls and Report

BIM Toolbox. User Guide. Version: Copyright 2017 Computer and Design Services Ltd GLOBAL CONSTRUCTION SOFTWARE AND SERVICES

Ornamental Pro 2004 Instruction Manual (Drawing Basics)

Drawing with precision

i800 Series Scanners Image Processing Guide User s Guide A-61510

GUI - DLD Software. Manual

< Then click on this icon on the vertical tool bar that pops up on the left side.

ThermaViz. Operating Manual. The Innovative Two-Wavelength Imaging Pyrometer

HP 33120A Function Generator / Arbitrary Waveform Generator

Module 1G: Creating a Circle-Based Cylindrical Sheet-metal Lateral Piece with an Overlaying Lateral Edge Seam And Dove-Tail Seams on the Top Edge

Information representation

Version 8 Tutorial

A guide to SalsaJ. This guide gives step-by-step instructions on how to use SalsaJ to carry out basic data analysis on astronomical data files.

Using Adobe Photoshop

Servo Switch/Controller Users Manual

Introduction to Simulation of Verilog Designs. 1 Introduction. For Quartus II 13.0

USB cable. Xviewer. Text Real data file (*.txt)

DI-1100 USB Data Acquisition (DAQ) System Communication Protocol

Drawing 8e CAD#11: View Tutorial 8e: Circles, Arcs, Ellipses, Rotate, Explode, & More Dimensions Objective: Design a wing of the Guggenheim Museum.

Sensors and Scatterplots Activity Excel Worksheet

VCS SKETCH User Group Meeting

Version 9 Tutorial and User Guide

CiA Draft Standard Proposal 402. CANopen. Device Profile Drives and Motion Control. This draft standard proposal is not recommended for implementation

NX 7.5. Table of Contents. Lesson 3 More Features

ARCHLine.XP Interior Windows. Learning Interior. Learning material for the basics of ARCHLine.XP Interior. ARCHLine.

IT154 Midterm Study Guide

Tip 65: Position control with MICROMASTER420 frequency converter

Nikon Scan Windows. Contents. TWAIN Driver. User s Manual

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment

Applications & Tools. Sample Blocks for STEP 7 and WinCC flexible - Supplements. WinCC flexible. Application description September 2010

Stitching MetroPro Application

06/17/02 Page 1 of 12

Exponential Waveforms

Using Wavemaker: A Guide to Creating Arbitrary Waveforms for Syscomp CircuitGear and Waveform Generators

User Manual for HoloStudio M4 2.5 with HoloMonitor M4. Phase Holographic Imaging

inphoto ID SLR Automatic ID photography With Canon SLR camera User Guide

Kigamo Scanback which fits in your view camera in place of conventional film.

TNT data analysis. Christian Bonnin Marc Richer

Revit Structure 2014 Basics

Introduction to Circular Pattern Flower Pot

6.12. SilverFastJobManager. SilverFast JobManager for Film Scanner. Overview

W i n d o w s. ScanGear CS-S 4.3 for CanoScan FB1200S Color Image Scanner. User's Guide

Transcription:

EDB9300UE 00406616 Manual Oscilloscope function

This Manual is valid for 93XX controllers of the versions: 93XX- EV. xx. 1x -Vxxx Vector Control 93XX- EK. xx. 1x -Vxxx Cam profile generator 93XX- EP. xx. 2x -Vxxx Positioning controller Type 93XX- ES. xx. 2x -Vxxx Servo inverter Design Hardware level and index Software level and index Variant This function can be used together with the software tool Global Drive Control as of software version 3.3. Edition of: 02/1999 revised

Contents 1 Preface and general information... 1-1 1.1 Features of the oscilloscope function... 1-1 1.2 System requirements... 1-2 2 Technical data... 2-1 3 Commissioning... 3-1 3.1 Concept of the oscilloscope function... 3-1 3.2 Operation and visualisation with GDC... 3-2 3.2.1 Menu Tool - open oscilloscope display... 3-2 3.2.2 Menu Oscilloscope... 3-3 3.2.3 The oscilloscope window... 3-7 3.2.4 Dialog box Oscilloscope control... 3-9 4 Configuration... 4-1 4.1 Configuration with Global Drive Control... 4-1 4.2 Oscilloscope function (OSZ)... 4-2 4.2.1 Description of the codes... 4-3 4.3 Communication protocol... 4-6 4.3.1 Data format of the codes... 4-6 4.3.2 Organisation of the data memory... 4-6 4.3.3 Read data memory... 4-8 4.3.4 Measuring value required to reconstruct a picture... 4-9 5 Table of keywords... 5-1 OSZBA0299 i

Contents ii OSZBA0299

Preface and general information 1 Preface and general information 1.1 Features of the oscilloscope function Application - Supports the commissioning of controllers by displaying all measuring values (speed setpoint, actual speed, torque, etc.) - Detection of controller-specific application datum without additional measuring units (e.g. oscilloscope, voltmeter, ammeter) - Easy maintenance and trouble shooting at drive systems - Comfortable documentation for the fine adjustment of control circuits or parameter changes - Documentation of the production quality with reference to the product liability and quality assurance Features - Recording and filing of measuring values in the controller - Adjustable size of the measuring value memory - Measuring of up to four independent channels at the same time - Measuring of fast and slow signals through adjustable scanning in the range of 1 ms... 10 min - Triggering on any digital or analog signal - Pre-triggering and post-triggering (detection of trigger history) - Display and evaluation of the measuring values through a PC (PC program Global Drive Control) - Cursor and zoom function to analyse measurements - Loading, filing, commenting and printing of measurements (Windows metafile format for filing measurements) - Display of the communication protocol and all control commands - Easy comparison of measurements by means of overlay functions OSZBA0299 1-1

Preface and general information 1.2 System requirements Three requirements must be fulfilled for the use of the oscilloscope function: - The controller must be equipped with the same or higher software version indicated on the inner flap-out page of this Manual. - The visualisation of measuring data with Global Drive Control (GDC) is only possible as of GDC software version 3.3. - Communication between the measuring function in the controller and the visualisation with GDC is only possible via - LECOM-xx communication channel or - system bus (CAN). System requirements for the use of GDC: - PC or notebook with mp 486 or higher and 16 MB RAM - Operating system: Microsoft WindowsZ3.1x or 95 1-2 OSZBA0299

Technical Data 2 Technical data Depth of the data memory: 512... 8192 measuring values Size ofthe data memory: 1024... 16384 bytes Data width: 16:16 bit Length of the data block: 8bytes No. of channels: 1... 4 Trigger level: -32767... +32767 units Trigger signal: LOW-HIGH, HIGH-LOW Trigger delay: -100.0 %... +999.9 % Trigger source: analog channels 1... 4 or digital trigger input Scanning period: 1 ms... 10 min Selection number of the function block OSZ: 13100 OSZBA0299 2-1

Technical Data 2-2 OSZBA0299

Commissioning 3 Commissioning 3.1 Concept of the oscilloscope function The oscilloscope function includes two matching subfunctions. Measuring with function block OSZ - Data detection - Triggering for certain events - Data storage in a scalable ring memory For these measurements, the controller provides the function block (FB) OSZ. It is connected like any other FB (see 9300 Manual, software version 2.x). For configuration see chapter 4.2. Operation and visualisation with GDC using a PC - Setting of the measuring functions - Reading and display of the measuring values - Processing of the measurements (loading, storing, printing, etc.) The visualisation is part of the PC program Global Drive Control (GDC). GDC offers additional functions to analyse the measuring values. LECOM-xx or system bus (CAN) transfer data between controller (measuring with FB OSZ) and PC (operation visualisation). Oscilloscope function Measuring with FB OSZ in the controller Operation, visualisation with GDC using a PC Data detection - Triggering -Datastorage Data transfer Setting of measuring function Display of measuring values Processing of measurements FIG 3-1 Structure of the oscilloscope function OSZBA0299 3-1

Commissioning 3.2 Operation and visualisation with GDC Note! The knowledge of the GDC dialogs is required. The operation of the oscilloscope function in the GDC is based on three levels, which are described in the following chapters. 1. The menu bar -Menu Tool to activate the oscilloscope function - Menu Oscilloscope to load, store and print measurements 2. The oscilloscope display - Graphic display of measuring values - Analysis of measured signals by means of different functions (zoom, cursor, etc.) 3. The oscilloscope control - Setting of all data required for a measurement - Data transfer to the FB OSZ in the controller 3.2.1 Menu Tool - open oscilloscope display FIG 3-2 Activation of the oscilloscope function Field Command Function Click Tool menu Click Oscilloscope - The oscilloscope window will be opened. - The menu bar shows an additional menu for Oscilloscope. 3-2 OSZBA0299

Commissioning 3.2.2 Menu Oscilloscope 1 2 3 FIG 3-3 Menu Oscilloscope Field Name Function 1 Load oscillogram - Loads a data set from a data carrier. - Displays the graphics with all parameters (zoom, trigger- delay scanning, signal/channel assignment, etc.). 2 Store oscillogram - Stores the measurement which is currently in the data memory including all parameters (zoom, trigger delay, etc.). - Every file can be commented. 3 Export oscillogram Generates an ASCII file (see FIG 3-4). OSZBA0299 3-3

Commissioning File information File name: PROBE1: Date: 13.05.1998-01:11:02 User:? Version: 1.0 PDBId: PDB29101996150000 Name: 9300 servo inverter Comment? Channel settings Channel Status Gain Unit Position Signal name K1 ON 5.0000 [%] 0.00 AIN2-OUT Time settings Scanning 2 ms time Measuring 00:16.384 time: min Trigger settings Source: Measuring channel 1: Signal AIN2-OUT name: Level: 4.999 [%] Delay: -10.0 % Signal: Pos. signal Position: 1636 ms Cursor settings Cursor Position Unit Channel Value Reference 0 ms 0 2.100 [%] Measure 0 ms 1 2.100 [%] Dif 0 ms 1 0.000 [%] Measuring values Time K1 K2 K3 K4 Trigger R-cursor M-cursor [ms] [%] [%] [%] [%] 0 2.100 X X 2 2.051 4 2.100 8 2.100 10 2.100 12 2.100 14 2.100 16 2.149 18 2.149 20 2.149... More measuring values... FIG 3-4 Structure of an ASCII file of an exported measurement 3-4 OSZBA0299

Commissioning FIG 3-5 Submenus for Print oscillogram and Select measurement Field Name Function Print oscillogram - Prints the actual message. - Select the information you want to be printed from a submenu (see FIG 3-5). Copy oscillogram - Copies the actual message into the Windows buffer to paste them into other Windows components (e.g. Microsoft Word) and to document them. - Select the information you want to copy to a submenu (identical with submenu Print oscillogram ). Select message - Displays several measurements from the data memory on the oscilloscope. - One of the displayed measurements can be defined as actual measurement (see FIG 3-5). Control Opens the menu Oscilloscope control (see chapter 3.2.4). Zoom - There are five possibilities to zoom the displayed oscillographs. - Alternative: press the right mouse key. A context menu, which offers the same possibilities, will be opened: - X axis : zooms X axis only. Set two vertical lines to define the zoom section. - Y axis : zooms Y axis only. Set two horizontal lines to define the zoom section. - Range : draw a rectangle. The section will be enlarged. - Undo : resets the last zoom action to normal view. - Normal view : no zoom. Signals, cursor, etc. remain zoomed. - Mouse functions: - Left key: selection or function setting - Right key: function cancellation OSZBA0299 3-5

Commissioning FIG 3-6 Submenu Measurement display under Settings Field Name Function Set measuring cursor - Selection of a channel which is to be measured and to which the measuring cursor function is to refer. - If, for instance, channel 1 is selected, the measuring cursor can be moved along channel 1. Settings - Display of the measuring values (see FIG 3-6) - connect as line : connects the measuring values to a line (point-to-point line). - represent as cross : the measuring values are displayed as crosses. - represent as point : the measuring values are displayed as points (pixel). - Display of the measuring cursor - as vertical line - as cross-hairs Quit Close the oscilloscope window 3-6 OSZBA0299

Commissioning 3.2.3 The oscilloscope window 1 2 12 11 10 9 8 7 6 3 4 5 FIG 3-7 Dialog box Oscilloscope Field Name Function 1 Time basis - The characteristic of the measured signal can be stretched on the time axis by changing the time basis. - T scan : indicates the scanning period used for the measurement. 2 Trigger Indicates the trigger settings used for the measurement. 3 Display range 10 x 10 DIV raster screen 4 Control Opens the dialog box Oscilloscope control (see chapter 3.2.4). Status Displays the actual operating status (see chapter 3.2.4, field 3). OSZBA0299 3-7

Commissioning FIG 3-8 Section of the dialog box Oscilloscope when displaying Cursor and Analog Field Name Function 5 Trigger The dialog box Oscilloscope shows the trigger settings on the right (see FIG 3-7). Cursor The dialog box Oscilloscope shows the cursor functions on the right (see FIG 3-8). - The reference cursor has four measuring points (one per channel). - The cursor can be moved when the function is activated. - Left mouse key: set or delete reference point. - The measuring cursor has found a measuring point. - The cursor can be moved when the function is activated. - Display of the time position and the corresponding measuring value for both cursors - Difference display dt and dy (t) Analog The dialog box Oscilloscope shows the setting function for the following on the right (see FIG 3-8): - Channel-zero position - Horizontal position - Offset - If the display is extremely zoomed, the channel-zero position can be shifted to the window center by means of find. 6 Picture position Shifting of the visible memory range 7 Trigger instant 8 Trigger level 9 Adjust gain factor 10 Kx Clicking the field Determine display opens the dialog (see chapter 3.2.4, field 8). 11 ON, OFF, INV Channel switch on and off or signal inversion 12 Only display Indicates the channel signal source. 3-8 OSZBA0299

Commissioning 3.2.4 Dialog box Oscilloscope control 1 FIG 3-9 Open dialog box Oscilloscope control Field Command Function 1 Click Control Dialog box Oscilloscope control is being opened 8 7 1 6 5 4 2 3 FIG 3-10 Dialog box Oscilloscope control Field Command Function 1 Click Source Select trigger source - With a digital trigger input, another dialog box is opened and here the trigger signal can be selected. Click Level Adjust trigger level. When the trigger signal reaches the set value, triggering will be started. - With a digital trigger source, the box is not active. Click Delay Set pre- or post-triggering (see chapter 4.2.1, C0737). Click Signal Select the signals to be triggered to. OSZBA0299 3-9

Commissioning Field Command Function 2 Click Start Starts measurement Click Stop Stops measurement Click Read data Transfers the measuring values from the controller to the PC. Click Data memory Selection of the PC internal data memory, which is to accept the measuring values read. - GDC provides four data memories. - If several data memories are filled with measuring values, several measurements can be displayed at the same time (see chapter 3.2.2, Select measurement ). 3 Only display Displays the operating state of the FB OSZ in the controller. The following operating states are possible: - Measurement completed : the measuring value memory is completely filled with measuring data. The measuring values can be retrieved. - Measurement active : the unit is measuring. A valid trigger event has not been detected yet. - Trigger detected : a valid trigger event has been detected. The measuring data is not completely filed yet (depends on the trigger delay) and will automatically end after the last memory location has been filled. - Measurement cancelled : an active measurement has been cancelled. The memory is filled with the data measured at last. The measuring values can be retrieved. - Read data memory : the memory is being read. Settings are not possible now. 4 Click Memory depth Sets depth of the data memory. - The memory depth is subdivided between the number of active channels. - An optimum adaptation of the memory depth to the corresponding measuring task reduces the data transmission time. 5 Click Scanning period Defines the time between the measurements of the signals to be recorded. - The measurement instants are the same for all channels. 6 Only display Displays before the measurement starts how long this measurement will take. 7 Click Channel x Activates channel. - Only activate the channels required for the measurements. Click box to Channel x Links analog signal source to the channel. (signal selection) 8 Click Display Display of the measured values. The following formats are available: - Internal : displays the internal value processed by the program (value range ±32767 units) - Normalised : displays the value as percentage (+200 % +32767 units) - User format : user-specific format. Factor and unit must be adjusted. Example: The measuring values are to be indicated in [bar]. 10 bar = 100 % = 16384 units. Select factor 20 (unit: bar) 200 % = 32767 units Measuring value: 5000 units 5000 ô 20 bar 3.05 bar 32767 3-10 OSZBA0299

Configuration 4 Configuration 4.1 Configuration with Global Drive Control The FB configuration must be set via the code to ensure that the FB records the signals appropriately. With the PC program Global Drive Control (GDC) Lenze offers - an easy to understand, - well structured, - convenient tool for the configuration of your specific measuring task. Function block library - GDC provides an easy-to-read library of available function blocks (FB). - GDC also displays the complete assignment of a FB. Signal configuration The signal is configured via one dialog box only. It is possible: - to display every FB as a block diagram. - to see all connections of inputs and outputs at a glance. - to link inputs. - to enter the FB in the processing table. - print your signal configuration as list. Note! - GDC is not part of the packing list. - The version GDC V3.2 offers an even more convenient FB editor. This editor makes the signal configuration easier by, for instance, graphical connection of function blocks. - Order information can be obtained from the chapter Accessories in Planning. OSZBA0299 4-1

Configuration 4.2 Oscilloscope function (OSZ) C0732/1 C0732/2 C0732/3 C0732/4 OSZ channel 1 OSZ channel 2 OSZ channel 3 OSZ channel 4 CTRL Measuring value memory OSZ 1 2 3 4 C0733 OSZ dig. trigger C0730 C0731 C0734 C0735 C0736 C0737 C0738 C0739 C0740 C0741 C0744 C0749 FIG 4-1 Function block OSZ Function TheFBcomprisesthreefunctions: - Trigger check - Monitoring of the digital trigger source for valid trigger events - Measuring signal processing - Connection of measuring inputs - Calculation of the time basis - Monitoring of the analog trigger source for valid trigger events - Measuring value memory - Scaling of the ring memory - Filing of measuring data in the ring memory - Filing of measuring points for picture reconstruction 4-2 OSZBA0299

Configuration 4.2.1 Description of the codes Function Code Selection Description OSZ mode Controls the measurement in the controller C0370 1 - Starts recording the measuring values 0 - Cancelling of a measurement OSZ status Displays five different operating states C0731 1 - Measurement completed - The measuring value memory is completely filled with measuring data. The measuring values can be retrieved via PC. 2 - Measurement active - A measurement has been started with C0730 = 1. The FB waits for a valid trigger event. 3 - Trigger detected - The FB has detected a valid trigger event. According to the trigger delay, filing of measuring data is not completed yet and ends automatically when the last memory location is filled. 4 - Mesuring cancelled - Cancellation of a measuring value record (C0730 = 0). The measuring value memory is filled with the last measured data. The data can be retrieved via PC. 5 - Read data memory - The measuring data memory is being read. Settings are not possible yet. Configuration OSZ channel 1... 4 C0732/1 to C0732/4 - Connects the measuring channels of the FB to the signals of the process environment. - Any analog signals can be assigned to the four measuring channels. Entry of the corresponding signal number in C0732/1... C0732/4. - Connect channel 1 first, then channel 2, and so on. Unused channels are automatically assigned to signal FIXED 0%. Configuration OSZ trigger Trigger source Trigger signal C0733/1 Connects the digital trigger input to a digital signal of the process environment. - Any digital signal can be assigned to the trigger input. Input of the corresponding signal number in C0733/1. Determines the trigger source C0734 1 Source is one of the four measuring channels (C0734/1... C0734/4) 0 Source is the digital trigger input (C0733/1) Determines the signal, which activates triggering - Triggering in an analog input channel - With a LOW-HIGH trigger signal, the analog trigger signal must exceed a defined trigger level to activate triggering. - With a HIGH-LOW trigger signal, the analog trigger signal must fall below a defined trigger level to activate triggering. - Triggering in a digital trigger input - With a LOW-HIGH trigger signal, the signal must change from LOW to HIGH to activate triggering. - With a HIGH-LOW trigger signal, the digital trigger signal must change from HIGH to LOW to activate triggering. FIG 4-2 displays the triggering of an analog signal with positive signal. C0736 1 HIGH-LOW trigger signal 0 LOW-HIGH trigger signal Trigger level C0735-32767... 32767 - Determines the trigger level which activates triggering when being exceeded. - The trigger level is only monitored, if one of the four channels is triggered. - With digital triggering, the trigger level is not effective. OSZBA0299 4-3

Configuration Function Trigger delay Code Selection Description The trigger delay determines when the measuring values are filed with reference to the trigger instant. C0737-100.0 %... 0 % - Negative trigger delay (pre-triggering) - Defines part of the memory. This part of the memory contents is filled with measuring values before triggering (see FIG 4-3). 0 %... 999.9 % - Positive trigger delay (post-triggering) - Defines part of the memory. The filing of the measuring values after triggering is delayed by this part of the memory contents (FIG 4-2). Memory contents Trigger level Trigger instant Signal measured Signal flow before triggering Signal flow after triggering FIG 4-2 Example: Trigger level and trigger delay with approx.-30 % post-triggering Memory contents Trigger instant Trigger level Signal measured Trigger delay Signal flow before triggering Signal flow after triggering FIG 4-3 Example: Trigger level and trigger delay with approx. -30 % pre-triggering 4-4 OSZBA0299

Configuration Function Code Selection Description Scanning period Number of channels C0738 1 ms... 10 min - Setting of the scanning period - The scanning period is the time between two measurements. - The measurements are carried out for all channels at the same time (e.g. a value is measured at channel 1 simultaneous to a measurement in channel 2, 3or4). - The scanning period can be adjusted to one, two, or five steps. C0739 Number of channels, which are used for measuring. Read data The code is required when not using GDC for the visualisation. memory C0740/1 0... 16383 - Determines the start of reading the data memory and enables an exact access to the memory block. - To read the data memory bit by bit (e.g. reading the measuring values of one channel only or reading when memory depth is reduced), the start can be changed. C0740/2 1 - Enables Read memory. - Allows access to the memory to read the data. 0 - Inhibits Read memory - Inhibits access to the memory. The access must be inhibited after every reading of data. Info on the Detailed information about the function block function block C0741/1 Version of the function block (e.g. 120: version 1.20) C0741/2 Data memory size (1024... 16384 bytes) C0741/3 Data width of the measuring values (1 byte / 2 bytes) C0741/4 Number of measuring channels available (1... 4) Data block length C0742 - Indicates the data block length for reading the data memory. - When reading the data memory, the FB transmits the measuring values as blocks, i.e. each reading access transmits at least 8 bytes/block (= data block length). - Data block length for 9300 controller = 8 bytes Data block read C0743 - Indicates reading from the data memory - With each reading access to this code, a data block (8 bytes) is transmitted from the drive to the visualisation system. The system starts at the beginning (C0740/1) and counts automatically block by block. Memory size C0744 0... 6 Set depth of the data memory - Max. size of the data memory: 8192 measuring values 16384 bytes (C0744 = 6) - Min. size of the data memory: 512 measuring values 1024 bytes (C0744 = 0) - Change of the memory depth with 512 measuring values/steps - An optimum adaptation of the memory depth to the corresponding measuring task reduces the data transmission time. Info on filing Information about filing measuring values in the data memory The FB stores data in the ring format. The three following Display positions are marked for the reconstruction of the time sequence of a signal. C0749/1 Measuring value No. of the cancel instant C0749/2 Measuring value No. of the trigger instant C0749/3 Measuring value No. of the end instant OSZBA0299 4-5

Configuration 4.3 Communication protocol This chapter describes the communication between the FB OSZ in the controller and the visualisation on the PC based on the LECOM-A/B protocol (see Operating Instructions for LECOM-A/B fieldbus module 2102). 4.3.1 Data format of the codes Except of C0743 (read data block) all codes are accessed with the data format VD. This applies to writing and reading. C0743 is accessed with the data format VO. With C0743 the data memory of the FB OSZ can be read. Before the reading access must have been enabled under C0740/2. C0743 can be read only. 4.3.2 Organisation of the data memory The data memory of the FB OSZ is a ring memory with max. 16384 bytes. The whole memory is subdivided between the active channels (see FIG 4-4). The measuring values have a data width of 2 bytes. Thus, the memory can file max. 8192 measuring values. If the max. memory depth is reduced (under C0744), this reduced memory is subdivided between the active channels, too. 0 0 0 0 1 1 1 511 0 681 0 2 Ring memory block of a channel with circulating memory index 1 1023 0 2 511 0 2 681 0 3 511 0 3 4 2047 1023 681 511 1 channel 2 channels 3 channels 4 channels FIG 4-4 Organisation of the data memory 4-6 OSZBA0299

Configuration Channel 1 Channel 2 Channel 1 assigned Channel 3 Channel 4 Channel 2 FIG 4-5 Organisation of the data memory with 2 and 4 channels and reduced memory depth The start is determined in the memory for every channel. If the memory depth is reduced, gaps occur between the data ranges. These gaps must be skipped when reading the data (see FIG 4-5). Thus, optimum data transmission times can be achieved. With the setting of a start for reading the data memory, the gap will be skipped. The starts for the individual memories have the following values: Number of channels Start (value for C740/1) 1 0 2 for channel 1 = 0 for channel 2 = 8192 3 for channel 1 = 0 for channel 2 = 5460 for channel 3 = 10920 4 for channel 1 = 0 for channel 2 = 4096 for channel 3 = 8192 for channel 4 = 12288 OSZBA0299 4-7

Configuration 4.3.3 Read data memory The data memory is read with C0743. Measuring value 1 HIGH byte Measuring value 1 LOW byte Measuring value 2 HIGH byte Measuring value 2 LOW byte Measuring value 3 HIGH byte Measuring value 3 LOW byte Measuring value 4 HIGH byte Measuring value 4 LOW byte Measuring value 5 HIGH byte Measuring value 5 LOW byte Measuring value 6 HIGH byte Measuring value 6 LOW byte Measuring value 7 HIGH byte Measuring value 7 LOW byte Measuring value 8 HIGH byte Measuring value 8 LOW byte First read access C743 Second read access C743 Measuring value 1: 16 bit Measuring value 2: 16 bit Measuring value 3: 16 bit Measuring value 4: 16 bit Measuring value 5: 16 bit Measuring value 6: 16 bit Measuring value 7: 16 bit Measuring value 8: 16 bit FIG 4-6 Data read access - First access to read C0743 -Start - Transfers the first 8 bytes to the PC - Second access to read C0743 - Incrementation of the access pointer - Transfers the next 8 bytes to the PC - Repeat the reading access until the data range of a channel is read block by block (see FIG 4-6). Example of a C programming for the data conversion from HIGH byte and LOW byte into an integer value: for (i=0;i < *LCM_AB_Test_read.LCM_AB_value_len;i=i+2) { measuring value_array[k] = ((int)lcm_ab_test_read.lcm_ab_value_ptr[i+1] << 8) LCM_AB_Test_read.LCM_AB_value_ptr[i]; k++;/*fill the measuring value memory*/ } 4-8 OSZBA0299

Configuration 4.3.4 Measuring value required to reconstruct a picture Since the measuring values for each channel are stored in the ring memory, the data read out do not automatically have a picture start and picture end. The information about picture reconstruction can be obtained from C0749. The measuring value number for - the trigger instant (C0749/2), - the end instant (C0749/3) and - the cancel instant (C0749/1) enable the visualisation system to reconstruct the picture. If the measurement is cancelled, a cancel instant will be set. The end instant is then 0. End instant Trigger instant Memory contents Trigger level Trigger time Signal measured Signal flow before triggering Signal flow after triggering FIG 4-7 Principle of the reconstruction OSZBA0299 4-9

Configuration 4-10 OSZBA0299

Table of keywords 5 Table of keywords C Codes, Description, 4-3 Communication, Via LECOM-A/B, 4-6 Configuration Of the function block library, 4-1 Signal, 4-1 Cursor, 3-8 Cursor functions, 3-8 D Data memory, Memory depth, 3-10 Display Field, 3-5 Measuring values, 3-10 Settings, 3-6 F Features, 1-1 Fieldbus module, 4-6 Function block OSZ Configuration, 4-2 Control, 3-10 Display status, 3-10 G GDC Configuration with, 4-1 Operation of the oscilloscope function, 3-1 M Measuring Display of measuring values, 3-10 With function block OSZ, 3-1 Measuring cursor, Set, 3-6 Message, Select, 3-5 O Operation, With GDC, 3-2 Oscillogram Copy, 3-5 Export, 3-3 Load, 3-3 Print, 3-5 Store, 3-3 Oscilloscope control, 3-5 Description of, 3-9 Open, 3-9 Oscilloscope function, Requirements for the operation, 1-2 Oscilloscope window, 3-7 Close, 3-6 Description of, 3-7 Display of, 3-8 Open, 3-2 R Requirements, For the operation, 1-2 S Scanning period, 3-10 Signal selection, 3-10 T Technical data, 2-1 Time basis, 3-7 Trigger, 3-9 Indicate settings, 3-7 V Visualisation, With GDC, 3-2 Z Zoom, 3-5 OSZBA0299 5-1

Table of keywords 5-2 OSZBA0299