2 conventions used for input/output identifiers, Conventions used for input/output identifiers 6, 16 working with the fb editor – Lenze 8400 HighLine User Manual

Page 1186

Advertising
background image

16

Working with the FB Editor

16.1

Basics

1186

Lenze · 8400 HighLine · Referenzhandbuch · DMS 10.0 EN · 06/2014 · TD05/TD14

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

16.1.2

Conventions used for input/output identifiers

This chapter describes the conventions used for the identifiers of the inputs/outputs of the blocks.

The conventions ensure a uniform and consistent terminology and make reading and

comprehending the interconnection and application easier.

Tip!
The conventions used by Lenze are based on the "Hungarian Notation". This ensures that

the most significant characteristics of the corresponding input/output (e.g. the data type)

can be instantly recognised from its identifier.

An identifier consists of

• a data type entry
• an identifier (the "proper" name of the input/output)
• an (optional) signal type specification

Data type entry
The data type entry provides information about the data type of the corresponding input/output:

Identifier
The identifier is the proper name of the input/output and should indicate the application or

function.

• Identifiers always start with a capital letter.
• If an identifier consists of several "words", then each "word" must start with a capital letter.
• All other letters are written in lower case.

Data type entry

Meaning

Resolution

Value range

b

BOOL

1 bit

0 ≡ FALSE / 1 ≡ TRUE

dn

DINT

32 bits

-2147483647 ... 2147483647

n

INT

16 bits

-32767 ... 32767

w

WORD

16 bits

0 ... 65535

Advertising