KMC Controls
Revision E
Configuration and programming
Programming for BACnet in WinControl XL
36
Programming for
BACnet in
WinControl XL
The LAN Controller supports the BACnet object types listed in Table 4-4.
Program the LAN Controller as would other KMD series controllers. Observe
the following details when programing an interface to a BACnet internetwork:
◆
Only inputs, outputs and variables within the LAN 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 or operator workstation,
configure the KMD point with both a description and a label in
WinControlXL Plus. In TotalControl configure the point with both a
description and name.
◆
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. A sample Control Basic code
segment is provided below to demonstrate reading the state of Binary Input 8
in a BACnet device with instance number 1.
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
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-5210
Страница 4: ...KMC Controls Revision E 4 ...
Страница 12: ...KMC Controls Revision E About the LAN controller Safety Considerations 12 ...
Страница 26: ...KMC Controls Revision E Installation Connecting to a Computer 26 ...
Страница 30: ...KMC Controls Revision E Operation Resetting the controller 30 ...
Страница 38: ...KMC Controls Revision E Configuration and programming System time keeping 38 ...