The leader in industrial automation and control solutions

What is a WORD?

Tags:

  • HMI
  • PLC
  • Feature
  • hmi5000
  • FAQ
  • cMT

In EasyBuilder Pro, a WORD refers to the size of the data type configured for the system. This is the standard size used to store data in registers and memory locations within the system. Our LW, PLW, RW, RW_A, EM0-15, RECIPE, RWI, PRW registers store WORDs into addresses.

Naming rules for variables inside the Macro Workspace is as shown:

Variable TypeDescriptionRange
bool (boolean)1 bit (discrete)0, 1
char (character)8 bits (byte)+127 to -128
unsigned char8 bits (byte)0 to 255
short (short integer)16 bits (word)+32767 to -32768
unsigned short (short integer)16 bits (word)0 to 65535
int (integer)32 bits (double word)+2147483647 to -2147483648
float (floating point)32 bits (double word)+2147483647 to -2147483648
unsigned int32 bits (double word)0 to 4,294,967,295
long (long integer)64 bits (four words)+281474976710655 ~ -281474976710655
unsigned long (long integer)64 bits (four words)0 ~ 281474976710655
double64 bits (four words)0 ~ 281474976710655

Content created by Support Team