January 2014 - TD 302 Operating Manual for Pressure 4117/4117R Tide 5217/5217R, Wave & Tide 5218/5218RPage 45
7.1.4
Polled mode
Sensors set to Smart Sensor Terminal mode can be used in Polled operation with third party hardware, where the
sensor presents measurement data on user request only.
The Pressure sensor:
•
The
Do Sample
command updates pressure and temperature measurements.
•
The
Do Output
command presents the last set of measured data.
Tide sensor and Wave and Tide sensor:
•
The
Do Sample
command starts a calculation and presents one set of output data.
•
The
Do Output
command presents the last set of calculated data.
The Tide Sensor and the Wave and Tide sensor are sampling continuously (if tide or wave is enabled) to ensure that
there is a complete pressure time series ready at all times for calculation of output parameters. The temperature
measurement is updated at sensor power up, clearing of the pressure series and at a 10 min interval.
After sensor start up or clearing of the pressure series some time will elapse before the required number of pressure
samples are available, hence wave and tide parameters cannot be calculated. The parameters will be set to 0 and
there will be a status code “
Not ready
”. Refer chapter 2.4 for details and information about when the pressure series
are cleared.
Procedure to configure the sensor to Polled operations from RS-422:
1.
Connect the sensor to a PC. Use e.g. cable 4799 if connecting to the PC RS-232 serial port.
2.
Set the
Enable Polled
Mode
property to
yes
. Save the configuration and reset the sensor.
Example: //Press Enter to start communicating with the sensor, refer chapter 7.2.2.
↵
//press Enter
Stop
↵
//Wait for ack #. Repeat if necessary
Set Passkey(1)
↵
Set Enable Polled Mode(yes)
↵
//wait for ack #
Save
↵
// wait for ack #
Reset
↵
// the sensor will restart with new settings