beautypg.com

Esi point addressing – Contemporary Control Systems BASview User Manual

Page 31

background image

TD110500-0MC

31

BACnet MS/TP Driver

ESI Point Addressing

Addresses for ESI points are actually just the commands used to read and write the desired data

— with

an optional format specifier.

For example, the address for the "Name" of the device is simply:

N

When the point is read, it will send out the command "N?" and wait for a response. When the user
changes the name, it will send out "NTheNewName".

For some points, such as the current position of the motor, it needs to use one command (r) to read the
position and a different command (m) to change the position. In this case, the address should use the
readCommand;writeCommand format:

r;m

(The semi-colon here is a command separator and has nothing to do with the semi-colon required at the end of ESI commands.)

With this address, it issues an "r?" command to read the position. If the user changes the position to 50, it
will send out "m50". But this presents a problem if the user changes the position to 6. The "m" command
requires 2 characters for the position (m06, not m6). In this case, use the optional format specifier:

r;m;00

This will format the command to always be 2 characters, padded on the left with zeroes.