P4: PLC for SINUMERIK 828D
14.3 Programming
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1107
Format identifier of constants
In many operations, your program can use constants in the byte, word or double word format. Format identifiers
specify how a constant value is to be displayed (in the binary, decimal, hexadecimal or ASCII format).
Constants in the program are considered as decimal numbers if a format identifier is not specified:
Examples of binary constants
Examples of hexadecimal constants:
2#
for dual numbers
16#
for hexadecimal numbers
Example
Numerical basis
Separator
Constant
2#1101
2
#
1101
Example
Numerical basis
Separator
Constant
16#3FB2
16
#
3FB2
Note
Underscore characters can increase the readability in imported ASCII files.
Example: 16#A_B_C_D
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...