System Register Tables

See also: Tools and Help in Cscape

 

Topic Menu

 

For I/O Register Maps for individual controllers, refer to the Horner website Document Search page.

 

There are two types of System Registers that may be used during programming. %S registers indicate the status of several system operations. %SRClosed 16-bit registers predefined for system use. registers indicate the state of many system operations and can be used to control them in several cases. Some of the system registers have predefined I/O names, though they may still be changed if desired.

 

Register Definitions

When programming the an 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.

Types of Registers

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

%I = Digital Input

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.

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

%R = General Purpose Register

Retentive 16-bit registers.

%S = System Bit

Single-bit bit coils predefined for system use.

%SR = System Register

16-bit registers predefined for system use.

%T = Temporary Bit

Non-retentive single-bit registers.

 

Return to the Top: System Register Tables

 

%S Registers

S#

Name

Predefined I/O Name

Notes

%S1

First Scan

FST_SCN

On for 1 scan only each time the program is first run

%S2

Network OK

NET_OK

If on, the Network is OK

%S3

10ms pulse

T_10MS

Cycling pulse that is high for 5ms and low for 5ms

%S4

100ms pulse

T_100MS

Cycling pulse that is high for 50ms and low for 50ms

%S5

1 second pulse

T_1SEC

Cycling pulse that is high for 500ms and low for 500ms

%S6

I/O OK

IO_OK

If on, the I/O system is OK

%S7

Always On

ALW_ON

This bit is always on

%S8

Always OFF

ALW_OFF

This bit is always off

%S9

Pause Scan

PAUSING_SCN

On for at least 1 scan prior to Pause 'n Load

%S10

Resume Scan

RESUMED_SCN

On for 1 scan only after Pause 'n Load is done

%S11

Forcing Present

FORCE

If on, I/O is presently being forced

%S12

Forcing Enabled

FORCE_EN

If on, I/O forcing is been enabled

%S13

Net I/O OK

NET_IO_OK

If on, Network I/O is OK

 

Return to the Top: System Register Tables

 

%SR Registers

%SR registers are special word-length registers that display and/or control system operations in the controller. Not all controllers support all defined system registers. Click on the name of the register to see more information on that register.

SR #

Name and Description

Default I/O Name

Min - Max Values

Program (Read/Write)

Display (Read/Write)

%SR1

User Screen Number (0=none)

*Excludes RCC Units

USER_SCR

0 to 1023

Read/Write

Read/Write

%SR2

Alarm Screen Number

*Excludes RCC Units

ALRM_SCR

0 to 1-23

Read Only

Read Only

%SR3

System Screen Number

1 = Main System Menu

2= Set Network ID, Network Status, (%SR29)

3= Set Network Baud (%SR30)

4= Set Contrast (%SR32)

5= View OCS Status

6= View OCS Diagnostics

7= View I/O Slots

8= Set Function Key Mode (%SR33)

9= Set Serial Ports (%SR34)

10= Set Time/Date (%SR44-%SR50)

11= Set Beeper (%SR183)

12= Set Screen (%SR185)

13= Removable Media

14= View Protocols

15= IP AddressClosed IP Address - Internet Protocol - This is the address of a device on an Ethernet or Wi-Fi network. Horner controllers currently use IPv4 standards with addresses consisting of 4 numbers, or octets, separated by decimal points. (ETN I/O Board)

16= Fail Safe System

17= Backup / Restore Data

18= Enable AutoRun

19= Enable AutoLoad

20= Clone Unit -

21= Touch Calibration

24= License Details

*Excludes RCC Units

SYS_SCR

0 to 24

Read/Write

Read/Write

%SR4

Self Test Results

SELF_TEST

 

Read Only

Read Only
%SR4.1 Self Test Results - BIOS Error    

Read Only

Read Only
%SR4.2 Self Test Results - Engine Error    

Read Only

Read Only
%SR4.3 Self Test Results - Ladder Error    

Read Only

Read Only
%SR4.4 Self Test Results - RAM Error    

Read Only

Read Only
%SR4.5 Self Test Results - Duplicate ID Error    

Read Only

Read Only
%SR4.6 Self Test Results - Bad ID Error    

Read Only

Read Only
%SR4.7 Self Test Results - I/O Configuration Error    

Read Only

Read Only
%SR4.8 Self Test Results - Bad Network Error    

Read Only

Read Only
%SR4.9 Self Test Results - Bad Logic Error    

Read Only

Read Only
%SR4.10 Self Test Results - Bad Clock Error    

Read Only

Read Only
%SR4.11 Self Test Results - DeviceNet Error    

Read Only

Read Only
%SR4.12 - 16 Reserved        

%SR5

Control Station Mode

0= Idle

1= Do I/O

2= Run

3= Online Change

*Supported in XL, X5, and RCC units only

CS_Mode

0 to 3

Read Only

Read/Write

%SR6

Average Scan Rate ms ( / 10)

 

 

Read Only

Read Only

%SR7

Minimum Scan Rate ms ( / 10)

 

 

Read Only

Read Only

%SR8

Maximum Scan Rate ms ( / 10)

 

 

Read Only

Read Only

%SR9

Current Touch Pressure

TCH_PRESSURE

0 to 3000

Read Only

Read Only

%SR10

Threshold Touch Pressure

TCH_PRESSURE_TSH

0 to 3000

Read/Write

Read/Write

%SR11-12

Ladder Size (32-Bit DINTClosed Double Integer - [Data Type DINT] - A 32-bit signed value. Double Integers are used where the value of the data is expected to be in the range of -2,147,483,648 to +2,147,483,647.)

 

 

Read Only Read Only

%SR13-14

User Text Screen Size (32-Bit DINT)

*Excludes RCC Units

 

 

Read Only Read Only

%SR15-16

System Text Screen Size (32-Bit DINT)

*Excludes RCC Units

 

 

Read Only Read Only
%SR17-18 I/O Configuration Table Size (32-Bit DINT)

 

 

Read Only Read Only
%SR19-20 Network Config Table Size (32-Bit DINT)

 

 

Read Only Read Only
%SR21-22 Security Data Table Size (32-Bit DINT)

 

 

Read Only Read Only
%SR23 Ladder Code CRC

 

 

Read Only Read Only
%SR24 User Text CRC

 

 

Read Only Read Only
%SR25 System Text CRC

 

 

Read Only Read Only
%SR26 I/O Configuration Table CRC

 

 

Read Only Read Only
%SR27 Network Configuration Table CRC

 

 

Read Only Read Only
%SR28 Security Data Table CRC

 

 

Read Only Read Only
%SR29 Network IDClosed Usually refers to the ID of the device on a supported CAN, such as CsCAN, CANopen, etc. Each device must have a unique network ID. Also called Node ID. NET_ID

 

Read Only

 

 

Read/Write
CsCANClosed Horner APG's proprietary network protocol that runs on the Bosch CAN network specifications. Prior to the advent of the OCS. Mode

1 to 253

DeviceNet Mode

0 to 63

CANopen Mode

1 to 127

%SR30

Network Baud Rate

0=125KB

1= 250kB

2= 5000KB

3= 1MB

4=50K

 

0 to 4

Read Only

 

 

Read/Write
%SR31

Network Required

0= Network not required

1= Network required;

2= Network optimized;

3= Network required and optimized

 

0 to 3

Read Only

Read Only
%SR32

LCD Display Contrast setting

*Excludes RCC Units

  0 to 255 Read Only Read/Write
%SR33

Function Key Toggle Mode

0= Momentary

1= Toggle

*Excludes RCC Units

  0 to 1 Read/Write Read/Write
%SR34

RS232 Serial Protocol Mode

0= Firmware Update (RISM)

