Concept V2.5 - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Concept V2.5

Description:

Lesson 12 Objectives: After completing this lesson, the learner will be able to: Describe the difference between Located and Unlocated Variables. – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 23
Provided by: VicD
Category:

less

Transcript and Presenter's Notes

Title: Concept V2.5


1
Concept V2.5
  • Lesson 12 Objectives
  • After completing this lesson, the learner will
    be able to
  • Describe the difference between Located and
    Unlocated Variables.
  • State the rules for Variable naming
  • Use the Variable Editor to create and or delete
    Variables.
  • Lesson Overview
  • Concept Software uses the idea of named
    Variables and Constants in its programming
    structure in order to contain global data that
    needs to be passed between objects. The use of
    these named Variables eliminates the need to
    physically join objects together through the use
    of links.
  • This lesson will explain Variables and Data
    Types, the naming of Variables, hardware
    addressing and the difference between using or
    not using hardware addresses with Variable names.

2
Concept V2.5
  • Each Variable has to be declared with the
    Variable Editor before using it
  • Either independently with ? Project ?
    Variable declaration F8
  • Or during programming with a double-click on an
    input / output assignment.
  • A data type must be assigned to each Variable.
    CONCEPT software provides elementary and derived
    data types

3
Concept V2.5
  • Common Data Types and Ranges
  • BOOL Must be a ON ( 1 ) or OFF ( 0 )
  • WORD Represents a bit string 16, meaning the
    length of data is 16 bits.
  • INT Represents an integer value. The range of
    values are -32768 through 32767
  • UINT Represents an unsigned integer value. The
    range of values are 0 through 65535
  • REAL Represents a floating point value. The
    range of values are 8.43e-37 through 3.36e38

4
Concept V2.5
  • Entering Literal Values
  • Literal values are used to assign values to pins,
    or to assign constants to variables, and are not
    meant to be changed by the program.
  • You can enter literal values as
  • base 2 (binary) 21111111111111111
  • base 8 (octal) 8177777
  • base 10 (decimal) 65535 (no 10 needed)
  • base 16 ( hex) 16FFFF
  • All of the above values are equal, they were just
    entered differently

5
Concept V2.5
  • Variable names
  • Max. length 32 characters, may start with number
  • Unlocated
  • Tag name without a hardware address.
  • Implemented in the code, so its faster than a
    located variable.
  • Located
  • Tag name with a hardware address. (State RAM.)
  • Not implemented in the code, so its not as fast
    as a unlocated variable.
  • Constants
  • Used to define value to a tagname, e.g., Hi_Temp
    103.7
  • They cannot be located.

6
Concept V2.5
  • Configuration, Addressing and Variable Assignments

7
Concept V2.5
  • Direct Addressing
  • Every direct address has a reference that
    indicates its position in the sequence and
    whether it is an input address (read only) or an
    output address (read / write).
  • 0x / QXx area bit outputs (discrete),
    example 1 000001 is discrete Output
    1 example 2 QX00001 is Output Bit 1
  • 1x / IXx area bit inputs (discrete),
    example 1 100017 is discrete Input
    17 example 2 IX00017 is Input Bit 17
  • 3x / IWx area register inputs,
    example 1 300300 is register input
    300 example 2 IW000300 is Input Word 300
  • 4x / QWx area register outputs,
    example 1 400029 is register output
    29 example 2 QW00029 is Output Word 29

8
Concept V2.5
  • Variable Editor

Unlocated Variable
Located Variable
times used in program
Identifier
Data Type
9
Concept V2.5
  • Create New Variables by Copying
  • Rename the newly created variables

10
Concept V2.5
  • Search/Paste Dialog

11
Concept V2.5
  • Search/Replace Dialog

12
Concept V2.5
  • It is possible to change online without stopping
    the CPU
  • Variable Names
  • Reference Addresses
  • unlocated to located addresses and vice versa
  • Changed variables can be downloaded into the
    Quantum PLC with Download changes.

13
Concept V2.5
  • Variable Editor - Export Utility

14
Concept V2.5
  • Using Excel for Variables

15
Concept V2.5
  • Variable Editor - Import Utility

16
Concept V2.5
  • Variable Editor - Import Utility
  • Variable Import
  • Complete Import
  • Selective Import
  • Sort
  • Constants
  • Unlocated
  • Located
  • Input/Output availablefor DFB
  • Filter
  • Begins with
  • Contains

17
Concept V2.5
  • The Reference Data Editor

18
Concept V2.5
  • Reference Data Editor

19
Concept V2.5
  • Reference Data Editor Templates - Saving

20
Concept V2.5
  • Reference Data Editor
  • Automatically convert Concept V2.x to V2.5
    format
  • Save as filename.RDF
  • New Templates are ASCII Text
  • 5 Variable attributes
  • Tag Name
  • Address (Reference Number)
  • Value
  • SetValue
  • DisplayFormat(Hex,Dec,Binary etc)
  • RDE Templates can now be used for multiple
    Projects

21
Concept V2.5
  • Reference Data Editor Templates - Opening

22
Demonstration and Lab
23
(No Transcript)
24
Concept V2.5
  • Hidden
  • Last page

25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
(No Transcript)
32
(No Transcript)
33
(No Transcript)
34
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com