background image

 

KMD-5205 and KMD-5270 Installation and Operation

Revision J

Configuration and programming

Control Basic programming for BACnet

31

Control Basic 
programming for 
BACnet

These topics apply only to the following models:

Control Basic programming for BACnet

For Control Basic programming, the KMD–5270 models support the BACnet 
object types that are listed in Table 4-4.

 

Program the controllers as you would other KMD series controllers. Observe the 
following details when programing an interface to a BACnet internetwork:

Only input, output and variable points within a BACnet licensed controller 
appear as objects in a device on the BACnet internetwork.

A point configured as a KMD digital point will appear as a BACnet binary 
object. Analog points appear as analog objects.

To be visible as an object to BACnet devices, configure the KMD point with 
both a description and a label.

Use BAC-SET, BAC-GET and BAC-RLQ in Control Basic to read and write 
other objects on other BACnet devices.

KMC Controls recommends that all BACnet services have adequate error 
handling protocols within your control program. The following Control Basic 
code segment demonstrates reading the state of binary input BI8 in a BACnet 
device with instance number 1.

Caution

The WAIT statement in the following example is required. Do not delete it or 
the program will not run correctly.

Example:

250 G = BAC-GET( 1 , BI8 ) : REM BACnet read

260 ON-ERROR 280 : REM If error, bad read, don’t use it

270 1-VAR16 = G : REM Read was good, use the value.

280 WAIT 0:00:15 : REM Release so other CB programs can run

290 END

KMD-5205-001

KMD-5270-001

KMD-5205-006

KMD-5270-006

Table  4-4  Supported BACnet object types

Mnemonic

Object type

AI

Analog Input

AO

Analog Output

BI

Binary Input

BO

Binary Output

AV

Analog Value

BV

Binary Value

Содержание KMD-5205

Страница 1: ...Installation and Operation Guide KMD 5205 LanLite Controller KMD 5270 WebLite Controller 909 019 01J Revision J ...

Страница 2: ... any means without the written permission of KMC Controls Inc Printed in U S A Disclaimer The material in this manual is for information purposes only The contents and the product it describes are subject to change without notice KMC Controls Inc makes no representations or warranties with respect to this manual In no event shall KMC Controls Inc be liable for any damages direct or incidental aris...

Страница 3: ... 1 networks 15 KMC Tier 2 networks 15 BACnet 8802 3 optional 17 Modbus optional 18 Connecting power 20 Connecting to a computer through the serial port 21 Connecting to a modem 22 Section 3 Operating the controller Lights and indicators 23 Powering the controller 24 Maintenance 24 Replacing the fuse 24 Resetting the controller 25 Section 4 Configuration and programming Initializing with HCM 27 Set...

Страница 4: ...s Revision J 4 Section 5 Using a web browser KMD 5270 models only Applicable models 35 Browser requirements 36 Opening the WebLite home page 36 Viewing and editing 38 PID controllers 40 Trend Logs 40 Schedules 42 ...

Страница 5: ...pid programming and compatibility with future KMC system enhancements Internet operation KMD 5270 models only The embedded internet server in the KMD 5270 models make them ideal controllers for schools and businesses with an Ethernet infrastructure System operation can be changed using a standard internet browser such as Netscape or Microsoft Internet Explorer In addition to changing settings you ...

Страница 6: ...puts 8 universal outputs Key features Software programmable for analog or digital signals Standard and custom units of measure Slots for KMC output override boards Connector Removable screw terminal block wire size 12 22 AWG Conversion 12 bit digital to analog Analog output range 0 10 volts DC 50 milliamperes maximum Programmable features Control Basic programs 10 user definable program areas Netw...

Страница 7: ... group graphic to browser accessible web pages Security Six operator access levels 256 names with passwords Alarms Alarm buffering up to 16 alarms On board 68 character alarm or maintenance text messages Memory Flash memory 2 megabyte non volatile flash memory Ram 2 megabyte with six hour backup Programs and program parameters are stored in non volatile memory Communication ports Ethernet One Ethe...