1= CsCAN Closed Horner APG's proprietary network protocol that runs on the Bosch CAN network specifications. Prior to the advent of the OCS.

2= Generic (Ladder- Controlled)

3= Modbus RTUClosed RTU - Remote Terminal Unit - A microprocessor-based device that monitors and controls field devices, that then connects to plant control or SCADA (supervisory control and data acquisition) systems.

4= Modbus ASCIIClosed ASCII - American Standard Code for Information Interchange - ASCII-coded characters are single-byte values in the range of 0 (zero) to 127. Codes in the range 128 to 255 are not defined by the ASCII standard, but rather by the equipment manufacturer.

    Read Only Read Only
%SR35-36

Unique Serial Number / HexadecimalClosed A base-16 numbering system which uses the symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F for numeral.

l LAN1 MAC IDClosed MAC ID - Media Access Control - Where IP addresses are associated with TCP/IP (networking software), MAC addresses are linked to the hardware of network adapters. A MAC address is a hardware identification number that uniquely identifies each device on a network.

 

  Read Only Read Only
%SR37 Model Number     Read Only Read Only
%SR38 Engine Version ( /100)

 

 

Read Only Read Only
%SR39 BIOS Rev Number ( / 100)

 

 

Read Only Read Only
%SR40 FPGA Image Rev Number ( / 10)

 

 

Read Only Read Only
%SR41

Vertical Pixel Count

*Excludes RCC Units

 

 

Read Only Read Only
%SR42

Horizontal Pixel Count

*Excludes RCC Units

 

 

Read Only Read Only
%SR43

Keypad Type

*Excludes RCC Units

 

 

Read Only Read Only
%SR44 Real-Time-Clock Second

RTC_SEC

0 to 59 Read Only Read Only
%SR45 Real-Time-Clock Minute

RTC_MIN

0 to 59 Read Only Read Only
%SR46 Real-Time-Clock Hour

RTC_HOUR

0 to 23 Read Only Read Only
%SR47 Real-Time-Clock Date

RTC_DATE

1 to 31 Read Only Read Only
%SR48 Real-Time-Clock Month

RTC_MONTH

1 to 12 Read Only Read Only
%SR49 Real-Time-Clock Year

RTC_YEAR

1996 to 2095 Read Only Read Only
%SR50 Real-Time-Clock Day (1=Sunday)

RTC_DAY

1 to 7 Read Only Read Only
%SR51 Network Error Count     Read Only Read Only
%SR52 Watchdog-Tripped Error Count     Read Only Read Only
%SR53-54 Reserved        
%SR55.13 Self-Test: Battery Low or Missing     Read Only Read Only
%SR56

Key Currently Pressed

No key = 0 (No key pressed since power-up) F1 = 1

F2= 2

F3= 3

F4 = 4

F5= 5

F6= 6

F7=7

F8= 8

F9= 9

F10 = 10

F11= 11

F12 = 12

Enter = 13

+/ - = 14

. (dot) = 15

0 = 16

1 = 17

2 = 18

3 = 19

4 = 20

5 = 21

6 = 22

7= 23

8 = 24

9 = 25

System = 26

Escape = 27

Left = 28

Right = 29

Up = 30

Down = 31

Shift = 32

Soft Key 1 = 34

Soft Key 2 = 35

Soft Key 3 = 36

Soft Key 4 = 37

Soft Key 5 = 38

Soft Key 6 = 39

Soft Key 7 = 40

Soft Key 8 = 41

Release = 255 (Keys pressed since power-

up but not currently)

*Excludes RCC Units

LAST_KEY 0 to 255 Read Only Read Only
%SR57

LCD Backlight Dimmer Register

0-100 = 0% to 100% On

100-255 = 100% On

*Excludes RCC Units

  0 to 255 Read Only Read Only
%SR57.16

Temporarily disable Screen Saver

*Excludes RCC Units

   

Read/Write

Read/Write
%SR58 User LEDs

USER_LEDS

 

Read/Write

Read/Write
%SR59

Engine Build Number

(Only last three numbers displayed)

 

 

Read Only Read Only
%SR60

Build Option

Build Test = 0

Build Beta = 1

Build Product = 2

  0 to 2 Read Only Read Only
%SR61 Number of CsCANClosed Horner APG's proprietary network protocol that runs on the Bosch CAN network specifications. Prior to the advent of the OCS. Network IDs

NUM_IDS

 

Read Only Read Only
%SR62-100 Reserved

 

 

 

 
%SR101.3

WebMI License Details – WebMI server status

*XLEe, XLTe, X2, X4, X7 & X10

 

 

Read Only Read Only
%SR101.4

WebMI License Details – WebMI user logged in status

*XLEe, XLTe, X2, X4, X7 & X10

 

 

Read Only Read Only
%SR101.8 - 101.16

WebMI License Details – Number of users

*XLEe, XLTe, X2, X4, X7 & X10

 

 

Read Only Read Only
%SR102 - 103 Reserved

 

 

 

 

%SR104-5

For security enabled PGM/Clone files enter password of current program running in the controller

 

 

Read/Write

Read/Write

%SR106-7

For security enabled PGM/Clone files enter password of program file that to be loaded in the controller.

 

 

Read/Write

Read/Write

%SR108

WebMI License Details – Number of webpages

*XLEe, XLTe, X2, X4, X7 & X10

 

 

Read Only Read Only
%SR109 WebMI License Details – Number of datapoints

*XLEe, XLTe, X2, X4, X7 & X10

 

 

Read Only Read Only
%SR110-112

WebMI License Details – Expiry date of WebMI license

*XLEe, XLTe, X2, X4, X7 & X10 only

 

 

Read Only Read Only
%SR113-130 Reserved

 

 

 

 
%SR131-135 OCS Model: ASCII, 10 characters

 

 

Read Only Read Only
%SR136 Communication Download Timeout

 

 

Read Only Read Only
%SR137 Communication Idle Timeout

 

 

Read Only Read Only
%SR138-148 Reserved

 

     
%SR149-150

Free-running 10kHz count: 1 count = 0.1ms

(32-Bit DINT)

 

 

Read Only Read Only
%SR151 Reserved

 

 

 

 
%SR152 RS-485Closed An EIA standard that specifies electrical characteristics of drivers and receivers for use in serial communications. Electrical signaling is balanced and multipoint systems are supported. Termination

 

 

Read/Write

Read/Write
%SR152.1

MJ2 Termination Enable

*Excludes RCC972

   

Read/Write

Read/Write
%SR152.2

MJ3 Termination Enable

*XL+ Only

 

RS485 Termination Enable

* X4, X7 & X10 Only

 

 

Read/Write

Read/Write
%SR152.3

MJ1 Termination Enable

*XL15+, XLE, XLT, RCC2414 Only

 

 

Read/Write

Read/Write
%SR152.4

MJ1 Biasing - *XL15+ Only

 

CAN Termination Enable - *X4, X7 & X10 Only

 

 

Read/Write

Read/Write

%SR152.6

CANVAS Only Setting True saves the currently loaded program as PGM file in the Micro SD card as “DEFAULT.PGM”.

 

 

Read/Write Read/Write

%SR152.7

CANVAS Only Setting True loads, the “DEFAULT.PGM” file located in Micro SD card.

 

 

Read/Write Read/Write
%SR153 - 163 Reserved

 

 

 

 
%SR164 FailSafe / clone

 

 

 

 
%SR164.1 RS485 Port Biasing #1 (MJ1 or MJ2)     Read/Write Read/Write
%SR164.2 RS485 Port Biasing #2 (MJ2 or MJ3)     Read/Write Read/Write
%SR164.3

Indicates Automatic Restore Operation

has been performed

