· In brief PLC memory works like the memories in a pocket calculator. The values below are for a PLC-5, although most Allen-Bradley PLCs have a similar structure.
· These memory locations are typically word oriented (16 bits, or 2 bytes). This includes the bit memory. But the T4, C5, R6 data files are all three words long.
· All values are stored and used as integers (except when specified, eg. floating point). When integers are stored in binary format 2's complements are used to allow negative numbers. BCD values are also used.
· There are a number of ways the PLC memory can be addressed,
· For the user assigned data files from 9 to 999 different data types can be assigned. These can be one of the data types already discussed, or another data type.