13.07.2015 Views

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Operation2.5. Data TypesData types include the following:Table 2.7 – Data TypesType Name Description Data FormatINTDINTSignedIntegerDoublePrecisionSignedIntegerSigned integers use 16–bit memory datalocations, and are represented in 2’scomplement notation. The valid range of anINT data type is —32,768 to +32,767.Double precision signed integers are storedin 32–bit data memory locations (actuallytwo consecutive 16–bit memory locations)and represented in 2’s complementnotation. (Bit 32 is the sign bit.) The validrange of a DINT data type is—2,147,483,648 to +2,147,483,867.BIT Bit A Bit data type is the smallest unit ofmemory. It has two states, 1 or 0. A BITstring may have length N.BYTE Byte A Byte data type has an 8–bit value. Thevalid range is 0 to 255 (0 to FF inhexadecimal).WORDBCD–4Four–DigitBinaryCodedDecimalA Word data type uses 16 consecutive bitsof data memory; but, instead of the bits inthe data location representing a number, thebits are independent of each other. Each bitrepresents its own binary state (1 or 0), andthe bits are not looked at together torepresent an integer number. The validrange of word values is 0 to FFFF.Four–digit BCD numbers use 16–bit datamemory locations. Each BCD digit usesfour bits and can represent numbersbetween 0 and 9. This BCD coding of the16 bits has a legal value range of 0 to 9999.Register 1S|16 1(16 bit positions)Register 2Register 1S|32 17 16 1(Two’s Complement Value)Register 116 1Register 14 | 3 | 2 | 116 13 9 5 1(16 bit positions)(4 BCD digits)REALFloating-PointS = Sign bit (0 = positive, 1 = negative).Real numbers use 32 consecutive bits (actuallytwo consecutive 16-bit memorylocations). The range of numbers that canbe stored in this format is from± 1 .401298E-45 to ± 3.402823E+38.Refer to Appendix E, “Using Floating-Point Numbers,” for IEEE format.Register 2Register 1S|32 17 16 1(Two’s Complement Value)ALS 52102 c–en <strong>Alspa</strong> <strong>C80</strong>–<strong>35</strong>, <strong>C80</strong>–25 and <strong>C80</strong>–05 <strong>PLC</strong>s Reference ManualPage 2–21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!