Rockwell-automation 1771-DB Basic Module User Manual - Series A Instrukcja Użytkownika Strona 143

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 167
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 142
Chapter 7
Data Types
This chapter describes the data types and formats used by the BASIC
Module Data Conversion CALL routines. After reading this chapter you
should be able to interpret and manipulate the data values generated by
your module.
Converted data is exchanged with programmable controllers using
block-transfers. You can generate the following data types with the BASIC
Module:
16-bit binary (XXXX)
3-digit, signed, fixed decimal BCD (" XXX.)
4-digit, unsigned, fixed decimal BCD (XXXX.)
4-digit, signed, octal (" XXXX)
6-digit, signed, fixed decimal BCD (" XXXXXX.)
3.3-digit, signed, fixed decimal BCD (" XXX.XXX)
This value requires one word of the processor data table. The data is
represented by 16 straight binary bits (figure 7.1). The value ranges from 0
to 65,535. No sign, overflow or underflow bits are affected or decoded. If
you use a value larger than 65,535 or a negative number you get a BAD
ARGUMENT error.
Figure
7.1
16 Bit Binary W
ord (4 digit hex)
7.1
Chapter Objectives
7.2
Output Data Types
7.2.1
16-bit Binary (4 Hex Digits)
Przeglądanie stron 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 166 167

Komentarze do niniejszej Instrukcji

Brak uwag