Denso BHT-200QW Dokumentacja Strona 366

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 365
358
16.4 Calculating a CRC (CRC.FN3)
16.4.1 Function Number List of CRC.FN3
The CRC.FN3 may calculate a CRC depending upon the function number specified, as listed
below.
Function number Used to:
.fcCcitt
2
Calculate a CRC-CCITT.
.fcCrc16
3
Calculate a CRC-16.
16.4.2 Detailed Function Specifications
.fcCcitt(=2) Calculate a CRC-CCITT
Syntax:
CALL "CRC.FN3" .fcCcitt STRING1$, [ STRING2$, [...,]] CRC$
Description:
This function calculates a CRC of character strings specified by
STRING1$, STRING2$, ...STRING8$ and returns the calculation result
in CRC$.
Up to eight character strings may be specified by assigning them to
non-array string variables.
Parameter:
STRING1$, STRING2$, ...STRING8$
Non-array string variables that are operands of CRC gen-eration
Returned value:
CRC$ Non-array string variable that stores the calculation result
(2 characters, fixed length. In the 1st character position is
the upper byte of the calculation result.)
.fcCrc16(=3) Calculate a CRC-16
Syntax:
CALL "CRC.FN3" .fcCrc16 STRING1$, [ STRING2$, [...,]] CRC$
Description:
This function calculates a CRC of character strings specified by
STRING1$, STRING2$, ...STRING8$ and returns the calculation result
in CRC$.
Up to eight character strings may be specified by assigning them to
non-array string variables.
Parameter:
STRING1$, STRING2$, ...STRING8$
Non-array string variables that are operands of CRC gen-eration
Returned value:
CRC$ Non-array string variable that stores the calculation result
(2 characters, fixed length. In the 1st character position is
the upper byte of the calculation result.)
Przeglądanie stron 365
1 2 ... 361 362 363 364 365 366 367 368 369 370 371 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag