View Single Post
Old February 16th, 2005, 04:59 PM   #8
BobB
Lifetime Supporting Member
Australia

BobB is online now
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,284
Talking

Apologies. Forgot to get back with some details. Really busy.

Here are some typical IEC type addresses

BOOL - bit address
WORD - word address (16 bit)
DWORD - double word address (32 bit)
LWORD - long word address (64 bit)
INT - signed integer (16 bit) - most significant bit is the sign - (1 = -, 0 = +)
UINT - unsigned integer (16 bit)
DINT - signed double integer (32 bit) - most significant bit is the sign - (1 = -, 0 = +)
UDINT - unsigned double integer (32 bit)
LINT - long signed integer (64 bit) - most significant bit is the sign - (1 = -, 0 = +)
ULINT - long unsigned integer (64 bit)
UINT-BCD - unsigned integer BCD (16 bit - 0-9999)
UDINT-BCD - unsigned double integer BCD (32 bit - 0-99999999)
ULINT-BCD - unsigned long integer BCD (64 bit - 0-999999999999)
REAL - 32 bit floating point maths (IEC format) most significant bit is sign, next 8 bits are exponant, remaining 23 bits are mantissa with an assumed 1.0
LREAL - 64 bit floating point maths (IEC format)

Hope this helps.
__________________
The Old Pfhaart

  Reply With Quote