L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 17

Advertising
background image

L-force | PLC Designer



DMS 3.2 EN 02/2011 TD29

15

10.1.4

TIME_OF_DAY Constants ________________________________ 505

10.1.5

DATE_AND_TIME Constants______________________________ 505

10.1.6

Number Constants _____________________________________ 506

10.1.7

REAL/LREAL Constants __________________________________ 506

10.1.8

STRING Constants______________________________________ 507

10.1.9

Typed Literals _________________________________________ 508

10.2

Variables ___________________________________________________ 509

10.2.1

System Flags__________________________________________ 509

10.2.2

Accessing variables for arrays, structures and POUs. ___________ 509

10.2.3

Addressing bits in variables ______________________________ 510

10.3

Addresses ___________________________________________________ 513

10.3.1

Adresses, Note ________________________________________ 513

10.3.2

Address _____________________________________________ 513

10.3.3

Memory location ______________________________________ 514

10.4

Functions ___________________________________________________ 515

11

Data types in PLC Designer ___________________________________________ 516

11.1

Standard data types ___________________________________________ 516

11.1.1

Data types ___________________________________________ 516

11.1.2

BOOL _______________________________________________ 516

11.1.3

Integer Data Types _____________________________________ 516

11.1.4

REAL / LREAL __________________________________________ 517

11.1.5

STRING ______________________________________________ 517

11.1.6

Time Data Types_______________________________________ 517

11.2

Defined data types ____________________________________________ 519

11.2.1

ARRAY_______________________________________________ 519

11.2.2

Function CheckBounds __________________________________ 521

11.2.3

Pointer ______________________________________________ 522

11.2.4

Enumeration _________________________________________ 524

11.2.5

Structures____________________________________________ 526

11.2.6

References ___________________________________________ 527

11.2.7

Subrange types________________________________________ 528

Advertising