AUTO_RESTRD   Read Only Read Only
%SR164.4 Indicates Backup of Registers has been taken BCKUP_TAKN   Read Only Read Only
%SR164.5

Enable AUTORUN – Sets “Enable AutoRun” to “Yes” or “No”

EN_AUTO_LD   Read/Write Read/Write
%SR164.6

Enable AUTOLOAD – Sets “Enable AutoLoad” to “Yes” or “Not”

EN_AUTO_LD   Read/Write Read/Write
%SR164.7

Start Backup trigger bit –

Setting TRUE starts backup of all register data

STRT_BCKUP   Read/Write Read/Write
%SR164.8

Clear Backup trigger bit – Setting TRUE

clears backup of all register data

(if a backup was done previously)

CLR_BACKUP   Read/Write Read/Write
%SR164.9

MAKE_CLONE trigger bit =

Setting TRUE does a Load Clone

(if a media card is present)

MAKE_CLONE   Read/Write Read/Write
%SR164.10

LOAD_CLONE trigger bit –

Setting TRUE does a LOAD CLONE

(if a media card is present that contains clone files)

LOAD_CLONE   Read/Write Read/Write
%SR164.11

Make Clone Fail

(This bit goes high when Make/Create Clone fails)

MK_CLN_FL   Read/Write Read/Write
%SR164.12

Load Clone Fail

(This big goes high when Load Clone fails)

LD_CLN_FL   Read/Write Read/Write
%SR164.14

Set to 1 to restore data manually,

and this in turn sets %SR164.15 to 1.

Set to 0 to abort restore operation.

*RCC Units Only

 

 

Read/Write Read/Write
%SR164.15

Set to 1 for manual restore of data.

Set to 0 to complete the restore operation.

*RCC Units Only

 

 

Read/Write Read/Write
%SR165-166 Reserved

 

 

 

 
%SR167

Screen Update Time, Default= 5

*X4, X7 & X10 Only – Default = 10

 

2 to 50

Read/Write Read/Write
%SR168-170 Reserved

 

 

 

 
%SR171 X-Coordinate Touched

 

 

Read Only

Read Only
%SR172 Y-Coordinate Touched

 

 

Read Only

Read Only
%SR173 System-Function Disable   0 to 1 Read/Write Read/Write
%SR174 Removable Media Protect     Read/Write Read/Write
%SR174.1 Request Media Card be Removed     Read/Write Read/Write
%SR174.2 Indicates safe to remove Media Card     Read/Write Read/Write
%SR175 Removable Media - Status    

Read Only

Read Only
%SR176-177 Removable Media Free Space (32-Bit DINT)    

Read Only

Read Only
%SR178-179 Removable Media Total Space (32-Bit DINT)    

Read Only

Read Only
%SR180 Reserved        
%SR181

Bits 1-16 indicate Unacknowledged in Alarm Groups 1-16

ALM_UNACK  

Read Only

Read Only
%SR182 Bits 1-16 indicate Active in Alarm Groups 1-16 ALM_ACT  

Read Only

Read Only
%SR183

Beep on Keypress Enable

0= Disabled

1= Enabled

SYS_BEEP 0 to 1 Read/Write Read/Write
%SR184

Internal Beeper

0=OFF

1=ON

USER_BEEP 0 to 1 Read/Write Read/Write
%SR185

Screen Saver Enabled

0= Disabled

1= Enabled

NOTE: See %SR57.16

  0 to 1

Read Only

Read Only
%SR186 Screen Saver Time in minutes (delay)   5 to 1200

Read Only

Read Only
%SR187 Network Usage (Avg) NET_USE 0 to 1000

Read Only

Read Only
%SR188 Network Usage (Min)   0 to 1000

Read Only

Read Only
%SR189 Maximum Net Usage of all units on the CAN network   0 to 1000

Read Only

Read Only
%SR190 Network TX Usage % ( / 10) (Avg) NT_TX_AVG 0 to 1000

Read Only

Read Only
%SR191 Network TX Usage % ( / 10) (Min)

 

0 to 1000

Read Only

Read Only
%SR192 Network TX Usage % ( / 10) (Max)

 

0 to 1000

Read Only

Read Only
EXTENDED SYSTEM REGISTERS
%SR193 Online Change

ONLINE_CHG

 

 

 
%SR193.1 TRUE if 2 programs in target FLASH    

Read Only

Read Only
%SR193.2 TRUE to switch programs, FALSE when complete    

Read Only

Read Only
%SR193.3 TRUE if executing program is temporary test    

Read Only

Read Only
%SR193.4 TRUE during last scan of switched-from program    

Read Only

Read Only
%SR193.5 TRUE during first scan of switched-to program    

Read Only

Read Only
%SR193.6

TRUE to revert to FLASH and delete all RAM;

FALSE when complete

   

Read Only

Read Only
%SR193.9 TRUE if error in temporary program    

Read Only

Read Only
%SR194

Battery Charge Temp Low

*XL15+ Only – Frequency in MHz

   

Read Only

Read Only
%SR195

Battery Charge Temp High

*XL15+ Only – in degree centigrade

   

Read Only

Read Only
%SR196

Charging State

 

NOTE: Refer to MAN1142 for more details

on Rechargeable Batteries

 

0=Waiting

1=Normal Charging

2=Hot Charge

3=Hot Charge

4= Battery Hot

5= Cold Charge

6=Battery Cold

7=No Battery

8= Not Charging (after 8 hours of charging)

9= CPU Hot, not charging

10 Battery voltage <2V, not charging

11= First 2 minutes Init Wait (Not Charging)

  0 to 11

Read Only

Read Only
%SR197 Charging Current Max mA    

Read Only

Read Only
%SR198 Battery Voltage is mV    

Read Only

Read Only
%SR199 Reserved        
%SR200 InitRD Version ( /100)    

Read Only

Read Only
%SR201 - 205 Linux Kernel version: ASCII, 10 characters    

Read Only

Read Only
%SR206-208 Reserved        
%SR209.3 WebMI Server Status. Bit 3 is ON if server running.    

Read Only

Read Only
%SR209.4

WebMI User Logged in Status.

Bit 4 is ON if 1 or more users logged in.

   

Read Only

Read Only
%SR209.8 - 209.14

Number of Users.

Shows in upper byte in decimal format.

   

Read Only

Read Only
%SR210

Time Zone: set in minutes + / - UTCClosed The primary time standard by which the world regulates clocks and time..

(Ex: EST is -4 hours = -240 minutes)

    Read/Write Read/Write
%SR211

Daylight Saving: YES = 1

Daylight Saving: NO = 0

(If daylight saving is enabled,

one hour will be added to the local time).

    Read/Write Read/Write
%SR212 UTCClosed The primary time standard by which the world regulates clocks and time. - Seconds    

Read Only

Read Only
%SR213 UTC - Minutes    

Read Only

Read Only
%SR214 UTC - Hours    

Read Only

Read Only
%SR215 UTC - Date    

Read Only

Read Only
%SR216 UTC - Month    

Read Only

Read Only
%SR217 UTC - Year    

Read Only

Read Only
%SR218

Number of Webpages, license detail

(XLE/XLT, X2, X4, X7 & X10 use %SR101 &

%SR108-112 for WebMI License Details.)

   

Read Only

Read Only
%SR219

Number of Data Points, license detail.

(XLE/XLT, X2, X4, X7 & X10 use %SR101 &

%SR108-112 for WebMI License Details)

   

Read Only

Read Only
%SR220-222

Expiration Date of WebMI License, license detail.

(XLE/XLT, X2, X4, X7 & X10

use %SR101 & %SR108-112 for

WebMI License Details)

   

Read Only

Read Only

For I/O Register Maps for individual controllers, refer to the Horner website Document Search page.

 

Return to the Top: System Register Tables