beautypg.com

5 tools, Setup, Whois – Spectrum Controls 2080sc-BAC User Manual

Page 39: Readproperty, Writeproperty, 5 tools -21

background image

Chapter 3: Configuring the Module

3-21

User’s Manual Pub. 0300274-01 Rev. A.0

DWORD

0 to 429467295

LINT

-1e18 to 1e18

2

ULINT

0 to 1e18

LWORD

0 to 1e18

REAL

-1e18 to 1e18

3

LREAL

-1e18 to 1e18

3.5.5 Tools

Spectrum Controls, Inc. provides multiple Windows command-line executables
you may use to communicate with the module. These utilities are compiled from
an open source BACnet stack. The tools require an Ethernet-to-BACnet router.
This gives you the ability to send BACnet messages across the BACnet RS-484
network for easier troubleshooting. You can find the source code on sourceforge
at http://sourceforge.net/projects/bacnet/files/bacnet-stack/

Setup

To access the BACnet/IP traffic, set the module IP address using a network
address that on the same network as the PC IP address.

To access the MS/TP connection on the module, set the baud rate and other
parameters using the User Interface. Then connect a BACnet router to your setup.
The router converts BACnet/IP packets to MS/TP packets that are then routed to
the module. Set the router IP address using a network address that is also on the
host network.

WhoIs

The executable, bacwi.exe, looks for who is on the BACnet network. Example:
“bacwi -1” will find all the nodes on the BACnet network.

ReadProperty

This executable, bacrp.exe, will read the property of the module.

Examples. To read AI 1 present value, do this –

bacrp 200121 0 1 85

{param 1} – 200121. This is a module instance number.

{param 2} – 0. This is the object type. Object type is defined as: BI(3),
BO(4), AI(0), AO(1).

{param 3} – 1. This is the object instance.

{param 4} – 85. This is the property. Example: present value(85), object
name(77).

WriteProperty

This executablebacwp.exe will write the property of the module.




2

LINT and ULINT cannot have the same upper range.

3

LREAL has twice as many bits to work with than REAL