Ana səhifə

Leopard II manual Table of Contents

Yüklə 474.81 Kb.
ölçüsü474.81 Kb.
  1   2   3   4   5   6   7   8   9   ...   16
Leopard II Manual

Table of Contents

1 Overview of the Leopard II 3

1.1 Hardware Description 3

1.2 Hardware Specifications 3

1.3 Software Specifications 4

1.4 Installing the Leopard II 4

1.4.1 Hardware Installation 4 Power 6 Connections for the built-in and expansion I/O interfaces 7

1.5 Installing the C-Max Utility 8

1.5.1 Installing from a CD 8

1.5.2 Installing from a compressed file 8

1.5.3 C-Max Installation 9

1.5.4 Configuring C-Max 9

1.6 Writing your First Program 13

1.6.1 Creating a Project 13

1.6.2 The System Map 14

1.6.3 The Touch screen Layout 15

1.6.4 Writing the Program Code 18

2 Programming the Leopard II 24

2.1 The C-Max programming model 24

2.2 Ladder Logic 24

2.3 Program Flow Rules 24

2.4 Precedence of Logic Tests 26

2.5 Single and Continuous Events 27

2.6 Timing is everything 28

2.7 C-Max Variables 29

3 C-Max Command Reference 31

4 C-Max User’s Guide 52

4.1 Projects 52

4.1.1 Creating a Project 52

4.2 The System Map 53

4.3 The Program Editor 55

4.3.1 Editing Commands 56

4.4 Saving/Loading/Printing Programs 58

4.5 The Touch Screen Editor 58

4.5.1 Adding and Editing Buttons. 60

4.5.2 Adding and Editing Status Lights. 62

4.5.3 Adding and Editing Screen Text 64

4.5.4 Managing Touch Screen Files: 65 Individual Screen Saving, Loading; 65 New Touch Screen File 65 Open Touch Screen File 66 Save Touch Screen Files As 66 Project Screen Saving, Loading 66

4.6 C-Max Utilities 66

4.6.1 Infra-Red 67 Learn Infra-Red Command 68 Transmit Infra-Red Command 69 Transmit Remote Infra-Red Command 69 Download Infra-Red File to Controller 69 Upload Infra-Red File from Controller 69

4.6.2 X10 70 Send X10. 70 Monitor X10 71 Send Leviton X10. 72

4.6.3 Program File 74

4.6.4 Controller Utility 74 Set Controller Clock to PC Clock 74 Get Controller Clock. 74 Reload Controller Executive. 74 Controller Memory Dump. 75 Retrieve Controller Parameters. 75 Auto Address Modules. 76 Debug Timers and Variables. 76

4.6.5 Module Utility 77 Retrieve Module Parameters. 77 Set/Clear Relay 78 Speak Easy. 79 ASCII Bobcat 80 Serial Messages 80

5 Application Notes 84

5.1 Formatting Variables in C-Max 2.0 85

5.1.1 Controller Variables 85

5.1.2 Formatting Options 86

5.1.3 Screen Display Example 87

5.1.4 Formatting Variables in ASCII Strings 91

5.2 Creating Icons for Leopard Buttons 97

5.2.1 Introduction 97

5.2.2 Designing an icon 98

5.2.3 A full screen image and hidden buttons 105

5.2.4 Changing icons under program control 109

5.3 A Sample C-Max Application, Heat/Cool Thermostat 113

5.4 Auto Addressing your ADICON™ 2500 Series 124

5.4.1 Adding a new module to an existing installation 126

5.5 Using Expansion Modules 128

5.6 Ocelot/Leopard Parameters 131

1Overview of the Leopard II

The Leopard II is Applied Digital Inc’s (ADI) second generation of the highly successful Leopard touch screen home automation (HA) controller. The Leopard II is much more then a simple touch screen for sending commands. It features a complete programming language allowing the user to execute tasks based on complex “If/Then” logic. Tasks can be activated not only from the touch screen but also by various input and output (I/O) sources, or programmed to execute automatically based on time or date criteria, or by any combination of these. The screen can also display information acquired from external sources or from internal calculations in the user program. An external computer can be connected to the Leopard II and information exchanged in real time between the two, allowing expanded capabilities like web access and user created software applications to interface to the home automation system. Finally, the Leopard II supports an ever growing list of expansion modules to add capabilities like reading digital and analog inputs, activate relays, measure temperatures, humidity, etc. and even have slave Leopard or Ocelot controllers to facilitate access to it’s resources.

1.1Hardware Description

The Leopard II consists of a main central processing unit that holds the user program in non-volatile memory using flash-RAM technology. It has built in I/O interfaces for:

  • X-10 devices. X-10 is a powerline communications protocol supported by multiple vendors of HA equipment.

  • Infrared control. There is an Infrared (IR) receiver located on the front panel of the unit and an IR emitter can be connected to the I/O connector or jack to enable the controller to transmit IR commands. An external IR receiver can also be used with the Leopard II (with the front panel IR receiver disabled).

  • Serial port. The RS-232 serial port is used to load programs and other data into the Leopard II and also serves as an interface to any external computer program that supports the Leopard II as an interface to a HA system.

  • RS-485 expansion bus. The bus is used by the proprietary Adnet protocol to allow the Leopard II to communicate with the various expansion modules and slave controllers available from ADI. Like all other ADI controllers, the Leopard II can be configured as either a master or slave controller.

  • LCD Touch screen. This is certainly the most visible I/O part of the unit. The screen can display a mixture of user configured buttons with captions or graphic icons, virtual “status lights” to show the status of an X-10 or I/O point, and also display text with variable output. Screen objects defined as buttons can be pressed by the user to trigger events within the user program.

If you are already familiar with the ADI Ocelot controller, then learning to use the Leopard II should be quite straightforward since the two controllers share the same basic processor and I/O core. You can think of the Leopard II as an Ocelot to which a touch screen has been added.

  1   2   3   4   5   6   7   8   9   ...   16

Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur © 2016
rəhbərliyinə müraciət