EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 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 #88 background imageLoading...
Page #88 background image
1
Flexible NC Programming 02.98
1.21 CHECKSUM: Creation of a checksum over an arra
y
(
> SW 5.2
)
1
840D
NCU 571
840D
NCU 572
NCU 573
810D
840Di
ï›™
Siemens AG 2000. All rights reserved
1-88
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1.21 CHECKSUM: Creation of a checksum over an array (> SW 5.2)
Programming
error=CHECKSUM(var string[16] chksum,string[32]array, int first, int
last)
The CHECKSUM function forms the checksum over an array.
Explanation of the parameters
error
Error variable for return representation
0 No error
1 Symbol not found
2 No array
3 Index 1 too large
4 Index 2 too large
5 Invalid type of file
10 Checksum overflow
chksum
Checksum over the array as a string (call-by-reference parameter of
type String, with a defined length of 16).
The checksum is indicated as a character string of 16 hexadecimal
numbers. However, no format characters are indicated.
Example: in MY_CHECKSUM
array
Number of the array over which the checksum is to be formed.
(call-by-value parameter of type String with a max. length of 32).
Permissible arrays: 1 or 2-dimensional arrays of types
BOOL, CHAR, INT, REAL, STRING
Arrays of machine data are not permissible.
first
Column number of start column (optional)
last
Column number of end column (optional)
Function
With CHECKSUM you form a checksum over an array.
Stock removal application:
Check to see whether the initial contour has changed.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals