beautypg.com

Chapter 13 : registers, Chapter 13: registers – Horner APG XLt OCS User Manual

Page 67

background image

MAN0878-04-EN CH. 13

August 12, 2009

Page 67 of 100

ECN # 979

CHAPTER 13: REGISTERS



13.1 Register

Definitions


When programming the XLe/XLt, 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.

Below is a list of the type of registers found in the XLe/XLt.

%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.

%AIG Global Analog Input
Specially defined 16-bit input registers that come from the network.

%AQG Global Analog Output
Specially defined 16-bit output registers that go to the network.

%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.

%I Digital Input
Single-bit input registers. Typically, an external switch is connected to the registers.

%IG Global Digital Input
Specially defined single-bit inputs that come from the network.

%K Key Bit
Single-bit flags used to give the programmer direct access to any front panel keys appearing on a unit.

%M Retentive Bit
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.

%QG Global Digital Output
Specially defined single-bit outputs that go to the network.

%R General Purpose Register
Retentive 16-bit registers.

This manual is related to the following products: