Chapter 6: Registers; Register Definitions; Useful %S And %Sr Registers - HORNER APG EXL10 OCS User Manual

Table of Contents

Advertisement

CHAPTER 6:
6.1

Register Definitions

When programming the EXL10 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.
%AI = Analog Input
%AQ = Analog Output
%D = Display Bit
%I = Digital Input
%K = Key Bit
%M = Retentive Bit
%Q = Digital Output
%R = General Purpose
Register
%S = System Bit
%SR = System Register
%T = Temporary Bit
6.2

Useful %S and %SR registers

Register
%S1
%S2
%S3
%S4
%S5
%S6
%S7
%S8
%S9
%S10
%S11
%S12
%S13
t h
A p r i l 2 4
, 2 0 2 0
REGISTERS
Table 6.1 - Types of Registers found in the EXL10 OCS
16-bit input registers used to gather analog input data such as voltages,
temperatures, and speed settings coming from an attached device.
16-bit output registers used to send analog information such a voltages, levels or
speed settings to an attached device.
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.
Single-bit flags used to give the programmer direct access to any front panel keys
appearing on a unit.
Retentive single-bit registers.
Single-bit output registers. Typically, these bits are connected to an actuator,
indicator light or other physical outputs.
Retentive 16-bit registers.
Single-bit bit coils predefined for system use.
16-bit registers predefined for system use.
Non-retentive single-bit registers.
Table 6.2 – Common %S Register Definitions
Name
FST_SCN
NET_OK
T_10MS
T_100MS
T_1SEC
IO_OK
ALW_ON
ALW_OFF
PAUSING_SCN
RESUMED_SCN
FORCE
FORCE_EN
NET_IO_OK
MAN1029-08-EN_EXL10_UserManual
Description
Indicate First Scan
Network is OK
10mS timebase
100mS timebase
1 second timebase
I/O is OK
Always ON
Always OFF
Pause 'n Load soon
Pause 'n load done
I/O being forced
Forcing is enabled
Network I/O is OK
P a g e 47 | 191

Advertisement

Table of Contents
loading

Table of Contents