beautypg.com

Iec compliance tables – Rockwell Automation Logix5000 Controllers IEC 61131-3 Compliance Programming Manual User Manual

Page 13

background image

Rockwell Automation Publication 1756-PM018C-EN-P - November 2012

13

IEC61131-3 Compliance Chapter 1

IEC Compliance Tables

Logix5000 controllers and the Logix Designer application comply with the
requirements of IEC61131-3 for the following language features:

Table Number:

(1)

Feature Number:

Feature Description:

Extensions and Implementation Notes:

1

2

Lower case letters

none

1

3a

Number sign (#)

Used for immediate value data type designation

1

4a

Dollar sign ($)

Used for description and string control character

1

6a

Subscript delimiters ([ ])

Array subscripts

2

1

Identifiers using upper case and numbers

Task, program, routine, structure and tag names

2

2

Identifiers using upper case, numbers, and embedded
underlines

Task, program, routine, structure and tag names

2

3

Identifiers using upper and lower case, numbers and
embedded underlines

Task, program, routine, structure and tag names

3

1

Comments

ST Comments, also support /* Comment */, and // End of line
comments.

4

1

Integer literal

12, 0, -12

4

2

Real literal

12.5, -12.5

4

3

Real literal with exponents

-1.34E-12, 1.234E6

4

4

Base 2 literal

2#0101_0101

4

5

Base 8 literal

8#377

4

6

Base 16 literal

16#FFE0

4

7

Boolean zero and one

0, 1

5

1A

Empty String ''

Descriptions, and String Editor

5

1B

String of length one containing a character 'A'

Descriptions, and String Editor

5

1C

String of length one containing a space ' '

Descriptions, and String Editor

5

1D

String of length one containing a single quote character '$''

Descriptions, and String Editor

5

1E

String of length one containing a double quote character '"'

Descriptions, and String Editor

5

1F

String of length two containing CR and LF characters

Descriptions, and String Editor

5

1G

String of length one containing the LF character '$0A'

Descriptions, and String Editor

5

1H

String of length 5 which would print as "$1.00" using '$$1.00'

Descriptions, and String Editor

5

1I

Equivalent strings of length two 'AE', and '$C4$CB'

Descriptions, and String Editor

6

2

String dollar sign '$$'

Descriptions, and String Editor

6

3

String single quote '$''

Descriptions, and String Editor

6

4

String Line Feed '$L' or '$l'

Descriptions, and String Editor

6

5

String New-line '$N' or '$n'

Descriptions, and String Editor

6

6

String From Feed (page) '$P' or '$p'

Descriptions, and String Editor

6

7

String Carriage return '$R' or '$r'

Descriptions, and String Editor

6

8

String Tab '$T' or '$t'

Descriptions, and String Editor

6

9

String double quote $"

Descriptions, and String Editor

10

1

BOOL Data Type

Tag variable definition

10

2

SINT Data Type

Tag variable definition

10

3

INT Data Type

Tag variable definition