Страница 8: ...omatic restart on power failure Compatibility Software For full feature capability use WinControl XL Plus 2 1 or later Controllers Compatible with Tier 1 controllers firmware build 2 0 or a later release Regulatory UL 916 Energy Management Equipment FCC Class A Part 15 Subpart B CE mark Internet KMD 5270 models only Browser access Use a standard internet browser to view and change the following In...

Страница 9: ... Table 1 1 Mounting dimensions A B C D Height not shown 6 56 in 9 00 in 6 00 in 6 00 in 0 98 in 167 mm 229 mm 152 mm 152 mm 25 O R STATUS H O A O R STATUS H O A O R STATUS H O A O R STATUS H O A 1 2 3 4 O R STATUS H O A O R STATUS H O A O R STATUS H O A O R STATUS H O A 5 6 7 8 PWR S LAN PC COLL Rx Tx A B C D ...

Страница 10: ...6705 Relay normally closed contacts HPO 6802 Cover for output boards Power transformer XEE 6111 40 Single hub 120 volt transformer XEE 6112 40 Dual hub 120 volt transformer Connecting cables KMD 5673 Six foot computer to controller cable KMD 5674 six foot modem to controller cable Replacement parts 902 600 05 Fast acting 1 6 Ampere 5 x 20 mm fuse HPO 0054 FUSE BULB 863 617 03 10 Pkg Min Qty HPO 00...

Страница 11: ...oller Illustration 1 1 Control and connection terminal locations O R STATUS H O A O R STATUS H O A O R STATUS H O A O R STATUS H O A 1 2 3 4 O R STATUS H O A O R STATUS H O A O R STATUS H O A O R STATUS H O A 5 6 7 8 PWR S LAN PC COLL Rx Tx Pull up jumpers Input terminals Input ground terminals RS 485 end of line termination switches Isolation bulbs RS 485 RS 232 Ethernet Output bank 1 Output bank...

Страница 12: ...afety we use hazard alert labeling in this manual Follow the associated guidelines to avoid hazards Danger Danger represents the most severe hazard alert Bodily harm or death will occur if danger guidelines are not followed Warning Warning represents hazards that could result in severe injury or death Caution Caution indicates potential personal injury or equipment or property damage if instructio...

Страница 13: ...ftware to receive either analog or digital signals By using the optional pull up resistors either passive or active devices may be connected to the inputs For additional information see the application note AN0504L Connecting inputs and outputs to KMC controllers Pull up resistors For passive input signals such as thermistors or switch contacts use a pull up resistor For KMC thermistors and most o...

Страница 14: ...e relays or devices that cannot be powered directly from a standard output install an output override card Override cards provide A wide choice of output signals A slide switch for automatic or manual control An LED for assessment of the output state Install the output override cards in the area under the plastic cover next to the output terminals The following output cards are available from KMC ...

Страница 15: ... 1 networks LAN connections Connect a standard Ethernet cable between the Ethernet connector on the controller and a port on a network hub or router You may connect up to 31 Tier 1 controllers in a system using Ethernet In addition to allowing the maximum LAN controllers multiple computers can access the system through the network See Initializing with HCM on page 27 for Ethernet configuration KMC...

Страница 16: ...ler Connect the shield to an earth ground at the other end Use a KMD 5575 repeater if the cable length will exceed 4000 feet 1220 meters Use no more than seven repeaters per Tier 2 network Place a KMD 5567 surge surpressor in the cable where it exits a building Tier 2 end of line termination switches The controllers on the physical ends of the RS 485 wiring segment must have end of line terminatio...

Страница 17: ...ACnet network protocols to Ethernet 8802 3 For internetworks that include MS TP or BAcnet IP use a BAC 5050 For addition details on BACnet networks see application note AN0404A Planning BACnet Internetworks which is available on the KMC web site Illustration 2 2 Termination switches Illustration 2 3 End of line termination O R STATUS H O A O R STATUS H O A O R STATUS H O A O R STATUS H O A 1 2 3 4...

