User manual
44 Publication LOGIX-AP010B-EN-P - May 2010
Chapter 2 Software Conversions - Program Structure
There is no address field in RSLogix 5000 software so the internal registers can
be given any name as defined by the user. An example is shown below.
This can be used in the controller logic to perform a comparison as shown
below.
Data Blocks
In S5, controller data blocks are often used to store the various data elements
relating to a device type such as a pump, motor or valve. Some S5 controllers
also have extended data blocks (DX) that store data in a similar manner to
ordinary data blocks.
The members of the data blocks can be of various data types:
Data Type Description
KM for a binary pattern (16 bits)
KY for two absolute numbers, one byte each, each in the 0 to 255 range
KH for a hexadecimal pattern with a maximum of four digits
KS for two alphanumeric characters
KT for timer value (BCD coded) units .0 to .3 and values 0 to 999
KC for a counter value 0 to 999