Modbus Communication Interface | A-17
Example 9: Selecting a Sample Gas:
TASK.
Set the analyser to operate on a sample gas, using the data provided in the “GasNew.csv” ile
(located on the customer coniguration disk). For the purpose of this example, the sample
gas selected will be air.
ACTION 1.
Write multiple holding registers (function 16). Register address = 162 (holding regis-
ter #40163) value = 4169Hex, Register address = 163 (holding register #40164) value =
7200Hex (Air0).
ACTION 2.
Set gas related coeficients. Coeficients can be obtained from the GasNew.csv ile located on
the Customer Coniguration loppy disk.
Register address = 74 (holding register #40075). Value = 998
Register address = 75 (holding register #40076). Value = 14000
Register address = 63 (holding register #40064). Value = 622
Next registers should be set for Dew Point temperature reading only.
Register address = 115,116. Value = 7.89E-04
Register address = 117,118. Value = -7.14E-06
Register address = 119,120. Value = 2.31E-08
Register address = 121,122. Value = -2.57E-11
ACTION 3.
Set process pressure to ixed 150 kPa
Write one holding register (function 06). Register address = 47 (holding register #40048).
Value = 1500Hex (multiplied by the scaling factor of 10).
Write one holding register (function 06). Register address = 48 (holding register #40049).
Value = 1500Hex (multiplied by the scaling factor of 10).
Example 10: Setting Veriication Schedule:
TASK.
Set the analyser to automatically trigger a veriication cycle. For this example, the analyser
will be set to perform a veriication cycle on the 3
rd
day of each month, at noon (12:00).
ACTION 1.
Set the veriication type to monthly.
Write one holding register (function 06). Register address = 81 (holding register #40082)
value = 3Hex (never = 0, daily = 1, weekly = 2, monthly = 3).