Страница 18: ...acitance of no more than 50 picofarads per foot for all network wiring Belden cable model 82760 meets the cable requirements Connect the A terminal of the KMD controller in parallel with the minus terminals on the Modbus devices Connect the B terminal of the KMD controller in parallel with the plus terminals on the Modbus devices Connect the shields of the cable together at each controller Connect...

Страница 19: ...et with two switches located near the RS 485 connector Set the end of line termination to On using the EOL switches End of line termination for the connected Modbus devices may be set with moveable jumpers or fixed resistors Verify termination methods for the Modbus devices in the manuals supplied with the Modbus devices Note Set the end of line termination at the controllers where only one wire p...

Страница 20: ... the controllers When installing a controller in a system with other controllers you may power multiple controllers with a single transformer as long as the total power drawn from the transformer does not exceed its rating and phasing is correct If several controllers are mounted in the same cabinet you can share a transformer between them provided the transformer does not exceed 100 VA or any reg...

Страница 21: ...or to program with WinControl XL Plus connect a KMD 5673 cable between a serial port on the computer and the RS 232 port on the controller See Illustration 2 6 for cable details See the section Configuration and programming on page 27 for procedures on initializing and programming the controller Illustration 2 6 Computer to controller cable Illustration 2 7 Direct connection to KMD 5205 and KMD 52...

Страница 22: ...ler for the modem function See Initializing with HCM on page 27 for setup details 2 Connect a KMD 5674 computer to modem cable between the KMD 5569 modem and the nine pin modem connector on the controller 3 Connect the modem to a telephone line dedicated to the network system 4 Verify the configuration switches on the back of the modem are in the following positions Detail Use only the KMD 5674 ca...

Страница 23: ... of the controller is higher than the phase or the ground potential of other Tier 2 or Modbus controllers on the network The bulbs protect the controller from damage by limiting the network signal If voltage or current exceeds safe operating condition the bulbs will open the connections between the controller and the network By pulling the bulbs from their sockets you can disconnect the controller...

Страница 24: ...t traffic is being received Tx Flashes green when Ethernet traffic is being transmitted Powering the controller Use the jumper located next to the power terminal to disconnect the 24 volt AC power from the controller while making wiring changes Remove the power terminal or disconnect the power feeding the transformer before removing the controller The controller begins operation as soon as power i...

Страница 25: ...ion do the following 1 Remove the plastic cover surrounding the six LEDs 2 Press the reset button for one second and then release it Restoring to factory settings Restoring a controller to factory settings changes the controller as follows Removes all programming Removes all configuration settings Restores the controller to factory default settings Caution Resetting the controller erases all confi...

Страница 26: ...KMC Controls Revision J Operating the controller Resetting the controller 26 ...

Страница 27: ...rollers on the Tier 2 network to the same parameters To prevent disruption to other controllers on the network disconnect the network cables at the RS 485 port or remove the isolation bulbs on the controller prior to starting HCM Note Ethernet settings do not take effect in a controller until the power is cycled 1 Unplug the Tier 2 or Modbus network connection from the RS 485 port 2 Connect a seri...

Страница 28: ...n speed of the Tier 2 port to which the controller is connected Set the baud to match the baud of the other controllers on the Tier 2 network Modem Select to indicate a modem is connect to the nine pin serial connector If Modem is selected a computer cannot be directly connected to the nine pin connector Modem String The controller automatically transmits initialization strings for U S Robotics mo...

Страница 29: ... the Ethernet connector on the LAN Controller 3 Open an MS DOS window on your computer and Ping the controller s IP address If the controller is operating correctly you should receive a response to the ping command If you are unfamiliar with the above steps contact KMC Controls for assistance Table 4 2 Tier 1 controller Ethernet settings in HCM Setting Description IP address Supplied by network ad...

