EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 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 #83 background imageLoading...
Page #83 background image
Flexible NC programming
1.23 CHECKSUM: Form the checksum over an array
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-69
1.23 1.23 CHECKSUM: Form the checksum over an array
Function
With CHECKSUM you form a checksum over an array.
Application:
Check to see whether the initial contour has changed during stock removal.
Programming
error=CHECKSUM(VAR STRING[16] chksum, STRING[32]array, INT first,
INT last)
Parameter
CHECKSUM Form the checksum over an array
error Error variable for return
0: No error
1: Symbol not found
2: No array
3: Index 1 too large
4: Index 2 too large
5: Invalid data type
10: Check sum 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: "A6FC3404E534047C"
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 the 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)
Note
The parameters first and last are optional. If no column indices are indicated, the checksum
is formed over the whole array.
The result of the checksum is always definite. If an array element is changed, the result
string will also be changed.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals