
XL7 User Manual
CHAPTER 14: REGISTERS
14.1 Register Definitions
When programming the XL7 OCS, data is stored in memory that is segmented into different types. This
memory in the controller is referred to as registers. Different groups of registers are defined as either
bits or words (16 bits). Multiple registers can usually be used to handle larger storage requirements.
For example 16 single bit registers can be used to store a Word or two 16 bit registers can be used to
store a 32-bit value.
Table 14.1 - Types of Registers found in the XL7 OCS
%AI Analog Input
16-bit input registers used to gather analog input data such as voltages,
temperatures, and speed settings coming from an attached device
%AQ Analog Output
16-bit output registers used to send analog information such a voltages, levels or
speed settings to an attached device
%D Display Bit
These are digital flags used to control the displaying of screens on a unit which has
the ability to display a screen. If the bit is SET, the screen is displayed
Single-bit input registers. Typically, an external switch is connected to the registers
%K Key Bit
Single-bit flags used to give the programmer direct access to any front panel keys
appearing on a unit
Retentive single-bit registers
%Q Digital Output
Single-bit output registers. Typically, these bits are connected to an actuator,
indicator light or other physical outputs
%R General Purpose Register
Retentive 16-bit registers
Single-bit bit coils predefined for system use
16-bit registers predefined for system use
Non-retentive single-bit registers
14.2 Useful %S and %SR registers
Table 14.2 – Common %S Register Definitions
Ethernet COM module is OK
Table 14.3 – %SR Registers
Current User Screen Number
Current Alarm Screen Number (0=none)
Current System Screen Number (0=none)
Bit-Mapped Self-Test Result
Control Station Mode (0=Idle, 1=Do I/O, 2=Run)
Page 74 of 110
Comentarios a estos manuales