Page 1
User Manual for XL7/XL7 PRIME OCS MAN0974-13-EN_XL7_XL7P_UM XL7 PRIME North America Europe North America Europe HE-XW1E0 HEXT391C100 HE-XPW1E0 HEXP391C100 HE-XW1E2 HEXT391C112 HE-XPW1E2 HEXP391C112 HE-XW1E3 HEXT391C113 HE-XPW1E3 HEXP391C113 HE-XW1E4 HEXT391C114 HE-XPW1E4 HEXP391C114 HE-XW1E5 HEXT391C115 HE-XPW1E5 HEXP391C115 HE-XW1E6 HEXT391C116 HE-XPW1E6 HEXP391C116...
Due to the many variables and requirements associated with any particular installation, Horner APG cannot assume responsibility or liability for actual use based on the examples and diagrams. It is the sole responsibility of the system designer utilizing the XL7/XL7 PRIME...
Each XL7/XL7 PRIME OCS unit is sent with a datasheet in the box. The datasheets are the first documents to refer to for model-specific information related to XL7/XL7 PRIME OCS models for specific installation information. To obtain updates to datasheets, manuals and user documentation, visit a Horner website. North America https://hornerautomation.com...
Page 7
MAN0974-14-EN_XL7_XL7P_UM 10.8 Configuration via Mini-B USB ....................114 CHAPTER 11: CAN COMMUNICATIONS ..................... 115 11.1 Overview ..........................115 11.2 Port Description ........................115 11.3 CAN Port Wiring ........................116 11.4 Cscape Programming via CAN ....................116 11.5 Ladder-Controlled CAN Communication ................116 11.6 Using CAN for I/O Expansion (Network I/O) ................
Page 8
MAN0974-14-EN_XL7_XL7P_UM 16.6 Video Object Performance ....................154 16.7 Web Cameras .......................... 154 CHAPTER 17: REMOVABLE MEDIA ....................155 17.1 Overview ..........................155 17.2 microSD Cards ......................... 155 17.3 microSD File System ........................ 155 17.4 Using the Removable Media Manager ................156 17.5 Using Removable Media to Log Data ..................
Page 9
MAN0974-14-EN_XL7_XL7P_UM 24.1 Connecting to the XL7/XL7 PRIME OCS ................190 24.2 Local Controller and Local I/O ..................... 192 24.3 CsCAN Network ........................193 24.4 Removable Media - Basic Troubleshooting ................. 194 24.5 USB Interfaces ........................194 24.6 Technical Support Contacts ....................194 CHANGE LOG .............................
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 1: SAFETY / COMPLIANCE Safety Warnings and Guidelines When found on the product, the following symbols specify: Warning: Electrical Shock Hazard. Warning: Consult user documentation. WARNING – EXPLOSION HAZARD – Do not disconnect equipment unless power has been switched off or the area is known to be non-hazardous WARNING: To avoid the risk of electric shock or burns, always connect the safety (or earth) ground before making any other connections.
Before each use, inspect all cables for breaks or cracks in the insulation. Replace immediately if defective. Grounding Grounding is covered in various chapters within this manual. Compliance To check for compliance and updates, visit the Horner website. North America https://hornerautomation.comhttp://www.heapg.com/ Europe http://www.hornerautomation.eu...
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 2: INTRODUCTION Visual Overview of XL7/XL7 PRIME OCS Figure 2.1 – Overview of the XL7/XL7 PRIME July 6, 2022 Page 12 | 199...
Page 13
Model 6 MAN1166 MAN1345 User Manual -This manual provides general information that is common to XL7/XL7 PRIME OCS models and can be downloaded from our web. Visit the Horner website to obtain user documentation and updates. North America https://hornerautomation.comhttp://www.heapg.com/ Europe http://www.hornerautomation.eu...
MAN0974-14-EN_XL7_XL7P_UM Connectivity to the XL7/XL7 PRIME OCS The XL7/XL7 PRIME OCS has excellent capabilities for connecting to a variety of devices. The diagram below shows some examples of devices that can be used with the XL7/XL7 PRIME OCS. Other OCS Devices Other OCS Devices Smart Stix I/O Serial...
MAN0974-14-EN_XL7_XL7P_UM Features of XL7/XL7 PRIME OCS The XL7/XL7 PRIME OCS are all-in-one industrial control devices. They combine control, user interface, I/O and networking into a single, integrated package. Unique features of the XL7/XL7 PRIME OCS include: Bright, 65,536 color graphical touch sensing LCD display in all models of XL7/XL7 PRIME. Display of complex graphical objects including trends, gauges, meters and animations.
MAN0974-14-EN_XL7_XL7P_UM Accessories Please visit the Horner Control Accessories website for communication, programming, and I/O accessories. North America http://hornerautomation.com/product-category/home/control-accessories/ Europe https://www.hornerautomation.eu/product-overview/ Useful Documents and References Visit our website to obtain user documentation, supplemental documents, certificates, and other documentation. North America https://hornerautomation.comhttp://www.heapg.com/ Europe http://www.hornerautomation.eu...
NOTE: The datasheet is the first document to refer to for model-specific information related to XL7/XL7 PRIME OCS models such as pin-outs, jumper settings, and other key installation information. Visit the Horner websites to obtain datasheets, user documentation, and updates. North America https://hornerautomation.comhttp://www.heapg.com/...
MAN0974-14-EN_XL7_XL7P_UM Once the panel design has been completed using the criteria and suggestions in the following sections, use the following steps to panel mount the XL7/XL7 PRIME OCS. Remove all connectors from the XL7/XL7 PRIME OCS unit. 1. Make sure the gasket is installed on the XL7/XL7 PRIME OCS and is free from dust and debris. Check that the corners of the gasket are secure.
Page 19
MAN0974-14-EN_XL7_XL7P_UM 3.3.2 XL7/XL7 PRIME OCS Mounting Orientation Figure 3.3 – Orientation of XL7/XL7 PRIME OCS NOTE: There are no orientation restrictions on the XL7/XL7 PRIME OCS. However, the above orientation provides for optimum readability of the screen and ease of use of the keypad. July 6, 2022 Page 19 | 199...
MAN0974-14-EN_XL7_XL7P_UM XL7/XL7 PRIME Back Cover Dimensions Standard Back Cover Dimensions: Figure 3.4 – Standard Back Cover Dimensions Extended I/O Back Cover Dimensions Figure 3.5 – Extended I/O Back Cover Dimensions July 6, 2022 Page 20 | 199...
MAN0974-14-EN_XL7_XL7P_UM Installation Procedure • The XL7/XL7 PRIME utilizes a clip installation method to ensure a robust and watertight seal to the enclosure. Please follow the steps below for the proper installation and operation of the unit. • This equipment is suitable for Class I, Division 2, Groups A, B, C and D or non-hazardous locations only.
MAN0974-14-EN_XL7_XL7P_UM Factors Affecting Panel Layout Design and Clearances WARNING: It is important to follow the requirements of the panel manufacturer and to follow all applicable electrical codes and standards. The designer of a panel layout needs to assess the requirements of a particular system and to consider the following design factors.
Page 24
MAN0974-14-EN_XL7_XL7P_UM 3.7.4 Orientation When panel-mounted, there are no orientation restrictions on the XL7/XL7 PRIME OCS. 3.7.5 Noise Consider the impact on the panel layout design and clearance requirements if noise suppression devices are needed. Be sure to maintain an adequate distance between the XL7/XL7 PRIME OCS and noisy devices such as relays, motor starters, etc.
Ideally, a ground resistance measurement from equipment to earth ground is 0Ω. In reality, it typically is higher. The U.S. National Electrical Code (NEC) states the resistance to ground shall not exceed 25Ω. Horner APG recommends less than 15Ω resistance from our equipment to ground. Resistance greater than 25Ω can cause undesirable or harmful interference to the device.
MAN0974-14-EN_XL7_XL7P_UM How to Test for Good Ground In order to test ground resistance, a Ground Resistance Tester must be used. A typical Ground Resistance Meter Kit contains a meter, two or three wire leads, and two ground rods. Instructions are supplied for either a two-point or three-point ground test.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 5: SYSTEM SETTINGS AND ADJUSTMENTS Press the upper right corner to bring out the function keys and SYSTEM key in order to access the Main Menu. System Menu - Overview The XL7/XL7 PRIME has a built-in System Menu, which lets the user view System Settings and makes adjustments.
MAN0974-14-EN_XL7_XL7P_UM System Menu – Navigation and Editing As mentioned above, the System Menu is started by pressing the System key on the XL7/XL7 PRIME. Next press ESC to exit the System Menu or use and to select an item and press Enter display the item’s Sub-Menu.
Page 30
MAN0974-14-EN_XL7_XL7P_UM Sub-Menus Sub-Menus Network Ok? Network ID Fkeys: Momentary XL7/XL7 PRIME Termination SYS-Fn enable: MAC ID: 00:E0:C4:04:C7: System Menu Map IP Address: 192.168.254.1 ( Use ↑↓ to adjust ) Network 255.255.255.0 Mask: Gateway 0.0.0.0 Dflt Pgm Port MJ1-232 NetM2: 255.255.255.0 GatW2 0.0.0.0 MJ2 RS485 Bias...
MAN0974-14-EN_XL7_XL7P_UM Set Networks This sub menu allows setting for the CAN and Ethernet network to be viewed or changed. Yes= CAN1 connected to a CAN network and functioning properly CAN Ok? No= Not ready to communicate on CAN network CAN ID 1 to 253 = This node’s CsCAN Network ID;...
MAN0974-14-EN_XL7_XL7P_UM View Status The View Status Sub-Menu displays up to 19 System Settings. Only the OCS Mode System Setting is editable. XW1yz= Model number of this XL7/XL7 PRIME OCS unit Model 1yz = indicates the installed I/O module 00 = no I/O module Idle = XL7/XL7 PRIME OCS is in Idle mode OCS Mode DoIO = XL7/XL7 PRIME OCS is in Do I/O mode...
MAN0974-14-EN_XL7_XL7P_UM View Diags The View Diags Sub-Menu displays up to 11 System Diagnostics, none of which are editable. The first two System Diagnostics are critical. If either of these indicate a Fault condition, the XL7/XL7 PRIME OCS will not enter or remain in Run mode, and the problem must be investigated and corrected. Ok = All executed ladder instructions are legal for loaded firmware Logic Error: Fault = A ladder instruction not supported by firmware was found...
MAN0974-14-EN_XL7_XL7P_UM View Battery Status The View Battery Status displays the following information. Waiting The charging system is waiting for voltages and temperatures to stabilize. Battery Charging The battery is charging. Battery Full Shows at the end of a charge cycle. Remains in this state until the battery is steadily discharging.
MAN0974-14-EN_XL7_XL7P_UM View I/O Slots The View I/O Slots Sub-Menu displays three System Settings, none of which may be edited. Internal to the XL7/XL7 PRIME OCS, there is a CPU board, and up to two installed modules. Model 0 has no installed I/O or COM modules. All other models have an I/O module and can have a user-installed COM module.
MAN0974-14-EN_XL7_XL7P_UM View Protocols The View Protocols Sub-Menu displays two System Settings, neither of which may be edited. As mentioned in 0, both the MJ1/MJ2 (Port 1) and MJ3 (Port 2) serial ports support downloadable protocols. To assign a downloadable protocol to an XL7/XL7 PRIME OCS serial port, select the Protocol Config item in Cscape’s Program menu and then set up a protocol for Port 1 or Port 2 (or both).
MAN0974-14-EN_XL7_XL7P_UM Set Fkeys Mode The Set Fkeys Sub-Menu displays two System Settings, both of which may be edited. Momentary= %K1-5 bits go On & Off as F1-F5 are pressed & released Fkeys Toggle= %K1-5 bits toggle each time F1-F4 are pressed Yes = Reset and all clear system functions enabled SYS_Fn enable No = Reset and all clear system functions disabled...
MAN0974-14-EN_XL7_XL7P_UM Set Serial Ports The Set Serial Ports Sub-Menu displays three System Settings, all of which may be edited, and one optional item. For the Dflt Pgm Port System setting, only MJ1-232 can be selected, unless a Modem (XMC) COM module is installed.
MAN0974-14-EN_XL7_XL7P_UM 5.10 Set Time/Date The following instructions are to set and display the real-time clock in the controller. More details can be found in the Help File in Cscape. Table 5.2 Clock and Time Setting Terms Coordinated Universal Time (UTC) Abbreviated to UTC, Coordinated Universal Time is the primary time standard by which the world regulates clocks and time.
Page 40
MAN0974-14-EN_XL7_XL7P_UM To Set Time Zone: The Time Zone setting is an hourly offset from UTC time. If using the Time Zone setting, set it first, then set the local time. UTC time will be automatically set based on the time zone and local time settings.
MAN0974-14-EN_XL7_XL7P_UM 5.11 Set Beeper The Set Beeper Sub-Menu displays one System Setting, which may be edited. Yes (default) = Enables beeper Beeper Enable No = Disables beeper (does NOT affect ladder access) July 6, 2022 Page 41 | 199...
MAN0974-14-EN_XL7_XL7P_UM 5.12 Set Screen The Set Screen Sub-Menu displays four System Settings, all of which may be edited. Yes = Enable screen saver Saver enable No (default) = Disable screen saver 5 - 1200 = Amount of time in minutes to expire with NO touch activity Timeout (min) before activating screen saver (black screen) Off (default) = Disable popup status...
MAN0974-14-EN_XL7_XL7P_UM 5.13 Removable Media The Removable Media Sub-Menu displays the Removable Media Manager. Having selected Removable Media from the Main Menu, one of four Sub-Menu screens will appear: Media Directory No Card = No microSD card has been installed in the memory slot Media Directory Initializing = microSD card is installed, but it is still initializing...
MAN0974-14-EN_XL7_XL7P_UM 5.14 Fail – Safe System The Fail-Safe System is a set of features that allow an application to continue running in the event of certain types of "soft" failures. These "soft" failures include: • Battery power loss • Battery-Backed Register RAM or Application Flash corruption due to, for example, an excessive EMI, Electromagnetic Interference, event.
MAN0974-14-EN_XL7_XL7P_UM 5.15 Enable AutoRun “Enable AutoRun” displays the following options which can be selected: No = OCS will be in IDLE mode after AutoLoad or Automatic Restore. Enable AutoRun Yes = OCS will automatically be placed into RUN mode after AutoLoad or Automatic Restore.
MAN0974-14-EN_XL7_XL7P_UM 5.16 Enable AutoLoad “Enable AutoLoad” displays the following options which can be selected: No = Does not load AUTOLOAD.PGM automatically when application program is absent or corrupted. Enable AutoLoad Yes = Loads AUTOLOAD.PGM file automatically from RM when application program is absent or corrupted.
MAN0974-14-EN_XL7_XL7P_UM 5.17 Clone Unit ‘Clone Unit’ feature allows the user to “clone” the OCS of the exact same model. This feature “clones” application program and unit settings stored in Battery backed RAM of an OCS into the RM. Refer to the Removable Media Chapter for details on using RM).
MAN0974-14-EN_XL7_XL7P_UM 5.18 Load Clone Selecting “Clone Unit” menu will open the following menu screen. Select “Load Clone”. NOTE: For security enabled files, Load clone asks for password validation before loading the application. July 6, 2022 Page 48 | 199...
MAN0974-14-EN_XL7_XL7P_UM 5.19 WebMI License Details License details page displays the information about the WebMI license. Refer to MAN1036 for the WebMI Manual for more details. The information can also be viewed from Cscape using the following %SR registers: %SR209.3 WebMI server status %SR209.4 WebMI user logged in status %SR209.9 to SR209.16...
MAN0974-14-EN_XL7_XL7P_UM 5.20 Touch screen calibration The touch screen is calibrated at the factory and rarely needs modification. However, if actual touch locations do not appear to correspond with responding objects on the display, field adjustment is available. Ensure SYS_fn Enable is set to YES in the System Menu. To access the field adjustable touch screen calibration dialog, press and hold both the SYS and F1 key for longer than 2 seconds and a dialog similar to Figure 5.3 should appear.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 6: REGISTERS Register Definitions When programming the XL7/XL7 PRIME 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.
Page 52
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values User Screen Number %SR1 USER_SCR 0 to 1023 Read/Write Read/Write *Excludes RCC Units Alarm Screen Number (0=none) %SR2 ALRM_SCR 0 to 1023 Read Only Read Only...
Page 53
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values %SR7 Minimum Scan Rate ms ( / 10) Read Only Read Only %SR8 Maximum Scan Rate ms ( / 10) Read Only Read Only %SR9...
Page 54
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values %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...
Page 56
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values %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...
Page 57
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values Set to 1 to restore data manually, and this in turn sets %SR164.15 to 1. %SR164.14 Read / Write Read / Write Set to 0 to abort restore operation.
Page 58
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values TRUE during first scan of switched-to %SR193.5 Read Only Read Only program TRUE to revert to FLASH and delete all RAM; %SR193.6 Read Only Read Only...
Page 59
MAN0974-14-EN_XL7_XL7P_UM Table 6.3 – %SR Registers – Master %SR Table Program Display Min-Max Register Default I/O Name Description (Read/Write) (Read/Write) Values Number of Webpages, license detail %SR218 (XLE/XLT, X2, X4, & X7 use %SR101 & Read Only Read Only %SR108-112 for WebMI License Details.) Number of Data Points, license detail.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 7: CSCAPE CONFIGURATION Overview XL7/XL7 PRIME OCS hardware is programmed with a Windows based PC application called Cscape. This application can be used to program, configure, monitor and debug all aspects of the XL7/XL7 PRIME OCS unit. Please see the on-line help provided with Cscape for additional details. Cscape Status Bar When the XL7/XL7 PRIME OCS is connected to a PC using Cscape software a Status Bar appears at the bottom of the screen.
MJ1 Port, Ethernet, CAN (CsCAN) or modems. To communicate with the XL7/XL7 PRIME via USB you will need the automated driver installer located on the Horner APG web site. The drivers may be loaded from the HE-XEC Ethernet Utility / HTTP Web...
Page 65
MAN0974-14-EN_XL7_XL7P_UM The PC will detect a new device has been plugged into the USB port. Now that the XL7/XL7 PRIME is plugged in, go to Cscape → Controller → Connection Wizard. If you are just opening Cscape, Connection Wizard usually opens by default. Select USB and click Next >>.
Page 66
MAN0974-14-EN_XL7_XL7P_UM If the Connection Wizard does not pop up upon opening Cscape, then select Controller (in the Cscape tool bar) → Connection Wizard, choose your connection method. If you are connecting for the first time, we suggest connecting via USB. Figure 7.3 –...
Page 67
MAN0974-14-EN_XL7_XL7P_UM An alternate way to select the COM setting is to go to Cscape → Tools → Application Settings → Communications → Configure and choose connection method in Add Target. Figure 7.4 – Cscape: Alternative Connection Method Screenshot Figure 7.5 – Add Target Screenshot in Cscape NOTE: The following fields, Target Name, Connection Medium, Connected Device, and Connection Settings, need to be filled for communication configuration if Cscape Connection Wizard was not used.
Page 68
NOTE: Cscape will do necessary initialization for the selected internal modem. Select this option to communicate over USB. Now Horner devices and Horner USB to serial converters are recognized and can be specifically selected. Connected Device NOTE: This configuration is required if the controller to which Cscape is communicating is connected to a CsCAN network.
Page 69
MAN0974-14-EN_XL7_XL7P_UM If communications are successful, the message line should show “USB (COM8)” for this example, and an (R) should follow the Target number. For more information on the status bar, see the Cscape Status Bar section. When connected directly to the controller to which Cscape communications are required, the Local ID and the Target ID should match.
Page 70
MAN0974-14-EN_XL7_XL7P_UM 7.3.1 Communicating via MJ1 Serial Port Start by configuring Cscape to use the correct communications port. This can be done using the Tools → Options → Communication Port dialog in Cscape. Next, connect the PC’s serial port to the port labeled MJ1 on the XL7/XL7 PRIME. If communications are successful, the target indicator should show the mode of the controller Target: yy(R) as shown in the status section above.
Page 71
MAN0974-14-EN_XL7_XL7P_UM 7.3.2 Communicating via On Board Ethernet Port From Cscape go to Controller → Hardware Configure and do auto configuration for the connected controller, Click on Config of Ethernet and select Module Setup. The IP address, Net Mask, and Gateway of the controller may be temporarily set from the System Menu under the Set Networks menu item.
MAN0974-14-EN_XL7_XL7P_UM Configuration An overview of configuration: 1. Start the configuration by selecting the Controller → Hardware Configuration menu item. 2. If the XL7/XL7 PRIME OCS is connected to the PC press the Auto Config System button to automatically detect the Base model, I/O and any communication options. 3.
Page 73
MAN0974-14-EN_XL7_XL7P_UM To access the I/O Setup Screen, select Config from the Hardware Configuration/ Local I/O dialog. Then select the Module Setup tab, see screenshot below. July 6, 2022 Page 73 | 199...
MAN0974-14-EN_XL7_XL7P_UM Digital / HSC Input Configuration The following figure illustrates the Digital → HSC Input Configuration dialog. Figure 7.7 – Digital / HSC Input Configuration Dialog The Active mode group box allows the user to select if inputs are active high (Positive logic) or active low (Negative logic).
MAN0974-14-EN_XL7_XL7P_UM Digital / PWM Output Configuration The following figure illustrates the Digital / PWM Output Configuration dialog. Figure 7.8 – Digital / PWM Output Configuration Dialog The Q1 and Q2 group boxes allow the user to specify the operation of the multi-function outputs. The PWM State On Controller Stop group box contains items that allow the user to specify how the PWM outputs behave when the controller is stopped.
MAN0974-14-EN_XL7_XL7P_UM Analog Input Configuration The following figure illustrates the Analog Input Configuration dialog. Figure 7.9 – Analog Input Configuration Dialog The Channel x drop down windows allow the user to specify the mode for each analog input to operate. The Channel x drop down windows are enabled/disabled according to which model is being configured. All the models have the following modes available: 0..10V 0..20mA...
MAN0974-14-EN_XL7_XL7P_UM Analog Output Configuration The following figure illustrates the Analog Output Configuration dialog. Figure 7.10 – Analog Output Configuration Dialog The Output value on Stop group box contains items that allow the user to specify how the analog output channels behave when the controller is stopped. The outputs can either hold their value or default to a value when the controller is stopped.
NOTE: The datasheet is the first document to refer to for model-specific information related to XL7/XL7 PRIME OCS models such as pin-outs, jumper settings, and other key installation information. Visit the Horner websites to obtain datasheets, user documentation, and updates. Overview The XL7/XL7 PRIME OCS is a compact unit that contains high density, very versatile I/O.
Page 79
MAN0974-14-EN_XL7_XL7P_UM Figure 8.2 – XL7/XL7 PRIME I/O Cover Removed (sample I/O board) Once the back is removed the jumper selection can be changed. The jumper settings are documented on each data sheet using a diagram such as Figure 8.3 below and a description of the jumper settings. 001XLE005-R1 Figure 8.3 –...
MAN0974-14-EN_XL7_XL7P_UM Model and I/O Overview Table 8.1 – I/O and Model Overview XL7/XL7 mA/V PRIME DC In DC Out Relays HS In HS Out mA/V In mA/V Out RTD/TC Models Model 0 Model 2 Model 3 Model 4 Model 5 Model 6 July 6, 2022 Page 80 | 199...
MAN0974-14-EN_XL7_XL7P_UM Solid-State Digital Outputs Solid-state digital outputs are generally used to activate lamps, low voltage solenoids, relays, and other low voltage and low current devices. NOTE: The digital outputs used on the XL7/XL7 PRIME OCS are “sourcing” outputs. This means the output applies a positive voltage to the output pin when turned ON.
MAN0974-14-EN_XL7_XL7P_UM Relay Outputs Relay outputs are designed to switch loads that typically have high voltage or current requirements or require the isolation that relays provide. NOTE: The design of the XL7/XL7 PRIME OCS does not require external coil power for the relays to function. The relays will activate anytime the XL7/XL7 PRIME OCS is powered.
Page 83
Some protective measures need to be determined by an engineer. If you have questions on protection from inductive load, consult Horner Automation Technical Support. Details on devices that may protect outputs can be found in the Spark Quencher Datasheet, MAN0962.
MAN0974-14-EN_XL7_XL7P_UM Digital Inputs NOTE: Refer to the datasheet for XL7/XL7 PRIME OCS model being used for details on jumper settings. NOTE: The digital inputs on the XL7/XL7 PRIME OCS are designed for low voltage DC inputs. The inputs are designed to support both positive and negative input modes. The mode is set by a jumper setting and a configuration parameter in Cscape.
MAN0974-14-EN_XL7_XL7P_UM Analog Inputs NOTE: See the data sheet for the XL7/XL7 PRIME OCS model being used for jumper settings and see the appropriate page in this manual (see Index) for details on how to use Cscape to configure the digital filtering. The analog inputs on the XL7/XL7 PRIME OCS allow voltage or current measurement from a variety of devices.
The Universal Analog Inputs on the Model 6 I/O board are unique from other Horner XL-series input/output cards in that they are configurable through the module configuration instead of having to change jumper settings in order to setup the input type.
MAN0974-14-EN_XL7_XL7P_UM 3) Ensure the proper wiring is used for each of the 3 pins A , B, and C on the Universal Analog Inputs as seen in the reference image below: Figure 8.9 – Loop Power Requirements Analog Outputs NOTE: Refer to the datasheet for XL7/XL7 PRIME OCS model being used for details on jumper settings. The analog outputs on XL7/XL7 PRIME OCS devices provide high-resolution voltage or current outputs.
The XL7/XL7 PRIME ships with two high-speed counters, but a customer can contact Horner Technical Support to receive a file that will configure the unit to have four. These modes are not supported simultaneously. Two counter mode supports Quadrature mode and two stepper outputs, while four counter mode does not support Quadrature mode and supports only one stepper output.
MAN0974-14-EN_XL7_XL7P_UM Glossary Table 9.1 – Glossary of High Speed I/O Terms Accumulator Register used to accumulate or store up a sum or count of many items or events. A special function to zero out the value in a specific register. (Not used with Frequency Clear or Period Measurement.) Disable...
MAN0974-14-EN_XL7_XL7P_UM High Speed Counter (HSC) Functions The XL7/XL7 PRIME supports two very high speed, configurable counters. There are four dedicated inputs that can be configured to a number of different options. Each of the two counters can run in one of five modes.
Page 91
MAN0974-14-EN_XL7_XL7P_UM 9.3.2 Totalize In totalize mode, the accumulator is simply incremented or decremented each time the input transitions in a specific direction. The totalizer supports the following modes: Internal This mode ties the input to the counter to an internal 10MHz or 1MHz clock.
Page 92
MAN0974-14-EN_XL7_XL7P_UM Rising Edge Signal Falling Edge Signal Three different options are available to reset the current count. They are: • Configured reset value When configuring the Totalize function, a value may be specified under the Counts per Rev column. When the totalizer accumulator reaches this value - 1, the accumulator will reset to zero on the next count.
Page 93
MAN0974-14-EN_XL7_XL7P_UM 9.3.3 Pulse Width Measurement In pulse width measurement mode, the high-speed input can measure the width of a pulse stream in one of two modes and provides a continuous indication of the last sampled value. In this mode the Disable and Latch special functions are allowed.
Page 94
MAN0974-14-EN_XL7_XL7P_UM 9.3.4 Period Measurement In period measurement mode, the high-speed input can measure the period of a pulse stream in one of two modes and provides a continuous indication of the last sampled value. In this mode, the Disable and Latch special functions are allowed.
Page 95
MAN0974-14-EN_XL7_XL7P_UM 9.3.5 Quadrature Quadrature mode uses two HSC inputs, any of the four HSC inputs can be assigned for this purpose. Quadrature mode works much like the totalizer except the accumulator will automatically increment or decrement based on the rotation phase of the two inputs. See the following example for more details. Quadrature inputs are typically used for reporting the value of an encoder.
Page 96
MAN0974-14-EN_XL7_XL7P_UM 9.3.6 Register Match Totalizer & Quadrature counter modes support a register match function. When the accumulator value matches either the Match 1 or Match 2 value configured in the corresponding %AQ registers, a high- speed output can Turn On, Turn Off, or Toggle. An internal %I register mirrors the output state whether the high-speed output is configured or not.
Page 97
MAN0974-14-EN_XL7_XL7P_UM 9.3.7 HSC Functions The high-speed input on the XL7/XL7 PRIME contains many optional tasks. All of which can be disabled, or set to an internal pre-assigned register (Assigned %Q) or to one of the external high speed inputs (External Input #1, 2, 3, or 4), or they can be set as an “overflow interrupt” or “underflow interrupt” meaning that they will occur when either the Overflow or Underflow input has been activated.
Page 98
MAN0974-14-EN_XL7_XL7P_UM 9.3.8 Status Bits There are three status bits (%I registers for each high-speed counter). Overflow Flag: This status bit turns high when the Accumulator “overflows”, it moves from 4,294,967,295 (-1 if Signed) to 0, this bit can be reset with the “Output Reset Bit”. See Table 9.4. Underflow Flag: This status bit turns high when the Accumulator “underflows”, it moves from 0 to 4,294,967,295 (-1 if Signed), this bit can also be reset with the “Output Reset Bit”.
MAN0974-14-EN_XL7_XL7P_UM HSC Functions Register Map The register assignments for the high-speed I/O can be moved via a setting in Cscape. The values shown are the DEFAULT values and may not match the same starting point as the values shown below. Table 9.3 –...
Page 100
MAN0974-14-EN_XL7_XL7P_UM NOTE: Four Count Mode requires FPGA update. Table 9.4 – HSC Functions Register Map for 4 HSC Configuration Register Frequency Pulse Totalize %AI401-402 Accumulator - Counter 1 %AI403-404 Latch Value – Counter 1 %AI405-406 Accumulator – Counter 2 %AI407-408 Latch Value –...
MAN0974-14-EN_XL7_XL7P_UM High Speed Output Functions On units that support high-speed output functions, two dedicated outputs are available that can be configured for one of four modes of operation. Those modes are Normal, PWM, HSC Match and Stepper. 9.5.1 Normal When either Q1 or Q2 is configured for Normal operation, the digital output registers %Q1 and %Q2 drives that respective output.
Page 103
MAN0974-14-EN_XL7_XL7P_UM At controller power-up or during a download, the PWM output is maintained at zero until both the Frequency and the Duty cycle are loaded with non-zero values. When the controller is placed in stop mode, the state of the PWM outputs is dependent on the PWM State on Controller Stop configuration. This configuration allows for either hold-last-state or specific frequency and duty cycle counts.
Page 104
MAN0974-14-EN_XL7_XL7P_UM 9.5.4 High Speed Counter Match When either Q1 or Q2 is configured for HSC Output operation, their output state is based on a comparison between the counter accumulator and match registers. Refer to the HSC Functions section for more details. 9.5.5 Stepper Function The XL7/XL7 PRIME supports two stepper functions, one on each high-speed output when in two counter mode.
Page 105
MAN0974-14-EN_XL7_XL7P_UM The stepper provides two Boolean registers to provide stepper status: A high indication on this register indicates the stepper sequence can be started Ready/Done (i.e. not currently busy) and also when the move is completed. A high indication on this register indicates that one of the analog parameters specified above is invalid or the stepper action was aborted before the Error operation was complete.
MAN0974-14-EN_XL7_XL7P_UM High Speed Output Functions Register Map The register assignments for the high speed I/O can be moved via a setting in Cscape. The values shown are the DEFAULT values and may not match the same starting point as the values shown below. Table 9.8 –...
MAN0974-14-EN_XL7_XL7P_UM PWM Examples Example 1 Duty Cycle Frequency To get a 50% Duty Cycle @ 10kHz Set %AQ421-422 = 16,000 Set %AQ423-424 = 10,000 waveform on PWM1: Example 2 Duty Cycle Frequency Set %AQ421-422 = 16,000 To get a 50% Duty Cycle on PW1 Set %AQ423-424 = 1,000 and 90 % Duty Cycle on PWM2 @ Set %AQ431-432 = 28,800...
MAN0974-14-EN_XL7_XL7P_UM STP Examples Example 1 Start Accel Count Run Count Decel Count Frequency Frequency 10,000,000 Set %AQ423-4 = Set %AQ425-6 = Set %AQ427-8 = steps Set %AQ421 = Set %AQ422 = 1,000,000 8,000,000 1,0000,000 control 2500 (Hz) 5000 (Hz) (Steps) (Steps) (Steps) sequence...
MAN0974-14-EN_XL7_XL7P_UM HSC I/O Filtering This feature is used to enable digital Filter for HSC Inputs. Selecting Digital In/HSC configuration opens up the following dialog where in HSC I/O Filtering is available. Input signal is filtered based on the filter frequency and Number of samples selected. User has to select Filter Frequency and Number of samples based on the frequency of the Input signal.
Page 110
MAN0974-14-EN_XL7_XL7P_UM equals the number of samples configured, the sample counter is reset. If the high-speed input state did not change by the time of the sample counter reset, that state, high or low, is passed on to the high-speed accumulator. If the high-speed input state changes during the sample counting, the sample counter is reset to zero and the process starts over.
Page 111
MAN0974-14-EN_XL7_XL7P_UM Figure 3: Input signal before filtering Figure 4: Input signal after filtering This delay will be 4μs. July 6, 2022 Page 111 | 199...
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 10: SERIAL COMMUNICATIONS 10.1 Overview All XL7/XL7 PRIME OCS models provide two independent serial ports, on the first 8-pin modular RJ45 connector, which is labeled MJ1/MJ2. The MJ1 serial port is RS232 while the MJ2 port is RS485. By default, MJ1 can be connected to the COM port of a PC running Cscape, for OCS programming.
MAN0974-14-EN_XL7_XL7P_UM Figure 10.2 – Dip Switches 10.4 RS485 Termination Proper RS485 termination minimizes signal reflections and improves reliability. Both the MJ2 and MJ3 serial ports allow an internal termination resistor to be placed across Pins 1 and 2 by DIP Switch Setting. Only the two devices physically located at the endpoints of the RS485 network should be terminated.
MAN0974-14-EN_XL7_XL7P_UM 10.6 Cscape Programming via Serial Port The XL7/XL7 PRIME OCS MJ1 and MJ3 serial ports support CsCAN Programming Protocol. If a PC COM port is connected to the XL7/XL7 PRIME OCS MJ1 or MJ3 serial port, Cscape can access the XL7/XL7 PRIME OCS for programming and monitoring.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 11: CAN COMMUNICATIONS NOTE: For additional CAN information, refer to the CAN Networks manual (MAN0799) on the Horner websites. 11.1 Overview All XL7/XL7 PRIME OCS models provide two CAN network ports, which are implemented with 5-pin connectors. The connectors are labeled CAN1 and CAN2.
MAN0974-14-EN_XL7_XL7P_UM 11.3 CAN Port Wiring CAN Connector CAN1 & CAN2 Port Pins Signal Signal Description Use the CAN Connector Power - Black when using CsCAN or other CAN Data CN_L Low - Blue CAN network. SHLD Shield – No color CAN Data Torque rating 4.5 –...
Ethernet Global Data SRTP (Slave 90-30 Service Request Transfer Protocol Service Request) CsCAN TCP Server Horner APG CsCAN over Ethernet (for Cscape to OCS programming) Modbus Slave Modbus over Ethernet Ethernet / IP ODVA CIP over Ethernet FTP (File Server)
MAN0974-14-EN_XL7_XL7P_UM 12.5 Ethernet Module Configuration NOTE: The following configuration is required for all applications regardless of the protocols used. Additional configuration procedures must be performed for each protocol used. To configure the Ethernet Module, use Cscape Programming Software to perform the following steps On the main Cscape screen, select the Controller →...
Page 120
MAN0974-14-EN_XL7_XL7P_UM Click the Config button to the right of LAN1 for LAN 1 or LAN2 for LAN2, revealing the Ethernet Module Configuration dialog as shown in Figure 12.2 Figure 12.2 – Ethernet Module Configuration Configure the Ethernet Module parameters as follows: IP Address: Enter the static IP Address for the Ethernet Module being configured.
Page 121
MAN0974-14-EN_XL7_XL7P_UM Table 12.3 - Ethernet Status Word Register Format High Byte Low Byte Link TCP Connections Status Values Status Bit(s) Status Indication Minimum Maximum Reserved Always 0 Link Duplex (Auto-Negotiated) 0 = Half Duplex 1 = Full Duplex Link Speed (Auto-Negotiated) 0 = 10MHz 1 = 100MHz Receive State...
MAN0974-14-EN_XL7_XL7P_UM 12.6 Ethernet Configuration – IP Parameters For primary operation, the IP address, Net Mask, and Gateway should be set in the LAN config of the Cscape Hardware Configuration. There are options to get IP parameters from the LAN Config or to get parameters from registers.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 13: DOWNLOADABLE COMMUNICATION PROTOCOLS 13.1 Overview Through loadable protocol device drivers, certain models of the OCS family can provide the ability to exchange data with remote devices such as variable-frequency drives, PLCs, and remote I/O devices. This feature greatly expands the OCS ’s control capability with negligible effect on the OCS ’s ladder scan time.
Page 124
This transaction scanning can be on a continual basis (automatic) or controlled from ladder logic (manual) once a complex connection is programmatically created (i.e., dialup modem). The specific transaction-scanning mode is selected from the Network Config menu. The following Horner Automation websites offer OCS Protocol Software Downloads. North America http://hornerautomation.com/support-files/ Europe https://www.hornerautomation.eu/support/...
MAN0974-14-EN_XL7_XL7P_UM 13.2 Protocol Config After opening Cscape, choose Program → Protocol Config, and select the port drop-down box to select a protocol device driver. All protocol device drivers currently loaded in Cscape are displayed in the dropdown selection. Some OCS models can be limited in the number of ports or number of protocol device drivers that can be selected.
MAN0974-14-EN_XL7_XL7P_UM 13.3 Network Configuration Network Configuration provides the required parameters to configure the network. Each protocol is different and may not require all the Network Config field. Please refer to the table below for the options in the Network Config field. July 6, 2022 Page 126 | 199...
Page 127
MAN0974-14-EN_XL7_XL7P_UM Table 13.1 – Network Protocols Baud Rate, Data Bits, Stop Bits, These field define the bit level transfer over the serial port. Parity None – No handshake lines are used Handshake Multidrop Full – Rx remains active while Tx is occurring. Multidrop Half –...
MAN0974-14-EN_XL7_XL7P_UM 13.4 Device List and Device Configuration Device List The Device List is reached from the Device button on the Protocol Config screen and provides a list of the configured devices on the Network. Devices must be created and exist in this list before corresponding Scan List entries can be created for this device.
MAN0974-14-EN_XL7_XL7P_UM 13.5 Scan List This can be accessed from the Scan List button on the Protocol Config screen or the Mapping button on the Device List screen and provides a Scan List of the Data Mapping entries. To transfer data between the OCS and remote target, a Scan List must be created that defines each transaction.
MAN0974-14-EN_XL7_XL7P_UM 13.6 Data Mapping Configuration (Scan List Entry) Update Type This field specifies the direction and what triggers the transfer of data between the OCS and target device for a mapping entry. Polled Read On every transaction scan, a read-only target device register(s) transaction occurs. Polled Read/Write On every transaction scan, a read target device register transaction occurs unless a local register value has changed.
Page 131
MAN0974-14-EN_XL7_XL7P_UM Polled Read/Write/Init On every transaction scan, a read target device register transaction occurs unless a local register value has changed. The write transaction only updates those local registers that have changed in value. If several non-consecutive local registers (contained in a single mapping entry) change value between transaction scans, it takes several consecutive scans to write each changed register.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 14: USER INTERFACE 14.1 Overview This chapter presents the user interface (or operator view) of the XL7/XL7 PRIME and some of the model specific characteristics of the XL7/XL7 PRIME as compared to the rest of the OCS line. This chapter does NOT cover building screens or using the Cscape graphics editor.
MAN0974-14-EN_XL7_XL7P_UM 14.3 Displaying and Entering Data Figure 14.1 – Example Screen Multiple objects are provided for displaying data such as virtual panel lights, push buttons, numeric value displays, bar graphs, meters, graphs and animated bitmaps. On the XL7/XL7 PRIME, these graphical objects (through ladder manipulation of attribute bits) can change color, flash or change visibility to attract operator attention.
MAN0974-14-EN_XL7_XL7P_UM 14.4 Alpha-numeric Keypad To allow entry of a specific number or text, several of the input objects invoke a pop-up alpha-numeric keypad when the object is touched. An example of the alpha-numeric keypad invoked from a numeric input object is shown in Figure 14.2. Once invoked, the operator may touch the appropriate keys to enter a specific value.
Page 135
MAN0974-14-EN_XL7_XL7P_UM Once the desired value is entered, pressing the Enter key moves that value into the object (and the corresponding OCS register) and the alpha-numeric keypad disappears. Alternately, pressing the ESC key any time before the Enter key cancels the operation, leaves the objects current value unchanged, and the alpha-numeric keypad disappears.
MAN0974-14-EN_XL7_XL7P_UM 14.5 Screen Navigation To allow the operator to change screens, a screen jump object is generally used. This object may be visually represented as a 3-D button (responding to touch) or remain invisible and logically tied to an OCS register.
MAN0974-14-EN_XL7_XL7P_UM 14.6 Ladder Based Screen Navigation Ladder logic can use several techniques to control screen navigation. Coils can be tied to %D registers to make them screen coils. These coils have two modes, switch and alarm. If the ladder program energizes an alarm display coil, the screen associated with this coil is displayed and overrides the normal user screens.
MAN0974-14-EN_XL7_XL7P_UM 14.8 Touch (Slip) Sensitivity Touch slip sensitivity is preset to meet most applications; however, adjustment is available to reduce the sensitivity for touch release. That is, once a graphical object (button) is touched and held by a finger, the default touch slip sensitivity allows for a slight slip of the finger on the graphical object before the XL7/XL7 PRIME assumes touch has been released (equates to approximately a quarter inch of movement with a stylus).
MAN0974-14-EN_XL7_XL7P_UM 14.9 Alarms Alarm presentation to the operator is highly configurable and beyond the scope of this document to describe fully. For more information refer to the graphics editor help file. This section presents a typical configuration thereby providing an introductory description on what the operator should expect. The alarm object is generally used to enunciate alarms to the operator.
Page 140
MAN0974-14-EN_XL7_XL7P_UM Figure 14.6 – Alarm Viewer The currently selected entry is indicated by a yellow highlight which can be moved up or down by touching the arrow buttons or by directly touching an entry. If more entries exist than can fit on the page, a scroll bar is displayed on the right side that also indicates the current relative position.
MAN0974-14-EN_XL7_XL7P_UM 14.10 Removable Media The removable media object is generally used to inform the operator on the current state of the removable media device and allow access to its file structure. The removable media object is displayed as a button that changes colors to indicate the current state of the removable media device. The following indicates the device states and the default colors associated with these states.
Page 142
MAN0974-14-EN_XL7_XL7P_UM File operations are accomplished by pressing the appropriate button at the bottom of the removable media viewer. The configuration of the removable media object that invokes the removable media viewer defines what buttons are enabled and available to the user. A button is grayed and does not respond to touch if configured as disabled.
MAN0974-14-EN_XL7_XL7P_UM 14.11 Screen Saver The XL7/XL7 PRIME screen backlight life is typically five (5) years when in continuous use. If the application does not require interaction with the XL7/XL7 PRIME for long periods of time, the backlight life can be extended by using the screen saver function. When enabled through the System Menu, the backlight is shut off (screen goes black) after a specified time of no touch activity on the screen.
With a unique change to the touch monitoring firmware user can measure the pressure being exerted on the touch screen. This feature has been added in some Horner XL series controllers. This allows the OCS programmer to be notified of the touch pressure and it can configure the pressure required to accept a touch event.
Page 145
MAN0974-14-EN_XL7_XL7P_UM There are two system registers that provide this touch feature: %SR9 (I/O Name - TCH_PRESSURE) Records the highest pressure level of the last touch on the screen that exceeds the threshold value set in %SR10. This is a range of 0 to 3000. Zero (0) indicates no pressure and 3000 is the maximum amount of pressure that can be measured.
MAN0974-14-EN_XL7_XL7P_UM The following dialog will open. Figure 15.1 - Audio Config Dialog 15.3 Audio Config Details Triggers – Set the trigger bit high to play the audio file. NOTE: The bit needs to be left on to continue playing. The bit will be set to low after the file is finished laying. Status –...
MAN0974-14-EN_XL7_XL7P_UM 15.4 Audio Files Index – Index of all the audio files will be assigned automatically when audio files are added. Audio Target Path – This gives information about the path of the audio file, audio filename, and format of the audio files added to the list. Add –...
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 16: VIDEO OBJECT 16.1 Video Object Overview The Video Object feature allows two options for video type: Stream and Playback. The Video Object trigger is used to start, stop, and pause video, and the System Register provides the status of the video object, which supports various resolutions and frames per second.
MAN0974-14-EN_XL7_XL7P_UM 16.2 Opening Video Object in Cscape NOTE: Video Object requires Firmware 14.03 or newer to use with the XL7/XL7 PRIME devices. In Cscape, select the XL7/XL7 PRIME and model number by selecting Controller → Hardware Configuration from the toolbar. Open the Graphics Editor by selecting the “T”...
Page 151
MAN0974-14-EN_XL7_XL7P_UM Then double click on the icon in the middle to open the Video Properties dialog. July 6, 2022 Page 151 | 199...
MAN0974-14-EN_XL7_XL7P_UM 16.3 Video Properties: Video Type Figure 16.1 – Configuring Video Type There are two options for video type: Stream and Playback Stream – This option can be selected to view live video from a web cam. Four channels are supported through the USB hub.
MAN0974-14-EN_XL7_XL7P_UM 16.4 Video Properties: Control Figure 16.2 – Configuring Control Trigger The Video Properties: The video control trigger is used to start, stop and pause video. Video trigger is done by bit level addressing. The trigger reserves eight (8) bits and uses the first two (2) bits.
MAN0974-14-EN_XL7_XL7P_UM 16.5 Configuring Display Properties Figure 16.3 – Configuring Display Properties Resolution Options 320x240 (QVGA) Frames per Seconds 10, 15, 20, 24, 30 & MAX_FPS 16.6 Video Object Performance 1. When Video Object is active, navigating to System Menu or any popup window, causes Video Object to be inactive.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 17: REMOVABLE MEDIA 17.1 Overview All XL7/XL7 PRIME OCS models provide a Removable Media slot, labeled Memory Card, which supports standard microSD flash memory cards. The microSD cards can be used to save and load applications, to capture graphics screens and to log data for later retrieval. Figure 17.1 –...
MAN0974-14-EN_XL7_XL7P_UM 17.4 Using the Removable Media Manager The Removable Media Manager is an interactive XL7/XL7 PRIME OCS screen that performs the following functions: a. Display number of total and free K bytes b. Browse file and directory lists c. Delete files and directories d.
MAN0974-14-EN_XL7_XL7P_UM 17.6 Using Removable Media to Load and Save Applications A special file type, with a .PGM extension, is used to store XL7/XL7 PRIME OCS application programs on microSD. To load an application from microSD to the XL7/XL7 PRIME OCS, use the Removable Media Manager (open the Removable Media Manager in the System Menu) to find and highlight the desired .PGM file, and then press the Enter key.
MAN0974-14-EN_XL7_XL7P_UM 17.8 Configuration of a Removable Media The configuration of the Removable Media Object that loads the Removable Media Viewer defines what buttons are enabled and available to the user. (Enter) button performs certain operations based on the selected file’s type: - change display to parent directory <DIR>...
MAN0974-14-EN_XL7_XL7P_UM 17.10 Removable Media (RM) Features—Program Features a. Datalog Configuration—This feature allows the controller to periodically log register values to Removable Media. The register data is stored in .csv (comma separated value) format, which is compatible with 3 party PC applications, such as Microsoft Excel. b.
MAN0974-14-EN_XL7_XL7P_UM 17.13 Filenames used with the Removable Media (RM) Function Blocks The RM function blocks support the flash with a DOS/Windows standard FAT-16 file system. All names must be limited to the “8.3” format where the filename contains eight characters a period then a three- character extension.
MAN0974-14-EN_XL7_XL7P_UM 17.14 System Registers used with RM Table 17.4 – System Registers used with RM %SR174 Removable Write a 1 to %SR174 to prohibit read/write access to the removable Media Protect media card. Write a zero (0) to allow access. %SR175 Status This shows the current status of the RM interface %SR176 Free Space...
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 18: CLONE UNIT 18.1 Overview ‘Clone Unit’ feature allows the user to “clone” the OCS of the exact same model. This feature “clones” application program and unit settings stored in Battery backed RAM of an OCS into the RM. Refer to the Removable Media chapter for details in using RM).
Page 163
MAN0974-14-EN_XL7_XL7P_UM 2. Selecting “Clone Unit” menu will open the following menu screen: Figure 18.2 – Clone Unit Menu before Cloning Free/Total – displays number of free and total bytes in Removable Media. 3. Make/Create Clone option enables user to duplicate / Clone application file, all unit settings and all register values from Battery Backed RAM.
Page 164
MAN0974-14-EN_XL7_XL7P_UM After confirmation, the OCS will create two new files in the root directory of the Removable Media Drive as shown below: AUTOLOAD.PGM Application file CLONE.DAT File having all unit settings and register values from Battery Backed RAM Figure 18.4 – Clone Unit Files NOTE: Make/Create clone operation automatically includes the security in AUTOLOAD.PGM file for security enabled files.
Page 165
MAN0974-14-EN_XL7_XL7P_UM 4. Once the cloning is successful, OCS gives a message as below: Figure 18.5 – Cloning Status Make/Create clone can also be triggered by setting %SR164.9 bit to “1” from Ladder program or graphics. Once the operation is completed, this bit is made zero by the firmware. When Make clone operation is triggered by this SR bit, it does not ask the user for confirmation for making clone.
MAN0974-14-EN_XL7_XL7P_UM 18.3 Load Clone This option loads the application, all unit settings and register values from Removable media to the Battery backed RAM (Regardless of AutoLoad settings) and then resets the OCS for the settings to take effect. User needs to perform the following to Load Clone: 1.
Page 167
MAN0974-14-EN_XL7_XL7P_UM 2. User needs to confirm Load Clone as shown below: Figure 18.8 – Load Clone Confirm Screen 3. After confirmation, all unit settings and register values will be loaded from Removable media to the Battery backed RAM (Regardless of AutoLoad settings) and then OCS resets for the settings to take effect.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 19: FAIL – SAFE SYSTEM 19.1 Overview For the XL7 Series The Fail-Safe System is a set of features that allow an application to continue running in the event of certain types of "soft" failures. These "soft" failures include: •...
MAN0974-14-EN_XL7_XL7P_UM 19.2 Settings To use the fail – safe feature, the user needs to do the following: 1. From Cscape, create AUTOLOAD.PGM for the application program using ‘Export to Removable Media’. 2. Place the Removable Media with AUTOLOAD.PGM in the device. 3.
Page 170
MAN0974-14-EN_XL7_XL7P_UM Figure 19.3 – Backup Registers Restore OCS Data: When initiated, this will allow the user to manually copy the backed-up data from the onboard flash memory to the Battery-Backed RAM. A restore operation will be automatically initiated if a backup has been previously created and on power- up the Battery-Backed RAM registers fail their check.
Page 171
MAN0974-14-EN_XL7_XL7P_UM Clear Backup Data: When initiated, the backup data will be erased from the onboard flash memory and no backup will exist. %SR164.4 and %SR164.3 is reset to 0 when backed up data is erased. Figure 19.5 – Clear Backup Data Exit: Goes back to the previous screen.
Page 172
MAN0974-14-EN_XL7_XL7P_UM The OCS follows the following sequence in execution of Automatic Restore: OCS Power Cycle Battery Backed RAM Registers check failed Backup exists? Controller placed in Application IDLE mode Program erased Data copied from Onboard FLASH to OCS Battery backed Controller Resets AutoRun OCS put in IDLE...
MAN0974-14-EN_XL7_XL7P_UM 19.4 AutoLoad This System Menu option allows the user to specify whether the OCS automatically loads the application AUTOLOAD.PGM located in Removable Media. When the AutoLoad setting is enabled (set to YES), it can either be manually initiated or automatically initiated at power-up.
Page 174
MAN0974-14-EN_XL7_XL7P_UM The OCS follows the following sequence in execution of AutoLoad: Power up OCS Application Program absent Application Program corrupted AutoLoad OCS put in IDLE mode Enabled? AutoLoad run sequence AUTOLOAD.PGM present in failed (with reasons for the RM of the device ? failure) AutoLoad initiated.
MAN0974-14-EN_XL7_XL7P_UM 19.5 AutoRun This System Menu option, when enabled (YES), allows the user to automatically place the OCS into RUN mode after the AutoLoad operation or automatic Restore Data operation. When the AutoRun setting is disabled (NO), the OCS remains in the IDLE mode after a Restore Data or AutoLoad operation.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 20: MODBUS COMMUNICATIONS 20.1 Modbus Overview For complete Modbus instructions, please refer to the Help file in Cscape. Modbus (serial) is a popular, de-facto standard protocol that allows industrial devices from multiple manufacturers to easily share data in real-time. For Modbus serial communications, the XL7/XL7 PRIME can act as either a Master or a Slave.
Modbus addressing style for each slave on the network, minimal address conversion is required. Also, if the slave is another Horner product (i.e. another OCS), the “Native Addressing” option can be selected (i.e. %R1, %M17, etc.), and this skips the conversion to Modbus style altogether.
MAN0974-14-EN_XL7_XL7P_UM 20.4 Modbus Addressing Table To access XL7/XL7 PRIME registers, a Modbus Master must be configured with the appropriate register type and offset. This is usually accomplished with one of two methods: Method 1: The first method uses Traditional Modbus References, in which the high digit represents the register type and the lower digits represent the register offset (starting with Register 1 for each type).
The OCS uses a small, single cell in a metal enclosure. The battery is UL recognized and comes from quality suppliers. The OCS has safety circuitry built into the charging IC and additional external protection including fusing. These circuits were closely evaluated by UL and Horner engineering for use in hazardous environments.
MAN0974-14-EN_XL7_XL7P_UM 21.5 OCS Battery Charging Cycle There are various charging states that are executed based on battery temperature, level of battery charge, and self-test results. The battery temperature can be determined by checking the CPU temperature in the controller System Menu: View Battery Status or by monitoring System Register %SR195.
MAN0974-14-EN_XL7_XL7P_UM 21.6 Battery Charging Status Viewed in the System Menu under “View Battery Status” or read as a numeric value in %SR196. The battery temperature, Tb, is equal to the CPU temperature minus 30°C: Tb = CPU° - 30°C. Table 21.1 – Charging State Table State - Name Description...
MAN0974-14-EN_XL7_XL7P_UM 21.7 Battery Status in System Registers NOTE: Registers NOT supported by the XL Prime controllers. Table 21.2 – Battery Status %SR55.13 ON if battery is missing or if voltage is below 2.5V %SR195 CPU temperature in °C %SR196 Charge State; Refer to Table 21.1 %SR197 Charging Current mA %SR198...
MAN0974-14-EN_XL7_XL7P_UM 21.8 Backup Battery The XL7 has an advanced battery system that uses a rechargeable lithium-ion battery. The battery powers the real time clock when power is removed. To store registers, the battery continues to power the OCS for less than a second after external power is removed. In this time the registers and other retentive data is saved to internal flash memory.
Page 184
MAN0974-14-EN_XL7_XL7P_UM Below are the steps to replace the lithium-ion battery, part no. BAT00019, available from Horner APG. 1. Make sure the user program and any data stored in retentive memory is backed up. 2. Disconnect all power from the XL7 OCS unit including I/O power.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 22: XL7 PRIME BACK UP BATTERY NOTE: For XL series controller battery information (not the Prime series) please refer to the chapter above. The XL7 Prime has an improved memory architecture that does not require a battery for program or register retention.
Page 186
MAN0974-14-EN_XL7_XL7P_UM The XL7 Prime OCS uses a lithium coin-type battery with part no. BAT00013, with harness and connector available from Horner APG. Below are the steps to replace the battery: 1. Make sure the user program and any data stored in retentive memory is backed up.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 23: MAINTENANCE 23.1 Firmware Update Overview The XL7/XL7 PRIME OCS products contain field updatable firmware to allow new features to be added to the product at a later time. Firmware updates should only be performed when a new feature or correction is required.
2) Save Firmware files to microSD card or USB, these are the removable media devices. 3) Update the firmware through the controller’s Firmware Update function NOTE: Files from the Horner website come as a .ZIP file which need to be unzipped and placed in the root of the drive for them to function properly.
MAN0974-14-EN_XL7_XL7P_UM 23.4 Firmware Update for the XL7/XL7 PRIME Update firmware in an XL7/XL7 PRIME by completing the following steps: a. Unzip all files from downloaded .zip file onto removable media see previous page. b. Plug the removable media into a powered-up OCS controller. c.
MAN0974-14-EN_XL7_XL7P_UM CHAPTER 24: TROUBLESHOOTING & TECHNICAL SUPPORT 24.1 Connecting to the XL7/XL7 PRIME OCS Cscape connects to the local controller automatically when the serial connection is made. The status bar below shows an example of a successful connection. This status bar is located in the bottom right-hand corner of the Cscape window.
Page 191
4. Check that a Loaded Protocol or ladder is not actively using MJ1. Taking the controller out of Run Mode from the System Menu on the controller will make MJ1 available to Cscape. 5. Successful communications with USB-to-serial adapters vary. If in doubt, Horner APG offers a USB to serial adapter. Part numbers HE-XCK and HE-CPK.
MAN0974-14-EN_XL7_XL7P_UM 24.2 Local Controller and Local I/O The System Menu provides the following status indications that are useful for troubleshooting and system maintenance. - Self-test results, diagnostics. - RUN and OK status - Network status and usage - Average logic scan rate - Application memory usage - Loaded firmware versions - Loaded protocols...
For complete information on setting up a CsCAN network, refer to CAN Networks manual (MAN0799) by visiting the Horner websites for the address to obtain documentation and updates. Network status, node ID, errors, and baud rate in the controller System Menu are all in reference to the CsCAN network.
Need help?
Do you have a question about the HE-XPW1E0 and is the answer not in the manual?
Questions and answers