This page describes the device driver and the device window for the NAIS-FP-RTD-Module device. This module provides a six-channel PT100/PT1000 temperature sensor interface for the FP0 PLC. Up to three RTD modules may be used with a single FP0 PLC.
For each channel the driver provides individual low/high limits and fault flags which indicate if the temperature value is outside the limits. By default, the temperature sensors are named 'CH-0' .. CH-5' like the RTD module documentation does. The name can be customized, which also changes the name of the fault flags belonging to this channel.
Although 'PT' type temperature sensors are quite accurate without any additional calibration, the device driver provides an individual calibration offset setting for each channel which can be set at the maintenance / setup page.
The NAIS-FP-RTD-Module device may be used together with other NAIS-FP-* devices referring to the same FP0 PLC. See paragraph 'Configuration hints' at the and of this chapter.
Device window pages
The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .
--- Shows the actual temperature values and lets you set individual fault limits.
--- The faults page.
--- The device info page.
--- The maintenance page. The configuration parameters described below are set at this page.Configuration parameters
At the maintenance page of the device window there are a couple of configuration parameters which must be set to make the software talk to the alarm monitoring input at the PLC.
| parameter | description |
|---|---|
| address | The packet address of the PLC device. Usually this is "01". |
| tempSensor | The position (1..3) where the RTD module is located. 1 means directly beside the PLC CPU module, 2 means with one module in between and so on. |
| ch0.enable | |
| ... | |
| ch5.enable | With this switch you enable / disable the processing of each particular channel. Channels set to "NO" (disabled) always read 0.0°C and show no limit faults, regardless of the threshold settings. In the device window, disabled channels appear greyed. By disabling unused channels you can prevent them from showing wrong values if no sensor is connected. |
| ch0.offset | |
| ... | |
| ch5.offset | The offsets defined here are added to the raw measurement value before the value is displayed or compared against the thresholds. Use this if you need to calibrate the temperature display. |
| Serial | Remember to set the line parameters for the serial interface connected to the FPx PLC device. It requires the somewhat unusual setting 9600,O,8,1 . With multiple NAIS-FP-* -devices referring to the same PLC, the line speed needs to be setup only once. |
Defining limits
At the first page of the device window, a low and a high limit value can be set. If the temperature value exceeds one of the limits, a fault is generated and a message is written to the log. To disable the limit checking, set both limit values to zero.
Configuration hints
Refresh intervals
Due to the principle the of operation of the communication interface between the sat-nms system and the RTD module, there is no fixed refresh cycle time for a particular measurement channel. The driver polls the FP0 every 4 seconds. With each poll, the FP0 replies two of the six channels, in random order.
At average, each channel gets updated every 12 seconds. Due to the random sequence at which the channels get updated, it may happen that a channel gets not updated for a longer time.
Variables defined by this device driver
| name | type | flags | range |
|---|---|---|---|
| info.driver | TEXT | R/O | StringRange R/O |
| lowLevel.cmd | TEXT | StringRange | |
| lowLevel.reply | TEXT | R/O | StringRange R/O |
| faults.99 | ALARM | R/O | AlarmFlagRange R/O (Communication) |
| faults.commstat | TEXT | R/O | StringRange R/O |
| info.type | TEXT | R/O | StringRange R/O |
| info.port | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| info.rawval | TEXT | R/O | StringRange R/O |
| config.tempModule | CHOICE | SAVE SETUP | EnumRange (1 2 3) |
| config.ch0.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch1.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch2.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch3.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch4.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch5.enable | CHOICE | SAVE SETUP | EnumRange (NO YES) |
| config.ch0.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| config.ch1.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| config.ch2.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| config.ch3.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| config.ch4.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| config.ch5.offset | FLOAT | SAVE SETUP | DoubleRange (0.0 .. 0.0) |
| internal.initModule | TEXT | R/O | StringRange R/O |
| ch0.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch0.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch0.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch0.name | TEXT | SAVE | StringRange |
| ch1.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch1.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch1.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch1.name | TEXT | SAVE | StringRange |
| ch2.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch2.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch2.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch2.name | TEXT | SAVE | StringRange |
| ch3.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch3.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch3.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch3.name | TEXT | SAVE | StringRange |
| ch4.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch4.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch4.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch4.name | TEXT | SAVE | StringRange |
| ch5.temperature | FLOAT | R/O | DoubleRange R/O (0.0 .. 0.0) |
| ch5.max | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch5.min | FLOAT | SAVE | DoubleRange (0.0 .. 0.0) |
| ch5.name | TEXT | SAVE | StringRange |
| faults.01 | ALARM | R/O | AlarmFlagRange R/O (CH-0 low limit) |
| faults.02 | ALARM | R/O | AlarmFlagRange R/O (CH-0 high limit) |
| faults.03 | ALARM | R/O | AlarmFlagRange R/O (CH-1 low limit) |
| faults.04 | ALARM | R/O | AlarmFlagRange R/O (CH-1 high limit) |
| faults.05 | ALARM | R/O | AlarmFlagRange R/O (CH-2 low limit) |
| faults.06 | ALARM | R/O | AlarmFlagRange R/O (CH-2 high limit) |
| faults.07 | ALARM | R/O | AlarmFlagRange R/O (CH-3 low limit) |
| faults.08 | ALARM | R/O | AlarmFlagRange R/O (CH-3 high limit) |
| faults.09 | ALARM | R/O | AlarmFlagRange R/O (CH-4 low limit) |
| faults.10 | ALARM | R/O | AlarmFlagRange R/O (CH-4 high limit) |
| faults.11 | ALARM | R/O | AlarmFlagRange R/O (CH-5 low limit) |
| faults.12 | ALARM | R/O | AlarmFlagRange R/O (CH-5 high limit) |