FieldServer FS-8700-78 instruction manual Driver Manual Writing data to Dap Devices

Page 37

Driver Manual

6.4Writing data to Dap Devices

The variables in a DAP device are not individually addressable . When a DAP device is read a data composite is returned. The driver extracts the data you require. When data is written to a DAP device it is not possible to write a value to one individual data element such as a temperature setpoint. Rather, the DAP devices requires the complete data composite (all its variables, states, settings) be written at once. This makes the setting of a setpoint a complex operation for the driver.

It involves the following steps

i.Read the device, obtain a complete set of data and store (internally in the driver.).

ii.Use this stored data to form the basis for a write. Modify the data with the data the user wishes to set.

iii.Write the modified data composite back to the DAP device.

You can see that to complete a 'write' operation successfully, we must first read the device successfully. If the read has not been completed then the write operation will be abandoned. The driver prints messages to the error logs and records a NODE_OFFLINE stat each time that it attempts to write but is unable to.

The DAP-Config command is an exception to the above notes. A read is not required. The Dap Config command is used to turn off/on DAP units. The Command uses two consecutive array elements. The first is the zone, the second is the inhibit command. Valid zones are 0-63.

If any inhibit bit (bits 0-5) is set then the unit will not run. If bits 0 to 5 are off then the unit will run. Bits 6& 7 are used for display only on the DAP panel.

0x01 - Inhibit Cooling

0x02 - Inhibit Heating

0x04 - Inhibit Humid

0x08 - Inhibit Dehumidification

0x10 - Inhibit fan

0x20 - Reserved

0x40 - Network Standby - Display on panel (only has no effect on unit) 0x80 - Network off inhibit is active - display only - no effect on operation

This function should be used as a wrbc/x. When the driver encounters this command it reads the associated data array, loads the two elements found at the array offset into the message and transmits the message. The driver does not set any data array elements to confirm that the command concluded successfully.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-6611 fax: (408) 262-9042

Visit our website: www.sierramonitor.com E-mail: sierra@sierramonitor.com Page 35

Image 37
Contents Effective for all systems manufactured after January 18 FS-8700-78 DartTable of Contents Driver Manual Dart Driver Description Performance IssuesProvided by user Hardware Connections Hardware Driver Manual Hardware Configuration Dart Present Data Arrays Section Title Driver Manual Basic ConfigurationColumn Title Function Legal Values ExampleDefault 1 second Using a Dart ? Do not specifyDriver Manual Client Side Connections Section Title NoneDriver Manual Client Side Nodes Section Title Timing Parameters Column Title Function Legal Values RDBC, WRBC, WrbxDriver Manual Page Page 5.1 Array Locations of ‘Everything’ Driver Manual Driver Manual Driver Manual Driver Manual Unit Types Driver Manual Reccomendation Driver Manual Map Descriptor Example 2 Writing a Set-PointPage Driver Manual Chapter Page Column Title Function Legal Values DAFunc Parameter Permitted values DAField Parameter Permitted values Func Description Driver ParameterSee .4.5.1 for all Other keywords Method Driver Manual DAMethod Parameter Values and NotesDriver Manual Advanced Example DADI1 Driver Manual AdvancedExampleStarting at Extract 4 bytesByte Apply methodDAAI3 Unusedarray Driver Manual Driver Manual Related Documents Troubleshooting Tips Bad ValuesDead Nodes Ignored MessagesDriver Manual Writing data to Dap Devices Rev1.06a-Rev0 Changes from previous releases Driver Manual Revision Change Notices