Eqp logic editor – Det-Tronics S3 Graphics User Manual

Page 281

Advertising
background image

13-56

EQP LOGIC EDITOR

Version 6.0

EQP LOGIC EDITOR

In the example to the below, an Input Variable was placed and linked to a global memory point “MCOP-FA001”.

The value for this point was generated on the preceding

sheet where it was assigned to the global database.

Once placed in the global database, the value of

“MCOP-FA001” can be used as an “Input Variable” on

any other sheet in the project.

Data Types

Functions and Function blocks typically require a specific data type to be

attached to their input and output pins. The S

3

online help file provides

detailed information on both the data type compatibility requirements as

well as how each logic operator functions. Below is a definition of the

available data types, within the S

3

database these types are represented

as follows:

B = Boolean

I

= Integer

D = Double

F = Float

S = String

T = Time/Date

Detector IEC 1131-3

Range

Boolean Boolean

8 bit value, 1 = True, 0 = False

Integer Integer

2 bytes, 16 bit value, -32,768..32,767

Double Double Integer 4 bytes, 32 bit value,2,147,483,648..2,147,483,647
Float

Real

4 bytes, 32 bit value (IEEE 754 single precision)

Most positive number 3.4028E+38

Least positive number 1.1754E-38

Least negative number -1.1754E-38

Most negative number -3.4028E+38

Note

When floats are used in a comparison for equal (=), the comparison will be true if the values are within 0.01 of

each other.

String

String

80 bytes (Not supported as an I/O variable)

Time/Date Undefined

Item ID Description

Data Type

1

Seconds (0-59) Integer

2

Minutes (0-59) Integer

3

Hours (0-23)

Integer

4

Day (1-31)

Integer

5

Month (1-12) Integer

6

Year

Integer

When displayed as a string the format is mm/dd/yyyy hh:mm:ss

Structure Structure

A structure that does not have a fixed length.

LOGIC CREATION • DATA TYPES

Advertising
This manual is related to the following products: