Rockwell-automation 1771-DB Basic Module User Manual - Series A Manuel d'utilisateur Page 143

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 167
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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)
Vue de la page 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 166 167

Commentaires sur ces manuels

Pas de commentaire