Страница 30: ...vice instance number as assigned by the BACnet system designer Instance numbers are required must be unique among all devices on the internetwork and range from 0 to 4 194 303 Name A required 16 character label of the device Name must be unique among all devices on the internetwork The set of characters used in Name is restricted to printable characters Location Optional information used to furthe...

Страница 31: ... an object to BACnet devices configure the KMD point with both a description and a label Use BAC SET BAC GET and BAC RLQ in Control Basic to read and write other objects on other BACnet devices KMC Controls recommends that all BACnet services have adequate error handling protocols within your control program The following Control Basic code segment demonstrates reading the state of binary input BI...

Страница 32: ...s These topics apply only to the following models Set the following Modbus communication parameters with HCM All Modbus devices connected to the same network including the KMD 5205 and KMD 5270 models must be set to the same mode baud and parity Programming for Modbus in WinControl XL Plus Use WinControl XL Plus to map Modbus registers to variables in the KMD 5205 and KMD 5270 Modbus licensed cont...

Страница 33: ...on NAT router the IP address for the controller must be preceded by the lowercase letter r in the WinControl system menu For example r128 1 1 5 Adding this prefix letter will cause WinControl to disregard the IP table and download from the panel itself Note If you use this method you will only be able to connect one Tier 1 controller through the router System time keeping The controllers feature r...

Страница 34: ...ith a web browser 4 Enter the same name in the Bitmap JPEG column in the System Groups list window Caution A background graphics file name may be compatible with WinControl XL Plus but not with the browser WinControl XL Plus will send a background graphic with an incompatible file name to the controller but the browser may not display it Use the following guidelines for best results Use the file n...

Страница 35: ...escribed in the section The Control Menu of the WinControl XL Plus User s Manual Applicable models The topics in this section apply only to the following models Table 5 1 WebLite view and change functions Function Control System Groups Views text and background graphics Inputs Change value and manual mode status Outputs Change value and manual mode status Variables Change value and manual mode sta...

Страница 36: ... not present change the compatibility mode by clicking the Compatibility icon in the address bar Opening the WebLite home page To access a WebLite with a web browser open a browser window and then enter the IP address for the controller in the address bar The WebLite home page opens Note Two IP addresses may be assigned to a WebLite The network system administrator will provide the address Use the...

Страница 37: ...ermissions as follows After a logging in the home screen displays a list of available functions Log out Click the Logout button in the upper right corner of the home page to close the connection with the WebLite Logging out maintains security and prevents unauthorized modifications to the system Table 5 2 Password permissions Operator level Permission 1 View only 3 Changes permitted only to the in...

Страница 38: ...es setting the state of manual overrides and changing times and dates in schedules When you choose a point such as Input a monitor window opens Below the data displayed in the window is an edit link which opens an additional window with the edit page Note Descriptions labels and units can be changed only by using WinControl XL Plus Illustration 5 4 View only monitor window Edit link ...

Страница 39: ...is sent to the controller Clicking the calculator button opens an additional window with calculator functions The value in the calculator pop up is sent to the edit page when you close the calculator pop up or click Ok The change is not sent to the controller until you click OK in the edit page Illustration 5 5 Input edit window Calculator button Click OK to send changes Calculator pop up Click Re...

Страница 40: ... Machine at http java sun com getjava download html To view a trend log 1 Choose Trend Log from the Controller Data list A trend log list window opens 2 Choose a trend log from the list A window opens and displays the trend log in table format 3 Click Open Graph A new window opens in which the controller will graph the data 4 Passing the cursor over a point on the graph displays the data value and...

Страница 41: ...KMD 5205 and KMD 5270 Installation and Operation Revision J Using a web browser KMD 5270 models only Trend Logs 41 2 Click No Zoom to return to normal view Illustration 5 7 Trend log graph ...

Страница 42: ...D 5270 models only Schedules 42 Schedules Weekly and annual schedules are managed much the same as with WinControl The method for editing a weekly schedule is described in Viewing and editing on page 38 Illustration 5 8 Weekly and annual schedules ...

Отзывы: