Language Elements Of The Programming Language - Siemens SINUMERIK 840DE Programming Manual

Hide thumbs Also See for SINUMERIK 840DE:
Table of Contents

Advertisement

Fundamental Principles of NC Programming

2.2 Language elements of the programming language

File names can contain the characters 0...9, A...Z, a...z or _ and must not exceed 24
characters in total.
File names must have a 3-character extension (_xxx).
Data in punch tape format can be generated externally or processed with an editor. A file
name of a file that is filed internally in the NC memory starts with "_N_".
A file in punch tape format is introduced with %<name>, "%" must be in the first column of
the first row.
Examples:
%_N_SHAFT123_MPF = part program SHAFT123
Or
%flange3_MPF = part program flange3
For further information on downloading, creating, and storing parts programs, please refer to:
/BAD/, /BEM/ Operating Instructions HMI Advanced, HMI Embedded section "Program
operating area" / "Services operating area"
2.2
Language elements of the programming language
Overview
The language elements of the programming language are determined by
• Character set with uppercase and lowercase letters and digits
• Words with addresses and sequence of digits
• Blocks and block format
• Block length with maximum possible number of characters
• Order of the words in a block with table of the addresses and their meaning
• Main blocks and subblocks
• Block number
• Addresses with table for important addresses and explanations
• Addresses effective modally or non-modally
• Addresses with axial extension with table of extended address notations
• Fixed addresses with table and statement of the meaning for default setting
• Fixed addresses with axis extension with table and statement of the meaning for default
• Adjustable addresses with statement of the adjustable address letters
• Predefined computing functions as well as arithmetic, comparative and logical operators
• Identifiers such as variables, subroutines, keywords, DIN addresses and jump markers
2-2
setting
with corresponding value assignments.
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Fundamentals

Advertisement

Table of Contents
loading

Table of Contents