Checksum: Creation Of A Checksum Over An Array (> Sw 5.2); Checksum: Creation Of A Checksum Over An Array (< Sw 5.2) - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Flexible NC Programming
1
1.21 CHECKSUM: Creation of a checksum over an array (> SW 5.2)
840D
840D
NCU 571
NCU 572
NCU 573
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
chksum
array
first
last
Function
With CHECKSUM you form a checksum over an array.
Stock removal application:
Check to see whether the initial contour has changed.
1-88
810D
840Di
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 type of file
10
Checksum overflow
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
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.
Column number of start column (optional)
Column number of end column (optional)
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
02.98
representation
 Siemens AG 2000. All rights reserved
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents