OTHER LIABILITY IN CONNECTION WITH THE SALE OF THIS XL7 OCS module. THIS WARRANTY SHALL NOT APPLY TO THIS XL7 OCS module OR ANY PART THEREOF WHICH HAS BEEN SUBJECT TO ACCIDENT, NEGLIGENCE, ALTERATION, ABUSE, OR MISUSE. HE-APG MAKES NO WARRANTY WHATSOEVER IN RESPECT TO ACCESSORIES OR PARTS NOT SUPPLIED BY HE- APG.
VISUAL MAP OF CHAPTERS FIRST STEP of ANY TASK: DATASHEET Each XL7 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 OCS models for specific installation information.
Page 7
MAN0974-11-EN_XL7_UserManual CHAPTER 11: CAN COMMUNICATIONS ....................112 11.1 Overview ............................112 11.2 Port Description .......................... 112 11.3 CAN Port Wiring .......................... 113 11.4 Cscape Programming via CAN ....................113 11.5 Ladder-Controlled CAN Communication ................113 11.6 Using CAN for I/O Expansion (Network I/O) ................ 113 CHAPTER 12: ETHERNET COMMUNICATION..................
Page 8
Firmware Update for the XL7 .................... 180 22.5 Backup Battery ........................181 CHAPTER 23: TROUBLESHOOTING & TECHNICAL SUPPORT............ 183 23.1 Connecting to the XL7 OCS ....................183 23.2 Local Controller and Local I/O ..................185 23.3 CsCAN Network ........................186 23.4...
Page 9
MAN0974-11-EN_XL7_UserManual 23.5 Technical Support Contacts ....................187 CHANGE LOG ............................188 MAIN INDEX ............................189 INDEX OF FIGURES & TABLES ......................193 March 22 , 2020 Page 9 | 195...
MAN0974-11-EN_XL7_UserManual CHAPTER 1: SAFETY / COMPLIANCE Safety Warnings and Guidelines When found on the product, the following symbols specify: Warning: Consult user documentation. Warning: Electrical Shock Hazard. 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.
MAN0974-11-EN_XL7_UserManual a. All applicable codes and standards need to be followed in the installation of this product. b. For I/O wiring (discrete), use the following wire type or equivalent: Belden 9918, 18 AWG or larger. Adhere to the following safety precautions whenever any type of connection is made to the module.
MAN0974-11-EN_XL7_UserManual CHAPTER 2: INTRODUCTION Visual Overview of XL7 OCS Figure 2.1 – Overview of the XL7 March 22 , 2020 Page 12 | 195...
Page 13
Datasheet - The datasheet is the first document to refer to for key information related to specific XL7 OCS models. The datasheets for all XL7 OCS models are available on the Horner websites and contain pin-outs, jumper settings and other model specific information.
Serial I/O Indicators Alarms Cscape Encoders OPC Server Pumps Modbus TCP Devices Relays Solenoids Flash Drive Cscape Figure 2.2 – Visual Overview of Types of Devices that can be connected to XL7 OCS March 22 , 2020 Page 14 | 195...
The XL7 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 OCS include: Bright, 65,536 color graphical touch sensing LCD display in all models of XL7.
MAN0974-11-EN_XL7_UserManual 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.com Europe http://www.hornerautomation.eu Opening Cscape Help File...
CHAPTER 3: MECHANICAL INSTALLATION NOTE: The datasheet is the first document to refer to for model-specific information related to XL7 OCS models such as pin-outs, jumper settings, and other key installation information. Visit the Horner websites to obtain datasheets, user documentation, and updates.
3. Pass the unit through the panel. 4. Insert each of the four (4) mounting clips into the slots in the XL7 OCS case. One clip should be installed on each corner. Lightly tighten each screw so the clip is held in place.
Page 19
3.3.2 XL7 OCS Mounting Orientation Figure 3.3 – Orientation of XL7 OCS NOTE: There are no orientation restrictions on the XL7 OCS. However, the above orientation provides for optimum readability of the screen and ease of use of the keypad.
MAN0974-11-EN_XL7_UserManual Panel Cut-Out For installations requiring NEMA 4X liquid and dust protection the panel cutout should be cut with a tolerance of +1mm / -0mm. Figure 3.4 – XL7 OCS Dimensions March 22 , 2020 Page 20 | 195...
MAN0974-11-EN_XL7_UserManual 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 3.5.1 Clearance / Adequate Space Install devices to allow sufficient clearance to open and close the panel door.
Page 22
MAN0962. 3.5.6 Shock and Vibration The XL7 OCS has been designed to operate in typical industrial environments that may inflict some shock and vibration on the unit. For applications that may inflict excessive shock and vibration please use proper dampening techniques or relocate the XL7 OCS to a location that minimizes shock and/or vibration.
CHAPTER 4: ELECTRICAL INSTALLATION NOTE: The datasheets are the first documents to refer to for model-specific information related to XL7 OCS models such as pin-outs, jumper settings, and other key installation information. Visit the Horner websites to obtain datasheets, user documentation, and updates.
MAN0974-11-EN_XL7_UserManual 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. GROUND RESISTANCE METER GROUND DISCONNECTED...
MAN0974-11-EN_XL7_UserManual Primary Power Port Table 4.1 – Primary Power Port Pins Signal Description Frame Ground Input power supply ground +24V Input power supply positive voltage 10-30VDC supply Figure 4.2 – Power Connector (Primary Power Port) DC INPUT / FRAME Solid/Standard Wire: 12-24 awg (2.5-0.2mm). Strip Length: 0.28”...
Main Menu. System Menu - Overview The XL7 has a built-in System Menu, which lets the user view System Settings and makes adjustments. To start the System Menu, press the SYSTEM key (or set %SR3 to 1), which will display the Main Menu.
System Menu – Navigation and Editing As mentioned above, the System Menu is started by pressing the System key on the XL7. 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 28
MAN0974-11-EN_XL7_UserManual Sub-Menus Sub-Menus Network Ok? Network ID Fkeys: Momentary XL7 System Termination SYS-Fn enable: MAC ID: 00:E0:C4:04:C7: 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 MJ2 RS485 Bias GatW2 0.0.0.0...
MAN0974-11-EN_XL7_UserManual 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;...
0.1 to 999.9= Average number of mS for each ladder scan OCS Net Use % 0.0 to 100.0 = CAN network bandwidth % used by this XL7 OCS node All Net Use % 0.0 to 100.0 = CAN network bandwidth % used by all nodes...
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 OCS will not enter or remain in Run mode, and the problem must be investigated and corrected.
MAN0974-11-EN_XL7_UserManual 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.
The View I/O Slots Sub-Menu displays three System Settings, none of which may be edited. Internal to the XL7 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.
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 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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. MJ1-232= MJ1 RS232 port is the default programming port Dflt Pgm Port Modem= Modem COM module is the default programming port...
MAN0974-11-EN_XL7_UserManual 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 Abbreviated to UTC, Coordinated Universal Time is the (UTC) primary time standard by which the world regulates clocks and time.
Page 38
MAN0974-11-EN_XL7_UserManual 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. If using NTP: NTP utilizes UTC time, therefore when using NTP, the appropriate hourly offset from UTC time must entered into the time zone setting.
MAN0974-11-EN_XL7_UserManual 5.11 Set Beeper The Set Beeper Sub-Menu displays one System Setting, which may be edited. (default) = Enables beeper Beeper Enable (does NOT affect ladder access) No = Disables beeper March 22 , 2020 Page 39 | 195...
MAN0974-11-EN_XL7_UserManual 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 (default) = Disable screen saver 5 - 1200 = Amount of time in minutes to expire with NO touch Timeout (min) activity before activating screen saver (black screen) (default)
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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 event.
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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. March 22 , 2020 Page 44 | 195...
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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. March 22 , 2020 Page 46 | 195...
MAN0974-11-EN_XL7_UserManual 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.8 to SR209.16...
MAN0974-11-EN_XL7_UserManual 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.
CHAPTER 6: REGISTERS 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.
Page 50
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name 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 51
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name Values %SR8 Maximum Scan Rate ms ( / 10) Read Only Read Only %SR9 TCH_PRESSURE Current Touch Pressure 0 to 3000 Read Only Read Only TCH_PRESSURE...
Page 52
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name 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 54
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name Values %SR136 Communication Download Timeout Read Only Read Only %SR137 Communication Idle Timeout Read Only Read Only %SR138-148 Reserved Free-running 10kHz count: 1 count = %SR149-150 Read Only Read Only...
Page 55
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name Values *RCC Units Only Set to 1 for manual restore of data. Set to 0 to complete the restore %SR164.15 Read / Write Read / Write operation.
Page 56
MAN0974-11-EN_XL7_UserManual Table 6.3 – %SR Registers – Master %SR Table Program Display Default I/O Min-Max Register Description (Read/Write) (Read/Write) Name Values TRUE during first scan of switched-to %SR193.5 Read Only Read Only program TRUE to revert to FLASH and delete all %SR193.6 Read Only Read Only...
(XLE/XLT, X2, X4, & X7 use %SR101 & %SR108-112 for WebMI License Details) For additional information on system bits and registers, refer to the on-line help found in Cscape. Register Map for XL7 OCS I/O Table 6.4 – I/O Register Map Description Registers...
Page 58
MAN0974-11-EN_XL7_UserManual Table 6.5 – PWM Function Registers Map Register Stepper %AQ1 PWM1 Duty Cycle (32- HSC1 Start Frequency %AQ2 bit) Preset Value Run Frequency %AQ3 PWM2 Duty Cycle (32- HSC2 Accel Count %AQ4 bit) Preset Value (32-bit) %AQ5 PWM Prescale Run Count (32-bit) (32-bit)
Please see the on-line help provided with Cscape for additional details. Cscape Status Bar When the XL7 OCS is connected to a PC using Cscape software a Status Bar appears at the bottom of the screen. The Cscape Status Bar can be used to determine if communications have been established between the XL7 OCS and the Cscape program.
MAN0974-11-EN_XL7_UserManual Establishing Communications The XL7 OCS can communicate with Cscape using USB to USB, USB to serial adapters, serial port communications via MJ1 Port, Ethernet, CAN (CsCAN) or modems. To communicate with the XL7 via USB you will need the automated driver installer located on the Horner APG web site.
Page 62
The PC will detect a new device has been plugged into the USB port. Now that the XL7 is plugged in, go to Cscape → Controller → Connection Wizard. If you are just opening Cscape, Connection Wizard usually opens by default.
Page 63
MAN0974-11-EN_XL7_UserManual 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 64
MAN0974-11-EN_XL7_UserManual 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 65
MAN0974-11-EN_XL7_UserManual Table 7.1 – Communication Configuration Dialog Target Name Name for connection. This is not a mandatory column to be filled, by default Cscape will populate ‘Default1’ in edit box. Connection Medium Com Port Select this option to communicate over serial communication with the device.
Page 66
Units without CsCAN network ports respond to any network ID and do not require the ID to be configured. To check or change the ID on the XL7 OCS, press the System Menu key. The first item in the menu is Set Networks. Pressing Enter allows the ID of the unit to be viewed or modified.
Page 67
ID and do not require the ID to be configured. To check or change the ID on the XL7, press the System Button to enter the System Menu. The first item in the menu is Set Network ID.
Page 68
MAN0974-11-EN_XL7_UserManual 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.
2. If the XL7 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. If the XL7 OCS is not connected press the Config button to the right of the top of the unit. This allows the base CPU to be selected.
Page 70
MAN0974-11-EN_XL7_UserManual 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. March 22 , 2020 Page 70 | 195...
The High-Speed Counters group box contains all of the windows that are used for configuring the 4 available high-speed counters on the XL7 OCS. In configuring a counter, the user needs to set the type, mode, and counts per rev.
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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.
MAN0974-11-EN_XL7_UserManual 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.
To remove the I/O cover of the XL7 OCS, remove the four (4) Phillips screws from the I/O back. It may help to place the XL7 OCS unit face down on a clean work surface. Once the four screws are removed the I/O cover can be lifted straight off.
Page 76
MAN0974-11-EN_XL7_UserManual Figure 8.2 – XL7 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.
While these electronic protections work in most applications, some application may require external fusing on these outputs. The digital outputs in the XL7 OCS are typically controlled via %Q bits in the register mapping. Some of the outputs are designed for high-speed applications and can be used for PWM or frequency output applications.
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 OCS does not require external coil power for the relays to function. The relays will activate anytime the XL7 OCS is powered.
Page 80
MAN0974-11-EN_XL7_UserManual Protection for Inductive Loads Inductive loads can cause reverse currents when they shut off that can shorten the life of relay contacts. 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-11-EN_XL7_UserManual Digital Inputs NOTE: Refer to the datasheet for XL7 OCS model being used for details on jumper settings. NOTE: The digital inputs on the XL7 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-11-EN_XL7_UserManual Analog Inputs NOTE: See the data sheet for the XL7 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.
MAN0974-11-EN_XL7_UserManual 8.8 Universal Analog Inputs NOTE: See the data sheet for the XL7 OCS model being used for jumper settings and see the appropriate pages in this manual (see Index) for details on how to use Cscape to configure the digital filtering.
Figure 8.9 – Loop Power Requirements Analog Outputs NOTE: Refer to the datasheet for XL7 OCS model being used for details on jumper settings. The analog outputs on XL7 OCS devices provide high-resolution voltage or current outputs. The voltage or current selection is controlled with jumpers and configuration settings in Cscape.
CHAPTER 9: HIGH SPEED I/O (HSC / PWM) Overview In addition to the compliment of simple analog and digital I/O, several of the XL7 OCS I/O modules support High Speed Counting (HSC) I/O functions and may also support Pulse Width Modulation (PWM) Output functions (non-relay modules).
MAN0974-11-EN_XL7_UserManual Glossary Table 9.1 – Glossary of High Speed I/O Terms Register used to accumulate or store up a sum or count of many items or Accumulator events. A special function to zero out the value in a specific register. (Not used with Clear Frequency or Period Measurement.) Disable...
MAN0974-11-EN_XL7_UserManual High Speed Counter (HSC) Functions The XL7 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. Those modes are Totalizer, Frequency Counter, Pulse Width Measurement, Period Measurement and Quadrature measurement.
Page 88
MAN0974-11-EN_XL7_UserManual 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 89
MAN0974-11-EN_XL7_UserManual Rising Edge Signal Falling Edge Signal Three different options are available to reset the current count. They are: • Configured reset value Counts per When configuring the Totalize function, a value may be specified under the column. When the totalizer accumulator reaches this value - 1, the accumulator will reset to zero on the next count.
Page 90
MAN0974-11-EN_XL7_UserManual 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. Refer to the HSC Glossary for a description of these functions.
Page 91
MAN0974-11-EN_XL7_UserManual 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. Refer to the HSC Glossary for a description of these functions.
Page 92
MAN0974-11-EN_XL7_UserManual 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.
Page 93
MAN0974-11-EN_XL7_UserManual 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 94
MAN0974-11-EN_XL7_UserManual 9.3.7 HSC Functions The high-speed input on the XL7 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”...
Page 95
MAN0974-11-EN_XL7_UserManual 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.
MAN0974-11-EN_XL7_UserManual 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 97
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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 100
MAN0974-11-EN_XL7_UserManual 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 PWM State on Controller Stop stop mode, the state of the PWM outputs is dependent on the configuration.
Page 101
9.5.5 Stepper Function The XL7 supports two stepper functions, one on each high-speed output when in two counter mode. In four counter mode, the XL7 supports one stepper function The Stepper requires five parameters (%AQs) to be set for operation. These parameters may be set at run-time but are ‘latched’...
Page 102
MAN0974-11-EN_XL7_UserManual The stepper provides two Boolean registers to provide stepper status: A high indication on this register indicates the stepper sequence can Ready/Done be started (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 Error aborted before the operation was complete.
MAN0974-11-EN_XL7_UserManual 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.
MAN0974-11-EN_XL7_UserManual PWM Examples Example 1 Duty Cycle Frequency To get a 50% Duty Cycle @ Set %AQ421-422 = 16,000 Set %AQ423-424 = 10,000 10kHz waveform on PWM1: Example 2 Duty Cycle Frequency Set %AQ421-422 = 16,000 To get a 50% Duty Cycle on Set %AQ423-424 = 1,000 PW1 and 90 % Duty Cycle on Set %AQ431-432 = 28,800...
%I1619 for channel 1 and 2 respectfully). The Ready/Done bit will turn OFF during the move, and then back ON once the move is completed. NOTE: The pulse generation hardware on the XL7 can generate any frequency that can be evenly divided into 10MHz (10,000,000Hz) under the maximum recommended frequencies for each model.
MAN0974-11-EN_XL7_UserManual 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 107
MAN0974-11-EN_XL7_UserManual The state (high or low) of the high-speed input is sampled with every rising input edge of the filter frequency. The rising edges of the filter frequency are totaled in a sample counter, and when that total 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.
Page 108
MAN0974-11-EN_XL7_UserManual Figure 3: Input signal before filtering Figure 4: Input signal after filtering This delay will be 4μs. March 22 , 2020 Page 108 | 195...
10.1 Overview All XL7 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-11-EN_XL7_UserManual 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.
The XL7 OCS MJ1 and MJ3 serial ports support CsCAN Programming Protocol. If a PC COM port is connected to the XL7 OCS MJ1 or MJ3 serial port, Cscape can access the XL7 OCS for programming and monitoring. Programming can also be done via the CAN port, USB A port, or Ethernet.
11.2 Port Description The XL7 OCS CAN ports implement the ISO 11898-2 physical layer and the CAN 2.0 A data link layer standards. Also, since the CAN ports are powered by an internal isolated power supply, external CAN power is not required.
The CAN1 port supports CsCAN Programming Protocol. If a PC has a CAN interface installed (via PCI card or USB), and the PC CAN port is connected to the XL7 OCS CAN1 port, Cscape can access the XL7 OCS for programming and monitoring.
MAN0974-11-EN_XL7_UserManual CHAPTER 12: ETHERNET COMMUNICATION 12.1 Ethernet Module Protocols and Features The following table describes the Ethernet Module Protocols and features supported by XL7. Table 12.1 – Ethernet Module Protocols & Features Protocol / Feature Protocol / Feature Description ICMP (Ping)
MAN0974-11-EN_XL7_UserManual 12.4 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 116
MAN0974-11-EN_XL7_UserManual 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 117
MAN0974-11-EN_XL7_UserManual Table 12.3 - Ethernet Status Word Register Format High Byte Low Byte Dup Spd Link TCP Connections Status Values Status Bit(s) Status Indication Minimum Maximum Reserved Always 0 0 = Half 1 = Full Link Duplex (Auto-Negotiated) Duplex Duplex Link Speed (Auto-Negotiated) 0 = 10MHz 1 = 100MHz...
MAN0974-11-EN_XL7_UserManual 12.5 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. It is possible to set the Ethernet IP parameters from the OCS System Menu, but only as a temporary measure.
MAN0974-11-EN_XL7_UserManual 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 120
MAN0974-11-EN_XL7_UserManual Each entry can be configured for one of two types of initiating a transaction: Polled and Triggered. Polled type entries initiate a transaction with the remote device on every transaction scan. Triggered type entries only initiate a transaction when a corresponding local (OCS) binary trigger register is .
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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. March 22 , 2020 Page 123 | 195...
Page 124
MAN0974-11-EN_XL7_UserManual Table 13.1 – Network Protocols Baud Rate, Data Bits, Stop These field define the bit level transfer over the serial port. Bits, Parity None – No handshake lines are used Handshake Multidrop Full – Rx remains active while Tx is occurring. Multidrop Half –...
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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 128
MAN0974-11-EN_XL7_UserManual 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.
This chapter presents the user interface (or operator view) of the XL7 and some of the model specific characteristics of the XL7 as compared to the rest of the OCS line. This chapter does NOT cover building screens or using the Cscape graphics editor. For instructions on creating screens and using the graphics editor, refer to the graphics editor help file.
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, these graphical objects (through ladder manipulation of attribute bits) can change color, flash or change visibility to attract operator attention.
MAN0974-11-EN_XL7_UserManual 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 132
MAN0974-11-EN_XL7_UserManual Enter Once the desired value is entered, pressing the key moves that value into the object (and the corresponding OCS register) and the alpha-numeric keypad disappears. Alternately, Enter pressing the key any time before the key cancels the operation, leaves the objects current value unchanged, and the alpha-numeric keypad disappears.
MAN0974-11-EN_XL7_UserManual 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. An optional system ICON may be configured for display along with the legend, which aids in identifying the object as one that causes a screen change (shown below in Figure 14.3) Screen jumps can also be triggered on other keys or based on control logic for more advanced...
Refer to the on-line help in Cscape for more information on control-based screen navigation. 14.7 Beeper Acknowledgement The XL7 contains an internal beeper that provides an audible acknowledgment when an operator touches a graphic object that accepts touch input. When the graphic object is enabled, a short 5ms tone is emitted.
XL7 assumes touch has been released (equates to approximately a quarter inch of movement with a stylus). In some applications (such as jog buttons) where the operator is pushing a button for a period...
MAN0974-11-EN_XL7_UserManual 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.
Page 137
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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.
Page 139
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 14.11 Screen Saver The XL7 screen backlight life is typically five (5) years when in continuous use. If the application does not require interaction with the XL7 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.
MAN0974-11-EN_XL7_UserManual 14.13 Touch Screen Pressure The Horner XL series OCS controllers have a resistive touch screen that allows mechanically detecting touch events. The resistive touch screen works by measuring the resistance between two layers of conductive film. The following are required for this feature: Minimum Firmware Version: 15.xx or later Minimum OS Version: 2.6.35.49 Minimum Cscape Version: 9.80 SP1...
Page 142
MAN0974-11-EN_XL7_UserManual 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.
NOT downloaded from Cscape. 15.2 Audio Configuration in Cscape 1. In Cscape, select the XL7 and model number by selecting Controller → Hardware Configuration from the toolbar. Click OK. 2. Next select Program from the toolbar and then Audio Config.
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 16.2 Opening Video Object in Cscape NOTE: Video Object requires Firmware 14.03 or newer to use with the XL7 devices. In Cscape, select the XL7 and model number by selecting Controller → Hardware Configuration from the toolbar. Open the Graphics Editor by selecting the “T” button from the toolbar.
Page 148
MAN0974-11-EN_XL7_UserManual Then double click on the icon in the middle to open the Video Properties dialog. March 22 , 2020 Page 148 | 195...
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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.
Cscape, few frames will be missed when video is played. 16.7 Web Cameras If multiple web cameras are directly connected to the XL7, then only one web cam will be considered. If user needs to connect multiple web cams, USB hub needs to be used. A maximum of four channels (web cameras) are supported.
When the microSD card format was introduced, it was originally called TransFlash. Cards labeled either microSD or TransFlash, with up to 32GB of flash memory, are compatible with the XL7 OCS Memory slot (larger sizes were not tested at time of publication).
Using Read and Write Removable Media function blocks, an application ladder program can read and write XL7 OCS register data in the form of comma-delimited files, with a .CSV extension. These files are compatible with standard database and spreadsheet PC programs.
MAN0974-11-EN_XL7_UserManual 17.6 Using Removable Media to Load and Save Applications A special file type, with a .PGM extension, is used to store XL7 OCS application programs on microSD. To load an application from microSD to the XL7 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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 Media Protect removable media card. Write a zero (0) to allow access. %SR175 Status This shows the current status of the RM interface %SR176 Free Space...
MAN0974-11-EN_XL7_UserManual 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 160
MAN0974-11-EN_XL7_UserManual 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 161
MAN0974-11-EN_XL7_UserManual 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 162
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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: Select “Clone Unit”...
Page 164
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual CHAPTER 19: FAIL – SAFE SYSTEM 19.1 Overview 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 event.
MAN0974-11-EN_XL7_UserManual 19.2 Settings To use the fail – safe feature, the user needs to do the following: 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 167
MAN0974-11-EN_XL7_UserManual 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 168
MAN0974-11-EN_XL7_UserManual 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 169
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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 171
MAN0974-11-EN_XL7_UserManual 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-11-EN_XL7_UserManual 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.
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 can act as either a Master or a Slave. Modbus protocol (serial) allows for one master and multiple slaves. The master always initiates the conversation by sending a request to a particular slave.
For complete Modbus Master instructions, please refer to the Help file in Cscape. When acting as a Modbus master, there are two primary mechanisms used by the XL7 to allow the user to specify the data to be read/written from/to the slaves.
MAN0974-11-EN_XL7_UserManual 20.4 Modbus Addressing Table To access XL7 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).
NOTE: For more details on the back-up battery, refer to the Battery Manual [MAN1142]. 21.1 Overview 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 and is needed for register data retention.
The battery is steadily discharging. 21.7 Battery Charging State In the RCC, XL4, XL7, EXL6, and EXL10, the program downloaded from Cscape is not battery backed. The program is stored in flash memory RAM at the time of download. The battery plays no part in program retention.
CHAPTER 22: MAINTENANCE 22.1 Firmware Update Overview The XL7 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.
USB Flash drive (not through the Cscape Firmware Update Wizard). To update or change firmware: 1) Download desired Firmware set from the Horner APG website. (Verify CsCAN or CANopen communications.) 2) Save Firmware files to microSD card or USB, these are the removable media devices.
MAN0974-11-EN_XL7_UserManual 22.4 Firmware Update for the XL7 Update firmware in an XL7 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.
MAN0974-11-EN_XL7_UserManual 22.5 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 182
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. 3. On the back of the XL7 OCS, unscrew the battery plate cover using a Phillips head screwdriver.
MAN0974-11-EN_XL7_UserManual CHAPTER 23: TROUBLESHOOTING & TECHNICAL SUPPORT 23.1 Connecting to the XL7 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 184
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-11-EN_XL7_UserManual 23.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...
Use the proper Belden wire type or equivalent for the network as specified in MAN0799. 2. The XL7 OCS does not provide 24VDC to the network. An external voltage source must be used for other devices such as SmartStix I/O.
Table 23.2 – Removable Media Troubleshooting Description Action XL7 OCS does not read media card. The media card should be formatted with the XL7 OCS. Make sure the project file is saved as a .pgm file and XL7 OCS will not download project not a .csp file.
Page 188
MAN0974-11-EN_XL7_UserManual CHANGE LOG Change Log Date Rev # Description of Revision Location in Doc 4/22/2020 - Updated Firmware Update Steps per new Firmware Updates Firmware Update Manual (Mantis 2209) -Added Revised Audio Chapter (Mantis 2588) Audio Chapter -Rearranged Chapter Order (Mantis 3029) Throughout -Updated Model 6 and RTC/TC Formula Cscape Config/Analog...
Page 189
Device List, 125 Cscape Programming, 113 Device List and Device Configuration, 125 I/O Expansion (Network I/O), 113 Device Manager, 184 Ladder-Controlled, 113 Devices to Connect to XL7, 14 Overview, 112 Digital Inputs, 81 Ports, 112 Dimensions, 20 CAN Communications, 112...
Page 190
Panel Cut-out, 20 HIGH SPEED I/O, 85 Panel Design Checklist, 22 HSC, 71, 85, 87, 92, 96, 99, 101 Panel Mounting of an XL7 Series OCS, 17 Polled Read, 127 HSC Functions Register Map for 2 HSC Polled Read/Write, 127...
Page 191
Set Screen, 40 Programming, 184 Set Serial Ports, 36 Two-Point Ground Connection Test, 24 Set Time/Date, 37 Types of Devices that can be connected to XL7, 14 Solid-State Digital Outputs, 78 Universal Analog Inputs, 83 March 22 , 2020 Page 191 | 195...
Page 192
Screen Navigation, 133 Where to Find Information, 13 USER INTERFACE, 129 XL7 I/O Cover Photograph, 75 Using Removable Media to View and Capture XL7 I/O Cover Removed (sample I/O board) Screens, 154 Photograph, 76 Video Object XL7 Manual PREFACE, 2...
Page 193
INDEX OF FIGURES & TABLES Figure 02.1 – Overview of the XL7, 12 Figure 02.2 – Visual Overview of Types of Devices that can be connected to XL7, 14 Figure 03.1 – Panel Mounting of an XL7 Series OCS, 17 Figure 03.2 –...
Page 194
Table 05.2 Clock and Time Setting Terms, 37 Table 05.3 – System Registers for UTC (Coordinated Universal Time), 37 Table 06.1 - Types of Registers found in the XL7 OCS, 49 Table 06.2 – Common %S Register Definitions, 49 Table 06.3 - %SR Registers, 50 Table 06.4 –...
Need help?
Do you have a question about the XL7 and is the answer not in the manual?
Questions and answers