EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #385 background imageLoading...
Page #385 background image
Hexadecimal constants are enclosed in single quotation marks and start with the letter "H",
followed by the value in hexadecimal notation. Separators are permitted between the letters
and digits.
Example:
Program code Comment
$MC_TOOL_MANAGEMENT_MASK='H7F' ; By assigning the hexadecimal constant,
bits 0 to 7 are set in the machine data.
Note
The maximum number of characters is limited by the value range of the integer data type.
Binary constant
Constants can also be interpreted in binary format. In this case, only the digits "0" and "1" are
used.
Binary constants are enclosed in single quotation marks and start with the letter "B", followed
by the binary value. Separators are permitted between the digits.
Example:
Program code Comment
$MN_AUXFU_GROUP_SPEC='B10000001' ; By assigning the binary constant, bit 0
and bit 7 are set in the machine data.
Note
The maximum number of characters is limited by the value range of the integer data type.
2.15.7 Operators and arithmetic functions
Operators
Arithmetic operators
System variables of the REAL and INT type can be linked by the following operators:
Operator Meaning
+ Addition
- Subtraction
* Multiplication
Fundamentals
2.15 Other information
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 385

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals