EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 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
Loading...
Flexible NC programming
1.23 Checksum calculation using an array (CHECKSUM)
Job planning
146 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
1.23 Checksum calculation using an array (CHECKSUM)
Function
The CHECKSUM command can be used to calculate the checksum using an array. This check-
sum can be compared with the result of an earlier checksum calculation to ascertain whether
the array data has changed.
Application
Check to see whether the initial contour has changed during stock removal.
Syntax
DEF INT <error>
DEF STRING[<string length>] <checksum>
DEF ... <array>[<n>,<m>,<o>]
<error>=CHECKSUM(<checksum>,"<array>"[,<start column>,<end column>])
Significance
CHECKSUM: Command for calculating the checksum using an array.
Variable for returning the error value.
Type. INT
0 No error
1 Symbol not found
2 No array
3 Index 1 too large
4 Index 2 too large
5 Invalid data type
<error>:
Value:
10 Check sum overflow
Result variable to which the result of the checksum calculation is
written (call-by-reference parameter)
Type: STRING
<checksum>:
Required string length: 16
The checksum is indicated as a
character string of 16 hexadecimal
numbers. However, no format
characters are indicated.
Example: "A6FC3404E534047C"

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals