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)
UINTBCD  unsigned integer BCD (16 bit  09999)
UDINTBCD  unsigned double integer BCD (32 bit  099999999)
ULINTBCD  unsigned long integer BCD (64 bit  0999999999999)
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
