Rockwell-automation 1771-DB Basic Module User Manual - Series A Manuale Utente Pagina 143

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 167
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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)
Vedere la pagina 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 166 167

Commenti su questo manuale

Nessun commento